Barry Wardell
1146418494
Fix problem where power_off() on the H10 returns before the device is actually powered off.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12801 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 13:52:16 +00:00
Jens Arnold
c652218d14
Fix remaining CONFIG_TUNER checks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12385 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 08:46:12 +00:00
Barry Wardell
041e5dceca
On the H10 when we power the disk on again after spindown and poweroff we need to give it a little while to turn back on before we should try to access it. This should fix problems with disk accesses when coming from a disk poweroff state (related discussion in FS#6421).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12081 a1c6a512-1295-4272-9138-f99709370657
2007-01-20 01:21:47 +00:00
Linus Nielsen Feltzing
e2022a26d0
Removed executable flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11967 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:29:07 +00:00
Barry Wardell
4b54302b07
Combine USB code for all PortalPlayer targets since they most likely all use the same USB hardware. Add register defines for the USB hardware addresses, based off the Freescale i.MX31 datasheet. Use usb_init() from the iPod code, but modified to use the new register defines rather than oul/inl on the hardware addresses.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11823 a1c6a512-1295-4272-9138-f99709370657
2006-12-20 15:28:32 +00:00
Barry Wardell
82cdc6914d
Recent fix "Prevent the click of death when connecting an ipod to usb." is useful for the H10 also.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11660 a1c6a512-1295-4272-9138-f99709370657
2006-12-05 01:22:05 +00:00
Barry Wardell
8d2711b7d2
Improved power management (FS#3001). Shutdown rockbox when the battery gets to a level where the device doesn't function properly. Calculate remaining charging time while charging (rather than remaining running time). Show "Low Battery" and "Battery Empty" warnings. Also fixes FS#4786.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11507 a1c6a512-1295-4272-9138-f99709370657
2006-11-11 01:18:57 +00:00
Tomasz Malesinski
29d8b917a8
Forgot to add new files for iFP move to target tree.
...
Fixed conifg-ifp7xx.h so that the simulator works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11494 a1c6a512-1295-4272-9138-f99709370657
2006-11-10 07:43:36 +00:00
Barry Wardell
c6ebfcce2c
Enable ATA poweroff option on H10 for a nice increase in battery life.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11107 a1c6a512-1295-4272-9138-f99709370657
2006-10-02 16:19:36 +00:00
Barry Wardell
b692fb11b3
Add support for H10 remote. Remote buttons have the same keymappings as their counterparts on the H10 itself, with vol-/vol+ being the same as scroll up/down.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11093 a1c6a512-1295-4272-9138-f99709370657
2006-09-29 15:59:08 +00:00
Barry Wardell
03aa9c9fea
Apply Mike Sevakis' recent sleep/contrast fixes for the X5 LCD driver to the H10 20GB LCD driver. With this fix, sleeping the LCD on the H10 20GB now works as it should so enable it as an option to save extra battery.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11085 a1c6a512-1295-4272-9138-f99709370657
2006-09-28 12:06:56 +00:00
Barry Wardell
979c23a715
Fix "Upside down" behaviour on H10. We need to flip horizontally as well as vertically and also need to flip the scroll pad up/down.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11049 a1c6a512-1295-4272-9138-f99709370657
2006-09-25 18:45:03 +00:00
Barry Wardell
5a79b4e015
Add ADC to I/O ports debug menu on H10. Fix battery level reading empty when starting up on H10. Calibrated battery for H10 20GB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11036 a1c6a512-1295-4272-9138-f99709370657
2006-09-23 17:47:54 +00:00
Barry Wardell
e63e62b2a1
Detect charger connected on H10. No need to sleep(HZ) when powering off.
...
More sensible USB support for H10: plugging in puts it into USB charging mode and leaves Rockbox usable, holding 'O' while pluggin in the USB cable will reboot the H10 (continuing to hold 'O' starts it up in UMS mode), holding any other button brings up the USB screen as previously.
Implement system_reboot() for all PP5020 devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11015 a1c6a512-1295-4272-9138-f99709370657
2006-09-20 23:21:59 +00:00
Barry Wardell
0b1ae73d3a
Fix behaviour of "Backlight (On Hold Key)" for H10. Make sure button GPIO ports are enabled on H10.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10943 a1c6a512-1295-4272-9138-f99709370657
2006-09-13 23:38:16 +00:00
Barry Wardell
8ccedc98da
Fix H10 bootloader build error introduced in last commit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10920 a1c6a512-1295-4272-9138-f99709370657
2006-09-10 17:59:59 +00:00
Barry Wardell
2937c504bb
Make "Backlight (On hold key)" option work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10919 a1c6a512-1295-4272-9138-f99709370657
2006-09-10 13:18:33 +00:00
Barry Wardell
24ca76ffec
H10 fixes: Split LCD driver up into two drivers, one for each LCD type. Improvements to 20GB LCD driver - support for enable/disable, contrast adjustment, make the update code clearer and ~4% faster, support for flipping, support for invert. Fix CPU frequency for both models. Fix default battery capacity for 5/6GB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10910 a1c6a512-1295-4272-9138-f99709370657
2006-09-09 19:02:18 +00:00
Barry Wardell
9b1dd444b0
Fix display bugs with H10 LCDs (both 20GB and 5/6GB models). The 20GB LCD is actually a 128x160 LCD rotated 90 degrees, so we need to take account of this. The 5/6GB LCD is not rotated by 90 degrees but was treated as if it was (FS #5925 , patch thanks to Thilo-Alexander Ginkel)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10886 a1c6a512-1295-4272-9138-f99709370657
2006-09-04 23:10:27 +00:00
Barry Wardell
a27c1833aa
Basic support for the H10 scrollpad.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10882 a1c6a512-1295-4272-9138-f99709370657
2006-09-04 20:09:17 +00:00
Barry Wardell
e7a9ec4d13
Add backlight support for H10
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10848 a1c6a512-1295-4272-9138-f99709370657
2006-09-01 17:58:47 +00:00
Barry Wardell
3d10a810ed
H10 changes: power_off() now actually powers off. Fix wrong bitwise operation when disabling sound. Fix filenames when building a bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10822 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 09:59:35 +00:00
Barry Wardell
a396d7e742
Make LCD writing functions inline for ~33% performance increase. Add lcd_yuv_blit implementation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10818 a1c6a512-1295-4272-9138-f99709370657
2006-08-31 01:27:54 +00:00
Barry Wardell
d9199d10b1
Remove sleep() from adc_scan(). It causes Rockbox to hang and isn't necessary anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10783 a1c6a512-1295-4272-9138-f99709370657
2006-08-28 10:39:24 +00:00
Barry Wardell
8269541370
Fixed silly bugs in H10 button driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10759 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 15:48:17 +00:00
Barry Wardell
7c13843805
Fix lcd_update_rect() on 5/6GB H10 (thanks to Laurent Baum). Fix usb_detect() on all H10 models.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10753 a1c6a512-1295-4272-9138-f99709370657
2006-08-26 09:15:42 +00:00
Barry Wardell
a64f51e67d
H10 LCD fixes. Now lcd_update_rect() works as it should. 5/6GB has different register defines than 20GB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10715 a1c6a512-1295-4272-9138-f99709370657
2006-08-23 09:14:28 +00:00
Barry Wardell
e367b05fca
Move X5 ADC code to target tree. Fix power button detection on H10. New ADC
...
driver for H10. Thanks to Laurent Baum for all his help with this code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10701 a1c6a512-1295-4272-9138-f99709370657
2006-08-22 20:17:09 +00:00
Barry Wardell
18cfe431d7
Fix errors when building H10 Normal build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10668 a1c6a512-1295-4272-9138-f99709370657
2006-08-20 23:05:47 +00:00
Barry Wardell
9272dfd34c
Functional, but minimal LCD driver for H10.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10663 a1c6a512-1295-4272-9138-f99709370657
2006-08-20 10:18:47 +00:00
Hristo Kovachev
1204136632
Some indent/c99 style cleanup by Barry Wardell
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10524 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 09:51:04 +00:00
Hristo Kovachev
9dc0e62229
Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10521 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 08:35:27 +00:00
Daniel Stenberg
86bff1cf56
Barry Wardell's initial work for the iriver H10 port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10447 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:18:31 +00:00