Hello.
I have a question about input detection in Puppy Linux
All i ever found on detecting user input idle time used in Puppy Linux is getcurpos.
Works as suggested, no question.
Problem is when it comes to keyboard input or scrollwheel activity.
This is always annoying when reading long text using the scrollwheel or up/down-keys on my keyboard.
A solution might be a script found at https://crunchbang.org/forums/viewtopic.php?id=26447, which uses /proc/interrupts.
But as always there is a glitch in this script...
How do you determine the correct device in /proc/interrupts?
On my Laptop i can grep i8042 as mentioned in script. But on my Desktop i8042 is present but doesn't change on mouse or keyboard activity.
On my Desktop i found keyboard and mouse activity on uhci_hcd:usb5
Maybe i'm the lucky one with keyboard and mouse on the same bus...
Question is, how to determine input devices via (bash-) script on startup?