Hi,
I am developing a non standard (i.e. non mouse keyboard type) HID
device to act as a interface between the Microchip 2550 PIC and a Mac
running OS-X (10.3.9). I have managed to develop a HID app working
under Windows OS, but I'm having trouble with the Mac implementation.
The Mac sees and reports the device correctly - an 'ioreg' listing
shows that all the parameters are as expected. The only exception is
the element list which seems to be huge and largely composed of element
params which are a little odd, however, I've seen a similar list on the
keyboard so I'm not sure how unusual this is.
I have several different samples of code. I can't get past SetConfig in
any of them. The device seems to open okay and returns the expected
configuration from the GetConfig descriptor with the exception of
wTotalLength which seems to have a size of 10496 instead of the
expected 87 (PC value) ( is this something to do with the massive
element list?).
I have tried implementing a codeless kext in case the system is
hijacking the device - however
a) I can open it,
b) behavior with and without the kext seems identical,
Since I am not a Mac programmer, though, it is possible that I may have
missed something in the kext.
I have also looked at methods employing cookies and queues but have got
no further.
I'd be very grateful if someone would HELP me on this problem... I
seem to be going round in circles and can't seem to figure out how Mac
implements HID.
Thanks for your help. Greatly appreciated!
Gary Ireland
Paul Russell - 16 Jan 2006 17:06 GMT
> Hi,
>
[quoted text clipped - 32 lines]
>
> Thanks for your help. Greatly appreciated!
There's a very helpful Apple USB mailing list at lists.apple.com. Last
time I did some USB development work I got a lot of useful information
there.
Paul
gary.ireland@ams-neve.com - 16 Jan 2006 17:14 GMT
> There's a very helpful Apple USB mailing list at lists.apple.com. Last
> time I did some USB development work I got a lot of useful information
> there.
>
> Paul
Thanks for the response, But I've been several times round the WWW
mailing lists etc, and nothing as yet. There just doesn't seem to be
any real useful info out there on the mac usb development.
ward mcfarland - 17 Jan 2006 10:40 GMT
> > There's a very helpful Apple USB mailing list at lists.apple.com. Last
> > time I did some USB development work I got a lot of useful information
[quoted text clipped - 5 lines]
> mailing lists etc, and nothing as yet. There just doesn't seem to be
> any real useful info out there on the mac usb development.
There may not be MANY places with Mac USB info, and I doubt that Apple
lets its lists be archived by Google.
I agree with Paul. BE sure you checked:
<http://lists.apple.com/mailman/listinfo/usb>
My mail archives of that group are >200 meg. A couple of the Apple USB
team are regular responders there and the information and help are
excellent.
-- w
Herb - 17 Jan 2006 23:48 GMT
Also try, http://search.lists.apple.com/
-H.
gary.ireland@ams-neve.com - 21 Jan 2006 01:12 GMT
Thank you all for your help...
Greatly Appreciated!
Gary