SUCCESS - dfu-util on Mac OS X

Dr. H. Nikolaus Schaller hns at computer.org
Fri Aug 3 12:12:10 CEST 2007


Am 03.08.2007 um 00:21 schrieb Harald Welte:

> Good news!
>
> On Thu, Aug 02, 2007 at 09:26:20PM -0400, Dr. H. Nikolaus Schaller  
> wrote:
>> It is indeed a coflict with the AppleUSBCDC driver. A patch to  
>> AJZaurusUSB
>> helps to shield the OpenMoko from it.
>
> the question is: Why does AJZaurusUSB bind to the usb product ID  
> that we
> use in uboot?  We explicitly used a different productID for the  
> various

Well, it has to so that it works.

AppleUSBCDC that binds to everything. I think they do NOT look at any  
vendor/product ID but only at the interface type and so the Mac  
thinks the OpenMoko is some USB cable modem...

AJZaurusUSB looks at the vendor/product ID and therefore prevents  
AppleUSBCDC from loading. And because the DFU mode has a diferent  
product ID, I had to add second configuration entry...

Here is the additional patch for Info.plist

		<key>OpenMoko DFU</key>
		<dict>
			<key>CFBundleIdentifier</key>
			<string>net.lucid-cake.driver.AJZaurusUSB</string>
			<key>IOClass</key>
			<string>net_lucid_cake_driver_AJZaurusUSB_DFU</string>
			<key>IOProbeScore</key>
			<string>90000</string>
			<key>IOProviderClass</key>
			<string>IOUSBDevice</string>
			<key>defaultIP</key>
			<string>192.168.0.202</string>
			<key>idProduct</key>
			<integer>20761</integer>
			<key>idVendor</key>
			<integer>5207</integer>
			<key>Note</key>
			<string>This entry protects the OpenMoko in DFU mode against being  
attacked by Apple CDC drivers</string>
		</dict>

I will release a new version (0.5.2) of AJZaurusUSB which will  
contain these patches.

> modes (see http://wiki.openmoko.org/wiki/USB_Product_IDs)
>
>> Although not reliably, I have now flashed the rootfs and OpenMoko  
>> device is
>> running. ssh access also works.
>
> great!
>
>> I  post the detailled "howto" tomorrow and update the Wiki page
>> http://wiki.openmoko.org/wiki/MacOS_X
>
> ok.
>
>> 1) OpenMoko Flasher to wrap dfu-util with a nice GUI
>> 2) AJZaurusUSB - the Ethernet over USB driver for RNDIS/Ethernet  
>> Gadget
> -- 
> - Harald Welte <laforge at openmoko.org>          	        http:// 
> openmoko.org/
> ====================================================================== 
> ======
> Software for the world's first truly open Free Software mobile phone




More information about the device-owners mailing list