Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Just Charge from USB?
« previous next »
  • Print
Pages: [1]

Author Topic: Just Charge from USB?  (Read 1711 times)

Offline ctt

  • Member
  • *
  • Posts: 4
Just Charge from USB?
« on: December 27, 2007, 12:05:38 PM »
Hi,

I was wondering if there was a way to have Rockbox just enable charging when any USB connection is plugged in.

What I guess is a feature of my PC's motherboard is that it keeps the USB ports powered even though the machine is off.  Although it is annoying that devices like my mouse sometimes turn on when the desktop is powered down, a great side effect is that when I plug in my Sansa e280 while the player is on, it starts charging while still working.  My guess is that Rockbox figures it's plugged into a charger and doesn't try to establish a USB connection.  When my desktop is *on*, or I plug it into other powered-on computers, Rockbox finds a way to enter USB mode automatically:  Whereas before it went into its own USB mode, recently, this behavior was changed to just have Rockbox reboot into the native USB mode.

Is there a way to disable this behavior and have Rockbox charge when plugged into any USB port?  Would this be possible?  It would be great way to keep the battery topped up when near a powered-on computer.

- chris
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Just Charge from USB?
« Reply #1 on: December 27, 2007, 12:22:07 PM »
Hold down select when you plug it in.
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Just Charge from USB?
« Reply #2 on: December 27, 2007, 02:10:11 PM »
Strange.  My *new* Sansa e280 simply displays the plug on the statusbar to signify that it's charging.  I was under the impression that Rockbox's USB stack requests the full 500mA available from USB2.0 but does nothing more.  My Rockboxed Sansa does just what you want yours to do.  

What revision are you using?  (I have r15973 here.)
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Just Charge from USB?
« Reply #3 on: December 27, 2007, 04:52:29 PM »
Quote from: ctt on December 27, 2007, 12:05:38 PM
Whereas before it went into its own USB mode, recently, this behavior was changed to just have Rockbox reboot into the native USB mode.

What was "its own USB mode"?  I think the auto-reboot-on-connect for the Sansa was disabled because it wasn't working properly.  I get the same reaction from my e280 as Chronon described; plus a Window pop-up asking for USB drivers.
Logged

Offline ctt

  • Member
  • *
  • Posts: 4
Re: Just Charge from USB?
« Reply #4 on: December 27, 2007, 06:13:12 PM »
Quote from: MarcGuay on December 27, 2007, 12:22:07 PM
Hold down select when you plug it in.
Thanks

Quote from: MarcGuay on December 27, 2007, 12:22:07 PM
What was "its own USB mode"?  I think the auto-reboot-on-connect for the Sansa was disabled because it wasn't working properly.  I get the same reaction from my e280 as Chronon described; plus a Window pop-up asking for USB drivers.
At some point (I think when the new USB stack was first enabled) Rockbox went into USB mode when connected to a working computer.  This is the mode where you get the big USB icon on the screen.

Thanks again.
« Last Edit: December 27, 2007, 06:21:55 PM by ctt »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Just Charge from USB?
« Reply #5 on: December 27, 2007, 06:19:22 PM »
I'm running Knoppix here, so no prompt for drivers on my end.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Just Charge from USB?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.073 seconds with 15 queries.