Rockbox General > Rockbox General Discussion

how to use USB to charge my iriver H320

<< < (2/2)

Llorean:
How's the menu button work for you guys? It's the one in use for most other targets. It brings up the quick-screen, but that doesn't interrupt playback or do anything else but just sit there, anyway.

The hold switch would mean that you can accidentally not have access to USB mode without having to tinker with something on the player (I frequently plug my players in while on hold) which seems a little problematic to me.

Multiplex:
I haven't looked at the code (that'll be a weekend job) but I guess it doesn't really matter which button is chosen but as you point out it is important to the user to have a button that doesn't disrupt the operation like Rec now does.

 (I'm quite looking forward to this - I love tinkering with the rockbox code, it should be used as a teaching tool in the value of well structured code for reducing maintenance costs)

Update:
The file to change is /firmware/export/usb.h for the H300 the change is to
line 45 - #define USBPOWER_BUTTON BUTTON_MODE
I've made and tested a build on my H320 and it works a treat. Let me know how you like it and I'll do a 'patch' on Flyspray - we could also do with getting it mentioned in the Manual.

I'll put something on Flyspray if

Navigation

[0] Message Index

[*] Previous page

Go to full version