Installation / Removal > Sandisk - Installation/Removal

Rockbox on e280R with Windows

(1/6) > >>

zajacattack:
OK, so I compiled e200tool with cygwin, then I used libusb-win32 to create a driver for the device in manufacturing mode (0781:0720, manufacturer="Sandisk", and device="Sansa e280"). Now, libusb-win32 recognizes it in the "Test Program", and e200tool finds the device. Then, however, e200tool says "Failed to claim the interface, (-22, invalid argument)". Is there a way to fix this (maybe in the driver I made or something in libusb-win32)?

linuxstb:
You should really be testing e200rpatcher, not e200tool - e200rpatcher is the program we need to make run on Windows, and it does less than e200tool, so might work where e200tool doesn't.

But having said that, the problem you're reporting with e200tool is exactly the same as someone else who did exactly the same as you with e200rpatcher.  That's the current hurdle.

You will probably be better off trying to seek help from the libusb-win32 developers.  Maybe post to their mailing list (if they have one), and include a link to the e200rpatcher source, along with a description of what you've done and what the problem is.

EDIT: A quick google points to this page with what looks like a solution:

http://osdir.com/ml/lib.libusb.devel.windows/2006-05/msg00037.html

So you could try adding "usb_set_configuration(dh, 1);" just before the call to usb_claim_interface() in e200rpatcher.c and see if that helps.

EDIT 2: Here's a win32 binary of e200rpatcher with that usb_set_configuration() line added.  Can you let me know what happens now?

http://www.davechapman.f2s.com/rockbox/e200rpatcher-win32.zip

zajacattack:
OK, it ran fine, detected the Sansa and said it uploaded the code. So, where are some step-by-step directions to getting Rockbox on e200R with e200rpatcher. I want to see if it works.

linuxstb:
When e200rpatcher ran, did anything appear on your Sansa's screen?   The patching application should run and display some messages on the screen.  If not, try running e200rpatcher again.

Running e200rpatcher replaces "step 1" in the install instructions - i.e. it patches the Sansa bootloader to allow you to install Rockbox.

zajacattack:
No, nothing appeared, do I need to hold record while I do it or what?

Navigation

[0] Message Index

[#] Next page

Go to full version