Re: Sending generic USB messages?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com In message <FEFBE9B0-F4C6-4FB9-8902-2D279FF4C7F2@mac.com>, Robert Palmer Jr wri tes:
Peter,
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.
The problem is that the code fragment they give for that seems to work with devices with no drivers. However, someone on the USB list pointed me at setReport and getReport, which appear to do what I want. -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/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
seebs@plethora.net