opensubscriber
   Find in this group all groups
 
Unknown more information…

d : darwin-drivers@lists.apple.com 30 November 2005 • 8:49AM -0500

Forcing the HID-USB driver to ignore an external 'keyboard'.
by Chris Lavoie

REPLY TO AUTHOR
 
REPLY TO GROUP




I'm trying to write a libusb (http://libusb.sourceforge.net/) based
'driver' for a Nostromo n52 SpeedPad
(http://catalog.belkin.com/IWCatProductPage.process?Merchant_Id=&Section_Id=2071&pcount=&Product_Id=157024
; there's an existing Mac OS X driver from the vendor, which is not
quite good enough for my purposes). The n52 is a nice HID keyboard as
far as USB is concerned.

I've got the device detected and useful with the builtin HID driver;
so I know it works. As a joystick, it's doing great in games.

Problem is that when my program tries to access the device from
userland, it detects the device, tries to connect to the device and
gets an error from the device when trying to initialize it. I'm
assuming that this because the HID driver has already taken over the
device.

The userland program also works great under linux 2.6, once I tell the
driver to ignore the device. It displays the exact same symptoms if I
don't.

Question is:

Is it really likely to be the HID driver, and if so, how can I tell
the HID driver to ignore a specific device so I can access it raw from
userspace using libusb?

(Also, lemme know if I'm talking to the wrong mailing list, please :)

Have fun,
Chris++ (aka ChrisL)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (Darwin-drivers@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/subscriber%40opensubscriber.com

This email sent to subscriber@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.