site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Peter, Robert On Aug 2, 2005, at 6:26 PM, Peter Seebach wrote: 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. This email sent to robertpalmerjr@mac.com ----------------------------- Robert G. Palmer, Jr. robertpalmerjr@mac.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... There is some sample code on Apple's site for connecting to a USB device and talking to it. Don't remember the name/section - if you can't find it, drop me a line privately and I'll dig up the name. It's pretty simple, only caveat is that the sample code runs in application space, not driver space, so the USB device has to be plugged in when the search code executes or it won't find it. It will let you do the read/write thing - that's what I'm doing. In message <99050708-3021-463C-AEEA-528BC2328E26@apple.com>, Garth Cummings wri tes: The problem is that I have a HID device which works in only one way: Send a five-byte packet, receive a 5-byte response. It's not a keyboard or mouse or anything like it, and there's no way to get past this. Anyway, I'll see about the USB lists. It would suck, though, if every other OS I'm looking at targeting let me write the "driver" in 5 minutes on top of the existing HID support, and Darwin made me reinvent the wheel. -s _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/robertpalmerjr% 40mac.com This email sent to site_archiver@lists.apple.com