Commit graph

15 commits

Author SHA1 Message Date
Frank Gevaerts
ea5903dbf1 move boosting for usb around a bit, so the cpu is boosted for the entire duration of actual use of storage. On some setups just boosting for the actual transfers doesn't seem to work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16726 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 22:05:11 +00:00
Frank Gevaerts
a6108b9097 differentiate between connected and powered in usb_detect()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16723 a1c6a512-1295-4272-9138-f99709370657
2008-03-20 20:01:28 +00:00
Frank Gevaerts
7fcd26e479 Only boost the CPU for large transactions. It would be nice to get rid of boosting for USB altogehter, but it doesn't seem to work then.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16656 a1c6a512-1295-4272-9138-f99709370657
2008-03-13 19:56:52 +00:00
Frank Gevaerts
9a6b95f721 reset USB controller when entering USB test mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16456 a1c6a512-1295-4272-9138-f99709370657
2008-02-29 18:35:21 +00:00
Frank Gevaerts
14e21b207e boost cpu while connected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16451 a1c6a512-1295-4272-9138-f99709370657
2008-02-28 22:44:55 +00:00
Frank Gevaerts
97d7f39680 added support for USB port test modes, which are (a) required by the spec, and (b) needed for electrical (i.e. signal quality) testing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16427 a1c6a512-1295-4272-9138-f99709370657
2008-02-26 18:02:26 +00:00
Frank Gevaerts
2279d95efe disable logf again, since it was accidentally enabled in the previous commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16409 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 16:05:35 +00:00
Frank Gevaerts
a5a03cdb62 comment fix, and one logf() removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16407 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 13:59:48 +00:00
Frank Gevaerts
523af276c1 Only allow high-speed usb if USE_HIGH_SPEED is defined. It still causes data corruption (full speed should be safe)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16368 a1c6a512-1295-4272-9138-f99709370657
2008-02-22 20:08:53 +00:00
Frank Gevaerts
fcd6cf24a2 Make high speed work. Does not fix any other bugs yet, so still be careful about pressing buttons while connecting, or making screenshots.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16366 a1c6a512-1295-4272-9138-f99709370657
2008-02-22 17:08:23 +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
2f7cffa204 Major USB fixes by Frank Gevaerts. Still disabled in builds, #define USE_ROCKBOX_USB to test.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16279 a1c6a512-1295-4272-9138-f99709370657
2008-02-11 14:26:25 +00:00
Björn Stenberg
a0224590d4 Added some error returns
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15834 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 13:42:47 +00:00
Björn Stenberg
7af22e1a86 Red fix: USB power check implemented in driver instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15761 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 22:17:45 +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