summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted
AgeCommit message (Collapse)AuthorFilesLines
2018-10-29sonynwz: add NW-A55 to databaseAmaury Pouly2-2/+6
Change-Id: I59861119c59490f586b3c6ed32a1c41df8b3d365
2018-07-29Remove leftover merge conflict markerFranklin Wei1-1/+0
Change-Id: Ie34657fe652d3613429d3fa233faac9608a8b826
2018-07-28Add cleaned-up xDuoo X3 supportSolomon Peachy1-0/+7
Cleaned up, rebased, and forward-ported from the xvortex fork. (original credit to vsoftster@gmail.com) Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
2018-06-28Agptek: Fix headphones detectionMarcin Bukat1-1/+1
Change-Id: Id43bfee7357eef8dda6a617c1207b930f3ea90a0
2018-06-28Agptek: Fix support for empty strings in sysfs helper functionsMarcin Bukat1-5/+19
Change-Id: Id5573059da2b454f5336b3cebce7c09a83a7826f
2018-06-20Agptek Rocker: Add missing lcd_set_active(true) in lcd_init_device()Marcin Bukat2-0/+6
This should fix problem introduced in 5c015ad resulting in not updating screen properly in wps. Change-Id: Ie36b6edfcfc7d425c84381402adae79d77fcc92f
2018-06-14Agptek Rocker: Slightly tweak build procedureMarcin Bukat1-0/+1
In bootloader build create stripped binary bootloader.rocker Change-Id: Id67bebe82251fac22ad905ad3d49525691816746
2018-06-14Agptek Rocker: Implement lcd_enable()Marcin Bukat2-1/+30
In theory this should slightly improve battery life. Change-Id: Iaf55beb7dbc20e7562017958aeb0386459d49a31
2018-06-12Silence warningsMarcin Bukat1-0/+1
Change-Id: Ied5ad7d3c193427892b681f95b44fcac5af0e16e
2018-06-12Fix merge errorMarcin Bukat1-9/+0
Change-Id: If1b5258bb86e477ac4cb1adb95f6c887a2ef8810
2018-06-12Agptek Rocker: Callibrate power discharge/charge curveMarcin Bukat1-5/+3
Thanks 'elakir' and 'pechenyh' rockbox forum users for performing battery bench. Change-Id: I25d350deaa805a9ecdc236f81f0ad127a169de52
2018-06-12Agptek Rocker: Fix saving time in hwclockMarcin Bukat1-1/+22
Rocker is configured with CST (China Standard Time) timezone which is UTC+8. Time in RTC is stored in UTC. Change-Id: Ib9c03e0f0a1d3ea3a69f238cb083809ea9386e2a
2018-06-12Agptek Rocker: Implement RTC supportMarcin Bukat1-2/+8
Add define in config file to enable RTC support in rockbox, Fix time_menu.c to include radio.h only when tuner is present Implement time setting function on linux (was empty stub) Not tested. Change-Id: I40e6c4a6c1b66ada9cf4e698e502e221d0fc44df
2018-06-12Agptek Rocker: Implement USB mass storage driverMarcin Bukat4-12/+135
Agptek uses composite android driver. Change-Id: Iece188ad640f3dfd24c171946c14da4c3516b6d5
2018-06-12Agptek Rocker: Make simulator compile and runMarcin Bukat1-1/+1
There are some things to fix left but at least it starts and you can navigate. Change-Id: I76084bfc50334deeb55f46a10e97b5d6639815ac
2018-06-12Agptek Rocker: Restrict root directory to SD onlyMarcin Bukat2-1/+14
Actual / of underlying linux OS should not be available to user. I am still not sure if implementation is correct. It doesn't perform any relative path sandboxing for example. Change-Id: Ic577a10f3947f6e950e2c4d03173f9f207395eb7
2018-06-12Agptek Rocker: Initial commitMarcin Bukat20-2/+1081
Change-Id: I26b51106c7b1c36a603fba6d521e917d79b5a95b
2018-04-20Add battery calibration for Sony NWZ A10.Michael Giacomelli1-1/+1
2018-01-13Add information for NWZ-S630 and NWZ-S730Amaury Pouly1-2/+127
Change-Id: I4c48c9a8d862eaf67ec27c1c13b9b7f1fb204fc0
2018-01-07sonynwz: Add NVP information for NWZ-A810Amaury Pouly1-1/+126
Change-Id: I37671ddf15ee1a4b469f97fe06ec86249ff9ce60
2017-11-14nwz: fix tuner on older players (also fixes audio because Sony)Amaury Pouly2-4/+30
Change-Id: I1915bcfc27708d34a9dde81fce1e0bc0b01e1040
2017-11-06nwzlinux: add support for radioAmaury Pouly3-0/+236
None of the Sony up to A15 seem to support RDS (they use either Si4702 or Si4708), thus I did not add any code to support RDS. Change-Id: I64838993b9705b36b94665f8470c7a89c772c961
2017-11-01nwztools: add NW-A46 to the databaseAmaury Pouly2-3/+4
Change-Id: I85dc2080e0be07ff689384c0445f4f1595baf4ac
2017-10-24nwztools: add NW-A45Amaury Pouly2-3/+4
Change-Id: I75a7723498564ee73c3682391582e354ad672fd7
2017-10-24nwztools: add NW-ZX300AAmaury Pouly2-3/+4
Change-Id: I8b311ed6b48b92b9ecf4fb25c19119cfb2d5beb1
2017-10-17sonynwz: add NW-A47 to the database and regenerate nwz_db.{c,h}Amaury Pouly2-3/+4
Change-Id: I6331a48a4d336348e90a32cf151427b29eeedb2b
2017-10-07sonynwz: add api and debug entries for "acoustic" and "cue/rev" modeAmaury Pouly1-12/+45
We don't really know what those are supposed to do. They seem to change the volume curve but it is not very clear what is the intended purpose. Change-Id: I65f5d18aba139844c23df092277ba17ee8518f96
2017-10-07Add alsa wrappers to get control valuesAmaury Pouly2-14/+63
Change-Id: Ic870261888f35717bfa939029dcd64bfe1a3df33
2017-10-07nwztools/scsitools: fix databaseAmaury Pouly1-2/+2
I forgot to add the NW-ZX300 to its series Change-Id: I78fd9440492e1868b887f6a2e137d4d0c2ff199a
2017-10-07Add Sony NW-ZX300 model id to databaseAmaury Pouly2-1/+2
Change-Id: I8e7a14b86408c52cbd4a059e2db6a9c9d0966fc6
2017-10-06cleanup linux cpuinfo codeAmaury Pouly2-18/+22
sonynwz: quirk for cpufreq broken driver There was some redundancy between frequency_linux(cpu, true) and current_scaling_frequency(), also I see no reason to compile the cpuinfo stuff unconditionally and the scaling info only on DX since it was already printed some partial scaling info anyway. Thus compile all the code unconditionally and simplify the logic in the debug menu. Also avoid putting buffers of size PATH_MAX on stack since it can be quite big and we only requires 64 bytes for those paths. On Sony NWZ, the cpu driver reports frequency in MHz instead of kHz thus we need to make the cpuinfo code aware of that bug. Change-Id: I61af45ab5f179ecc909b4841b9137a915a60193a
2017-10-06sonynwz: add nvp nodes for NW-A40/ZX300, various fixes for toolsAmaury Pouly2-1/+150
We still miss the model IDS for those device so scsitool won't be able to recognize them automatically. Change-Id: I17ae0f0d95c011cea8e289def63c7673b6c4b667
2017-10-01sonynwzlinux: print debug info to log on crashAmaury Pouly1-0/+30
Print the crash info and dump the memory map from /proc/self/maps Change-Id: I99de32e5e6cca3bf1aca4fa253834ca4ad599fbe
2017-10-01sonynwza10/a20: enable pcm frequency selectionAmaury Pouly3-0/+15
Change-Id: I335fcdbb652253e777d0d7406545d0d44d98f4f0
2017-09-22Fix bug in pcm-alsa.cAmaury Pouly1-1/+1
I introduced the bug by mistake when adding support for 32-bit sample rate. Change-Id: I5ac53917c95327672284707b69c59bb98d1aecd7
2017-09-17fix red on ypr0/ypr1Amaury Pouly1-2/+0
Always compile in pcm_alsa_set_digital_volume, the linker will optimize it away on targets that don't use it. Change-Id: Ia21c3eaa8a64b75761ab5d056361e7ed1fcf949a
2017-09-17Add simulator support for the A860Amaury Pouly1-0/+7
This requires a few changes unrelated to the A860 because configure unsets APPLICATION but the NWZ is an application! Change-Id: Id91aa23193383ac95886b281653da5286edd9caf
2017-09-17Add support for the NWZ-A860Amaury Pouly2-4/+60
Change-Id: Ibf0c5168ac31d4ba2aeaa86cbeca37a1011b75fa
2017-09-17sonynwz: fix various drivers, notably touchscreen relatedAmaury Pouly3-36/+44
Change-Id: If43087ec9ad405ee6eeae8bedba8d221f8fb142f
2017-09-06fix yellowsAmaury Pouly1-1/+0
Change-Id: Ie27d3aa7d2485b4eb053af48ba34ad6526bf6472
2017-09-05Initial commit for the Sony NWZ linux portAmaury Pouly28-19/+4416
SUPPORTED SERIES: - NWZ-E450 - NWZ-E460 - NWZ-E470 - NWZ-E580 - NWZ-A10 NOTES: - bootloader makefile convert an extra font to be installed alongside the bootloader since sysfont is way too small - the toolsicon bitmap comes from the Oxygen iconset - touchscreen driver is untested TODO: - implement audio routing driver (pcm is handled by pcm-alsa) - fix playback: it crashes on illegal instruction in DEBUG builds - find out why the browser starts at / instead of /contents - implement radio support - implement return to OF for usb handling - calibrate battery curve (NB: of can report a battery level on a 0-5 scale but probabl don't want to use that ?) - implement simulator build (we need a nice image of the player) - figure out if we can detect jack removal POTENTIAL TODOS: - try to build a usb serial gadget and gdbserver Change-Id: Ic77d71e0651355d47cc4e423a40fb64a60c69a80
2017-04-19RDS on Samsung YPR0: Make compatible with RDS changesMichael Sevakis1-3/+8
si4700_rds_process() should only be called on the rising edge of RDSR since it now rejects segments out of sequence. Receiving the same segment multiple times due to rapid polling is of course out of sequence so do no more processing until RDSR bit cycles to avoid repeatedly sending the same data instance. I don't have the tools installed to test compile so there could be typos. However, I tested on gigabeat-s with YPR0 setup copied over and it fixed the issue with PS and RT. Change-Id: Iab511bef64030de8c07d4d22dcf338c8720e2ae2
2017-02-11Improve radio RDS driver and frameworkMichael Sevakis1-5/+1
* Remove unused bits like the radio event and simplify basic radio interface. It can be more self-contained with rds.h only required by radio and tuner code. * Add post-processing to text a-la Silicon Labs AN243. The chip's error correction can only do so much; additional checks are highly recommended. Simply testing for two identical messages in a row is extremely effective and I've never seen corrupted text since doing that, even with mediocre reception. Groups segments must arrive in order, not randomly; logic change only accepts them in order, starting at 0. Time readout was made a bit better but really we'd need to use verbose mode and ensure that no errors were seen during receiving of time and more checks would be need to have a stable PI. The text is the important bit anyway. * Time out of stale text. * Text is no longer updated until a complete group has been received, as is specified in the standard. Perhaps go back to scrolling text lines in the radio screen? * Add proper character conversion to UTF-8. Only the default G0 table for the moment. The other two could be added in. * Add variants "RDS_CFG_PROCESS" and "RDS_CFG_PUSH" to allow the option for processed RDS data to be pushed to the driver and still do proper post-processing (only text conversion for now for the latter). Change-Id: I4d83f8b2e89a209a5096d15ec266477318c66925
2017-02-04Fix dangerous castsAmaury Pouly1-1/+1
On Windows 64-bit, the size of long is 32-bit, thus any pointer to long cast is not valid. In any case, one should use intptr_t and ptrdiff_t when casting to integers. This commit attempts to fix all instances reported by GCC. When relevant, I replaced code by the macros PTR_ADD, ALIGN_UP from system.h Change-Id: I2273b0e8465d3c4689824717ed5afa5ed238a2dc
2016-05-14dx90: fix spurious button eventsAmaury Pouly1-4/+4
The kernel on this device reports nonexistent key presses, in particular it reports right presses when pressing the left button... Since when it happens, the right press comes after the left one, the new code simply ignores any right press when the left button in pressed. Change-Id: Ib6ced02682d9cecf4c7f6c58834907a667419cd7
2016-04-06fix red againMihail Zenkov1-10/+4
Change-Id: I8e7ccbcf8a856bc3e08145a795695fb675794495
2016-04-06fix redMihail Zenkov1-5/+3
Change-Id: Iaec43120ef213d9a3c77201bdf50ebbedd1c5b76
2015-02-14iBasso DX90 sound enabling fixEduard Kutuev1-1/+1
Writing 0 instead of '0' to /sys/class/codec/wm8740_mute enables sound on DX90. Change-Id: Ie8e3980cac6b9298ef2c94f2faac023811d47b32
2015-02-07iBasso DX50: Digital filter roll off setting.Udo Schläpfer4-1/+21
This patch enables "Settings -> Sound Settings -> DAC's filter roll-off" for the iBasso DX50. Confirmed working on iBasso DX50, firmware 1.6. Change-Id: I901615541d8fa4f6550c5156cf8c6069f5bdf9d0
2015-02-02iBasso DX50/DX90: User selectable USB mode.Udo Schläpfer1-2/+0
Depends on http://gerrit.rockbox.org/r/#/c/1043/. This patch adds a new setting in Settings -> General -> System: USB Mode. Usable in Quickscreen and Shortcuts. Possible settings are: - Mass Storage: The default, on USB connect export the internal and external drives as usual. Rockbox will exit gracefully in this case, since the internal drive (/mnt/sdcard) is exported as mass storage device and Android prevents Rockbox from continued execution. - Charge Only: USB charge only, do not export the internal and external drives. This will not close Rockbox. - ADB: Enable the Android Debug Bridge. This will not close Rockbox. Charge only and ADB are actually the same, since it is not yet established if charge only is doable without adb and major hooks into Android. German translation provided. This may be genric for Android based devices but is only enabled for iBasso Devices. Other maintainers may choose do adopt this. Change-Id: I616247c29946c6595ebcf8f0c14b2410c9f0498b