Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending generic USB messages?



Hi Peter,

On Aug 2, 2005, at 7:29 AM, Peter Seebach wrote:

I have a device which shows up as a generic HID, but where the actual
protocol defined is just to poll it with queries and get responses.

None of the IOHidDeviceInterface functions seem to offer a way to
just send requests to and from the device.  I don't need to monitor queues,
or extract x and y values; none of those are applicable.  Is the HID driver
even going to allow this?  If not, how do I prevent the OS from attaching
the HID driver?

There's also a USB mailing list where the USB and HID folks hang out <http://lists.apple.com/usb>.

While it's true that other OSes treat HID as a generic USB byte stream, this behavior isn't provided for in the USB specification. Apple tries to stick pretty close to the USB spec.

I'm pretty sure the answer to your question about preventing the HID driver from attaching has been answered in the USB list archives.


-s

--gc

__________________________________________________________________

Garth Cummings                

Apple Developer Technical Support     email@hidden


http://developer.apple.com/technicalsupport



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >Sending generic USB messages? (From: email@hidden (Peter Seebach))



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.