Jump to content

AppleUSBCDC: start initDevice failed


  • Please log in to reply
20 replies to this topic

#1
zoltankr

zoltankr

    zoliky

  • Members
  • PipPipPipPipPipPip
  • 427 posts
  • Gender:Male
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...yList-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!

Attached Files



#2
Matty___

Matty___

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
  • Gender:Male
  • Location:The Netherlands
What did help with the usb error is to use the UseKernelCache option in chameleon.

the nstat error is still there :(

#3
smartie77

smartie77

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 370 posts
  • Gender:Male
  • Location:Dortmund, Germany
  • Interests:Apple Software, iOS , OSX86, Creativity and a lot of non-tech stuff.
i had the same thing.. reverted to a relier chameleon and also to "chimera" included in tonymacx86's ##### installer and : issue is gone, booting much faster now.

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

#4
Matty___

Matty___

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
  • Gender:Male
  • Location:The Netherlands

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)

#5
nicoSWD

nicoSWD

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:Spain
  • Interests:Software Engineering.
I'm getting the same error using the latest Chameleon (rev 1187 from trunk).

#6
zoltankr

zoltankr

    zoliky

  • Members
  • PipPipPipPipPipPip
  • 427 posts
  • Gender:Male

What did help with the usb error is to use the UseKernelCache option in chameleon.

the nstat error is still there :unsure:

Hmm.. Mac OS X doesn't like "UseKernelCache" :P

Attached Files



#7
Matty___

Matty___

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
  • Gender:Male
  • Location:The Netherlands

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.

#8
Muddy Mudskipper

Muddy Mudskipper

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
Is there a definitive fix for this yet? Does 'usekernelcache' still remove the USBCDC error?

Thanks in advance.

#9
zoltankr

zoltankr

    zoliky

  • Members
  • PipPipPipPipPipPip
  • 427 posts
  • Gender:Male
There is something wrong with chameleon-trunk.
I tried this:
sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions
same problem.

#10
Muddy Mudskipper

Muddy Mudskipper

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts

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.

#11
drummer10630

drummer10630

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
I fixed mine by running ##### and selecting IOUSBFAMILY rollback and system utilities.

#12
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany
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.insanelym...howtopic=239311

#13
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,902 posts
  • Gender:Male
  • Location:Stuttgart / Germany
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: probeAug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: probe - ExitAug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: startAug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start - Device ClassAug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start - Device SubclassAug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start - Device ProtocolAug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        1 AppleUSBCDC: initDeviceAug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: initDevice - Checking ConfigurationAug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: initDevice - Interface descriptor foundAug  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 foundAug  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 foundAug  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 foundAug  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 foundAug  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 errorAug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: initDevice - No valid configuration or preferred configuration errorAug  2 11:38:29 GA_EP35 kernel[0]: 0        0 AppleUSBCDC: start - initDevice failedAug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: free

Here the source (orig.): http://www.opensourc...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)

Attached Files



#14
Bad_Guy

Bad_Guy

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
Hi there,

Same issue here,

my setup : Thinkad T61 running Lion
Chameleon v2.1 svn r1400.

my 3G+ usb dongle isn't initialized ;)

#15
aikidoka25

aikidoka25

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 368 posts
I confirm adding these into Boot.plist removes the AppleUSBCDC message during boot.
NOTE: remember to move all kexts from EE into SLE, especially fakesmc, otherwise they are ignored.

<key>UseKernelCache</key>
<string>Yes</string>


#16
smartie77

smartie77

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 370 posts
  • Gender:Male
  • Location:Dortmund, Germany
  • Interests:Apple Software, iOS , OSX86, Creativity and a lot of non-tech stuff.

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" =?

#17
davidm71

davidm71

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 172 posts
  • Gender:Male
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 ##### kext installed?

Thanks

#18
pgsubuntu

pgsubuntu

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 228 posts
  • Gender:Male
  • Location:Argentina
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.

#19
Gringo Vermelho

Gringo Vermelho

    The Jan Bird fix

  • Supervisors
  • 6,123 posts
  • Gender:Male
  • Location:Brazil
I get the "AppleUSBCDC: start - initDevice failed" error only when waking from S3 sleep.

- I don't have any communications devices attached via USB or anything else
- I use UseKernelCache=y.

#20
amsk98

amsk98

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
this is work for zte ac8700 800 usb wireless device





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy