SqueezePlay on Debian Bookworm Openframe 2 - my installation

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
User avatar
pete
Posts: 2952
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

SqueezePlay on Debian Bookworm Openframe 2 - my installation

Post by pete »

Tried latest Debian Bookworm on my Openframe 2.

Hardware used
1 - 32Gb mini USB stick
2 - Combo Intel mini pci card (installed last year).
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)

1 - Wrote image to USB stick via balenaEtcher.AppImage on Linux laptop
2 - booted via USB stick
3 - configured time - timedatectl
sudo timedatectl set-timezone your_time_zone
sudo timedatectl set-timezone America/Chicago
4 - ran sudo ./of-expand - appeared to work fine. Rebooted to a crash on boot
5 - checked stick with GParted and saw that partition looked small with errors. Checked it and then it displayed full partition ext2
6 - Openframe 2 booted fine afterwards.
7 - Just hearing static when rebooting.
8 - ran sudo of-install squeezeplay - script appeared to run fine with no errors
9 - rebooted and ended with an xwindows prompt - no squeezeplay
10 - I could run squeezeplay and it would start fine.
11 - still just hearing static for sound
My quickie fix got ride of the static but still only sound via the audio jack. For me this is better than sound coming from both speaker and audio jack.
sudo nano /etc/modprobe.d/alsa-base.conf
and added this which got rid of the static.
options snd-hda-intel model=generic
12 - installing intel wifi card
apt update && apt install firmware-iwlwifi
modprobe -r iwlwifi ; modprobe iwlwifi
13 - configured yaml file with WiFi settings - rebooted
14 - sound and wifi working now but not automagically booting to Squeezeplayer and shutdown and reboot stuff not working
15 - did the sudo thing for the file named openframe_power.sh

Code: Select all

#!/usr/bin/env bash

# openframe_power v1.11 (29th April 2020) by Andrew Davison
#  Executed by OpenFramePower applet.

if [ "$1" = "quit" ]; then

	sudo /usr/bin/xset -display :0.0 dpms 0 0 0
	[ -e /tmp/of_initial_bl ] && sudo /usr/local/sbin/of-backlight `cat /tmp/of_initial_bl` &

fi

if [ "$1" = "relaunch" ]; then

	sudo sleep 2
	sudo killall jive

fi

if [ "$1" = "reboot" ]; then
		
	sudo sleep 2
	sudo systemctl reboot -i

fi

if [ "$1" = "halt" ] || [ "$1" = "poweroff" ]; then

	sudo sleep 2
	sudo systemctl poweroff -i

fi

exit 0
added the following to sudoers file.

Code: Select all

# Allow squeezeplay to run commands in /opt/squeezeplay/bin/openframe_power.sh, with no need for password
squeezeplay ALL = NOPASSWD: /bin/systemctl reboot,  /bin/systemctl reboot --no-wall -i, /bin/systemctl reboot -i, /bin/systemctl poweroff -i, /bin/ki>
16 - rebooted and all if fine.

17 - installed Webmin
webmin.jpg
Thank you Andy!!!
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
User avatar
hawsey
Posts: 2069
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay on Debian Bookworm Openframe 2 - my installation

Post by hawsey »

Excellent, good work Pete , I'll have to try this out on my Open frame 2

Sent from my 2107113SG using Tapatalk

Happy Joggling
User avatar
pete
Posts: 2952
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: SqueezePlay on Debian Bookworm Openframe 2 - my installation

Post by pete »

Changing out the Broadcom combo WiFi to an Intel combo WiFi worked nicely. Way back tried a Broadcom HD video card to run Kodi and stream video and it worked well with Ubuntu 14.X.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
User avatar
hawsey
Posts: 2069
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay on Debian Bookworm Openframe 2 - my installation

Post by hawsey »

Have you a link to the one you bought Pete please

Sent from my 2107113SG using Tapatalk

Happy Joggling
User avatar
pete
Posts: 2952
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: SqueezePlay on Debian Bookworm Openframe 2 - my installation

Post by pete »

Its on Amazon for around $20 USD.

https://www.amazon.com/gp/product/B01AU ... UTF8&psc=1

Be carefull when you open the Openframe 2. I used a credit card to lift the LCD while pushing on the tabs from the inside.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

Auto mater
User avatar
hawsey
Posts: 2069
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay on Debian Bookworm Openframe 2 - my installation

Post by hawsey »

Cheers Pete , does this look like the same one ?

Wireless-AC7260 7260NGW 1200M Dual-Band Wifi BT4.0 Card For T440 X240 B40 B50 Y40 Y70 Y50 FRU 04X6007 Wireless-AC7260 7260NGW 1200M Dual-Band Wifi BT4.0 Card For T440 X240 B40 https://amzn.eu/d/95Zvhyy[IMG]https://u ... 92aa4f.jpg[/IMG]

Sent from my 2107113SG using Tapatalk

Happy Joggling
User avatar
roobarb!
Posts: 1747
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: SqueezePlay on Debian Bookworm Openframe 2 - my installation

Post by roobarb! »

Nice tip on the wireless card, @pete - I tried for ages to get that Broadcom one to work well. It technically works, but performance was always awful unless you used the proprietary driver, which I believe is potentially problematic for me to distribute. Even then it wasn't great.

The OpenFrame 2 behind me still has a Crystal HD accelerator card in it... that was another thing I had limited success with. 🤷‍♂️
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
Post Reply