summaryrefslogtreecommitdiff
path: root/firmware/drivers
AgeCommit message (Collapse)Author
2007-08-27Repair the USB detection on ipods and H10s which was broken by commit 14470. ↵Dave Chapman
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-27arcotg_udc.c should not have been removed - restore it in the new location ↵Dave Chapman
for USB drivers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14479 a1c6a512-1295-4272-9138-f99709370657
2007-08-27remove old driverChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14475 a1c6a512-1295-4272-9138-f99709370657
2007-08-27fix red and yellow - i hope and double content in some files.. dont ask how ↵Christian Gmeiner
this could happen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14473 a1c6a512-1295-4272-9138-f99709370657
2007-08-27Usb Stack: only setup packet handling, and not enabled by default as there ↵Christian Gmeiner
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-14Moved archos power handling into target tree. * Tuner power handling cleaned ↵Jens Arnold
up a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14345 a1c6a512-1295-4272-9138-f99709370657
2007-08-14Ondios with backlight mod: * Make the backlight stay off in plain SVN builds ↵Jens Arnold
(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-14Don't let the shutdown code mess with the backlight anymore on most targets. ↵Jens Arnold
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-12Remove unnecessary sim stubs and includesNils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14303 a1c6a512-1295-4272-9138-f99709370657
2007-08-12Enable a lot more features for simulators and add stubs where necessary, ↵Nils Wallménius
simulators should now work with identical lng and voice files as the respective target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
2007-08-01Add some new findings to the PP header files. * Clean up ata-target.h for ↵Jens Arnold
PP. * check_registers() seems to work fine on PP5002. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14114 a1c6a512-1295-4272-9138-f99709370657
2007-07-28Fix warnings and errors. Remove some added stuff that wasn't needed afterall.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14036 a1c6a512-1295-4272-9138-f99709370657
2007-07-28Scroll on main and remote with a single thread. Change the way system ↵Michael Sevakis
messages are defined before running out is an issue (which requires a full update of rockbox on the player). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14035 a1c6a512-1295-4272-9138-f99709370657
2007-07-22Wheel acceleration for e200. A general acceleration interface intended for ↵Michael Sevakis
use on any scroll target and by any code. A general interface to obtain data associated with most recently dequeued button presses and actions. Use #define HAVE_SCROLLWHEEL and set appropriate constants, values in the scroller driver that feel right. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13959 a1c6a512-1295-4272-9138-f99709370657
2007-07-15Hrm. Commit the other needed change too. :)Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13899 a1c6a512-1295-4272-9138-f99709370657
2007-07-14Remove a change that wasn't supposed to stick around.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13897 a1c6a512-1295-4272-9138-f99709370657
2007-07-14e200: Tuner driver needs to yield alot and also be mutexed. FM debug screen ↵Michael Sevakis
got broken again and was ignoring cancellation and not drawing the lines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13896 a1c6a512-1295-4272-9138-f99709370657
2007-07-14Do some planned radio interface cleanup since adding in the LV24020LP.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13880 a1c6a512-1295-4272-9138-f99709370657
2007-07-14Fix FS#7044 - if the color RGB(0,255,255) is in a bmp it will be replaced ↵Jonathan Gordon
with the current foreground colour git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13878 a1c6a512-1295-4272-9138-f99709370657
2007-07-13Changes bass setting to use adaptive bass instead of linear bass. The ↵Steve Gotthardt
datasheet recommends it and it should stop clipping on bass. Steve Gotthardt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13867 a1c6a512-1295-4272-9138-f99709370657
2007-07-09Prevent another divide-by-zero (only affecting targets with FAT16 support ↵Dave Chapman
enabled, such as the Sansa). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13837 a1c6a512-1295-4272-9138-f99709370657
2007-07-09Fix division by 0 errorRobert Keevil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13836 a1c6a512-1295-4272-9138-f99709370657
2007-07-05Fix a (minor) disk corruption when moving directories around. Fixes FS #7359Peter D'Hoye
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13797 a1c6a512-1295-4272-9138-f99709370657
2007-07-03Fix serious bug in FAT filename check, preventing most files from being ↵Magnus Holmgren
created (if they contain a '.', no less). Also allow a few more chars in the long filename and make the code a bit smaller (as in FS #6358). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13776 a1c6a512-1295-4272-9138-f99709370657
2007-07-03Proper filename checking in the FAT driver (FS#7222 and FS#6358)Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13770 a1c6a512-1295-4272-9138-f99709370657
2007-06-30Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with ↵Michael Sevakis
some tweaks. All testers have given the green light. (Now for the RED ?? ;). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13741 a1c6a512-1295-4272-9138-f99709370657
2007-06-27Forget all the nonsense with C delay loops. 'volatile' on the variable makes ↵Michael Sevakis
bloated code and a volatile, blank asm block inside may or may not be optimized out. Use asm delay loops instead for Coldfire. Radio i2c driver also needs NACK after reading last tuner byte. Get the volatile off the Ondio loops (not needed here now). Maybe this is straightened out now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13725 a1c6a512-1295-4272-9138-f99709370657
2007-06-27Woops. Forgot to remove the param to fmradio_i2c_ack. It was always called ↵Michael Sevakis
with 0 for a parameter anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13724 a1c6a512-1295-4272-9138-f99709370657
2007-06-27Bit banged TEA5767 i2c driver was broken by -Os because delay loops were ↵Michael Sevakis
optimized away. Last byte was being acked when reading so fix that too. Calling all developers: seek out any C delay loops and make sure they're volatile. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13723 a1c6a512-1295-4272-9138-f99709370657
2007-06-24Gigabeat: Audio tweak mishmash - Make sure zero crossing detection times out ↵Michael Sevakis
so the volume always gets updated. Make sure i2s is off at boot and set to proper mode before audio hardware is initialized. Make pausing pcm instant instead of waiting until the end of the current DMA transfer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13706 a1c6a512-1295-4272-9138-f99709370657
2007-06-22Fixed missing semicolon in logf builds.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13684 a1c6a512-1295-4272-9138-f99709370657
2007-06-22Fix FS#7336 - scrolling lines don't stay coloured.Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13682 a1c6a512-1295-4272-9138-f99709370657
2007-06-17Give color targets the ability to display each LCD line a different color ↵Brandon Low
and use this newfangled ability to provide themable colored file types. See the comments on read_color_theme_file and the sample.colors file provided for how to use this. .colors files go in themes directory for now. This separate line color function should be trivial to add to menus and wpss. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13656 a1c6a512-1295-4272-9138-f99709370657
2007-06-13* changed pararmeter of audiohw_mute from int to boolChristian Gmeiner
* unification of init and close NOTE: audiohw_init is a void function now, because it never (can) fail okay from JdGordon@irc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13622 a1c6a512-1295-4272-9138-f99709370657
2007-06-11some little more work on audio codec driver unification - more will followChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13620 a1c6a512-1295-4272-9138-f99709370657
2007-06-06Accept FS#7178 - Sansa e200 FM tuner support by Ivan Zupan. Do the needed ↵Michael Sevakis
integration work into recording and the AS3514 audio driver. Do a little AS3514 fiq_record tweak to have it all work nicely from the start. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13573 a1c6a512-1295-4272-9138-f99709370657
2007-06-05e200: Add recording. Just from MIC right now and FM integration will happen ↵Michael Sevakis
soon. Most every bit of weirdness is nescessary and no problems seem to exist that the retailos doesn't exhibit too (namely noise when LCD is on when recording from MIC). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13557 a1c6a512-1295-4272-9138-f99709370657
2007-05-23ATA driver: * Support for drives with large physical sectors and no support ↵Jens Arnold
for partial access in the firmware (i.e. Toshiba MK8010GAH - iPod G5.5/80GB). Sequential writes with a single 512-byte buffer to that disk are really slow, so this is an intermediate solution that allows to adjust the FAT driver and the file system gradually. * Assume multisectors = 16 if the value reported by the drive is invalid (also MK8010GAH). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13480 a1c6a512-1295-4272-9138-f99709370657
2007-05-22the DAC drivers need to include audiohw.h nowMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13474 a1c6a512-1295-4272-9138-f99709370657
2007-05-22e200: Remute the line in with #if 0 as it causes static noise for those ↵Michael Sevakis
without a radio chip. The FM radio patch should be updated to have those lines to compile. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13467 a1c6a512-1295-4272-9138-f99709370657
2007-05-22fix red ipod mini'sChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13465 a1c6a512-1295-4272-9138-f99709370657
2007-05-22* move audio settings into audio codec driversChristian Gmeiner
* add mas35xx driver for all mas35xx targets. Later mas35xx code from sound.c will move to this new driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13464 a1c6a512-1295-4272-9138-f99709370657
2007-05-22e200: Use 16-16 L-R pairs when writing to the TX FIFO. Kill the channel ↵Michael Sevakis
swapping and clicks. Reduce number of FIQs. Should be adaptable to iPods and other PP targets in a few minutes work, eh? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13463 a1c6a512-1295-4272-9138-f99709370657
2007-05-20exclude unused headersChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13453 a1c6a512-1295-4272-9138-f99709370657
2007-05-20Increase sansa volume range at the lower end. This seems to be necessary Antonius Hellmann
now after the audio improvement: -40.5dB ... +6dB => -73.5 ... +6dB git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13447 a1c6a512-1295-4272-9138-f99709370657
2007-05-20fix the gigabeat remote button not working when backlight is off and filter ↵Jonathan Gordon
first keypress is enabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13444 a1c6a512-1295-4272-9138-f99709370657
2007-05-15More gigabeat LCD cleanup and completely remove the use of DMA for ↵Dave Chapman
lcd_update_rect() (this was accidentally disabled anyway by the previous commit). The DMA version of lcd_update_rect() managed 64fps, but the memcpy based implementation manages 264fps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13393 a1c6a512-1295-4272-9138-f99709370657
2007-05-15Gigabeat LCD driver cleanup: Revert the DMA optimisations to the gigabeat ↵Dave Chapman
LCD driver - they are both buggy (the wrong background colour was often seen, e.g. in the USB screen after using a plugin) and significantly slower than the standard implementations (which use the ARM-optimised mem* functions) in lcd-16bit.c. lcd_clear_update was 4.5 times slower with DMA when a backdrop is in use, and 12 times slower with DMA when no backdrop is in use. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13392 a1c6a512-1295-4272-9138-f99709370657
2007-05-13enable lineIn1 - lets hope FM chip is connected to lineIn 1Christian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13378 a1c6a512-1295-4272-9138-f99709370657
2007-05-07Basic gigabeat buttonlight support outside of debug menu FS#7112. Also ↵Karl Kurbjun
disables USB PLL and the USB device clock (uneeded to connect to computer) - May offer some power savings. Changed how some pins are initialized. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13346 a1c6a512-1295-4272-9138-f99709370657