Bug 246344 - Synaptics Driver not detecting 06cb:00cb
Summary: Synaptics Driver not detecting 06cb:00cb
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-10 02:40 UTC by Geramy Loveless
Modified: 2020-05-12 16:16 UTC (History)
3 users (show)

See Also:
linimon: maintainer-feedback? (x11)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geramy Loveless 2020-05-10 02:40:17 UTC
The synaptics driver is not detecting my trackpad on the new HP Pavilion x360 14
I have a device with the vendor and ID of 06cb:00cb which I believe needs to be added to the driver. Essentially the trackpad does not work of course.
Comment 1 Niclas Zeising freebsd_committer 2020-05-10 17:27:23 UTC
Vladimir, is this missing in the kernel driver?
Comment 2 Vladimir Kondratyev freebsd_committer 2020-05-10 17:53:35 UTC
(In reply to Niclas Zeising from comment #1)
PS/2 devices do not
Comment 3 Vladimir Kondratyev freebsd_committer 2020-05-10 17:55:16 UTC
have VID/PID. What is the bus your device is connected to?
Comment 4 Geramy Loveless 2020-05-10 18:00:57 UTC
Uhm it is connected to /dev/ugen0.3 it’s on the usb bus. It’s not actually showing up or initialized as a device. For some reason it’s not recognized. I am on the FreeBSD 12 release from the website. I grabbed the sources before I left but I am not home At the moment.
Comment 5 Geramy Loveless 2020-05-10 18:06:00 UTC
I’m not seeing it in usbdevs is there another way we initialize usb touch pads and handle them?
Comment 6 Vladimir Kondratyev freebsd_committer 2020-05-10 20:29:32 UTC
USB touchpads are not supported by plain FreeBSD yet. You should try webcamd or iichid to handle them.
Comment 7 Geramy Loveless 2020-05-10 20:46:39 UTC
iichid can support synaptic usb trackpad?
Comment 8 Vladimir Kondratyev freebsd_committer 2020-05-10 21:12:18 UTC
It supports generic MS-precission touchpads
Comment 9 Geramy Loveless 2020-05-10 21:43:13 UTC
So either webcamd or libinput, does libinput support this device?
Comment 10 Vladimir Kondratyev freebsd_committer 2020-05-10 21:52:38 UTC
webcamd and libinput are different kinds of drivers. Webcamd is a low-level driver. It converts USB-bus hardware events to a protocol that can be understood by high-level driver like libinput.
Comment 11 Geramy Loveless 2020-05-10 21:56:03 UTC
I will check webcamd out and see if it supports it, if it doesn’t where would I start on implementing the synaptics usb driver?
Comment 12 Vladimir Kondratyev freebsd_committer 2020-05-10 22:05:38 UTC
(In reply to Geramy Loveless from comment #11)
If your device is MS-precission touchpad-compatible, than write your comments here: https://github.com/wulf7/iichid
If it supports F11/F21 protocol... Than poke me too. I have some synaptics datasheets.
Comment 13 Vladimir Kondratyev freebsd_committer 2020-05-10 22:13:51 UTC
(In reply to Vladimir Kondratyev from comment #12)
> If it supports F11/F21 protocol...
Please read it as F11 protocol. I do not have F21 protocol specs
Comment 14 Geramy Loveless 2020-05-10 22:17:17 UTC
Got it okay, is there a good base usb driver I would start from if I were to start something like this?
Comment 15 Vladimir Kondratyev freebsd_committer 2020-05-10 22:30:54 UTC
(In reply to Geramy Loveless from comment #14)
> Got it okay, is there a good base usb driver I would start from if I were to start something like this?
uhid or wmt are the best starting points if you want to write usb-hid driver. ums and ukbd are toooo quirky now. But I would recommend to touch iichid internals instead of pure usb.
Comment 16 Geramy Loveless 2020-05-11 16:16:15 UTC
It doesn’t look like it’s supported, I’m going to buy a usb mouse my main priority to be honest is ath10k port with Adrian when that’s in a state we can bring it in to the ports and kernel then I’ll attempt this driver. What usb mouse is recommended?
Comment 17 Vladimir Kondratyev freebsd_committer 2020-05-11 17:45:55 UTC
(In reply to Geramy Loveless from comment #16)
According to some info I was able to Google, 06cb:00cb is not a touchpad but, most probably, a fingerprint scanner:
http://80.87.195.87/index.php?id=usb:06cb-00cb

That can explain your failures. These pages shows that HP Pavilion x360 14 touch devices are usually connected via I2C bus. So you should give https://github.com/wulf7/iichid or sysutils/iichid port one more try.
Comment 18 Geramy Loveless 2020-05-11 17:49:23 UTC
It’s a HP Pavilion x360 - 14-dh1010la
That’s weird I don’t see anything in dmesg about a psm0 or anything moused related and okay I’ll take another look
Comment 19 Vladimir Kondratyev freebsd_committer 2020-05-12 16:16:47 UTC
(In reply to Geramy Loveless from comment #18)
I was not able to find good enough technical review, may be due to my bad spanish, but I am almost sure that your laptop has trackpad attached through the I2C bus.
It is not clear to me which OS version you a running. If it is 12.1-RELEASE than please update to latest 12-STABLE. Than check that I2C bus controller has been properly detected (ig4 driver should appear in pciconf -lv output). And than install sysutils/iichid port. Than try to test touchpad with e.g. libinput and Xorg. Sadly, moused does not support iichid protocol yet, so no cursor in pure VT.