Skip to content
  1. Dec 23, 2023
  2. Dec 13, 2023
  3. Dec 04, 2023
  4. Dec 02, 2023
  5. Dec 01, 2023
  6. Nov 26, 2023
  7. Nov 16, 2023
    • José Pekkarinen's avatar
      Input: psmouse - enable Synaptics InterTouch for ThinkPad L14 G1 · c1f342f3
      José Pekkarinen authored
      
      
      Observed on dmesg of my laptop I see the following
      output:
      
      [   19.898700] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4694]
      [   19.936057] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1162..]
      [   19.936076] psmouse serio1: synaptics: Your touchpad (PNP: LEN0411 PNP0f13) says it can support a different bus. If i2c-hid and hid-rmi are not used, you might want to try setting psmouse.synaptics_intertouch to 1 and report this to linux-input@vger.kernel.org.
      [   20.008901] psmouse serio1: synaptics: Touchpad model: 1, fw: 10.32, id: 0x1e2a1, caps: 0xf014a3/0x940300/0x12e800/0x500000, board id: 3471, fw id: 2909640
      [   20.008925] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
      [   20.053344] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input7
      [   20.397608] mousedev: PS/2 mouse device common for all mice
      
      This patch will add its pnp id to the smbus list to
      produce the setup of intertouch for the device.
      
      Signed-off-by: default avatarJosé Pekkarinen <jose.pekkarinen@foxhound.fi>
      Link: https://lore.kernel.org/r/20231114063607.71772-1-jose.pekkarinen@foxhound.fi
      
      
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      c1f342f3
  8. Nov 07, 2023
  9. Oct 29, 2023
  10. Oct 28, 2023
  11. Oct 14, 2023
  12. Oct 13, 2023
  13. Oct 04, 2023
    • Hans de Goede's avatar
      Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case · 423622a9
      Hans de Goede authored
      
      
      Add a special case for gpio_count == 1 && gpio_int_idx == 0 to
      goodix_add_acpi_gpio_mappings().
      
      It seems that on newer x86/ACPI devices the reset and irq GPIOs are no
      longer listed as GPIO resources instead there is only 1 GpioInt resource
      and _PS0 does the whole reset sequence for us.
      
      This means that we must call acpi_device_fix_up_power() on these devices
      to ensure that the chip is reset before we try to use it.
      
      This part was already fixed in commit 3de93e6e ("Input: goodix - call
      acpi_device_fix_up_power() in some cases") by adding a call to
      acpi_device_fix_up_power() to the generic "Unexpected ACPI resources"
      catch all.
      
      But it turns out that this case on some hw needs some more special
      handling. Specifically the firmware may bootup with the IRQ pin in
      output mode. The reset sequence from ACPI _PS0 (executed by
      acpi_device_fix_up_power()) should put the pin in input mode,
      but the GPIO subsystem has cached the direction at bootup, causing
      request_irq() to fail due to gpiochip_lock_as_irq() failure:
      
      [    9.119864] Goodix-TS i2c-GDIX1002:00: Unexpected ACPI resources: gpio_count 1, gpio_int_idx 0
      [    9.317443] Goodix-TS i2c-GDIX1002:00: ID 911, version: 1060
      [    9.321902] input: Goodix Capacitive TouchScreen as /devices/pci0000:00/0000:00:17.0/i2c_designware.4/i2c-5/i2c-GDIX1002:00/input/input8
      [    9.327840] gpio gpiochip0: (INT3453:00): gpiochip_lock_as_irq: tried to flag a GPIO set as output for IRQ
      [    9.327856] gpio gpiochip0: (INT3453:00): unable to lock HW IRQ 26 for IRQ
      [    9.327861] genirq: Failed to request resources for GDIX1002:00 (irq 131) on irqchip intel-gpio
      [    9.327912] Goodix-TS i2c-GDIX1002:00: request IRQ failed: -5
      
      Fix this by adding a special case for gpio_count == 1 && gpio_int_idx == 0
      which adds an ACPI GPIO lookup table for the int GPIO even though we cannot
      use it for reset purposes (as there is no reset GPIO).
      
      Adding the lookup will make the gpiod_int = gpiod_get(..., GPIOD_IN) call
      succeed, which will explicitly set the direction to input fixing the issue.
      
      Note this re-uses the acpi_goodix_int_first_gpios[] lookup table, since
      there is only 1 GPIO in the ACPI resources the reset entry in that
      lookup table will amount to a no-op.
      
      Reported-and-tested-by: default avatarMichael Smith <1973.mjsmith@gmail.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Link: https://lore.kernel.org/r/20231003215144.69527-1-hdegoede@redhat.com
      
      
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      423622a9
    • Szilard Fabian's avatar
      Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table · 80f39e1c
      Szilard Fabian authored
      
      
      In the initial boot stage the integrated keyboard of Fujitsu Lifebook E5411
      refuses to work and it's not possible to type for example a dm-crypt
      passphrase without the help of an external keyboard.
      
      i8042.nomux kernel parameter resolves this issue but using that a PS/2
      mouse is detected. This input device is unused even when the i2c-hid-acpi
      kernel module is blacklisted making the integrated ELAN touchpad
      (04F3:308A) not working at all.
      
      Since the integrated touchpad is managed by the i2c_designware input
      driver in the Linux kernel and you can't find a PS/2 mouse port on the
      computer I think it's safe to not use the PS/2 mouse port at all.
      
      Signed-off-by: default avatarSzilard Fabian <szfabian@bluemarch.art>
      Link: https://lore.kernel.org/r/20231004011749.101789-1-szfabian@bluemarch.art
      
      
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      80f39e1c
  14. Oct 01, 2023
  15. Sep 24, 2023