Rockbox General > Rockbox General Discussion

how to use USB to charge my iriver H320

(1/2) > >>

adrianmak:
when I was using official irver firmware, I charged the battery thru usb cable.
After I used the rockbox firmware, plugging usb cable into my PC, H320 shown "bootloader usb mode" what's that mean ? Is it charging ?

pondlife:
Depends on which bootloader you have.

AFAIK, the last released one (version 5) doesn't charge but if you build your own from SVN it will.

pondlife

pondlife:
I should add that USB connection will charge if you boot Rockbox first then plug in the cable.  You'll need to ensure that the Charge During USB Connection option is enabled (under System > Battery).

If you want to charge via USB and play music, you need to hold the RECORD button down while you plug the cable in.

pondlife

Decuman:
Doesn't seem to work anymore? When pressing RECORD button the device switches to voice recording mode :\


--- Quote from: pondlife on June 14, 2007, 08:00:25 AM ---If you want to charge via USB and play music, you need to hold the RECORD button down while you plug the cable in.

--- End quote ---

Multiplex:
Wow, I just realised I didn't have my charger here so plugged in using USB and you are partially correct, it does go to the recording screen, but it does do USB charging. You have to stop recording an resume playback.

I'm guessing that it is this way because while the UI code now has recording screen assigned to the record button, the USB detection code still checks for the record button being pressed.

So the choices are;
A) change the UI buton action to ignore a long record press (I don't know about you but I was used to pressing record, plugging in the cable, then releasing record) and only act on a short record press
B) chose a different button for USB charging

I don't like A as a relatively long press is needed to trigger recording and this seems right to me, and I recon B will be really easy to find and write a patch for - I recon the main unit hold switch being on would be a suitable choice - what do you think?

Navigation

[0] Message Index

[#] Next page

Go to full version