Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Touchpad unworkable Dell Precision 7740
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2279
Location: Paris - France

PostPosted: Wed Apr 08, 2020 8:55 pm    Post subject: [SOLVED] Touchpad unworkable Dell Precision 7740 Reply with quote

Hi! :)

I'm trying to have my touchpad working on a Dell precision 7740 but it seems to not be properly detected/configured by the kernel.

Playing with the pad, the output of:
Code:
# cat /dev/input/mice

is inexistant

After checking this nice guide: https://wiki.gentoo.org/wiki/Synaptics
I figured out that dmesg gave this information:
Code:
i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp


and then, added the "i8042.nopnp" to my /etc/default/grub and rebooted:
Code:
etc/default/grub:

#GRUB_CMDLINE_LINUX=""
# GRUB_CMDLINE_LINUX="net.ifnames=0"
# GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd"
GRUB_CMDLINE_LINUX_DEFAULT="i8042.nomux=1 i8042.nopnp i8042.reset"


Now it seems, the touchpad is detected as a PS/2 mouse and if I'm not wrong, a device /dev/input/mouse0 appeared in /dev.
Code:
# dmesg | grep i8042
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.6.2-gentoo-x86_64 root=UUID=125faeac-fd19-4377-a97a-85d6d519ca19 ro i8042.nomux=1 i8042.nopnp i8042.reset
[    0.039803] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.6.2-gentoo-x86_64 root=UUID=125faeac-fd19-4377-a97a-85d6d519ca19 ro i8042.nomux=1 i8042.nopnp i8042.reset
[    5.162662] i8042: PNP detection disabled
[    5.163712] i8042: Warning: Keylock active
[    5.165758] serio: i8042 KBD port at 0x60,0x64 irq 1
[    5.166180] serio: i8042 AUX port at 0x60,0x64 irq 12
[    5.170957] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input6
[    5.305331] dell_laptop: Using i8042 filter function for receiving events
[    5.907059] input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input8


But, unfortunately, the output of:
Code:
# cat /dev/input/mouse0

is inexistant too... :?

Any ideas on what I have missed here?

kernel config here

and for details:
Code:
# lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 0d)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 0d)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0d)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0)
00:1b.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 (rev f0)
00:1c.5 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #6 (rev f0)
00:1c.6 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #7 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a30e (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation TU106GLM [Quadro RTX 3000 Mobile / Max-Q] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU106 High Definition Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU106 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU106 USB Type-C UCSI Controller (rev a1)
02:00.0 Non-Volatile memory controller: Micron Technology Inc Device 5410 (rev 01)
03:00.0 Non-Volatile memory controller: Micron Technology Inc Device 5410 (rev 01)
04:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
05:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
05:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
05:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
05:04.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 4C 2018] (rev 06)
06:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 4C 2018] (rev 06)
3a:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] (rev 06)
6f:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5260 PCI Express Card Reader (rev 01)
70:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)


Code:
# lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0029 Intel Corp.
Bus 001 Device 003: ID 0bda:565c Realtek Semiconductor Corp.
Bus 001 Device 002: ID 0a5c:5842 Broadcom Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Any help would be greatly appreciated... :lol:


Last edited by Adrien on Tue Apr 14, 2020 10:00 am; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3268

PostPosted: Thu Apr 09, 2020 4:53 am    Post subject: Re: Touchpad unworkable Reply with quote

Adrien wrote:
I'm trying to have my touchpad working on a Dell precision 7740 but it seems to not be properly detected/configured by the kernel.

Can you find something useful here?
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2279
Location: Paris - France

PostPosted: Thu Apr 09, 2020 12:05 pm    Post subject: Re: Touchpad unworkable Reply with quote

charles17 wrote:
Adrien wrote:
I'm trying to have my touchpad working on a Dell precision 7740 but it seems to not be properly detected/configured by the kernel.

Can you find something useful here?


