I have a usb keyboard connected, and after adding the evdev to the kernel (modprobe evdev) I have event devices /dev/input/event0,1,2,3 etc
Iwant to find out which event device pertains to the usb keyboard, and I understand that a way is to open the device and check the device ID via ioctl().
In other words, I'd like to see something like the output of lsusb for that particular device.
How would I do that in perl?
In reply to calling ioctl by redss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |