summaryrefslogtreecommitdiff
path: root/firmware/usb.c
AgeCommit message (Collapse)Author
2006-01-26Enable USB charging mode on H300, hold Rec when inserting the USB connector ↵Linus Nielsen Feltzing
to not enter USB mode. This may not always work, since we don't yet know how to control the charging chip correctly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8460 a1c6a512-1295-4272-9138-f99709370657
2006-01-19Fix reboot-to-diskmode for the Nano and Video - the "diskmode" string is ↵Dave Chapman
written to the end of IRAM, which is larger on the PP5022 devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8378 a1c6a512-1295-4272-9138-f99709370657
2006-01-18Remove a redundant lineHristo Kovachev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8371 a1c6a512-1295-4272-9138-f99709370657
2006-01-12Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-10H300: Bootloader USB mode detection on EXTON wakeupLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8326 a1c6a512-1295-4272-9138-f99709370657
2006-01-07iPod: Add USB detection. When inserting the USB cable, hold down MENU to ↵Dave Chapman
charge via USB, otherwise Rockbox will reboot into the Disk Mode application stored in flash git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8303 a1c6a512-1295-4272-9138-f99709370657
2005-12-06H300 bootloader USB modeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8168 a1c6a512-1295-4272-9138-f99709370657
2005-12-06USB support for H300Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8167 a1c6a512-1295-4272-9138-f99709370657
2005-11-11iPod: Code cleanup - the bootloader now compiles with zero warningsDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-07Initial commit of work-in-progress iPod portDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-10-28USB power mode: Made the code ignore the power button (On for recorder ↵Jens Arnold
fm/v2, OnOff for Ondio) to make it easier to enter USB power mode at startup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7674 a1c6a512-1295-4272-9138-f99709370657
2005-08-22Trying to enter STANDBY mode when entering USB mode seems to cause more ↵Linus Nielsen Feltzing
trouble than it is worth. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7385 a1c6a512-1295-4272-9138-f99709370657
2005-07-12Atomic GPIO accessLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7114 a1c6a512-1295-4272-9138-f99709370657
2005-07-08USB is the same on all H1x0 modelsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7068 a1c6a512-1295-4272-9138-f99709370657
2005-07-08Renamed the iriver h120 defines and configs to "h120"! Added initial supportDaniel Stenberg
for the h100 series. Please re-run configure. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7062 a1c6a512-1295-4272-9138-f99709370657
2005-07-05Now the CPU is idle in USB modeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7024 a1c6a512-1295-4272-9138-f99709370657
2005-06-29remove a warning from the h300 buildDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6917 a1c6a512-1295-4272-9138-f99709370657
2005-06-23New feature for units that can be powered or charged from USB (Recorder ↵Jens Arnold
fm/v2, Ondios): USB power mode, based on patch #1110332 by Pieter Bos. This way you can save battery power or even charge the battery (fm/v2) while using your unit near a PC. Hold MODE (Ondio) or F1 (fm/v2) while plugging USB to enter that mode. A tiny USB plug icon will be displayed is the status bar (overridden by the regular power plug icon in case of fm/v2 when the charger is connected). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6836 a1c6a512-1295-4272-9138-f99709370657
2005-05-22Ondio: Fix multivolume and hotswap for the old MMC clock circuit.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6502 a1c6a512-1295-4272-9138-f99709370657
2005-05-16Hotswap: Better placement for switching the MMC monitor off/on.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6480 a1c6a512-1295-4272-9138-f99709370657
2005-05-16Hotswap: Avoid mount race at startup and after returning from USB mode.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6479 a1c6a512-1295-4272-9138-f99709370657
2005-02-19GminiJean-Philippe Bernardy
* advances in the handling of the smsc chip * moved stuff to where it belongs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6023 a1c6a512-1295-4272-9138-f99709370657
2005-02-19Gmini work:Jean-Philippe Bernardy
* Better USB * Better comments * Better coding style git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6022 a1c6a512-1295-4272-9138-f99709370657
2005-02-11Increased the USb thread stackLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5912 a1c6a512-1295-4272-9138-f99709370657
2005-02-10iRiver: USB supportLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5892 a1c6a512-1295-4272-9138-f99709370657
2005-02-06Cosmetic fix for thread alignment.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5813 a1c6a512-1295-4272-9138-f99709370657
2005-02-06Aligned thread stackLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5803 a1c6a512-1295-4272-9138-f99709370657
2005-02-02Tentative USB support for gminiJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5739 a1c6a512-1295-4272-9138-f99709370657
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