Many thanks for this link. It made me dig into this a bit more and add some option to my kernel:
Code:
# zgrep ALPS /proc/config.gz
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_HID_ALPS=y


Code:
# uname -a
Linux DiesIrae 5.6.2-gentoo-x86_64 #9 SMP Thu Apr 9 12:22:19 CEST 2020 x86_64 Intel(R) Core(TM) i7-9850H CPU @ 2.60GHz GenuineIntel GNU/Linux


Here we have the output of libinput
Code:
# libinput list-devices
Device:           PS/2 Generic Mouse
Kernel:           /dev/input/event10
Group:            11
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


pointing to /dev/input/event10 , but a
Code:
# cat /dev/input/event10

gives no output at all when playing with the touchpad... :x

any more hints? :)
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3268

PostPosted: Thu Apr 09, 2020 4:02 pm    Post subject: Reply with quote

Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2279
Location: Paris - France

PostPosted: Thu Apr 09, 2020 5:08 pm    Post subject: Reply with quote

charles17 wrote:
[list][*]Are you having a proper libinput setup?

Not yet, I'll follow through the guide, but isn't libinput only for X? What if I want to use the touchpad in console, should setting up libinput properly do the trick?
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2279
Location: Paris - France

PostPosted: Mon Apr 13, 2020 8:58 pm    Post subject: Reply with quote

charles17 wrote:


Thanks for these links, now I fully switched from evdev to libinput but it didn't change anything.

But! 8)
I made a test with a Mint Linux kernel .config file

And with it everything works in console and in X.

Code:
# dmesg | grep hid
[   10.242336] intel-hid INT33D5:00: platform supports 5 button array
[   10.314410] hid: raw HID events driver (C) Jiri Kosina
[   12.149193] i2c_hid i2c-DELL0927:00: i2c-DELL0927:00 supply vdd not found, using dummy regulator
[   12.149202] i2c_hid i2c-DELL0927:00: i2c-DELL0927:00 supply vddl not found, using dummy regulator
[   12.295353] hid-generic 0018:044E:1220.0001: input,hidraw0: I2C HID v1.00 Mouse [DELL0927:00 044E:1220] on i2c-DELL0927:00
[   12.644333] [b]hid-multitouch 0018:044E:1220.0001: input,hidraw0: I2C HID v1.00 Mouse [DELL0927:00 044E:1220] on i2c-DELL0927:00[/b]


Seems that the hid_multitouch is needed, and a new device gets created: /dev/hidraw0, which fits to the touchpad (tested).
Now I added, some options to my gentoo kernel config like:
Code:
CONFIG_HID_MULTITOUCH=m
CONFIG_HID_APPLE=m

as the mac_hid driver is loaded automatically by udev, but these are not sufficient for having the touchpad in order.
Wishing to get rid of all the options in the generic Mint config, I can't seem to find those which are strictly required for this touchpad.
Any ideas for this? :roll:

Here is my current gentoo kernel config file.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3268

PostPosted: Tue Apr 14, 2020 7:05 am    Post subject: Reply with quote

Does some of the i2c-tools tell you more about that touchpad?
BTW: Here were some similar topics I collected here: https://wiki.gentoo.org/wiki/DELL0832_Touchpad
Back to top
View user's profile Send private message
Adrien
Advocate
Advocate


Joined: 13 Jul 2004
Posts: 2279
Location: Paris - France

PostPosted: Tue Apr 14, 2020 10:00 am    Post subject: Reply with quote

charles17 wrote:
BTW: Here were some similar topics I collected here: https://wiki.gentoo.org/wiki/DELL0832_Touchpad


Here we go!
Worked with these enabled:

Code:
CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_MFD_INTEL_LPSS=m
CONFIG_MFD_INTEL_LPSS_ACPI=m
CONFIG_MFD_INTEL_LPSS_PCI=m

:D

Many thanks again for your kind assistance!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum