1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/usbstack
Torne Wuff 991e92fd3d New USB charging system, part 1 - API rework and user-visible setting update
1) "Charge during USB connection" option is now tristate: off/on/force. Currently "force" behaves just like "on", but in future it will allow charging even when it was not possible to positively identify a charger.

2) The H300 code has been adjusted to use the new system but there should be no functional differences, it already had the USB charging option and its USB/charging support is hardware controlled.

3) The Gigabeat S code has been adjusted to use the new system: the player now has the USB charging option, which wasn't previously available. The player will only charge at full speed when allowed to do so by a working USB host, so USB AC adapters won't work very well; however, they didn't work before either, so this is not a change in functionality.

4) The iPod Nano 2G code has been adjusted to use the new system: it already had the USB charging option. Using a USB AC adapter won't charge at full speed any more (it did before) - the old implementation was equivalent to the not-yet-implemented "force" option in the new system.

No other target should be affected. Support for the "force" mode and support for at least some other iPod models will come in a future commit :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26570 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 10:05:27 +00:00
..
usb_charging_only.c Comment out LOGF_ENABLE defines everywhere, replace evil comments 2009-11-03 16:25:03 +00:00
usb_charging_only.h USB retweaking: Take out the USB_REQUEST/RELEASE_DISK scheme and simply ask the USB core whether or not any drivers require exclusive access at the moment of connect. Doing anthing else just produces nasty effects on Windows because it expects some communication just for enabling the PHY and not allowing it to mount volumes if a thread doesn't ack causes annoying error message boxes. Make behavior of each USB type identical from the system perspective. Some miscellaneous changes (simplify, ata->storage naming, define only used USB_* enums values were possible). 2009-01-13 16:27:35 +00:00
usb_class_driver.h Fix even more tabs 2010-01-03 10:35:31 +00:00
usb_core.c New USB charging system, part 1 - API rework and user-visible setting update 2010-06-05 10:05:27 +00:00
usb_hid.c Commit a HID fix by gevaerts that prevent the HID driver to call usb_drv_send_nonblocking while the previous transfer has not finished because the current stack doesn't support transfer queueing. 2010-03-25 13:50:26 +00:00
usb_hid.h Flyspray: FS#10326 2009-07-18 12:58:29 +00:00
usb_hid_usage_tables.h Commit "FS#10468 - USB HID: Show keypad mode on screen" 2009-09-30 10:06:04 +00:00
usb_serial.c Fix a bug in usbserial that would allow to send messages on EP_CONTROL between usb init and endpoints allocation via logf. 2010-01-11 21:03:48 +00:00
usb_serial.h Add const to usb_serial_send() buffer. 2009-08-19 05:30:40 +00:00
usb_storage.c revert part of r26176 to avoid large static allocation 2010-05-19 18:08:32 +00:00
usb_storage.h Allow class drivers to reuse the core data buffer for control transfers. This doesn't make much difference right now, but it should keep HID memory usage lower (once HID is ready) (FS#10146 by Tomer Shalev) 2009-04-18 20:40:50 +00:00