Bug 191651
Summary: | Elan Touchpad Right Button Not Detected | ||
---|---|---|---|
Product: | Drivers | Reporter: | Trip Ericson (rovfan) |
Component: | I2C | Assignee: | Drivers/I2C virtual user (drivers-i2c) |
Status: | NEW --- | ||
Severity: | normal | CC: | aljosa, drake, mmokrejs, nnmware, pedromgrj |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.9.0-040900-generic | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
Linux kernel .config for Asus G752VS
DMESG output of Asus G752VS Asus G752VS acpidump grep . /sys/firmware/acpi/interrupts/* /proc/interrupts Asus G752VS dmidecode ls -latr /sys/class/leds/ |
Description
Trip Ericson
2016-12-31 20:47:43 UTC
Hello, I have a similar problem: "ASUS G752VS: Touchpad and Fn keys not working (Ubuntu 16.04.1/16.10/17.04)" https://bugs.launchpad.net/ubuntu/+bug/1653456 https://ubuntuforums.org/showthread.php?t=2347851 I have Asus G552VW also with ELAN touchpad but for me the right button works: $ xinput â¡ Virtual core pointer id=2 [master pointer (3)] â â³ Virtual core XTEST pointer id=4 [slave pointer (2)] â â³ ASUS ROG SICA id=12 [slave pointer (2)] â â³ ASUS ROG SICA id=13 [slave pointer (2)] â â³ Elan Touchpad id=14 [slave pointer (2)] ⣠Virtual core keyboard id=3 [master keyboard (2)] â³ Virtual core XTEST keyboard id=5 [slave keyboard (3)] â³ Power Button id=6 [slave keyboard (3)] â³ Asus Wireless Radio Control id=7 [slave keyboard (3)] â³ Video Bus id=8 [slave keyboard (3)] â³ Video Bus id=9 [slave keyboard (3)] â³ Sleep Button id=10 [slave keyboard (3)] â³ USB2.0 HD UVC WebCam id=11 [slave keyboard (3)] â³ Asus WMI hotkeys id=15 [slave keyboard (3)] â³ AT Translated Set 2 keyboard id=16 [slave keyboard (3)] â³ ASUS ROG SICA id=17 [slave keyboard (3)] $ xinput list-props 14 Device 'Elan Touchpad': Device Enabled (139): 1 Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Tapping Enabled (292): 0 libinput Tapping Enabled Default (293): 0 libinput Tapping Drag Enabled (294): 1 libinput Tapping Drag Enabled Default (295): 1 libinput Tapping Drag Lock Enabled (296): 0 libinput Tapping Drag Lock Enabled Default (297): 0 libinput Tapping Button Mapping Enabled (298): 1, 0 libinput Tapping Button Mapping Default (299): 1, 0 libinput Accel Speed (274): 0.000000 libinput Accel Speed Default (275): 0.000000 libinput Natural Scrolling Enabled (279): 0 libinput Natural Scrolling Enabled Default (280): 0 libinput Send Events Modes Available (259): 1, 1 libinput Send Events Mode Enabled (260): 0, 0 libinput Send Events Mode Enabled Default (261): 0, 0 libinput Left Handed Enabled (281): 0 libinput Left Handed Enabled Default (282): 0 libinput Scroll Methods Available (283): 1, 1, 0 libinput Scroll Method Enabled (284): 1, 0, 0 libinput Scroll Method Enabled Default (285): 1, 0, 0 libinput Click Methods Available (300): 1, 1 libinput Click Method Enabled (301): 1, 0 libinput Click Method Enabled Default (302): 1, 0 libinput Middle Emulation Enabled (288): 0 libinput Middle Emulation Enabled Default (289): 0 libinput Disable While Typing Enabled (303): 1 libinput Disable While Typing Enabled Default (304): 1 Device Node (262): "/dev/input/event6" Device Product ID (263): 1267, 5 libinput Drag Lock Buttons (290): <no items> libinput Horizontal Scroll Enabled (291): 1 I am running 4.10.0-gentoo kernel with acpi_osi=Windows on the kernel commandline. $ gzip -dc /proc/config.gz | grep -i elan # CONFIG_MOUSE_PS2_ELANTECH is not set CONFIG_MOUSE_ELAN_I2C=y CONFIG_MOUSE_ELAN_I2C_I2C=y # CONFIG_MOUSE_ELAN_I2C_SMBUS is not set # CONFIG_USB_FTDI_ELAN is not set # CONFIG_NLS_MAC_ICELAND is not set $ $ gzip -dc /proc/config.gz | grep -i i2c | grep -v '^#' CONFIG_REGMAP_I2C=y CONFIG_MOUSE_ELAN_I2C=y CONFIG_MOUSE_ELAN_I2C_I2C=y CONFIG_I2C=y CONFIG_ACPI_I2C_OPREGION=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_COMPAT=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_MUX=y CONFIG_I2C_MUX_GPIO=m CONFIG_I2C_MUX_PCA9541=m CONFIG_I2C_MUX_PCA954x=m CONFIG_I2C_MUX_PINCTRL=m CONFIG_I2C_MUX_REG=m CONFIG_I2C_MUX_MLXCPLD=m CONFIG_I2C_HELPER_AUTO=y CONFIG_I2C_SMBUS=y CONFIG_I2C_ALGOBIT=y CONFIG_I2C_ALGOPCA=m CONFIG_I2C_I801=y CONFIG_I2C_ISCH=m CONFIG_I2C_ISMT=m CONFIG_I2C_PIIX4=m CONFIG_I2C_NFORCE2=m CONFIG_I2C_NFORCE2_S4985=m CONFIG_I2C_SCMI=y CONFIG_I2C_DESIGNWARE_CORE=y CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_I2C_DESIGNWARE_PCI=y CONFIG_I2C_DESIGNWARE_BAYTRAIL=y CONFIG_I2C_EMEV2=m CONFIG_I2C_GPIO=y CONFIG_I2C_OCORES=m CONFIG_I2C_PCA_PLATFORM=m CONFIG_I2C_SIMTEC=m CONFIG_I2C_XILINX=m CONFIG_I2C_SLAVE=y CONFIG_I2C_SLAVE_EEPROM=y CONFIG_BATTERY_BQ27XXX_I2C=m CONFIG_MFD_AXP20X_I2C=y CONFIG_MFD_CROS_EC_I2C=m CONFIG_MFD_DA9052_I2C=y CONFIG_MFD_MC13XXX_I2C=m CONFIG_HTC_I2CPLD=y CONFIG_MFD_INTEL_QUARK_I2C_GPIO=m CONFIG_MFD_TPS65912_I2C=m CONFIG_MFD_ARIZONA_I2C=m CONFIG_MFD_WM831X_I2C=y CONFIG_MFD_WM8350_I2C=y CONFIG_DRM_I2C_CH7006=y CONFIG_DRM_I2C_SIL164=y CONFIG_DRM_I2C_NXP_TDA998X=y CONFIG_I2C_HID=y CONFIG_RTC_I2C_AND_SPI=y $ [ 5.440358] elan_i2c i2c-ELAN1000:00: Elan Touchpad: Module ID: 0x0005, Firmware: 0x0004, Sample: 0x000d, IAP: 0x000e [ 5.440435] input: Elan Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN1000:00/input/input6 [ 5.440639] asus_wmi: ASUS WMI generic driver loaded [ 5.440756] asus_wmi: Initialization: 0x1 [ 5.440787] asus_wmi: BIOS WMI version: 7.9 [ 5.440834] asus_wmi: SFUN value: 0xa0077 [ 5.441905] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input7 [ 5.444173] asus_wmi: Number of fans: 1 [ 5.454288] input: Asus Wireless Radio Control as /devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/input/input8 See my bug #194719 for my .config. I've installed mainline kernels v4.10 / v4.9.12 / v4.8.17 / v4.4.51 and tried to boot my Ubuntu 17.04 with each one of them, but Elan touchpad (completely dead) and Fn keys continue not working on my ASUS G752VS laptop. Kernel developer who in the past solved Elan touchpad issues on my previous two ASUS laptops told me that this time he unfortunately can't help me because my current problem is something with the elan_i2c driver. Here's some grep command results: $ cat /proc/bus/input/devices I: Bus=0018 Vendor=04f3 Product=3043 Version=0100 N: Name="ELAN1203:00 04F3:3043 Touchpad" P: Phys=i2c-ELAN1203:00 S: Sysfs=/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN1203:00/0018:04F3:3043.0007/input/input16 U: Uniq= H: Handlers=mouse2 event15 B: PROP=1 B: EV=b B: KEY=e520 30000 0 0 0 0 B: ABS=260800000000003 $ cat /proc/bus/input/devices |grep -i name N: Name="Lid Switch" N: Name="Sleep Button" N: Name="Power Button" N: Name="AT Translated Set 2 keyboard" N: Name="Video Bus" N: Name="G-SPY USB Gaming Mouse" N: Name="G-SPY USB Gaming Mouse" N: Name="Asus Wireless Radio Control" N: Name="ASASTeK COMPUTER INC. ROG MacroKey" N: Name="USB2.0 HD UVC WebCam" N: Name="HDA Intel PCH Mic" N: Name="HDA Intel PCH Line Out" N: Name="ASASTeK COMPUTER INC. ROG MacroKey" N: Name="ASASTeK COMPUTER INC. ROG MacroKey" N: Name="Asus WMI hotkeys" N: Name="ELAN1203:00 04F3:3043 Touchpad" $ dmesg |grep input [ 1.914088] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0 [ 1.915485] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1 [ 1.915544] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2 [ 1.983577] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3 [ 2.303905] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:12/LNXVIDEO:01/input/input4 [ 2.426020] input: G-SPY USB Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:04D9:A070.0001/input/input5 [ 2.483845] holtek_mouse 0003:04D9:A070.0001: input,hidraw0: USB HID v1.10 Keyboard [G-SPY USB Gaming Mouse] on usb-0000:00:14.0-2/input0 [ 2.483988] input: G-SPY USB Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:04D9:A070.0002/input/input6 [ 2.543930] holtek_mouse 0003:04D9:A070.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [G-SPY USB Gaming Mouse] on usb-0000:00:14.0-2/input1 [ 2.544629] holtek_mouse 0003:04D9:A070.0003: hiddev0,hidraw2: USB HID v1.10 Device [G-SPY USB Gaming Mouse] on usb-0000:00:14.0-2/input2 [ 3.310598] input: Asus Wireless Radio Control as /devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/input/input7 [ 3.383046] input: ASASTeK COMPUTER INC. ROG MacroKey as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1837.0004/input/input8 [ 3.439869] hid-generic 0003:0B05:1837.0004: input,hidraw3: USB HID v1.10 Keyboard [ASASTeK COMPUTER INC. ROG MacroKey] on usb-0000:00:14.0-8/input0 [ 3.445804] input: USB2.0 HD UVC WebCam as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/input/input9 [ 3.453250] snd_hda_codec_realtek hdaudioC0D0: inputs: [ 3.463444] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input10 [ 3.463495] input: HDA Intel PCH Line Out as /devices/pci0000:00/0000:00:1f.3/sound/card0/input11 [ 3.852572] input: ASASTeK COMPUTER INC. ROG MacroKey as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:0B05:1837.0005/input/input12 [ 3.915743] hid-generic 0003:0B05:1837.0005: input,hiddev0,hidraw4: USB HID v1.10 Device [ASASTeK COMPUTER INC. ROG MacroKey] on usb-0000:00:14.0-8/input1 [ 3.916333] input: ASASTeK COMPUTER INC. ROG MacroKey as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/0003:0B05:1837.0006/input/input13 [ 3.916473] hid-generic 0003:0B05:1837.0006: input,hidraw5: USB HID v1.10 Mouse [ASASTeK COMPUTER INC. ROG MacroKey] on usb-0000:00:14.0-8/input2 [ 4.010134] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input14 [ 4.431636] input: ELAN1203:00 04F3:3043 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN1203:00/0018:04F3:3043.0007/input/input16 [ 4.431757] hid-multitouch 0018:04F3:3043.0007: input,hidraw6: I2C HID v1.00 Mouse [ELAN1203:00 04F3:3043] on i2c-ELAN1203:00 $ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ G-SPY USB Gaming Mouse id=11 [slave pointer (2)] ⎜ ↳ ASASTeK COMPUTER INC. ROG MacroKey id=14 [slave pointer (2)] ⎜ ↳ ASASTeK COMPUTER INC. ROG MacroKey id=15 [slave pointer (2)] ⎜ ↳ ELAN1203:00 04F3:3043 Touchpad id=16 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Asus Wireless Radio Control id=7 [slave keyboard (3)] ↳ Video Bus id=8 [slave keyboard (3)] ↳ Sleep Button id=9 [slave keyboard (3)] ↳ G-SPY USB Gaming Mouse id=10 [slave keyboard (3)] ↳ USB2.0 HD UVC WebCam id=12 [slave keyboard (3)] ↳ ASASTeK COMPUTER INC. ROG MacroKey id=13 [slave keyboard (3)] ↳ Asus WMI hotkeys id=17 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=18 [slave keyboard (3)] ↳ G-SPY USB Gaming Mouse id=19 [slave keyboard (3)] ↳ ASASTeK COMPUTER INC. ROG MacroKey id=20 [slave keyboard (3)] Same problem as aljosa@cromalternativemoney.org, fn keys not working and touchpad without any response, cursor, buttons click, anything. I've got to add I didn't manage to make keyboard backlight working too. Tried daily builds of Ubuntu 17.04 (The last to date, for instance), kernel 4.10.13, didn't work either. Also, I had had experimented with Ubuntu 16.04 LTS kernels 4.4 and 4.8, with all of these problems unresolved too. I think you should attach to this bug all possibly relevant files for the 4.10.13 kernel . See my bug #194719 for such listing. Thank you very much Martin for your advice, I will attach now the following files relevant to completely dead touchpad on my Asus G752VS laptop: Linux kernel .config for Asus G752VS DMESG output of Asus G752VS Asus G752VS acpidump grep . /sys/firmware/acpi/interrupts/* /proc/interrupts Asus G752VS dmidecode ls -latr /sys/class/leds/ Created attachment 255459 [details]
Linux kernel .config for Asus G752VS
Created attachment 255461 [details]
DMESG output of Asus G752VS
Created attachment 255463 [details]
Asus G752VS acpidump
Created attachment 255465 [details]
grep . /sys/firmware/acpi/interrupts/*
Created attachment 255467 [details]
/proc/interrupts
Created attachment 255469 [details]
Asus G752VS dmidecode
Created attachment 255471 [details]
ls -latr /sys/class/leds/
I've created a new bug for the touchpad, keyboard backling and fn keys and provided the files following the logic of aljosa which I saw is very similar to Martin Mokrejs since I'm not familiar with gentoo. This is the bug <a class="bz_bug_link" href="https://bugzilla.kernel.org/show_bug.cgi?id=195027">Bug #195027</a> I have been informed that there are people (Chris Chiu and Daniel Drake) working on ASUS ROG models, and their patches are already slated to be released with kernel 4.12: https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git/log/?h=for-4.12/asus Unfortunately I'm not able to apply those patches by myself. It would be great if some of you Linux people affected by "ASUS G752VS - Touchpad and Fn keys" problem can test mentioned patches and enter in contact with Chris and Daniel. I don't have any input for this issue but the one thing that springs to mind, as a potential clue, we once saw an Asus model where the left and right button clicks were swapped, and it was fixed upstream with this commit: commit 594312b88b0f451912c964c7ff2c0eaa71ad41b4 Author: Benjamin Tissoires <benjamin.tissoires@redhat.com> Date: Fri Nov 25 11:08:10 2016 +0100 HID: multitouch: handle external buttons for Precision Touchpads I early trying 4.10.0-rc5 - but mouse incorrectly work. In 4.4.38 - touchpad left button work 50/50, right button don't work. |