Installation / Removal > Sandisk - Installation/Removal

Rockbox on e280R with Windows

<< < (3/6) > >>

zajacattack:
OK, I modified e200tool.c so that it said:


--- Code: ---usb_set_configuration(ud, 1);
usb_claim_interface(ud, E200_INTERFACE);
--- End code ---

Now, it compiled fine and will find my e280R and connect to it fine; however, the usb_set_configuration call does something that causes Windows to disconnect and reconnect the Sansa. So, e200tool cannot do much past initializing the stud before the Sansa is disconnected. For example, when I did "e200tool recover BL_SD_boardSupportSD.rom", e200tool found the Sansa, initialized the stub, wrote the file to the RAM, then lost the connection. This is because there is a small amount of time between the usb_set_configuration call and Windows disconnection, but not much. Plus, it does this on e200tool AND e200rpatcher when they have the call to usb_set_configuration. Now, is there a way to make this call without disconnecting and reconnecting the device?

bluebrother:

--- Quote from: zajacattack on September 15, 2007, 01:10:12 AM ---Now, is there a way to make this call without disconnecting and reconnecting the device?

--- End quote ---
I guess you best ask the libusb-win32 developers about this ...

linuxstb:
Could a Linux user test adding the usb_set_configuration() line to e200rpatcher (see my earlier post in this thread) and see if it still works there?

zajacattack:
I DID IT! My e280R is now running Rockbox, and I patched the BL with e200tool under Windows. Well, I did have to recompile e200tool with the line usb_set_configuration(ud, 1);. Then, the second problem was, I had used inf-wizard to create a driver for the e200R is Manufacturing mode (0781:0720), but when e200tool initializes the USB stub, the device changes to 0666:E200. So, I created another driver for the device under 0666:E200. Then, I followed the directions for patching the BL with e200tool. Now, I am running Rockbox perfectly. I think the same goes for e200rpatcher (there needs to be two drivers).

linuxstb:
That's great news, congratulations.

Would you be able to document the process for installing libusb on windows, and make your two .inf files available somewhere?  

Adding this info to the SansaE200RBootloaderPatching wiki page would be ideal, so we can then work on making an easy install guide.

EDIT: Would you also be able to test e200rpatcher, just to confirm it's working?  The 6666:E200 USB ID is something specific to e200tool, so it would seem that there could still be problems with e200rpatcher.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version