Bug 253157 - iichid: Dell Vostro 15-3568 touchpad "DELL0793:00 06CB:7F13 I2C HID device" only handled as two-button-mouse...
Summary: iichid: Dell Vostro 15-3568 touchpad "DELL0793:00 06CB:7F13 I2C HID device" o...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.0-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-01 12:48 UTC by Nils Beyer
Modified: 2021-02-05 13:10 UTC (History)
1 user (show)

See Also:


Attachments
HID-report-as-human-readable (3.16 KB, text/plain)
2021-02-01 12:50 UTC, Nils Beyer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Beyer 2021-02-01 12:48:48 UTC
-----------------------------------------------------------------------------
iichid0:   IICbus addr       : 0x2C
iichid0:   HID descriptor reg: 0x20
iichid0: HID command I2C_HID_CMD_DESCR at 0x20
iichid0: HID descriptor: 1e 00 00 01 85 00 21 00 24 00 40 00 25 00 17 00 22 00 23 00 cb 06 13 7f 03 00 00 00 00 00
iichid0: <DELL0793:00 06CB:7F13 I2C HID device> at addr 0x2c irq 51 on iicbus0
iichid0: HID command I2C_HID_CMD_SET_POWER(0)
iichid0: HID command I2C_HID_CMD_RESET
iichid0: allocated irq at 0xfffff800364a1400 and rid 0
ioapic0: routing intpin 51 (PCI IRQ 51) to lapic 0 vector 62
iichid0: successfully setup interrupt
hidbus0: <HID bus> on iichid0
iichid0: 00 00 - 00
iichid0: HID command I2C_HID_REPORT_DESCR at 0x21 with size 133
iichid0: HID report descriptor: 05 01 09 02 a1 01 85 01 09 01 a1 00 05 09 19 01 29 02 15 00 25 01 75 01 95 02 81 02 95 06 81 01 05 01 09 30 09 31 15 81 25 7f 75 08 95 02 81 06 c0 c0 06 00 ff 09 01 a1 01 85 09 09 02 15 00 26 ff 00 75 08 95 14 91 02 85 0a 09 03 15 00 26 ff 00 75 08 95 14 91 02 85 0b 09 04 15 00 26 ff 00 75 08 95 3d 81 02 85 0c 09 05 15 00 26 ff 00 75 08 95 3d 81 02 85 0f 09 06 15 00 26 ff 00 75 08 95 01 b1 02 c0
iichid0: HID command I2C_HID_CMD_SET_POWER(1)
[...]
Autoloading module: hms.ko
hms0: <DELL0793:00 06CB:7F13 Mouse> on hidbus0
hms0: 2 buttons and [XY] coordinates ID=1
-----------------------------------------------------------------------------

No "hmt0", no "hconf0" -> touchpad works in two-button-mouse-mode. No virtual scrolling, no two-, three-finger recognition. "moused" is inoperable due to "kernel: psm0: failed to enable the device (doopen)".


What quirk/patch do I need to apply, so that I can operate that touchpad in full mode?
Comment 1 Nils Beyer 2021-02-01 12:50:20 UTC
Created attachment 222069 [details]
HID-report-as-human-readable
Comment 2 Vladimir Kondratyev freebsd_committer freebsd_triage 2021-02-05 09:59:05 UTC
(In reply to Nils Beyer from comment #1)
According to HID report descriptor, the touchpad uses Synaptics RMI4-over-HID protocol rather MS HID-multitouch which is supported by hmt(4).

FreeBSD does not support RMI4 yet.
Comment 3 Nils Beyer 2021-02-05 13:10:52 UTC
(In reply to Vladimir Kondratyev from comment #2)

Thanks for the explanation and for your work on EVDEV and I²C-HID.

For now - in order to get the old "psm"-functionality back - I've simply blacklisted "iichid.ko" via:

    devmatch_blacklist="iichid.ko"

Works like a charm again...