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: IOKit problems with USB IR Device



On 1/27/03 1:51 AM, Greg Hulands wrote:

> I am trying to get the Polar Heart Rate Monitor Infra Red adaptor to
> work on OS X. There is a library that was written on linux that I am
> using as a reference point. I am able to find the device quite ok, but
> when it comes to sending commands to the device, nothing happens. I am
> new to this type of thing, so I am probably missing a fundamental
> technique used to access usb devices....

Your best bet for this kind of questions would be the USB list at
http://lists.apple.com.

If the device is a "vendor specific" device (i.e. bDeviceClass==255) then
you would need to create the interfaces.  You can do this by issuing a
SetConfiguration() call to the device.  As to what configuration #, you
would need to inspect that Device Descriptor for the bNumConfigurationValue.
However, a good bet is "1".  After the SetConfiguration(), the interface
will be created.

Good Luck,

-- 
Fernando Urbina                            mailto:email@hidden
USB Technology Team                           work: 719.534.9387
Apple Computer, Inc.                           fax: 719.532.0981
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.



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.