Marcoen Hirschberg
338e2bbb0c
first gigabeat commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:42:52 +00:00
Linus Nielsen Feltzing
a4504bc276
Revert the ATA/USB power fix until I find an even more correct way of doing it :-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8707 a1c6a512-1295-4272-9138-f99709370657
2006-02-16 20:44:38 +00:00
Linus Nielsen Feltzing
2612d371db
More correct power handling of the HDD and ISD300 chips on the H300 platform
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8688 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 22:49:59 +00:00
Hristo Kovachev
14cfc65414
1. Updated battery_bench plugin:
...
1.1 Don't use the plugin_get_buffer() so the playlist viewer should work with this plugin running;
1.2 Added new columns for charger inserted, charging, usb powered;
1.3 Some other small improvements
2. charger_inserted() again returns only the AC/DC charger state on H3x0, doesn't include the usb state;
3. Some ifdefs corrected in power.c and power.h;
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8607 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 14:46:03 +00:00
Dave Chapman
2924a48ca5
Create config file for iPod 4G greyscale and various iPod 3G/4G greyscale fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8585 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 18:25:41 +00:00
Dave Chapman
465596b163
More iPod 3G code from Seven Le Mesle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8582 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 17:16:34 +00:00
Linus Nielsen Feltzing
9b0822d76a
Make it compile on iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8543 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 23:07:11 +00:00
Brandon Low
2047f79f75
Fix red builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8463 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 02:00:43 +00:00
Brandon Low
005c2f8026
Detect USB charge state in Hxx0
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8462 a1c6a512-1295-4272-9138-f99709370657
2006-01-27 01:19:14 +00:00
Brandon Low
a452c7410d
Start cleaning up some #ifdefs in charging code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8391 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 19:39:51 +00:00
Brandon Low
cdacab3d89
Charging state reporting on H3x0
...
Don't read the GPIO every refresh of statusbar or gwps for plugged state, use a
variable exported from powermgmt instead.
Allow Custom WPS to access %bc for battery charge state on targets that support
this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8383 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 07:47:34 +00:00
Dave Chapman
d83e929f3f
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Dave Chapman
cb7e695ef9
iPod: Fix the bootloader so it can load and run the original Apple firmware again. The Rockbox firmware was doing too much to the hardware so we remove most of the initialisation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8301 a1c6a512-1295-4272-9138-f99709370657
2006-01-05 17:02:48 +00:00
Dave Chapman
4ba9eac894
Put the ipod into standby mode on shutdown. This is untested on the 5g, but should work...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8275 a1c6a512-1295-4272-9138-f99709370657
2005-12-21 23:32:19 +00:00
Jens Arnold
a6d409d9db
Replaced the booolean 'Backlight On When Plugged' setting with a complete alternative 'Backlight When Plugged' timeout setting. * Yield during poweroff to make backlight_off() work. * Bumped config version, save your settings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8053 a1c6a512-1295-4272-9138-f99709370657
2005-11-23 20:12:33 +00:00
Dave Chapman
d60aac9243
iPod: We are not going to implement ATA power-off control (Rockbox will still use the ATA hardware's power handling)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8031 a1c6a512-1295-4272-9138-f99709370657
2005-11-21 22:44:15 +00:00
Anton Oleynikov
c94557e0b9
refactored radio status code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7999 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 19:23:44 +00:00
Linus Nielsen Feltzing
64d9ee70c2
H300: power_init() adjustments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7962 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 14:21:08 +00:00
Linus Nielsen Feltzing
73a35a1aa4
Reverted erroneous commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7918 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 23:42:19 +00:00
Linus Nielsen Feltzing
df0e5effc5
Cleaned up bootloader linker control file and added the H300 target
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7916 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 23:15:59 +00:00
Linus Nielsen Feltzing
b6c0f95960
Added pcf50606 init
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7881 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 20:49:21 +00:00
Dave Chapman
d31a32c501
iPod: Code cleanup - the bootloader now compiles with zero warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 17:51:35 +00:00
Dave Chapman
77372d1218
Initial commit of work-in-progress iPod port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 23:07:19 +00:00
Linus Nielsen Feltzing
e8da7e6b15
iriver: let the boot loader decide when to power on the hard drive
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7191 a1c6a512-1295-4272-9138-f99709370657
2005-07-19 07:04:40 +00:00
Linus Nielsen Feltzing
192a604cd4
Atomic GPIO access
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7114 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 07:25:01 +00:00
Linus Nielsen Feltzing
56fb177111
Inverted S/PDIF control on H110
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7111 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 04:53:14 +00:00
Linus Nielsen Feltzing
8782bc8392
New config option for optical out on iriver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6960 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 09:42:39 +00:00
Marcoen Hirschberg
e02a1a534d
- enable S/PDIF optical output
...
- set the proper noise shape filter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6959 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 07:55:19 +00:00
Daniel Stenberg
33d4c33504
Made the (iriver) use of GPIO1 depend on the presense of a coldfire cpu instead
...
of comparing for exact player model. This assumption might not be correct, it
might been to check for some other hardware-specific feature.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6753 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:16:51 +00:00
Jens Arnold
1cae074668
HD power must not default to off in rockbox itself, only in the bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6569 a1c6a512-1295-4272-9138-f99709370657
2005-06-04 23:42:02 +00:00
Linus Nielsen Feltzing
794220c116
iRiver: The hard drive power is now OFF by default
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6551 a1c6a512-1295-4272-9138-f99709370657
2005-06-02 21:40:52 +00:00
Jens Arnold
2629071b25
More dead code...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6428 a1c6a512-1295-4272-9138-f99709370657
2005-05-08 12:56:48 +00:00
Jens Arnold
c42a1a05bb
Moved unrelated stuff from i2c the driver to appropriate places. Minor optimisation in i2c driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6419 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:29:35 +00:00
Linus Nielsen Feltzing
e6bc6c4829
iRiver: Implemented S/PDIF transmit power control. The optical LED is now off by default.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6268 a1c6a512-1295-4272-9138-f99709370657
2005-04-11 11:17:31 +00:00
Jean-Philippe Bernardy
376057d2b6
Gmini SMSC chip improvements
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6030 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 09:55:40 +00:00
Linus Nielsen Feltzing
96038fcd92
Silly me, those inits were not redundant at all
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5829 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 02:45:32 +00:00
Linus Nielsen Feltzing
bf11674d10
iRiver: Removed redundant initiation in power_init()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5823 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 01:46:56 +00:00
Jean-Philippe Bernardy
dd924a522d
Gmini power management basis
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5767 a1c6a512-1295-4272-9138-f99709370657
2005-02-03 23:10:01 +00:00
Linus Nielsen Feltzing
474bbb36ad
Oops! Wrong polarity in ide_powered() for iRiver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5496 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 01:34:45 +00:00
Linus Nielsen Feltzing
488061562b
Added power functions for iRiver H1xx
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5494 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 00:45:23 +00:00
Jens Arnold
127c363e87
Unconditionally drive HD power control pin for player (doesn't hurt even for very old players). Slight optimization for recorders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5487 a1c6a512-1295-4272-9138-f99709370657
2004-12-16 22:29:01 +00:00
Jens Arnold
d4e53976d9
Renamed has_new_lcd() to is_new_player(), and got rid of the alias
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5459 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 21:20:54 +00:00
Jens Arnold
14c72f277c
Code cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5454 a1c6a512-1295-4272-9138-f99709370657
2004-11-21 09:22:50 +00:00
Jens Arnold
3999bc0323
Fixed a warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5450 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 14:34:17 +00:00
Jens Arnold
7ebb5d915e
Moved player ATA power handling to the correct functions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5449 a1c6a512-1295-4272-9138-f99709370657
2004-11-20 14:17:43 +00:00
Jörg Hohensohn
954e5888b1
bugfix for OndioFM tuner power
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5297 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 09:58:05 +00:00
Jörg Hohensohn
91f9350cbd
moved and renamed fmradio_set/get_status to power.c, where it now additionally serves well for tuner power enable on OndioFM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5296 a1c6a512-1295-4272-9138-f99709370657
2004-10-17 08:53:18 +00:00
Jens Arnold
0fc34c773f
Disabled charger detection and ide_power_enable() for Ondio; some cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5270 a1c6a512-1295-4272-9138-f99709370657
2004-10-13 23:21:57 +00:00
Linus Nielsen Feltzing
b1af93c314
Disable the backlight before powering off the Player/Studio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4877 a1c6a512-1295-4272-9138-f99709370657
2004-07-14 10:06:02 +00:00
Linus Nielsen Feltzing
111a972b65
Made set_irq_level() an inline function, and optimized it by removing the bit shifts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
2004-03-02 11:32:59 +00:00