On Oct 31, 2014, at 4:56 PM, Roland King <[email protected]> wrote:

> 
>> On 1 Nov 2014, at 12:02 am, Carl Hoefs <[email protected]> 
>> wrote:
>> 
>> Bug #17892364 was filed, and it’s still open. Not sure what else to do. 
>> Would filing a TSI result in anything more than an acknowledgement that the 
>> problem is real? 
>> 
>> Under 10.8, installing AppleUSBCDCDriver-4201.2.2.pkg used to allow these 
>> devices to be seen & loaded during boot, but that package doesn’t have any 
>> effect under 10.9 or 10.10. There are some other packages floating around, 
>> like AppleUSBCDCDriver-4.1.24.pkg, but I don’t know what they’re for, and 
>> they don’t seem to have any effect either. Additionally, there are a number 
>> of sources at https://www.opensource.apple.com/source/AppleUSBCDCDriver/ but 
>> they seem quite out of date, and I can’t get them to build anyway. :-(
>> 
>> -Carl
>> 
> 
> I’m fairly confused by this. The USBCDC driver has been part of the kernel 
> forever, I don’t know why there was ever a need to install it as a separate 
> package on 10.8. If the device is seen after boot, it should be seen at boot 
> by the driver in 10.10. 
> 
> Last time I filed a bug against Apple’s CDC kernel support (last year) it was 
> responded to pretty quickly and very helpfully, and it wasn’t a bug either, 
> it was a different issue the engineer helped me to explain to the 3rd party 
> software vendor. Looks like 17892364 is around early August .. if that’s the 
> case I’d burn a TSR on it if you are out of debugging options. 
> 
> After boot, with those devices plugged in, what does the IO registry explorer 
> show? Are they in the device tree but not claimed, claimed by the wrong 
> device driver, missing or what? 
> 
> And have you tried disabling and re-enabling the CDC device drivers after 
> boot? That might be a workaround while you wait for the bug to get fixed. 
> 
> Something like this, perhaps with more or less drivers. 
> 
> /sbin/kextunload -q 
> /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBCDCACMData.kext
>  
> /sbin/kextunload -q 
> /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBCDCECMData.kext
>  
> /sbin/kextunload -q 
> /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBCDCACMControl.kext
>  
> /sbin/kextunload -q 
> /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBCDC.kext 
> 
> /sbin/kextload -q 
> /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBCDCACMData.kext
>  
> /sbin/kextload -q 
> /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBCDCECMData.kext
> /sbin/kextload -q 
> /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBCDCACMControl.kext
>  
> /sbin/kextload -q 
> /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBCDC.kext 
> 

Okay, I just ran IORegistryExplorer for the two cases. 

1. When the system boots with the device attached, it matches to the 
IOUSBCompositeDriver, which is not the correct driver. The result is just the 
following two lines. No serial devices are created for it.

Pololu Micro Maestro 6-Servo Controller@4100000
— IOUSBCompositeDriver

2. When I replug the device, it (correctly) matches to:

Pololu Micro Maestro 6-Servo Controller@4100000
— AppleUSBCDC
— IOUSBInterface@0
—— AppleUSBCDCACMControl
— IOUSBInterface@1
—— AppleUSBCDCACMData
——— IOModemSerialStreamSync
———— IOSerialBSDClient
— IOUSBInterface@2
—— AppleUSBCDCACMControl
— IOUSBInterface@3
—— AppleUSBCDCACMData
——— IOModemSerialStreamSync
———— IOSerialBSDClient
Pololu Micro Maestro 6-Servo Controller@4


If I try unloading the composite driver, it says it’s in use and can’t unload 
it:

% sudo /sbin/kextunload -q 
/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext
(kernel) Can’t remove kext com.apple.driver.AppleUSBCDCComposite; services 
failed to terminate - 0xdc008018.
Failed to unload com.apple.driver.AppleUSBCDCComposite - (libkern/kext) kext is 
in use or retained (cannot unload).

- Carl

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/usb/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to