Pine64 as squeezebox touch replacement - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Pine A64 Projects, Ideas and Tutorials (https://forum.pine64.org/forumdisplay.php?fid=19) +--- Thread: Pine64 as squeezebox touch replacement (/showthread.php?tid=3482) Pages:
1
2
|
RE: Pine64 as squeezebox touch replacement - Learnincurve - 12-11-2020 (12-08-2020, 02:53 PM)tllim Wrote:I have already resolved quite a few issues with the new, mainline version, so I wouldn't spend too much time on the old image . I'll try to post an update here as soon as I have something working.(12-07-2020, 01:35 AM)Learnincurve Wrote:Thanks, works now.(12-06-2020, 11:47 PM)tllim Wrote:Sorry! Please try this link(12-04-2020, 07:31 AM)Learnincurve Wrote:(11-05-2020, 07:19 PM)WeeGee Wrote: I want to save my pine64 from collecting dust, and there I found this cool project RE: Pine64 as squeezebox touch replacement - Learnincurve - 01-06-2021 The new system is working now, including IR (using ir-keytable). I was hoping to be able to make the screen zoom in when accepting IR commands, but my coding skills are not up to it, so this will take time if I'm going to do it myself, but the system is perfectly usable without it. If anyone who reads this is able to code lua, and would be interested to help, please let me know. The original AutoSkin applet (from the squeezebox touch) is available at https://raw.githubusercontent.com/ralph-irving/squeezeplay/master/src/squeezeplay_fab4/share/applets/AutoSkin/ and needs reworking to listen for keypress events instead of IR codes. Post back if you're interested. RE: Pine64 as squeezebox touch replacement - Learnincurve - 01-13-2021 This is still a work in progress, but everything is working except for the aforementioned jivelite zoom when using a remote. I still haven't done any work on realtime priority or system optimisation, but will update when the system is better optimised for audio. Image exported to https://drive.google.com/file/d/1AVRJzdcRELYaGCUFIcErUjBlXrxvC0Aa/view?usp=sharing "root" and "mediauser" passwords: "1234" You will need to edit /etc/default/squeezelite line 10: to refernce your soundcard/USB DAC and line 20: the -D :xxxx option, depending on your DAC's dsd capabilities. Various threads discuss the dual function (OTG/USB) of the upper USB port. To guarantee the best signal path, it is probably best to plug your DAC into the lower port (closest to the board). IR: I updated the kernel just before creating the image, and inadvertently disabled the IR receiver in the devicetree. To enable receiving IR events: 1. You will need a suitable IR receiver component. I use a VS1838B which works fine 2. Do: "sudo fdtput -t s /boot/dtb/allwinner/sun50i-a64-pine64-plus.dtb /soc/ir@1f02000 status okay" NOTE: You will need to repeat the above whenever you update your kernel, or create a file in /etc/kernel/postinstall-d/ containing it, as IR is disabled in the devicetree by default. The image is set up to receive nec IR commands through ir-keytable (lirc is not installed) 3. Edit /etc/rc_keymaps/jivelite to map your IR codes to key presses. Most - but not all of - my codes are taken from the squeezebox touch remote control (available to the logitech Harmony), the rest are stolen from a HiFo360 HFD1B remote that I had lying around. The Pine64 seems to be able to use any nec protocol codes you can throw at it, so using ir-keytable -p nec -t Read the input codes from you remote and adjust the /etc/rc_keymaps/jivelite file accordingly |