Björn Stenberg
68b440346e
Quick fix for ipod usb detect. (Charger detection coming later.)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15764 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 00:02:52 +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
Barry Wardell
03dd35db0e
Get rid of some more inl/outl. 0x70000084 seems to be GPO32_ENABLE.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15477 a1c6a512-1295-4272-9138-f99709370657
2007-11-05 17:19:00 +00:00
Barry Wardell
1d1a17c0db
Improved H10 ADC driver. We now do things exactly as the OF does. This includes shifting the readings by 0x14 when PLL is enabled. Battery voltages and remote/scrollpad values adjusted accordingly. We also now wait for the ADC to indicate the conversion is complete before reading the data, so hopefully we will get more reliably steady readings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15141 a1c6a512-1295-4272-9138-f99709370657
2007-10-16 10:48:16 +00:00
Björn Stenberg
b452fb6dfe
Skip spindown and delay on flash targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14877 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 07:56:46 +00:00
Mark Arigo
61a83c02a3
Sansa c200: fix system_reboot with some magic from the OF. Reboot to the OF when usb is inserted.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14862 a1c6a512-1295-4272-9138-f99709370657
2007-09-27 02:50:50 +00:00
Christian Gmeiner
2c30bd9245
try #2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14622 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 16:16:49 +00:00
Christian Gmeiner
1a8f7c51b3
fix usb detection for usb stack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14621 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 15:52:49 +00:00
Christian Gmeiner
e267bc722d
get experimental usb stack compiling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14613 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 23:29:42 +00:00
Dave Chapman
1672350378
FS #7691 - improved USB detection on PP devices. This patch modifies the target-tree function usb_detect() on all targets from bool to int, returning USB_INSERTED or USB_EXTRACTED instead of true or false. This was done to enable the PP usb_detect() to check for USB_POWER (either a connection to a USB wall charger, or the user holding "charge mode" button) and return that as a third value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14600 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 08:03:07 +00:00
Peter D'Hoye
f2bf042edf
Remove a warning when building the stack and add some comment in the ifdef hell
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14494 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 21:32:28 +00:00
Dave Chapman
03745f4ed3
Cosmetic changes only - tab, whitespace and brace policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14484 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 22:07:36 +00:00
Dave Chapman
a6d52a8305
Oops, arcotg_udc.h is also needed when HAVE_USBSTACK is enabled
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14483 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 21:59:57 +00:00
Dave Chapman
9551ae92a5
Repair the USB detection on ipods and H10s which was broken by commit 14470. The intention is that when the experimental HAVE_USBSTACK is not defined, the old (pre-14470) code is run.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14481 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 18:21:05 +00:00
Christian Gmeiner
863ce442ec
green now?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14474 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:30:23 +00:00
Christian Gmeiner
f286bdec63
fix red and yellow - i hope and double content in some files.. dont ask how this could happen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14473 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:26:56 +00:00
Christian Gmeiner
8181a0c905
Usb Stack: only setup packet handling, and not enabled by default as there is a lot to do.
...
* settings code is not fully ready -> changing device driver has no effect
* clean ups
* check copyriths
* find a way to detect IN transfers
* support for full and highspeed
* ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14470 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:04:32 +00:00
Jens Arnold
cb896cdd04
Firewire detection with reboot into diskmode for all iPods that support it (all but Nano and Video). * Hack for compiling iPod G3 removed. * Code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14131 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 22:44:02 +00:00