Could not open HID device /dev/usb/hiddev0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Could not open HID device /dev/usb/hiddev0

3,534 次查看
Swamy
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
标签 (1)
0 项奖励
3 回复数

1,942 次查看
hake
NXP Employee
NXP Employee

ls  -ls /dev/input/

find the keyboard device node

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

0 项奖励

1,942 次查看
Swamy
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 项奖励

1,942 次查看
rlorriaux
Contributor I

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

 

Remi Lorriaux

Adeneo Embedded

0 项奖励