linux-surface / iptsd

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

no display config for this device was found. #78

Open erik-sundin-git opened 2 years ago

erik-sundin-git commented 2 years ago

When i try to do:

sudo ./build/src/daemon/iptsd /dev/hidrawN

I get no display config for this device was found!

I used hidraw0.

StollD commented 2 years ago

And is hidraw0 your touchscreen device?

What surface do you have? Did you install the required kernel driver? (ithc or ipts from git master branch)

DJMrTV commented 2 years ago

i have the same issue. i have the ipts kernel module installed. the devicefile i am using is also hidraw0. i am on a surface pro 7 the version i am using is from github actions The newest one at the time of writing

StollD commented 2 years ago

Let me repeat my question: Is hidraw0 your touchscreen device?

You cant just use any hidraw device you want, you need to use the correct one. The readme contains a command for finding the right one (will be named IPTS).

Additionally, hidraw0 is probably never the right device, because it will most likely be the touchpad / keyboard on all devices.

When you install iptsd using the packages from GitHub Actions, a udev rule will start the service automatically when a hidraw device from one of the compatible kernel drivers is detected. Since that is not happening, I dont think you are actually running the IPTS kernel module from the master branch. The version that is currently included in our kernel builds is not compatible with the iptsd from the master branch.

DJMrTV commented 2 years ago

hidraw0 is the only availible hidraw device there is no hidraw1 or higher. tried both with ipts and ithc. it also might be important to note that i rebuilt the ipts kernel module from the sources and am using that one.

DJMrTV commented 2 years ago

i got it to register the touchscreen via ipts now. but it still wont register any inputs I switched to hidraw1

Update: i found out that it works for exactly one input and then starts not doing anything

erik-sundin-git commented 2 years ago

i think it was a surface 7 related problem for me. this command from quo/iptsd fixed the problem.

echo options ipts gen7mt | sudo tee /etc/modprobe.d/ipts-gen7mt.conf

NP-chaonay commented 2 years ago

i think it was a surface 7 related problem for me. this command from quo/iptsd fixed the problem.

echo options ipts gen7mt | sudo tee /etc/modprobe.d/ipts-gen7mt.conf

from your msg sudo ./build/src/daemon/iptsd /dev/hidrawN

it seem that you using build of linux-surface/iptsd (not from system pkg repo)

so you have to using linux-surface/intel-precise-touch too (it is ipts module)

but you have to do recompile

even that (workaround from quo/iptsd) works, but I recommended to do that since both fixes/improvement in newer intel-precise-touch and newer linux-surface/iptsd is not yet put in system pkg repo

NP-chaonay commented 2 years ago

i got it to register the touchscreen via ipts now. but it still wont register any inputs I switched to hidraw1

Update: i found out that it works for exactly one input and then starts not doing anything

have you uninstall quo's iptsd, if not then could you do it and reinstall linux-surface/iptsd from source/github-prebuilt

jeder49 commented 1 year ago

Is there any progress? also I have the problem that: $ sudo ./etc/iptsd-find-hidraw does not print any thing. An when I exicuted dmesg | grep hidraw by my self I got this result:

[workspace@fedora iptsd]$ dmesg | grep hidraw
[    1.479777] hid-generic 0003:045E:09C0.0001: input,hiddev96,hidraw0: USB HID v1.11 Keyboard [Microsoft Surface Type Cover] on usb-0000:00:14.0-8/input0
[    1.677784] hid-multitouch 0003:045E:09C0.0001: input,hiddev96,hidraw0: USB HID v1.11 Keyboard [Microsoft Surface Type Cover] on usb-0000:00:14.0-8/input0
[    3.533479] hid-generic 001F:8087:0AC2.0002: hidraw1: SENSOR HUB HID v2.00 Device [hid-ishtp 8087:0AC2] on 
[ 1733.299222] hid-multitouch 0003:045E:09C0.0003: input,hiddev96,hidraw0: USB HID v1.11 Keyboard [Microsoft Surface Type Cover] on usb-0000:00:14.0-8/input0
[ 4590.618735] hid-multitouch 0003:045E:09C0.0004: input,hiddev96,hidraw0: USB HID v1.11 Keyboard [Microsoft Surface Type Cover] on usb-0000:00:14.0-8/input0

None of them seem to be the right hidraw. When was the hidraw supposed to be generated?

NP-chaonay commented 1 year ago

What is you device

And iptsd must got from Linux surface repo github source either recompile or GitHub action

jeder49 commented 1 year ago

my device is a surface pro 7 or 7+ (not sure)

about GitHub action: when following the installation instructions it was said to go to https://github.com/linux-surface/iptsd/actions and download the latest build. But I could only download the logs. Also it was not explained what to do with it.

NP-chaonay commented 1 year ago

my device is a surface pro 7 or 7+ (not sure)

about GitHub action: when following the installation instructions it was said to go to https://github.com/linux-surface/iptsd/actions and download the latest build. But I could only download the logs. Also it was not explained what to do with it.

For checking pro7,7+ you could check by put serial number in factory reset image download page, it would tell you. Idk if going to Surface UEFI will give accurate info.

NP-chaonay commented 1 year ago

about GitHub action: when following the installation instructions it was said to go to https://github.com/linux-surface/iptsd/actions and download the latest build. But I could only download the logs. Also it was not explained what to do with it.

Just selectedtop entry then find the artifact that most match to your distro.