LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Can't find /dev/usb/hiddev. How to open HID device? (https://www.linuxquestions.org/questions/linux-hardware-18/cant-find-dev-usb-hiddev-how-to-open-hid-device-4175414587/)

SeaZone 07-03-2012 02:25 AM

Can't find /dev/usb/hiddev. How to open HID device?
 
Hi all.

I need to develop the library to communicate with the USB HID device. However, I follow the sample and when I want to open device in /dev/usb/hiddev, I only realize the device hiddev file is not create.

Anyone know how actually the udev working?

Below is the step that I tried.
I plugged the HID hardware and I use lsusb command and can found the hardware device and comfirm is a USB HID device.

I have tried to find in /dev but can't see the hiddev file as well. Even the /dev/usb folder also does not exist.

I find in ubuntu 10.10, 11.10 and fedora /dev also don't have the hiddev file, is it got some changes that I don't know?

pan64 07-03-2012 05:51 AM

have you checked the device drivers for usb and hid? Are they loaded?

SeaZone 07-03-2012 08:59 AM

Quote:

Originally Posted by pan64 (Post 4717964)
have you checked the device drivers for usb and hid? Are they loaded?

Thanks for reply.

Can you tell me how to check for it? Sorry I am newbie for this.

pan64 07-03-2012 02:19 PM

for example lsmod

SeaZone 07-03-2012 08:43 PM

Quote:

Originally Posted by pan64 (Post 4718390)
for example lsmod

It is loaded.

usbhid 36882 0
pcnet32 31535 0
floppy 54311 0
hid 67742 1 usbhid

jimmy123 04-24-2013 02:44 AM

Quote:

Originally Posted by SeaZone (Post 4718660)
It is loaded.

usbhid 36882 0
pcnet32 31535 0
floppy 54311 0
hid 67742 1 usbhid




The hid-core do not add device in old version kernel


All times are GMT -5. The time now is 03:28 PM.