OESF Portables Forum
Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Mac Issues => Topic started by: dhns on August 01, 2007, 09:12:31 pm
-
not yet completely tested since the OpenMoko must be flashed first with a new rootfs - and the tools are not yet available for MacOS X.
But it is clear that AJZaurusUSB up to 0.5.1 will need this patch to know the OpenMoko device
Before rebooting (!) add this to /System/Library/Extensions/AJZaurusUSB.kext/Contents/Info.plist
OpenMoko
CFBundleIdentifier
net.lucid-cake.driver.AJZaurusUSB
IOClass
net_lucid_cake_driver_AJZaurusUSB
IOProbeScore
90000
IOProviderClass
IOUSBDevice
defaultIP
192.168.0.202
idProduct
20770
idVendor
5207
-- hns
-
The upload util works fine on my mac
-
The upload util works fine on my mac
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165643\"][{POST_SNAPBACK}][/a][/div]
Is there a location to download a binary anywhere?
-
The upload util works fine on my mac
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165643\"][{POST_SNAPBACK}][/a][/div]
Is there a location to download a binary anywhere?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165653\"][{POST_SNAPBACK}][/a][/div]
No, but the source is available.
-
The upload util works fine on my mac
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165643\"][{POST_SNAPBACK}][/a][/div]
Is there a location to download a binary anywhere?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165653\"][{POST_SNAPBACK}][/a][/div]
No, but the source is available.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165654\"][{POST_SNAPBACK}][/a][/div]
And that is the issue - it does not compile out of the box.
-- hns
-
And that is the issue - it does not compile out of the box.
-- hns
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165657\"][{POST_SNAPBACK}][/a][/div]
The compilation issue has been solved by patching the Makefile manually to link to Darwin Ports' libusb. Another issue is when no device is connected, that the code dereferences some NULL pointers and ends up in bus erros.
Now, there is the next issue:
MacBook-hns: hns$ ./dfu-util -a 5 -R -D 'openmoko-devel-image-fic-gta01-20070728081358.rootfs.jffs2'
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY
Opening USB Device 0x0000:0x0000...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
error resetting after detach: usb_reset(ResetDevice): device not opened for exclusive access
Opening USB Device...
Found Runtime: [0x1457:0x5119] devnum=0, cfg=0, intf=0, alt=5, name="rootfs"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Cannot set alternate interface: usb_set_altinterface: could not set alternate interface
-- hns
-
AJZaurusUSB 0.5.3 is available.
It fixes the Info.plist for OpenMoko and has a new scheme to determine the Ethernet MAC address (which was randomized on the OpenMoko on each reboot). Now, you should see in the System Settings / Network only one Interface per device type.
Please note that AJZaurusUSB can basically support multiple devices connected through USB - but since neither the Zaurus nor the OpenMoko provide a clear serial number, you can connect only one of each type. If you connect two Zaurus devices or two OpenMoko devices, they will be configured to the same IP address.
If someone has an idea how to read a unique ID from the USB interface, this could be improved.
-- hns
-
Good work, thanks.