LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 07-03-2012, 02:25 AM   #1
SeaZone
LQ Newbie
 
Registered: Jul 2012
Posts: 3

Rep: Reputation: Disabled
Unhappy 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?
 
Old 07-03-2012, 05:51 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,008

Rep: Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003
have you checked the device drivers for usb and hid? Are they loaded?
 
Old 07-03-2012, 08:59 AM   #3
SeaZone
LQ Newbie
 
Registered: Jul 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
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.
 
Old 07-03-2012, 02:19 PM   #4
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,008

Rep: Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003Reputation: 1003
for example lsmod
 
Old 07-03-2012, 08:43 PM   #5
SeaZone
LQ Newbie
 
Registered: Jul 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
for example lsmod
It is loaded.

usbhid 36882 0
pcnet32 31535 0
floppy 54311 0
hid 67742 1 usbhid
 
Old 04-24-2013, 02:44 AM   #6
jimmy123
LQ Newbie
 
Registered: Jan 2012
Posts: 13

Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by SeaZone View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help identifying USB device -> /dev/hiddev* mapping (CentOS 6.2 64-Bit) rgarr Linux - Hardware 2 07-04-2012 11:58 AM
Usb hid device fos Programming 3 09-03-2010 06:10 AM
[SOLVED] need help find my usb device in /dev gvaught Ubuntu 5 06-22-2010 05:01 PM
Failed to open device /dev/usb/ttyUSB0: No such device efm Linux - Newbie 2 04-04-2005 08:46 PM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration