Jump to content

AppleUSBCDC: start initDevice failed


leslieking
 Share

21 posts in this topic

Recommended Posts

Chameleon2 RC5-r1167; Mac OS X 10.7 GM

 

AppleUSBCDC: start - initDevice failed

AppleUSBCDC: start - initDevice failed

AppleUSBCDC: start - initDevice failed

AppleUSBCDC: start - initDevice failed

 

org.chameleon.Boot.plist file:

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Kernel</key>

<string>mach_kernel</string>

<key>Kernel Flags</key>

<string></string>

<key>Timeout</key>

<string>1</string>

</dict>

</plist>

 

I would be grateful for any suggestion. Thank you!

post-66455-1310993322_thumb.jpg

Link to comment
Share on other sites

i had the same thing.. reverted to a relier chameleon and also to "chimera" included in tonymacx86's [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] installer and : issue is gone, booting much faster now.

 

So it is an chameleon issue specific to that version you use. Try another one.

Link to comment
Share on other sites

UseKernelCache doesn't solve the problem.

Yes, I think there is something wrong with the latest "trunk r1167". I hope someone will look into the code.

 

I will try to use Chimera.

 

wonder if this error even affects something. Everything seems to work nicely after all (except resume from sleep)

Link to comment
Share on other sites

Yes, you are right!

I tried "UseKernelCache" one more time and no more USB errors. Altough, there is a problem. OS X doesn't boot with UseKernelCache.

 

Check out the attached image.

with the kernelcache your /e/e will be ignored. You have to copy your needed kext to /s/l/e to make it work.

Guess the error comes from fakesmc missing.

Link to comment
Share on other sites

Yes, the only solution is usekernelcache, but I don't understand why no one use it in their org.chameleon.Boot.plist

 

Yeah it worked for me. ;)

 

Now I just have 'nstat_lookup_entry failed: 2' - annoying because there's a slight pause on this error, the USBCDC message didn't delay the boot at all.

Link to comment
Share on other sites

Would be really nice if sometimes an hero can make new IOUSB kernel extensions , what fixes that USB init messages (my USB is working beside that messages) and that nstat messages. The stat comes very often, so even no problem it does fill the log fast and also takes some cpu time.

 

Here the thread were someone already made fixed IOUSB up to 10.6.8 - 10.7 Lion src is out so we have an hope someone can try to fix that for 10.7 also.

USB FIX thread http://www.insanelymac.com/forum/index.php?showtopic=239311

Link to comment
Share on other sites

The USBCDC errors only happen if i plugin my Android Handy and happens also with older Chameleons.

The error games from AppleUSBCDCDriver-4115.4.1 (its within IOUSBFamily).

I made an debug version for that driver and get this when i plugin the android. More detailed that the non debug version

Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: probe
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: probe - Exit
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start - Device Class
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start - Device Subclass
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start - Device Protocol
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        1 AppleUSBCDC: initDevice
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: initDevice - Checking Configuration
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: initDevice - Interface descriptor found
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00       ff        0 AppleUSBCDC: initDevice - Ignoring interface...
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        1 AppleUSBCDC: initDevice - Interface descriptor found
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00       ff        1 AppleUSBCDC: initDevice - Ignoring interface...
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        2 AppleUSBCDC: initDevice - Interface descriptor found
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00       ff        2 AppleUSBCDC: initDevice - Ignoring interface...
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        3 AppleUSBCDC: initDevice - Interface descriptor found
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        8        3 AppleUSBCDC: initDevice - Ignoring interface...
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        4 AppleUSBCDC: initDevice - Interface descriptor found
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00       ff        4 AppleUSBCDC: initDevice - Ignoring interface...
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00 e000404e        0 AppleUSBCDC: initDevice - FindNextInterfaceDescriptor returned error
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: initDevice - No valid configuration or preferred configuration error
Aug  2 11:38:29 GA_EP35 kernel[0]: 0        0 AppleUSBCDC: start - initDevice failed
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: free

 

Here the source (orig.): http://www.opensource.apple.com/tarballs/A...4115.4.1.tar.gz

 

I am not an dev but think that this driver is for ethernet/modem over USB devices.

 

Here my debug version (you can kextload it for tests)

AppleUSBCDC.kext.zip

Link to comment
Share on other sites

  • 3 weeks later...
The USBCDC errors only happen if i plugin my Android Handy and happens also with older Chameleons.

----------------removed-------------

 

I am not an dev but think that this driver is for ethernet/modem over USB devices.

 

Here my debug version (you can kextload it for tests)

 

 

most mobile phones are also appearing to the OperatingSystem as USB / and / or Bluetooth mobile modems .. - for example my Samsung S5230 has 3 USB modes that I can select when I attach it via USB to a PC , mass storage,MP3-Player or "PC-Studio". IN the "pc-studio mode" OSX Snow/Lion sees it as USB modem( at least in i386 mode ) ,adds a new network device , and even offers to use it as a Faxing device ( including menubar items for modem and fax ) - and because I have used the phone in Linux as well I know that it is using Unix port "device/ttyACM0" and even Linux' driver which gets loaded has the "ACM" in the name - so I think "ACM" is some generic handler-ID for any sort of USB modem. :

 

And therefore - yes you are correct : usbcdacm is the driver for Apples USB "ACM" modem ; the white one - which was sold as optional peripheral when the macs no longer came with built-in modems. Maybe it uses the exact internal chipset like our mobile phones today and therfore OSX might wonder if it is in fact the "Apple USB Modem" =?

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

I am also getting those appleusbcdc init errors including random lockups with black and white text on the screen when I plug a usb drive into the system. Not sure where along the install process this happened. Will have to start from scratch again I think unless I could remove every [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] kext installed?

 

Thanks

Link to comment
Share on other sites

  • 3 weeks later...

In my case this error happens with Snow Leopard 10.6.5 on a HP DV5 core i3, with vanilla kernel or Legacy

 

The solution for now is to boot with "arch = i386" (with arch = x86_64 the error).

 

Of course, the ideal is to use 64-bit Snow.

Link to comment
Share on other sites

  • 3 months later...
  • 8 months later...
  • 4 months later...
 Share

×
×
  • Create New...