FS#5359 - Option to Disable USB connect mode, charge only

Attached to Project: Rockbox
Opened by dwayne (dfpp) - Sunday, 14 May 2006, 04:10 GMT
Last edited by Marc Guay (Marc_Guay) - Tuesday, 01 April 2008, 13:32 GMT
Task Type Feature Requests
Category Battery/Charging
Status Closed
Assigned To No-one
Operating System Iriver H300 series
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


It would be great if there was a menu option to disable USB connect mode, so that it only defaultly goes into charge mode on USB. The reason I request this is so that we could use the car mode connected to a USB car charger. Currently when connecting a USB charger it will go into USB connect mode. I am aware of holding down rec to not go into USB connect but it would be handy to have the option so that car mode with USB charging is automated.
This task depends upon

Closed by  Bj√∂rn Stenberg (zagor)
Tuesday, 01 April 2008, 13:32 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Closing all feature requests.
Comment by dwayne (dfpp) - Sunday, 14 May 2006, 08:43 GMT
Just in addition it would be good also if with this option it would also bootup and automatically continue play when USB power is applied, would make it very automated in car for me.
Comment by Phillip (InteliWasp) - Wednesday, 24 May 2006, 18:25 GMT
I would also like to see this on the ipods, i would rather use my wall charger to recharge the battries than keeping my computer on all night for it. if the cable could be auto-detected it would be great.
Comment by frieder griesshammer (frieder) - Monday, 05 June 2006, 18:44 GMT
The most time i listened normally to music with my ipod i was charging it with a normal power supply. so a autodedection if the ipod is plugged weather to a normal pc or only to a powersource would be really great !!
Comment by Michael Kaufman (dsmx) - Thursday, 10 August 2006, 06:44 GMT
Wrote a quick hack to add this feature (against CVS 2006-08-09). My first change to rockbox, hope it's not too scary :D

This adds a menu option to control the feature right below idle power off / sleep timer settings.
Comment by Michael Kaufman (dsmx) - Thursday, 10 August 2006, 06:47 GMT
forgot to add that I only own (and have tested this on) an iPod 4g
Comment by dwayne (dfpp) - Tuesday, 19 September 2006, 12:32 GMT
Michael am I correct in assuming your patch will work to prevent the USB bootloader mode from going in at startup as well if USB cable is in?
Comment by Michael Kaufman (dsmx) - Tuesday, 19 September 2006, 18:53 GMT
No. The settings (including this setting) get loaded after the USB code is initialised.
Comment by Jason Bolger (galapogos01) - Saturday, 30 September 2006, 00:23 GMT
is it possible to patch the bootloader to do this as well?

this would be a good fix to the car charger issue of the original iriver firmware loading when the car is started with a charger plugged in...
Comment by Tobias Perschon (tofuSCHNITZEL) - Thursday, 12 October 2006, 17:14 GMT
what to do with the diff file?
Comment by Jason Bolger (galapogos01) - Wednesday, 04 April 2007, 04:09 GMT
Any progress in this department? I still would like my iriver to start the Rockbox firmware when power is applied, not the iriver one!
Comment by Jason Bolger (galapogos01) - Wednesday, 29 August 2007, 23:40 GMT
Any progress on this one? This is directly related to  FS#5504 .