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: IOUSBDevice::SetConfiguration panic



At 2:03 PM -0500 6/23/05, Mark Cookson wrote:
Does anyone out there use IOUSBDevice::SetConfiguration() to set their device to a second (or not the first) configuration?

The composite driver has been doing that since 10.3.6 or so, so that iPod shuffles can work in low power ports.


When attempting to do this, I'm frequently (but not always) getting a panic that appears to be in IOUSBFamily (10.3.9).

Does this happen on just 10.3.9? Or is it also on previous versions, and/or Tiger? Or have you not tired this?


The driver matches on the device, not the interfaces, so it's not doing anything with the interfaces until this switch of configurations is done.

That was going to be my next question. This should be done from a device driver, not from an interface driver.


The idea behind the configurations is that we have config 1 be a simple setup for the class driver, and our driver using config 2 and can correctly manage bandwidth using a-priori knowledge that the class driver doesn't have.

That sounds like a very reasonable thing to do.

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.

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.
--
Barry Twycross
email@hidden
---
USB, it's not a Dyslexic BUS. (Thanks to TC.)
_______________________________________________
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: 
 >IOUSBDevice::SetConfiguration panic (From: Mark Cookson <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.