LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 07-18-2006, 11:00 AM   #1
_frenzy
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
HID device


Hello,

There is UPS APC RS-500 and ibusb(newhidups) library is used. Linux 2.6.10 kernel.
The 'usb_claim_interface' function returns -EBUSY when 'newhidups' is executed,
it's ok because this interface already claimed by usbhid.

At that time function 'usb_detach_kernel_driver_np' is executed,
to detach driver from this interface, then retry claiming and
code work fine.

It's also ok, but /sys/class/usb/hiddev0 and /dev/usb/hiddev0 will be removed.

How to make so that HID device isn't being removed from the system?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 08:14 AM
why I can only send two bytes data to HID device? wch_zj Programming 0 01-05-2006 01:04 AM
HID ( Human Interface Device ) USB saeed371 Debian 1 10-16-2005 06:47 PM
HID Device wont work c0rderr0y Linux - Hardware 0 02-29-2004 08:00 PM


All times are GMT -5. The time now is 01:56 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration