linux-surface / iptsd

Userspace daemon for Intel Precise Touch & Stylus
GNU General Public License v2.0
86 stars 39 forks source link

[SP7P] [Fedora 36] Stylus doesn't work with linux-surface/iptsd but quo/iptsd. #72

Closed Pairman closed 1 year ago

Pairman commented 1 year ago

Stylus doesn't work with linux-surface/iptsd (installed via the dnf repo) but works with quo/iptsd (compiled manually) on SP7P, Fedora 36. quo/ithc-linux is installed.

NP-chaonay commented 1 year ago

at this current momemnt, you have to do compiled manually of linux-surface/iptsd too

Pairman commented 1 year ago

at this current momemnt, you have to do compiled manually of linux-surface/iptsd too

Thanks. Hope the official rpms support stylus for SP7P. I'd like to wait for it.

Pairman commented 1 year ago

Update: I build this iptsd, but I can't make it work.

[pairman@fedora daemon]$ ls /dev | grep hidraw
hidraw0
hidraw1
[pairman@fedora daemon]$ ls /dev | grep ithc
ithc
[pairman@fedora daemon]$ sudo ./iptsd /dev/ithc
[23:20:33.085] [error] Failed to read HID device info: Inappropriate ioctl for device
[pairman@fedora daemon]$ sudo ./iptsd /dev/hidraw0
[23:20:37.217] [error] No display config for this device was found!
[pairman@fedora daemon]$ sudo ./iptsd /dev/hidraw1
[23:20:38.402] [error] No display config for this device was found!
[pairman@fedora daemon]$ 

hidraw1 is the touchscreen

[pairman@fedora daemon]$ sudo dmesg | grep hidraw
[    1.453368] hid-generic 0003:045E:09C0.0001: input,hiddev96,hidraw0: USB HID v1.11 Keyboard [Microsoft Surface Type Cover] on usb-0000:00:14.0-9/input0
[    1.683794] hid-multitouch 0003:045E:09C0.0001: input,hiddev96,hidraw0: USB HID v1.11 Keyboard [Microsoft Surface Type Cover] on usb-0000:00:14.0-9/input0
[    2.779126] hid-generic 001F:8087:0AC2.0002: hidraw1: <UNKNOWN> HID v2.00 Device [hid-ishtp 8087:0AC2] on 
[   10.161092] hid-generic 0001:045E:0C1A.0003: input,hidraw1: <UNKNOWN> HID v1.00 Device [Intel Touch Host Controller] on pci-0000:00:10.6/ithc
[pairman@fedora daemon]$ 
Pairman commented 1 year ago

After rebooting, iptsd /dev/hidraw1 works.