bseibold/tpkbdctl — pull request #1 by gsalgado (2012-03-12 13:28:25+00:00)
Title: This will catch errors when opening the hidraw files and report EACCES on stderr 

Hi Bernhard,

On my Ubuntu 12.04 machine, the /dev/hidraw* files are readable only by root but tpkbdctl would only report that no device was found, so it took me a little while to figure out that was because my user had no permission to read from /dev/hidraw*. I'm not sure whether that's expected but I think it won't hurt to report EACCES. If you'd prefer I'm happy to change this patch so that EACCES is reported only when verbosity>0.

Once again, thanks a lot for making this available!