LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-11-2009, 11:14 PM   #1
timxu
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
How to code a host application to talk to a HID device in Debian Linux


Hi All,
I got a trouble about communicating between host application and HID device (with a button) in a embedded Debian Linux OS. The both of them are working fine on ubuntu. When I insert my HID device on my embedded debian linux Unit, following message show up:
# usb 1-1: new low speed USB device using ehci_marvell and address 3
usb 1-1: configuration #1 chosen from 1 choice
HID device not claimed by input or hiddev

and in /dev folder some usbdev files are generated:
usbdev1.3
usbdev1.3_ep00
usbdev1.3_ep02
usbdev1.3_ep81
usbdev1.3_ep83

When I run my host app, and press the button, no any data transferring happened (check with CATc captured data). I know the host app run fine on uBuntu, because I know how to open /dev/usb/hiddev0 in my code. I don't know how to open this kind of file in debian linux. I tried use each files above, the button still doesn't work. Can anyone help me to point out if it is HID driver issue or coding issue.

Thanks
 
Old 12-12-2009, 03:57 PM   #2
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Not sure how to fix this, but is the HID device identified if you run lsusb?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
debian host as a mass storage device to another host? elfoozo Debian 4 03-05-2007 05:06 PM
HID device _frenzy Programming 0 07-18-2006 10:00 AM
help on driver for USB HID device(finger print) in Linux malikamirshehzad Programming 1 02-18-2006 01:48 AM
how to send datas to HID device?why I can only send two bytes data to HID device? wch_zj Linux - Software 1 01-05-2006 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration