1. 25 Oct, 2016 1 commit
  2. 19 Oct, 2016 1 commit
    • Patrick Scheuring's avatar
      Input: i8042 - add XMG C504 to keyboard reset table · da25311c
      Patrick Scheuring authored
      The Schenker XMG C504 is a rebranded Gigabyte P35 v2 laptop.
      Therefore it also needs a keyboard reset to detect the Elantech touchpad.
      Otherwise the touchpad appears to be dead.
      
      With this patch the touchpad is detected:
      
      $ dmesg | grep -E "(i8042|Elantech|elantech)"
      
      [    2.675399] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
      [    2.680372] i8042: Attempting to reset device connected to KBD port
      [    2.789037] serio: i8042 KBD port at 0x60,0x64 irq 1
      [    2.791586] serio: i8042 AUX port at 0x60,0x64 irq 12
      [    2.813840] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
      [    3.811431] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x361f0e)
      [    3.825424] psmouse serio1: elantech: Synaptics capabilities query result 0x00, 0x15, 0x0f.
      [    3.839424] psmouse serio1: elantech: Elan sample query result 03, 58, 74
      [    3.911349] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input6
      Signed-off-by: default avatarPatrick Scheuring <patrick.scheuring.dev@gmail.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      da25311c
  3. 14 Oct, 2016 1 commit
  4. 11 Oct, 2016 2 commits
  5. 07 Oct, 2016 3 commits
  6. 04 Oct, 2016 9 commits
  7. 03 Oct, 2016 3 commits
  8. 27 Sep, 2016 3 commits
  9. 21 Sep, 2016 1 commit
    • Hans Verkuil's avatar
      Input: serio - add hangup support · 51db0137
      Hans Verkuil authored
      The Pulse-Eight USB CEC adapter is a usb device that shows up as a ttyACM0
      device.  It requires that you run inputattach in order to communicate with
      it via serio.
      
      This all works well, but it would be nice to have a udev rule to
      automatically start inputattach. That too works OK, but the problem comes
      when the USB device is unplugged: the tty hangup is never handled by the
      serio framework so the inputattach utility never exits and you have to kill
      it manually.
      
      By adding this hangup callback the inputattach utility now properly exits
      as soon as the USB device is unplugged.
      
      The udev rule I used on my Debian sid system is:
      
      SUBSYSTEM=="tty", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="2548", ATTRS{idProduct}=="1002", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="pulse8-cec-inputattach@%k.service"
      
      And /etc/systemd/system/pulse8-cec-inputattach@.service is as follows:
      
      ===============================================================
      [Unit]
      Description=inputattach for pulse8-cec device on %I
      
      [Service]
      Type=simple
      ExecStart=/usr/local/bin/inputattach --pulse8-cec /dev/%I
      KillMode=process
      ===============================================================
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Tested-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      51db0137
  10. 10 Sep, 2016 5 commits
  11. 05 Sep, 2016 3 commits
  12. 30 Aug, 2016 2 commits
  13. 25 Aug, 2016 5 commits
  14. 22 Aug, 2016 1 commit