Amaury Pouly
a299212af3
imx233: add power debug screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31100 a1c6a512-1295-4272-9138-f99709370657
2011-11-30 18:47:31 +00:00
Amaury Pouly
374a08ab31
fuze+: update keymap and touchpad driver based on FS#12405 with minor modifications. Thanks to Jean-Louis Biasini.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31098 a1c6a512-1295-4272-9138-f99709370657
2011-11-30 18:39:22 +00:00
Boris Gjenero
d51e598335
FS#12412 : Delete old buffer allocation code which has been replaced by core_alloc, and move buffer setup code to core_alloc.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31088 a1c6a512-1295-4272-9138-f99709370657
2011-11-29 00:42:27 +00:00
Tomasz Moń
297c29cba6
dm320: call storage idle notifys on in sdmmc thread
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31086 a1c6a512-1295-4272-9138-f99709370657
2011-11-28 21:12:54 +00:00
Boris Gjenero
e5a7388fc7
If Rockbox never turns off ATA power, don't compile code for turning it back on. Note that ATA power may still need to be turned on when starting, so that code in ata_init() always remains.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31079 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 17:40:57 +00:00
Fred Bauer
2154cbf706
remove stray debugging line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31078 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 16:27:20 +00:00
Frank Gevaerts
6e664f49b1
Guard font functions against invalid font ids. These arguably should never be passed, but this prevents freezes. Fixes FS#12400
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31075 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 15:36:03 +00:00
Frank Gevaerts
dfd5d0684a
Actually make glyph_cache_save static instead of just claiming it should be
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31074 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 15:28:16 +00:00
Frank Gevaerts
e5a3c26c1d
glyph_cache_save should be static
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31073 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 15:24:53 +00:00
Michael Sevakis
47452dcd5c
PortalPlayer: Loading of stack munge value into r4 was moved in r30741 to after the idle stack init loop, breaking the usage readout.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31068 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 07:01:47 +00:00
Boris Gjenero
a99d9eca0b
Add STORAGE_INIT_ATTR to static ata.c functions that are only called via ata_init().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31067 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 04:56:47 +00:00
Boris Gjenero
bd360b422a
In buflib_buffer_shift(), properly update handle->alloc values, which are char * and not union buflib data *
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31066 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 01:40:47 +00:00
Bertrik Sikken
99ea0c5051
Sansa AMSv2 USB: Simplify union around struct usb_ctrlrequest and remove duplicate alignment attribute
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31065 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 00:22:12 +00:00
Rafaël Carré
a89c705ecb
AMSv2: remove stray ; from USB_DEVBSS_ATTR
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31064 a1c6a512-1295-4272-9138-f99709370657
2011-11-27 00:07:06 +00:00
Bertrik Sikken
ebde2ea308
Sansa AMSv2: potential USB fix from FS#11664 by funman:
...
* make sure that the buffer for struct usb_ctrlrequest can fit a full 64-byte packet
* align struct usb_ctrlrequest to a cacheline (32-byte alignment)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31063 a1c6a512-1295-4272-9138-f99709370657
2011-11-26 23:55:49 +00:00
Fred Bauer
e62cccb81e
fix up font_cache/LRU boundry errors from r30763
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31050 a1c6a512-1295-4272-9138-f99709370657
2011-11-25 16:15:16 +00:00
Tomasz Moń
62f5027650
Fix battery meter on Sansa Connect.
...
Use the battery capacity percents reported by AVR. Internally fake linear voltage scale is used (1 mV = 1%).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31049 a1c6a512-1295-4272-9138-f99709370657
2011-11-24 18:55:11 +00:00
Boris Gjenero
9c07d068da
FS#12378 : Removal of Archos HWCODEC unused code and data. Several large hardware-specific functions are kept for reference or future use.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31043 a1c6a512-1295-4272-9138-f99709370657
2011-11-22 19:59:31 +00:00
Boris Gjenero
e62dfa5225
FS#12397 : On targets which load .data directly into its final location and lack code for moving it, remove linker script trick which ignores section alignment and word-aligns the section instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31041 a1c6a512-1295-4272-9138-f99709370657
2011-11-22 17:34:01 +00:00
Rafaël Carré
814ffffdbe
Add INIT_ATTR to storage_init() when possible
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31036 a1c6a512-1295-4272-9138-f99709370657
2011-11-20 18:44:40 +00:00
Rafaël Carré
8a7482dd89
Fix typo in comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31034 a1c6a512-1295-4272-9138-f99709370657
2011-11-20 17:57:24 +00:00
Fred Bauer
95a828bcdb
Fix parameter order in font_load_in_memory(). FS#12395.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31033 a1c6a512-1295-4272-9138-f99709370657
2011-11-20 17:49:47 +00:00
Fred Bauer
ea7a89606c
FS#12293 Global default glyph setting in System > Limits > Glyphs To Cache. Defaults to 250. This saves a lot of RAM while still allowing non-English users to have adequate glyph coverage.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31031 a1c6a512-1295-4272-9138-f99709370657
2011-11-19 23:34:26 +00:00
Bertrik Sikken
d78e05c572
Sansa clip zip: increase communication speed with the OLED controller
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31030 a1c6a512-1295-4272-9138-f99709370657
2011-11-19 17:55:21 +00:00
Bertrik Sikken
bf51af7f7a
Sansa clip zip: workaround for wisechip display - always copy an entire horizontal strip in lcd_update_rect
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31029 a1c6a512-1295-4272-9138-f99709370657
2011-11-19 17:55:17 +00:00
Fred Bauer
a71e87f132
Update some missed pointers when moving the dircache allocation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31028 a1c6a512-1295-4272-9138-f99709370657
2011-11-19 14:57:56 +00:00
Jonathan Gordon
1252d0d540
Get rid of a really annoying #ifdef line to check if backdrop support should be enabled
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31027 a1c6a512-1295-4272-9138-f99709370657
2011-11-19 13:46:25 +00:00
Amaury Pouly
852b68c74a
imx233/fuze+: set drive strength of tuner chip enable pin, enable backlight on panic
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31026 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 23:10:22 +00:00
Thomas Martitz
abf1e6d790
Fix yellow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31013 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 20:03:34 +00:00
Thomas Martitz
71d73fd470
Remove sim_tasks from the sdl application build.
...
This unfortunately removes the screendump feature, but usually there are better desktop apps for that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31011 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 19:52:59 +00:00
Amaury Pouly
7e211ff9d1
fuze+: adjust touchpad sensitivity based on product id like OF, add debug screen to hw info
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31010 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 19:13:09 +00:00
Thomas Martitz
1645c148e3
Simulate usb plugging on the sim better using sim_tasks.
...
Now all threads need to ack the connection like on real target, dircache is unloaded and playback stops accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31009 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 18:40:00 +00:00
Thomas Martitz
2a8eacdbfc
Buflib: Make shrinking and buflib_available() smarter.
...
* shrinking now considers freespace just before the alloc-to-be-shrinked,
that means less (or sometimes none at all) is taken from the audio buffer.
* core_available() now searches for the best free space, instead of simply the end,
i.e. it will not return 0 if the audio buffer is allocated and there's free space
before it. It also runs a compaction to ensure maximum contiguous memory.
audio_buffer_available() is also enhanced. It now considers the 256K reserve buffer,
and returns free buflib space instead if the audio buffer is short.
This all fixes the root problem of FS#12344 (Sansa Clip+: PANIC occurred when
dircache is enabled), that alloced from the audio buffer, even if it was very
short and buflib had many more available as free space before it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31006 a1c6a512-1295-4272-9138-f99709370657
2011-11-17 17:55:02 +00:00
Andrew Ryabinin
b6252abb25
fix target id for HiFiMAN HM-801
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31001 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 16:07:06 +00:00
Tomasz Moń
e8a8a1be43
Sandisk Sansa Connect port (FS #12363 )
...
Included are drivers for buttons, backlight, lcd, audio and storage.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 14:08:01 +00:00
Jonathan Gordon
ea2a3ee7a8
Fix the gpl notice in the previous commits new files, and fix the yelow gevearts naughtily ignored
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30996 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 10:37:48 +00:00
Jonathan Gordon
be716c0be8
Finally commit FS#5111 - piezo clicker for ipods!
...
Origional implementation by Robert Keevil with contributions from Frederik Vestre, Stoyan Stratev, Craig Elliott, Michael Sparmann, Thomas Schott, Rosso Maltese, and syncs from a bunch of other people!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30995 a1c6a512-1295-4272-9138-f99709370657
2011-11-16 10:25:43 +00:00
Michael Giacomelli
3ba0e05ab5
Commit FS#12352 by Stanislav Chizhik. Add support for the PCF50635. Enables detection of USB power sources.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30992 a1c6a512-1295-4272-9138-f99709370657
2011-11-15 20:37:47 +00:00
Amaury Pouly
e7e4b131d0
imx233: fix prototype and battery conversion setup code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30989 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:47:59 +00:00
Amaury Pouly
9e4299f6f0
imx233: implement battery reading using power register (automatically updated & scaled by lradc delay)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30988 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:45:25 +00:00
Amaury Pouly
4359b40cf1
imx233: debug raw and mV battery output
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30987 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:45:18 +00:00
Amaury Pouly
ea8570b48c
imx233: remove virtual 5V channel (value doesn't make sense), fix battery conversion (need to trigger delay)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30986 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:42:43 +00:00
Amaury Pouly
f791a81e87
imx233: add include for future use of adc to read battery
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30985 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:10:25 +00:00
Amaury Pouly
0cd832a6d4
imx233: fix comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30984 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:07:52 +00:00
Amaury Pouly
d8666336a7
imx233: add adc debug screen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30983 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:07:48 +00:00
Amaury Pouly
e167c1d8d7
imx233: add automatic battery conversion using delay channel, make 5V a virtual channel since it has a builtin divider
...
fuze+: use 5V virtual channel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30982 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:05:14 +00:00
Amaury Pouly
a9d56ac5de
imx233: use generic code for both channels and delays arbiter code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30981 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 21:05:10 +00:00
Amaury Pouly
9a4213c8f3
imx233: cosmetic changes in adc
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30980 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:48:45 +00:00
Amaury Pouly
1852dd89ed
imx233/fuze+: add a small delay before powering off to allow the user to release the power button
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30979 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:46:13 +00:00
Amaury Pouly
7fec08927b
fuze+: fix backlight to have a real zero
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30978 a1c6a512-1295-4272-9138-f99709370657
2011-11-14 19:46:09 +00:00