01-13-2021, 02:11 AM
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/1AVRJzdc...sp=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
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/1AVRJzdc...sp=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