codeless kext
hi,
i have been spending a lot of time looking into the "USB device busy" problem. reading various documentation on USB & the I/O Kit, leads me to belive that for devices that don't have a vendor supplied driver, the solution must be a so called "codeless kext".
in my case, i am trying to connect a programmer for microprocessors. a "AVRDRAGON" from Atmel. by default, OSX takes control of the thing, most likely thru the HDI drivers, maybe UserClient, not sure.
so i have been playing with codeless kext but so far no luck. i was able to write one that matches my device, but somehow control is still taken by OSX.
what seems interesting is that the parralels USB kext, prints out the following debug message to /var/log/system.log
Dec 15 21:03:27 iMac kernel[0]: ParallelsControlUSBUserClient(0x3f4d080)::setProperties() Client has not privileges!
Dec 15 21:03:27 iMac kernel[0]: ParallelsControlUSBUserClient(0x3f4d080)::setProperties() Client has not privileges!
so i am hoping that some of the Parallels developer actually read this thread and maybe they can shed some light on this.
what is causing this debug printout? what is your driver trying to do, which fails, before you print this? this would help tramendously in understanding the call sequence.
thanks,
-r