Could not open HID device /dev/usb/hiddev0

cancel
Showing results for 
Search instead for 
Did you mean: 

Could not open HID device /dev/usb/hiddev0

1,845 Views
Contributor III
Hello,

I have the navigation application running on IMX53 QSB (2.6.35.3-744-g27fdf7b), but i am not able to use keyboard or mouse. I get the output as "Could not open HID device /dev/usb/hiddev0"

I have enabled Device Drivers->USB Human Interface and /dev/hiddev raw HID device support using LTIB.

Once the LTIB builds the kernel, rootfs, I copy it on to microsdcard on run it on the target

Please help to resolve the issue.

Regards,
Swamy
Labels (1)
0 Kudos
3 Replies

253 Views
NXP Employee
NXP Employee

ls  -ls /dev/input/

find the keyboard device node

ln -s /dev/input/<the device> /dev/input/hiddev

0 Kudos

253 Views
Contributor III
Thanks. I just found that in the code I need to rename it to /dev/hiddev0 as it was located like that in /dev
0 Kudos

253 Views
Contributor I

You want to read from /dev/input/mouseX instead and /dev/input/eventY for the keyboard.

 

Remi Lorriaux

Adeneo Embedded

0 Kudos