- Status Closed
- Percent Complete
- Task Type Feature Requests
- Category Battery/Charging
- Assigned To No-one
- Operating System iAudio X5
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
-
Votes
3
- dad00d (2007-12-02)
- Nordrassil (2007-10-27)
- galdor (2007-07-29)
- Private
FS#7502 - Playing music while device is USB-plugged
On iPod and HP3xx, you can play music while the device is USB-plugged to a computer, which allow not to empty out the battery. You activate this mode holding a button (Menu) while you plug the device.
But on iAudio X5, the is no USBPOWER_BTN_IGNORE defined, so you can’t do this. It would be really useful to add this feature: why use battery when you have your laptop near ? (yes, laptop sound is terribly bad)
Closed by zagor
2008-03-31 20:10
Reason for closing: Duplicate
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2008-03-31 20:10
Reason for closing: Duplicate
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Closing all feature requests.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I've looked at the source code of RockBox, and saw this:
#if CONFIG_KEYPAD == RECORDER_PAD
#define USBPOWER_BUTTON BUTTON_F1
#define USBPOWER_BTN_IGNORE BUTTON_ON
#elif CONFIG_KEYPAD == ONDIO_PAD
#define USBPOWER_BUTTON BUTTON_MENU
#define USBPOWER_BTN_IGNORE BUTTON_OFF
#elif (CONFIG_KEYPAD == IPOD_4G_PAD)
#define USBPOWER_BUTTON BUTTON_MENU
#define USBPOWER_BTN_IGNORE BUTTON_PLAY
#elif CONFIG_KEYPAD == IRIVER_H300_PAD
#define USBPOWER_BUTTON BUTTON_REC
#define USBPOWER_BTN_IGNORE BUTTON_ON
#elif CONFIG_KEYPAD == GIGABEAT_PAD
#define USBPOWER_BUTTON BUTTON_MENU
#define USBPOWER_BTN_IGNORE BUTTON_POWER
#elif CONFIG_KEYPAD == IRIVER_H10_PAD
#define USBPOWER_BUTTON BUTTON_NONE
#define USBPOWER_BTN_IGNORE BUTTON_POWER
#elif CONFIG_KEYPAD == SANSA_E200_PAD
#define USBPOWER_BUTTON BUTTON_SELECT
#define USBPOWER_BTN_IGNORE BUTTON_POWER
#endif
Is it right to just add for example:
#elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
# define USBPOWER_BTN_IGNORE BUTTON_PLAY
And after that, holding button play while plugging USB allow to play music during USB battery loading, isn't it ?
I'm not able to build a test for the moment (Gentoo's crossdev fails to build the cross-compilation chain you indicate on the wiki), but if it's just this, it's not a big deal to add to the CVS.
The X5 charging is partly software controlled, and we haven't yet written the code necessary to handle the X5 battery charging in Rockbox. It is therefore not enough to edit the keymap to make it work properly.
–Tracker Cleanup Week– would be very nice if USB-Connection could work with rockbox on.
Interesting and useful. Would this work on iriver HP1x0 ?
Realy interesting function, there's some possibilities that the development of this one succeeds?