Jonathan Gordon
e73f287b5a
Fix FS#7679 - modifying files with dircahce enabled doesnt change the access time/date in dircache
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14580 a1c6a512-1295-4272-9138-f99709370657
2007-09-02 13:24:51 +00:00
Nils Wallménius
58b9a12216
Accept patch in FS#6869 by Justin Foell, increases maximum settable battery capacity to 1200 mAh for ipod color and 4g, closes FS#6422
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14572 a1c6a512-1295-4272-9138-f99709370657
2007-09-02 07:31:10 +00:00
Christian Gmeiner
720610bc0e
remove unused vars
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14552 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 22:26:46 +00:00
Christian Gmeiner
7e7d0dbee6
* remove more debug
...
* add basic way to detect IN transfers.. more will follow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14551 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 22:20:24 +00:00
Christian Gmeiner
649734f5fc
remove some debug..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14543 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 19:55:36 +00:00
Christian Gmeiner
3a0c78bb76
add usb state handling and other small fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14541 a1c6a512-1295-4272-9138-f99709370657
2007-08-30 19:23:37 +00:00
Christian Gmeiner
c7b3f8be9b
add missing get configuration request handling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14530 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 22:04:09 +00:00
Christian Gmeiner
e3bef6728f
make USB Command Verifier happy
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14526 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 19:13:07 +00:00
Christian Gmeiner
4caf4f96a0
if new speed is used speed stop
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14511 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 13:20:48 +00:00
Christian Gmeiner
57c2a5fa5a
add support to switch device driver at runtime
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14508 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 11:55:23 +00:00
Christian Gmeiner
17f2dd5c13
endpoint address was only set in fs descriptor, but we need it in hs too. Update storage device descriptor dynamic based on dcd
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14507 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 10:14:47 +00:00
Christian Gmeiner
9226ffd351
uppps
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14503 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 09:17:48 +00:00
Christian Gmeiner
7d4c7f9f28
we use only 2 endpoints
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14502 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 09:17:15 +00:00
Peter D'Hoye
52a60df47e
code police part two (/me blames his editor)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14500 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 00:47:04 +00:00
Peter D'Hoye
5f59f94554
code police part one...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14499 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 00:33:16 +00:00
Peter D'Hoye
c04dd32772
Add the define for the usb stack (in comment) on targets that can be used for it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14498 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 00:20:01 +00:00
Peter D'Hoye
924e906c27
Remove two more warnings when building the usb stack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14497 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 23:49:03 +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
Christian Gmeiner
4474d6827c
binding a device driver could fail.. handle this case
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14493 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 20:50:41 +00:00
Christian Gmeiner
195ef597f5
Add support for full and highspeed in stack and drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14492 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 20:29:28 +00:00
Dave Chapman
b016131c00
Set svn:keywords
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14485 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 22:12:35 +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
0152851fe8
Add the new USB code to the source tarballs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14482 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 21:15:37 +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
Dave Chapman
0f3987ce7f
arcotg_udc.c should not have been removed - restore it in the new location for USB drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14479 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 17:55:14 +00:00
Christian Gmeiner
5365535daa
fix lang problem and little clean up
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14477 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 17:45:01 +00:00
Christian Gmeiner
0877a1a9f5
remove old driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14475 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 17:37:06 +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
5b68d911ce
oops... disable stack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14471 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:06:08 +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
Magnus Holmgren
cdfb22f9df
Remove some debug code. Remove some unnecessary checks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14454 a1c6a512-1295-4272-9138-f99709370657
2007-08-25 10:56:22 +00:00
Magnus Holmgren
4e68732769
Small ReplayGain cleanup. Move RVA2 specific code to id3.c and don't do the parsing via strings. Generalize parts of the code for later use by MPC. Make some local functions static. Add and update some comments for clarity.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14453 a1c6a512-1295-4272-9138-f99709370657
2007-08-25 10:25:13 +00:00
Robert Keevil
b8bb521fc7
FS #6639 - Fixes for Last.fm logging on HWCODEC targets by Boris Gjenero
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14443 a1c6a512-1295-4272-9138-f99709370657
2007-08-23 18:53:17 +00:00
Barry Wardell
ec6ca5ae94
FS#7634: Add support for high capacity microSD cards (SDHC). We now support SD specification Version 2.00 which covers cards up to 32GB in size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14424 a1c6a512-1295-4272-9138-f99709370657
2007-08-22 00:32:45 +00:00
Peter D'Hoye
0d5451e7bd
H10: add more time between enabling touch-pad and reading ADC. Greatly improves touchpad stability. Add (and disable) checking for ADC done bit. Disabled because not yet working.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14419 a1c6a512-1295-4272-9138-f99709370657
2007-08-21 23:37:26 +00:00
Jens Arnold
7c37c54ce5
iPod 1st Gen: Dynamic wheel enable. This reduces wheel power consumption to about 0.5% when hold is not enabled and there is no activity, and keeps it disabled on hold.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14386 a1c6a512-1295-4272-9138-f99709370657
2007-08-18 09:47:19 +00:00
Jens Arnold
347b351e8a
iPod 1st Gen: Electronically disable the wheel when hold is enabled, saving quite some power.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14383 a1c6a512-1295-4272-9138-f99709370657
2007-08-18 08:14:07 +00:00
Jens Arnold
bfa1adcd06
H300: Read battery voltage with 10bit precision.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14379 a1c6a512-1295-4272-9138-f99709370657
2007-08-17 20:47:24 +00:00
Jens Arnold
0fac492c3d
First step of powermanagement rework: * Move target specific stuff into target tree, starting with battery voltage tables and voltage reading. (This revealed some incorrect percent_to_voltage_charging mappings). * Voltage reading on 1st gen ipods is now correct. * Clean up obsolete config #defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14375 a1c6a512-1295-4272-9138-f99709370657
2007-08-17 06:45:18 +00:00
Jens Arnold
2a258eac6b
Fix signedness bug in trickle charge proportional adjustment which became visible due to the changed calculation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14371 a1c6a512-1295-4272-9138-f99709370657
2007-08-16 17:34:55 +00:00
Jens Arnold
1d1d9a8491
Switch to using millivolt for battery voltage and other internal voltages. * Fix debug voltage history display. * Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14364 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 23:57:27 +00:00
Jens Arnold
c68e3cc3d6
Make the wheel work on 1st gen iPod.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14359 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 17:53:23 +00:00
Jens Arnold
cacd382963
The target power handling code isn't meant to be compiled for the sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14346 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 22:23:15 +00:00
Jens Arnold
8a177345ce
Moved archos power handling into target tree. * Tuner power handling cleaned up a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14345 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 22:06:23 +00:00
Jens Arnold
89f8f2e935
Ondios with backlight mod: * Make the backlight stay off in plain SVN builds (was always on before). * Switch off the light at the very end of shutdown to fake poweroff (the Ondio hardware stays powered until the user releases the button, or the hardware poweroff kicks in).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14342 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 20:18:41 +00:00
Jens Arnold
b03ffacda9
Don't let the shutdown code mess with the backlight anymore on most targets. The backlight thread decides what to do on shutdown.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14340 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 19:29:17 +00:00
Nicolas Pennequin
db15e5d3ba
Add an error check in get_mp3_metadata()
...
Check whether getonglength() succeeded or not, to prevent get_mp3_metadata()
from returning a success value when in fact it failed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14327 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 11:56:14 +00:00
Jens Arnold
1e28f59f26
Mini G1: Enabled backlight fading. Attn. Mini G1 voice users: a new voice file is required.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14314 a1c6a512-1295-4272-9138-f99709370657
2007-08-13 17:57:34 +00:00