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: Talking to a HID



In message <email@hidden>, Fernando Urbina wr
ites:
>We need more information on what kind of transactions the device  
>expects?  Is it getReport/setReport (which are supported by the HID  
>interface)?  Is it something else?

I am honestly not quite sure; ... Oh!  Yes, it probably is.  Or at least:

1.  write(fd, ...) works.
2.  uhid.c on NetBSD has uhid_do_write() saying:

err = uhidev_set_report(&sc->sc_hdev, UHID_OUTPUT_REPORT, sc->sc_obuf, size);

So I'm guessing that what I want to do is use setreport to send data,
and getreport to get it?  Very cool!

>You can also have a code-less kext that matches to your  
>iOUSBInterface and prevents the HID driver from matching to it.

That might do it, but if I can avoid it, I'd like to.

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

This email sent to email@hidden

References: 
 >Re: Talking to a HID (From: Fernando Urbina <email@hidden>)



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.