Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign uplogkeys: Error opening input event device '': No such file or directory #149
Comments
This comment has been minimized.
This comment has been minimized.
|
Please attach your /proc/bus/input/devices. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
It says, logkeys: Error opening input event device ' ' : No such file or directory |
This comment has been minimized.
This comment has been minimized.
|
That error is this line in the code: https://github.com/kernc/logkeys/blob/master/src/logkeys.cc#L431 The device is found by grepping the file you supplied, https://github.com/kernc/logkeys/blob/master/src/logkeys.cc#L335, but that regex should have matched on the line in your attached file that says @kernc - would the regex not have found the Handlers line in the file, |
This comment has been minimized.
This comment has been minimized.
$ command grep -E 'Handlers|EV=' /tmp/devices.txt |
command grep -B1 'EV=1[02]001[3Ff]' |
command grep -Eo 'event[0-9]+'
event3I believe it should. Does returning |
This comment has been minimized.
This comment has been minimized.
|
It ought to, but I can't say for sure for all compilers. |
deekshith1410 commentedApr 22, 2016
"sudo logkeys --start --output filename.log" is giving this error