Squeezebox: Difference between revisions

From sheep
Jump to navigation Jump to search
(Created page with "=Setup with no display= - Plug in the ethernet cable and pull out the power plug. - Do a factory reset. Point the remote at the display while pressing the ADD ("+") button...")
 
No edit summary
Line 49: Line 49:
hdmi_cvt 1024 600 60 6 0 0 0
hdmi_cvt 1024 600 60 6 0 0 0



===device===
the black dac from ebay is PCM5122 and works as the iqaudio dac+

dtoverlay=iqaudio-dacplus


===calibrate touch screen===
===calibrate touch screen===
Line 55: Line 60:
=== make jivelite use the touch library and the right input ===
=== make jivelite use the touch library and the right input ===


copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh
copy the jivelite off the device ssh or mount the sd card:
scp tc@pi-machine:/mnt/mmcblk0p2/tce/optional/pcp-jivelite.tcz .

unpack

unsquashfs pcp-jivelite.tcz
vi squashfs-root/opt/jivelite/bin/jivelite.sh


edit and add after the first line the following:
change prefix the jive lite command to say
SDL_MOUSEDRV=TSLIB SDL_MOUSEDEV=/dev/input/by-id/usb-WaveShare_WaveShare_Touchscreen_2016-11-06-event-if00 /opt/jivelite/bin/jivelite >> /var/log/jivelite.log 2>&1


export SDL_MOUSEDEV=/dev/input/event0
repackage
export SDL_MOUSEDRV=TSLIB
mksquashfs squashfs-root/ pcp-jivelite.tcz -noappend -always-use-fragments


copy it back


=== bluetooth audio input ==
=== bluetooth audio input ===


not yet working
not yet working

Revision as of 19:48, 29 December 2021

Setup with no display

- Plug in the ethernet cable and pull out the power plug. - Do a factory reset. Point the remote at the display while pressing

 the ADD ("+") button.  Plug in the power plug and count to 7, then
 release the ADD button on the remote.

- Welcome to Squeezebox. Wait 15 seconds and it will push right by

 itself.

- Language selection. Press right-arrow to select English. - Set up networking. Press right-arrow. - Choose wireless or ethernet. Press down-arrow once, then

 right-arrow for ethernet.

- IP address. Press right-arrow to choose DHCP. - Wait 30 seconds. Press right-arrow to select your SqueezeCenter

 server that (hopefully) it will have found.
 

The timing isn't really critical. For the factory setup you have to hold the button pressed for (I'm guessing) at least 5 seconds, but if you hold it too long you end up forcing another factory reset after it reboots. The 15 seconds just means wait at least 15 seconds. DHCP negotiation usually takes only a few seconds, but I've sometimes seen it take 10-20 seconds on my network.

Factory reset, right, right, down, right, right, right.

NET-UDAP perl script for setup

wifi cards

SAMSUMG NP-R40 17-000660 Sony Vaio VGN-FS515H Internal WLAN WIFI Wireless Card Board 178901432 AR5BMB5 search for AR5BMB5 in the description

squeezebox boom problems

malloc fail

http://broadlyuseless.com/uncategorized/how-to-fix-a-flashing-unresponsive-squeezebox-boom/

build your own

Make sure you have enough power if driving a touch screen and the pi or you get nasty pops

configure the screen

Edit the config.txt in the first partition add the lines for your touch device e.g.

 hdmi_group=2
 hdmi_mode=1
 hdmi_mode=87
 hdmi_cvt 1024 600 60 6 0 0 0


device

the black dac from ebay is PCM5122 and works as the iqaudio dac+

dtoverlay=iqaudio-dacplus

calibrate touch screen

/usr/local/bin/ts_calibrate

make jivelite use the touch library and the right input

copy /opt/jivelite/bin/jivelite.sh to /mnt/mmcblk0p2/tce/jivelite.sh

edit and add after the first line the following:

   export SDL_MOUSEDEV=/dev/input/event0
   export SDL_MOUSEDRV=TSLIB


bluetooth audio input

not yet working

stopping squeezelight and running the following works:

   bluealsa-aplay -d plughw:CARD=sndrpijustboomd,DEV=0 00:00:00:00:00:00

using the following radio url doesn't work:

wavin:bluealsa:HCI=hci0,DEV=xx:xx:xx:xx:xx:xx,PROFILE=a2dp