Could not open HID device /dev/usb/hiddev0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Could not open HID device /dev/usb/hiddev0

3,533件の閲覧回数
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,941件の閲覧回数
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,941件の閲覧回数
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,941件の閲覧回数
rlorriaux
Contributor I

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

 

Remi Lorriaux

Adeneo Embedded

0 件の賞賛