Frank Gevaerts
478fc5baed
reorganise the USB stack a bit to allow for easier integration of non-ARC controller drivers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18703 a1c6a512-1295-4272-9138-f99709370657
2008-10-03 22:43:16 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Frank Gevaerts
27ad822a44
add usb_allowed_current() function, so powermanagement code can know when it's allowed to charge from usb
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17688 a1c6a512-1295-4272-9138-f99709370657
2008-06-04 18:55:58 +00:00
Nicolas Pennequin
357ffb3c46
Convert the whole codebase to UTF-8, except docs/COMMITTERS and tools/creative.c, which need checking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 10:32:46 +00:00
Frank Gevaerts
bec6aa3176
- change the usb class driver framework to allow for device classes with more than one interface or more than one endpoint pair
...
- move the charging-only dummy driver out of usb_core
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17252 a1c6a512-1295-4272-9138-f99709370657
2008-04-26 19:02:16 +00:00
Frank Gevaerts
02bfba6c61
Put USB controller structures in IRAM. This seems to make the connection much more stable on PP502x
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17191 a1c6a512-1295-4272-9138-f99709370657
2008-04-20 16:51:09 +00:00
Michael Sevakis
3dcb4ff97f
Add keywords and fix more headers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17157 a1c6a512-1295-4272-9138-f99709370657
2008-04-18 17:24:19 +00:00
Michael Sevakis
94f7d0f290
UMS for the Gigabeat S. Bootloader USB mode. Has a couple quirks 1) First plug has problems if cold. Replug if it doesn't connect or not at high speed 2) Linux doesn't like the odd bootable flag value used in the partitions so it won't mount but Windows works. Fix minor OTG driver bugs and clean up device memory handling. Generic name for ARC controller driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17154 a1c6a512-1295-4272-9138-f99709370657
2008-04-18 16:42:50 +00:00
Frank Gevaerts
5731d37894
left USB_SERIAL enabled by default yet again...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16620 a1c6a512-1295-4272-9138-f99709370657
2008-03-10 21:01:03 +00:00
Frank Gevaerts
745133014e
make the usb storage driver handle hotswap correctly, and exit the usb screen once all drives are "ejected" (either as a command from the OS or physically)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16617 a1c6a512-1295-4272-9138-f99709370657
2008-03-10 20:55:24 +00:00
Frank Gevaerts
9f77d98c34
disable USB_SERIAL by default again. It got enabled accidentally in the last commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16542 a1c6a512-1295-4272-9138-f99709370657
2008-03-06 21:35:07 +00:00
Frank Gevaerts
f0b4a32d6f
reorganise the usb stack to provide a clean separation between core and class drivers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16541 a1c6a512-1295-4272-9138-f99709370657
2008-03-06 21:25:09 +00:00
Frank Gevaerts
f8a5a40301
remove usb_benchmark. Its usefulness is extremely limited, and the usb stack around it is moving fast, so it's likely to suffer from bit rot very soon.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16500 a1c6a512-1295-4272-9138-f99709370657
2008-03-03 17:59:58 +00:00
Frank Gevaerts
6e7fac7c34
move the usb_core thread functionality to the main usb thread
...
fix button-detection so screenshots and charge-only mode work without enabling UMS
firewire detection is now handled separately from usb detection
increase the usb thread priority while an UMS connection is active
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16435 a1c6a512-1295-4272-9138-f99709370657
2008-02-27 19:08:30 +00:00
Frank Gevaerts
07427592a9
Major USB stack improvements. It now works at nearly the maximum speed for a full speed connection, and does seem stable.
...
Still not enabled by default, #define USE_ROCKBOX_USB is still required to enable it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16360 a1c6a512-1295-4272-9138-f99709370657
2008-02-20 22:54:26 +00:00
Björn Stenberg
20dbc1b21f
Re-added USB charger detection and auto reboot on host connect.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15774 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 15:02:26 +00:00
Björn Stenberg
b4e5123e5d
New USB stack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15758 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 20:51:00 +00:00