summaryrefslogtreecommitdiff
path: root/firmware/usb.c
AgeCommit message (Collapse)Author
2005-01-30long policyJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5715 a1c6a512-1295-4272-9138-f99709370657
2004-12-29Shared mounting code, also more general. It will mount multiple HD ↵Jörg Hohensohn
partitions, too, once HAVE_MULTIVOLUME is enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5518 a1c6a512-1295-4272-9138-f99709370657
2004-12-28prepared to mount multiple partitions into one logical file system (most ↵Jörg Hohensohn
useful for Ondio, internal memory + external MMC) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5514 a1c6a512-1295-4272-9138-f99709370657
2004-11-17Ondio: adjustments for models with mask bit 2 == 0 (different MMC clock ↵Jens Arnold
select circuitry) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5421 a1c6a512-1295-4272-9138-f99709370657
2004-11-02Proper USB detection for iRiverLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5377 a1c6a512-1295-4272-9138-f99709370657
2004-10-14Fix: Doing the port function setting first in usb_enable() fixes the ↵Jens Arnold
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-10MMC hotswap handling in USB modeJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5247 a1c6a512-1295-4272-9138-f99709370657
2004-10-01Ondio PACR inits for cold startJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5143 a1c6a512-1295-4272-9138-f99709370657
2004-09-19Redesigned the button handling. The code now uses symbolic function defines ↵Björn Stenberg
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-13another fix towards Ondio USB passthroughJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5070 a1c6a512-1295-4272-9138-f99709370657
2004-09-11some fixes for Ondio USB passthrough (but still doesn't work yet)Jörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5067 a1c6a512-1295-4272-9138-f99709370657
2004-09-11prepared Ondio USB passthrough (but doesn't work yet)Jörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5066 a1c6a512-1295-4272-9138-f99709370657
2004-09-11Ondio USB enable, ATA part of it is missing by nowJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5064 a1c6a512-1295-4272-9138-f99709370657
2004-08-03More const policeing step 4Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4983 a1c6a512-1295-4272-9138-f99709370657
2004-06-30New screen dump feature for recordersLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4817 a1c6a512-1295-4272-9138-f99709370657
2004-06-10Don't throw away return code.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4730 a1c6a512-1295-4272-9138-f99709370657
2004-06-10Try mounting all partitions after USB disconnect, just as on boot.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4729 a1c6a512-1295-4272-9138-f99709370657
2004-03-25Increased the USB thread stack. This fixed bug #762588.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4439 a1c6a512-1295-4272-9138-f99709370657
2003-12-15kill a compiler warningDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4152 a1c6a512-1295-4272-9138-f99709370657
2003-12-12All platforms don't have USBDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4134 a1c6a512-1295-4272-9138-f99709370657
2003-11-27Use the new defines to know what kind of USB detection to use.Daniel Stenberg
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-07set/clear port bits with atomic instructions instead of read-modify-write, ↵Jörg Hohensohn
saves time+space, allows port usage in ISR git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4026 a1c6a512-1295-4272-9138-f99709370657
2003-07-20usb_detect for simulator added.Mats Lidell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3850 a1c6a512-1295-4272-9138-f99709370657
2003-07-03I needed a function to return the physical USB detectJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3807 a1c6a512-1295-4272-9138-f99709370657
2003-05-17USB polarity is now taken from the HW info and not by checking the port pin ↵Linus Nielsen Feltzing
state at boot git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3682 a1c6a512-1295-4272-9138-f99709370657
2003-05-10Experiment: enable ATA STANDBY when switching to USB modeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3668 a1c6a512-1295-4272-9138-f99709370657
2003-01-16Ludovic Lange's initial code for FM Recorder, edited and adjusted by me.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3110 a1c6a512-1295-4272-9138-f99709370657
2002-10-11Enable status bar in usb mode.Markus Braun
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-09-25Don't auto-poweroff if USB is insertedLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2418 a1c6a512-1295-4272-9138-f99709370657
2002-08-23Added NSauzede's patch to detect USB while in a Menu. It also adds the USB ↵Justin Heiner
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-21Magnus Öman's rocking USB logo is now being put to use.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1891 a1c6a512-1295-4272-9138-f99709370657
2002-07-24Finally working USB mode againLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1438 a1c6a512-1295-4272-9138-f99709370657
2002-07-23Possibly better USB handlingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1419 a1c6a512-1295-4272-9138-f99709370657
2002-07-15Added thread namesLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1357 a1c6a512-1295-4272-9138-f99709370657
2002-07-15Settings are now saved in RTC RAM on Recorder (Heikki Hannikainen).Björn Stenberg
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-03Lame attempt to fix USB polarity auto-detectionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1321 a1c6a512-1295-4272-9138-f99709370657
2002-07-02Compile errorsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1312 a1c6a512-1295-4272-9138-f99709370657
2002-07-02Added ATA debug featureLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1308 a1c6a512-1295-4272-9138-f99709370657
2002-07-01Increased thread stack sizeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1291 a1c6a512-1295-4272-9138-f99709370657
2002-07-01More robust, debounced USB detectionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1286 a1c6a512-1295-4272-9138-f99709370657
2002-07-01Killed a few warningsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1283 a1c6a512-1295-4272-9138-f99709370657
2002-07-01Better handling of non-responding threadsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1281 a1c6a512-1295-4272-9138-f99709370657
2002-06-30Killed a warningLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1278 a1c6a512-1295-4272-9138-f99709370657
2002-06-30Now uses adc_read()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1276 a1c6a512-1295-4272-9138-f99709370657
2002-06-30Added usb_display_info()Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1266 a1c6a512-1295-4272-9138-f99709370657
2002-06-30Even better USB supportLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1262 a1c6a512-1295-4272-9138-f99709370657
2002-06-29Wrong polarity for player USB checkLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1258 a1c6a512-1295-4272-9138-f99709370657
2002-06-29First versionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1257 a1c6a512-1295-4272-9138-f99709370657