2012/4/7 Daniel Li: > Hi all, > Anyway, I have been sucessfully build dfu-util with cygwin, which has > libusb1.0
Great to hear! > But it can program the device, any idea about this issue? Why dfu-util can't > open the device? > $ ./dfu-util.exe -l > dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc. > This program is Free Software and has ABSOLUTELY NO WARRANTY > > dfu-util does currently only support DFU version 1.0 > > Found Runtime: [0x0a5c:0x217f] devnum=0, cfg=1, intf=3, alt=0, > name="UNDEFINED" > Found Runtime: [0x1d50:0x5119] devnum=0, cfg=1, intf=2, alt=0, > name="UNDEFINED" > This looks like a permission issue, when the alternate interface name is "UNDEFINED" it is because dfu-util could not read it out. From your command line below, I would expect the correct name to be "u-boot". Do you have lsusb in your environment? If lsusb -v can not read out the name either (listed after iInterface), there is a permission issue. Tormod > > $ ./dfu-util.exe -d 0x1d50:0x5119 -a u-boot -R -D > qi-ubi-s3c2442-1.0.2-r5+gitr0+c38b062a609f1442e6a9e13005cfbdfd59a5ac0d.udfu > dfu-util - (C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc. > This program is Free Software and has ABSOLUTELY NO WARRANTY > > dfu-util does currently only support DFU version 1.0 > > Filter on vendor = 0x1d50 product = 0x5119 > Cannot open device > Opening DFU USB device... _______________________________________________ devel mailing list devel@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/devel