Commit graph

179 commits

Author SHA1 Message Date
Daniel Stenberg
4009334d33 All platforms don't have USB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4134 a1c6a512-1295-4272-9138-f99709370657
2003-12-12 13:30:15 +00:00
Daniel Stenberg
80e4e0741e Use the new defines to know what kind of USB detection to use.
NOTE: that this now makes the v2 use the correct method (the same as the
FM does)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4074 a1c6a512-1295-4272-9138-f99709370657
2003-11-27 21:27:37 +00:00
Jörg Hohensohn
7ec1c45d79 set/clear port bits with atomic instructions instead of read-modify-write, saves time+space, allows port usage in ISR
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4026 a1c6a512-1295-4272-9138-f99709370657
2003-11-07 21:03:41 +00:00
Mats Lidell
177b8cbd47 usb_detect for simulator added.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3850 a1c6a512-1295-4272-9138-f99709370657
2003-07-20 00:08:09 +00:00
Jörg Hohensohn
d4735224bb I needed a function to return the physical USB detect
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3807 a1c6a512-1295-4272-9138-f99709370657
2003-07-03 22:11:14 +00:00
Linus Nielsen Feltzing
eefab57a1e USB polarity is now taken from the HW info and not by checking the port pin state at boot
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3682 a1c6a512-1295-4272-9138-f99709370657
2003-05-17 22:12:11 +00:00
Linus Nielsen Feltzing
159d04d3f9 Experiment: enable ATA STANDBY when switching to USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3668 a1c6a512-1295-4272-9138-f99709370657
2003-05-10 01:55:23 +00:00
Daniel Stenberg
d7b4645f5c Ludovic Lange's initial code for FM Recorder, edited and adjusted by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3110 a1c6a512-1295-4272-9138-f99709370657
2003-01-16 15:11:29 +00:00
Markus Braun
88098be7e3 Enable status bar in usb mode.
Moved usb_display_info() to screens.c
Added functions queue_wait_w_tmo() and usb_wait_for_disconnect_w_tmo().


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2574 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 08:56:23 +00:00
Linus Nielsen Feltzing
1665811d33 Don't auto-poweroff if USB is inserted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2418 a1c6a512-1295-4272-9138-f99709370657
2002-09-25 19:25:10 +00:00
Justin Heiner
2630245cb9 Added NSauzede's patch to detect USB while in a Menu. It also adds the USB icon to the player while in USB mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1935 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 02:17:00 +00:00
Daniel Stenberg
6b8cf08b6d Magnus Öman's rocking USB logo is now being put to use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1891 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 17:22:11 +00:00
Linus Nielsen Feltzing
5ddd384e3d Finally working USB mode again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1438 a1c6a512-1295-4272-9138-f99709370657
2002-07-24 17:09:50 +00:00
Linus Nielsen Feltzing
2f4b88e9bb Possibly better USB handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1419 a1c6a512-1295-4272-9138-f99709370657
2002-07-23 15:02:25 +00:00
Linus Nielsen Feltzing
76b4096be7 Added thread names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1357 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 22:19:49 +00:00
Björn Stenberg
6b25f79af0 Settings are now saved in RTC RAM on Recorder (Heikki Hannikainen).
Introduced debug menu (Heikki Hannikainen).
Cleaned up settings API.
Added scroll_speed init.
Moved dbg_ports() and dbg_rtc() from firmware/debug.c to apps/debug_menu.c
Made panic buffer static.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1347 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 11:02:12 +00:00
Linus Nielsen Feltzing
d5ce38c7b8 Lame attempt to fix USB polarity auto-detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1321 a1c6a512-1295-4272-9138-f99709370657
2002-07-03 14:16:20 +00:00
Linus Nielsen Feltzing
6479627413 Compile errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1312 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 18:30:39 +00:00
Linus Nielsen Feltzing
ca3e7663a0 Added ATA debug feature
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1308 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 17:49:05 +00:00
Linus Nielsen Feltzing
c36919eca3 Increased thread stack size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1291 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 21:16:07 +00:00
Linus Nielsen Feltzing
0ee7d85d12 More robust, debounced USB detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1286 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 19:32:54 +00:00
Linus Nielsen Feltzing
447185b6bb Killed a few warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1283 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 12:19:12 +00:00
Linus Nielsen Feltzing
53b8c99521 Better handling of non-responding threads
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1281 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 11:02:54 +00:00
Linus Nielsen Feltzing
c384668c25 Killed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1278 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 20:27:26 +00:00
Linus Nielsen Feltzing
d1c88e728b Now uses adc_read()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1276 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 20:24:57 +00:00
Linus Nielsen Feltzing
8151236d33 Added usb_display_info()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1266 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 14:11:28 +00:00
Linus Nielsen Feltzing
8d82ddfcaf Even better USB support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1262 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 13:13:13 +00:00
Linus Nielsen Feltzing
43eda43c20 Wrong polarity for player USB check
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1258 a1c6a512-1295-4272-9138-f99709370657
2002-06-29 22:59:12 +00:00
Linus Nielsen Feltzing
65c42d56ac First version
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1257 a1c6a512-1295-4272-9138-f99709370657
2002-06-29 22:41:39 +00:00