Comment 143 for bug 1810183

Revision history for this message
Petr Nosek (petr-nosek) wrote :

Hi,

  thank you for you work. I have this model: ASUS ZenBook UX362FA

  I found that touchpad device in /proc/bus/input/devices has different name. So touchpad detection does not work as I expect.

  I'm attaching devices.txt.

  My touchpad device is:
`
I: Bus=0018 Vendor=04f3 Product=30dc Version=0100
N: Name="ELAN1401:00 04F3:30DC Touchpad"
P: Phys=i2c-ELAN1401:00
S: Sysfs=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-ELAN1401:00/0018:04F3:30DC.0002/input/input21
U: Uniq=
H: Handlers=mouse3 event10
B: PROP=5
B: EV=1b
B: KEY=e520 10000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20

`

but your script detects this:

`
I: Bus=0018 Vendor=04f3 Product=284e Version=0100
N: Name="ELAN9008:00 04F3:284E"
P: Phys=i2c-ELAN9008:00
S: Sysfs=/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-ELAN9008:00/0018:04F3:284E.0001/input/input15
U: Uniq=
H: Handlers=mouse0 event6
B: PROP=2
B: EV=1b
B: KEY=400 0 0 0 0 0
B: ABS=3273800000000003
B: MSC=20

`

after small updating on line in your code, it works for my model.

line 24:

`if touchpad_detected == 0 and "Name=\"ELAN" in line and "Touchpad" in line:`