Bug 228251

Summary: Touchpad non-functional on Dell Latitude 5580
Product: Base System Reporter: Shawn Webb <shawn.webb>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People CC: 0mp, emaste, trueos
Priority: --- Keywords: needs-qa
Version: CURRENT   
Hardware: Any   
OS: Any   
Description Flags
pciconf -lv
dmesg.boot on the 5570
pciconf -lv on the 5570
usbconfig on the 5570 none

Description Shawn Webb 2018-05-14 15:11:12 UTC
Created attachment 193395 [details]

It looks like the touchpad on the Dell Latitude 5580 isn't supported. Funny enough, the touchpad on the 5570 is. I guess Dell must have switched touchpads in the 5580 from the 5570.
Comment 1 Shawn Webb 2018-05-14 15:19:05 UTC
Created attachment 193396 [details]
pciconf -lv
Comment 2 Shawn Webb 2018-05-14 15:19:24 UTC
Created attachment 193397 [details]
Comment 3 Shawn Webb 2018-05-14 15:19:58 UTC
I have two of these laptops which will be used for interns. I can have them use a USB mouse for now, but it'd be nice to have support for the touchpad.
Comment 4 Ed Maste freebsd_committer 2018-05-15 21:19:26 UTC
can you grab pci / usb from 5570 also and compare?
Comment 5 Shawn Webb 2018-05-16 11:54:22 UTC
Created attachment 193452 [details]
dmesg.boot on the 5570
Comment 6 Shawn Webb 2018-05-16 11:54:56 UTC
Created attachment 193453 [details]
pciconf -lv on the 5570
Comment 7 Shawn Webb 2018-05-16 11:55:25 UTC
Created attachment 193454 [details]
usbconfig on the 5570
Comment 8 Trenton Schulz 2019-11-11 15:45:07 UTC
Having a Dell 5580, I took a deeper look at this. It seems the problem is more that the touchpad on the 5580 is now using i2c.

One can get it to work on 12.1-RELEASE if one isn't scared of getting one's hands dirty. You need to:

Modify the ig4 driver so that it gets interrupts:
See comment by wulf from July 27, 2019 on review D16698.

Use wulf7's iichid driver on github.

Rebuild Xserver with evdev support (bug #222609).

You may still need to tweak the configuration for the keyboard (see bug #196678, comment 121).

I guess all of this stuff is slowly making progress to the next release and ports.