linux-surface / iptsd

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

"Can't read from hidraw, is the program running as root?" #181

Open GCAT01 opened 1 day ago

GCAT01 commented 1 day ago

Just installed linux-surface (you guys rock!) and I have been having trouble with the touchscreen/gestures. Through my various searches for troubleshooting, I came across the command iptsd-find-hidraw and I received the following:

[warning] Can't read from /dev/hidraw#, is the program running as root?
[info] No devices found

where "#" is a digit from 0-4.

I have yet to see this message listed anywhere as an output of any iptsd command so I am asking for some guidance.

StollD commented 15 hours ago

Well, are you running it as root? Only root can interact with hidraw devices.

GCAT01 commented 6 hours ago

Apparently

genericuser3@BeyondBright:~$ ps -elf|grep hidraw
4 S root         709       1  0  80   0 -  1777 -      13:15 ?        00:00:00 /usr/bin/iptsd /dev/hidraw4
0 S generic+    2464    2396  0  80   0 -  2286 pipe_r 13:24 pts/0    00:00:00 grep --color=auto hidraw