The trackpad on a Lenovo Ideapad 330 is an ELAN061E, which seems to have been added to the Linux kernel, but doesn’t show up in a Tumbleweed install. Is there something I can do to get it to be recognized?
What makes you think it doesn’t get detected?
Please show
lsusb
lspci
The output of those commands:
Neil:/home/inara # lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0cf3:e500 Qualcomm Atheros Communications
Bus 003 Device 002: ID 04f2:b5d7 Chicony Electronics Co., Ltd
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 03f0:0b4a HP, Inc
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Neil:/home/inara # lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
01:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev c4)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
03:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
03:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0
03:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1
03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
04:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
I have not seen it detected when trying to activate a touchpad, but if there is some specific command you want me to try to find it I can do that.
Actually, the trackpad device is unlikely to be connected to the USB or PCI buses. Instead, such devices are usually connected to i2c bus (or i8042-type controller).
It should be reported in the kernel boot messaging…
dmesg |egrep "input|i8042"
and libinput should also enumerate it along with its capabilities…
libinput list-devices
You can see I also did plug in a regular USB mouse at the end here:
2.701720] i8042: PNP: PS/2 Controller [PNP0303:KBC0] at 0x60,0x64 irq 1
2.701721] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
2.707873] serio: i8042 KBD port at 0x60,0x64 irq 1
2.717665] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
4.983553] input: 2.4G Mouse as /devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-4/1-4:1.0/0003:1EA7:0064.0001/input/input1
4.983635] input: 2.4G Mouse Mouse as /devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-4/1-4:1.0/0003:1EA7:0064.0001/input/input2
4.983907] hid-generic 0003:1EA7:0064.0001: input,hiddev96,hidraw0: USB HID v1.10 Mouse [2.4G Mouse] on usb-0000:03:00.3-4/input0
14.974449] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:03/LNXVIDEO:01/input/input3
14.974825] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0b/LNXVIDEO:02/input/input4
14.977416] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input5
14.977687] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input6
14.977954] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input7
15.447255] input: PC Speaker as /devices/platform/pcspkr/input/input8
16.307305] input: Ideapad extra buttons as /devices/pci0000:00/0000:00:14.3/PNP0C09:00/VPC2004:00/input/input9
17.837708] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0/input10
17.837839] snd_hda_codec_generic hdaudioC1D0: inputs:
17.845481] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input11
17.845626] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1/input12
20.043553] input: EasyCamera: EasyCamera as /devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb3/3-1/3-1:1.0/input/input13
4202.058702] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:08.1/0000:03:00.3/usb1/1-4/1-4:1.0/0003:03F0:0B4A.0002/input/input14
4202.058976] hid-generic 0003:03F0:0B4A.0002: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:03:00.3-4/input0
And all of the devices, including a USB mouse:
Neil:/home/inara # libinput list-devices
\Device: Power Button
Kernel: /dev/input/event7
Group: 1
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: Video Bus
Kernel: /dev/input/event3
Group: 2
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: Video Bus
Kernel: /dev/input/event4
Group: 2
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: Power Button
Kernel: /dev/input/event6
Group: 3
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: Lid Switch
Kernel: /dev/input/event5
Group: 4
Seat: seat0, default
Capabilities: switch
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: HD-Audio Generic HDMI/DP,pcm=3
Kernel: /dev/input/event10
Group: 5
Seat: seat0, default
Capabilities:
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: Logitech USB Optical Mouse
Kernel: /dev/input/event1
Group: 6
Seat: seat0, default
Capabilities: pointer
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: button
Click methods: none
Disable-w-typing: n/a
Accel profiles: flat *adaptive
Rotation: n/a
Device: EasyCamera: EasyCamera
Kernel: /dev/input/event13
Group: 7
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: HD-Audio Generic Mic
Kernel: /dev/input/event11
Group: 5
Seat: seat0, default
Capabilities:
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: HD-Audio Generic Headphone
Kernel: /dev/input/event12
Group: 5
Seat: seat0, default
Capabilities:
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: Ideapad extra buttons
Kernel: /dev/input/event9
Group: 8
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
Device: AT Translated Set 2 keyboard
Kernel: /dev/input/event0
Group: 9
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Accel profiles: n/a
Rotation: n/a
This caught my attention…
2.701720] i8042: PNP: PS/2 Controller [PNP0303:KBC0] at 0x60,0x64 irq 1
2.701721] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
2.707873] serio: i8042 KBD port at 0x60,0x64 irq 1
You could try booting with the kernel option hinted at by including it in the grub boot options
i8042.nopnp
Then see if the touchpad is detected again.
I also stumbled across this while researching online…
https://askubuntu.com/questions/1049787/lenovo-ideapad-330-touchpad-not-working
i8042.nopnp
I tried this, it had no effect.
I did see that other link, but compiling a custom kernel seemed a bit daunting to me, especially with instructions for a different flavor of Linux. I did find this where it appears to have already made it into the Linux kernel: https://github.com/torvalds/linux/pull/616
Hi
Can build a kernel module for you to test until it arrives upstream?
Hi
Kernel module build here;
https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/elan_i2c
Grab the rpm and manually install;
https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed/x86_64/elan_i2c-kmp-default-4.19.5_k4.19.5_1-1.1.x86_64.rpm
That worked! Thank you so much!
Hi
Excellent Now the bad news… (well not really), you will need to visit the repo and grab the updated rpm that matches your kernel if/when Tumbleweed gets a new kernel… the older kernel module will keep working (will go into weak-updates) until you update. You will need to keep an eye on that kernel link to see when/how it gets accepted into the mainline kernel.
On that laptop, I actually added your Repo and installed it that way, it should stay updated that way, right?
Hi
It will, but it’s my testing repo and wouldn’t want you to suck anything down unexpectedly Disable, then after kernel update, enable, update the kmp and then disable again would be my recommendation.
There can also be a delay until it gets updated, since home repositories are down the pecking order when it comes to build requirements.
Hello Malcolm.
I’m having the same issue as lex with the lenovo trackpad and would very much like to get your RPM since compiling a kernel is, for now, above my level of proficiency. However, the link doesn’t work. The link to the kernel module build works fine. Any help would be appreciated
If you go into Yast and add Malcolm’s testing repository by this URL:
https://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_Tumbleweed
And then search for ELAN, you can add it that way.
Hi All
This KMP is not needed now as ELAN061E is merged into the current kernel (4.19.11).
I try to get a work of touchpad Elan1200 on the notebook ASUS VivoBook X505ZA-BQ422 with now installed Leap 15 instead Endless.
Is it will be posible after upgrate to kernel 4.19.11?
(by a way In Endless the touchpad works, but I didn’t check kernel version there).
Hi
Can you start a new thread on your issue as this thread is/was about Tumbleweed. Looks like the above fixes where backported to the Leap kernel, so sounds like your issue may be different.
I’m sorry. I’ll start a new thread. Thank You.