Commit graph

103 commits

Author SHA1 Message Date
Linus Nielsen Feltzing
11c1d28d9e Increased the USb thread stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5912 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 14:34:32 +00:00
Linus Nielsen Feltzing
aa2989f4d2 iRiver: USB support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5892 a1c6a512-1295-4272-9138-f99709370657
2005-02-10 23:20:34 +00:00
Jens Arnold
05605866a6 Cosmetic fix for thread alignment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5813 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 08:46:08 +00:00
Linus Nielsen Feltzing
4d7671ce22 Aligned thread stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5803 a1c6a512-1295-4272-9138-f99709370657
2005-02-06 02:34:17 +00:00
Jean-Philippe Bernardy
93a34f017a Tentative USB support for gmini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5739 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 17:14:53 +00:00
Jean-Philippe Bernardy
eb1da817ea long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5715 a1c6a512-1295-4272-9138-f99709370657
2005-01-30 15:16:58 +00:00
Jörg Hohensohn
1a5962f2be Shared mounting code, also more general. It will mount multiple HD partitions, too, once HAVE_MULTIVOLUME is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5518 a1c6a512-1295-4272-9138-f99709370657
2004-12-29 22:10:24 +00:00
Jörg Hohensohn
da84857631 prepared to mount multiple partitions into one logical file system (most useful for Ondio, internal memory + external MMC)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
2004-12-28 22:16:07 +00:00
Jens Arnold
2cf1a89560 Ondio: adjustments for models with mask bit 2 == 0 (different MMC clock select circuitry)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5421 a1c6a512-1295-4272-9138-f99709370657
2004-11-17 20:14:43 +00:00
Linus Nielsen Feltzing
01530ac5c8 Proper USB detection for iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5377 a1c6a512-1295-4272-9138-f99709370657
2004-11-02 22:57:51 +00:00
Jens Arnold
64a17574e3 Fix: Doing the port function setting first in usb_enable() fixes the instability with cold-started rockbox on Ondio (PA5 was high after the first usb_enable(false); with the old init order
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5276 a1c6a512-1295-4272-9138-f99709370657
2004-10-14 21:58:33 +00:00
Jens Arnold
5789ee9928 MMC hotswap handling in USB mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5247 a1c6a512-1295-4272-9138-f99709370657
2004-10-10 19:51:11 +00:00
Jörg Hohensohn
52653f2946 Ondio PACR inits for cold start
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5143 a1c6a512-1295-4272-9138-f99709370657
2004-10-01 17:26:48 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-19 21:58:37 +00:00
Jörg Hohensohn
8e6174c410 another fix towards Ondio USB passthrough
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5070 a1c6a512-1295-4272-9138-f99709370657
2004-09-13 07:39:00 +00:00
Jörg Hohensohn
c4e8bed5a7 some fixes for Ondio USB passthrough (but still doesn't work yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5067 a1c6a512-1295-4272-9138-f99709370657
2004-09-11 15:18:10 +00:00
Jörg Hohensohn
00be7469d6 prepared Ondio USB passthrough (but doesn't work yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5066 a1c6a512-1295-4272-9138-f99709370657
2004-09-11 09:06:58 +00:00
Jörg Hohensohn
b26f6e05f8 Ondio USB enable, ATA part of it is missing by now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5064 a1c6a512-1295-4272-9138-f99709370657
2004-09-11 02:41:58 +00:00
Jens Arnold
9478cc6f8a More const policeing step 4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 19:22:56 +00:00
Linus Nielsen Feltzing
a8dab4c08a New screen dump feature for recorders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4817 a1c6a512-1295-4272-9138-f99709370657
2004-06-30 13:31:14 +00:00
Björn Stenberg
2ecddadc00 Don't throw away return code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4730 a1c6a512-1295-4272-9138-f99709370657
2004-06-10 15:10:13 +00:00
Björn Stenberg
8eca851145 Try mounting all partitions after USB disconnect, just as on boot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4729 a1c6a512-1295-4272-9138-f99709370657
2004-06-10 15:03:09 +00:00
Linus Nielsen Feltzing
a9c645f887 Increased the USB thread stack. This fixed bug #762588.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4439 a1c6a512-1295-4272-9138-f99709370657
2004-03-25 14:08:58 +00:00
Daniel Stenberg
23f157eb76 kill a compiler warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4152 a1c6a512-1295-4272-9138-f99709370657
2003-12-15 11:44:06 +00:00
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