On 6/23/05 2:25 PM, "Barry Twycross" <email@hidden> wrote:
> The composite driver has been doing that since 10.3.6 or so, so that
> iPod shuffles can work in low power ports.
Good to know. Which configuration is the default? Is it the lowest
numbered config, or the highest, or something else? Is there any selection
criteria given to configurations?
> Does this happen on just 10.3.9? Or is it also on previous versions,
> and/or Tiger? Or have you not tired this?
Strangely, our driver isn't loading on Tiger, so I've switched from XCode
2.1 back to 1.5 and from 10.4.1 to 10.3.9. I've not tried earlier OSes
(doesn't have to support anything older than 10.3.9). I don't know why the
driver that loads for 10.3.9 won't load on 10.4.1, but I'll deal with that
later.
> Does the composite driver ever match to the device? Such as at boot?
> Now that it knows about multiple configurations its possible it gets
> confused by your device. There is a known problem with multiple
> configuration devices which have zero power specified.
This is still hardware in progress, so there can be issues with the device
descriptors still... For instance, USB Prober that shipped with 10.3.9
won't launch (bounces continually in the dock and never draws its window)
with the device plugged in, the one from 10.4 will, however, so I've been
using it.
AppleUSBComposite matches to the device.
> I'm also wondering if its something to do with Audio interfaces. I've
> been experimenting with multiple configuration devices and have had
> no problems like this.
The two configuration descriptors displayed by USB Prober appear to be the
same. Not only is this incorrect, the configurations that are displayed
appear to be incorrect. However, since this is still hardware in
development, I don't know if this our bug, or Prober's.
Also, on the times when the call to SetConfiguration doesn't panic,
FindNextInterface() fails to find the control interface. This is quite odd
since Prober displays one for both configurations, there should be one, and
the search is pretty generic:
IOUSBFindInterfaceRequest findRequest;
::memset(&findRequest, 0, sizeof(IOUSBFindInterfaceRequest));
findRequest.bInterfaceClass = 1;
findRequest.bInterfaceSubClass = 1;
findRequest.bInterfaceProtocol = kIOUSBFindInterfaceDontCare;
findRequest.bAlternateSetting = kIOUSBFindInterfaceDontCare;
Any ideas on how that could be happening? I'm trying to find the logging
version of IOUSBFamily now...
Thanks for your help,
Mark
--
Mark Cookson
M-Audio, a part of Avid
225 Locust St.
Hudson, WI 54016
_______________________________________________
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