Page 1 of 9

Debian Bullseye for OpenFrame

Posted: Fri May 27, 2022 2:32 am
by roobarb!
________________________________________________________________

Debian Bullseye for OpenFrame (Kernel 5.10)
Operating System Patches / Kernel Patches / Build Log
________________________________________________________________


We have once again outlived another long-term-support operating system! :lol:

This time we're going completely modern; Debian Bullseye with the officially supported 5.10 kernel branch - with working audio switching!

One really nice thing is that we're now in line with the latest Raspberry Pi operating system, meaning a lot of their documentation should be now be applicable to the OpenFrame. Hardware variations dependent of course, but still handy given their huge user base of tinkerers.

Before anybody asks, no, our old nemeses of Imagination Technologies and Intel still prevent anybody from having OpenGL support on the GMA500 Poulsbo chipset. However, we are using the kernel driver with... well, whatever updates it has seen in recent years. ;)

The automated build system lives on (in fact it's just been completely refreshed) so you should always be able to visit the link up above and get the very latest kernel with a fully patched operating system. Build logs are here in case you want to check the latest version came together without errors.

As with the previous image this is command line only out of the box, created to be as 'vanilla' as possible. This means you can use instructions available for any Debian Bullseye system to install whichever GUI environment you might like. Or none at all.


Highlights
  • Single image for any OpenFrame.
  • Built for size; about 430 MB space used initially.
  • Fully working audio and video with kernel drivers.
  • Simple before-boot wireless network configuration.

Installation and Setup

So I'm not editing in multiple places, please check the instructions on birdslikewires.net.


Issues

- Right now I have not tested the of-install scripts, so these are likely to be a disaster.
Rather than hold up the release for a few convenience scripts, I'll get around to these when I can.™

- SqueezePlay is in dire need of a revamp.
I've not been using it recently, though I am keen to update it... check my trade marked comment above.

- Website instructions are a bit outdated.

I hope this update finds you all well and you can make good use of it! 8-)

Re: Debian Bullseye for OpenFrame

Posted: Fri May 27, 2022 2:50 am
by roobarb!
First automated copy should be kernel 5.10.118, just brewing.

I originally got things working with a 5.10.100 build, but this one should be a little more polished and a little less rickety.

Re: Debian Bullseye for OpenFrame

Posted: Fri May 27, 2022 2:28 pm
by Man in a van
Bonza !!

Just a quick install, downloaded squeezelite and set output as

Code: Select all

sysdefault:CARD=MID
using the headphone output.

Seems stable enough, though I don't have much spare time today :(

Thanks Boss ;)

ronnie

Re: Debian Bullseye for OpenFrame

Posted: Fri May 27, 2022 7:44 pm
by Man in a van
I updated Squeezelite from the default Debian install, to Ralphy's version for Joggler
openframe
Player Model: SqueezeLite
Player Type: squeezelite
Firmware: v1.9.8-1317
Player IP Address: 192.168.1.101
Player MAC Address:

openframe
Player Model: SqueezeLite
Player Type: squeezelite
Firmware: v1.9.9-1395
Player IP Address: 192.168.1.101
Player MAC Address:
then installed Jivelite as user "of"

Image

still using the headphone output :)

ronnie

Re: Debian Bullseye for OpenFrame

Posted: Fri May 27, 2022 8:25 pm
by Man in a van
I have just plugged in a dac. :roll:

I connected a passive usb hub, added the 16gb usb stick with the image, and plugged in an old North Star Design Essensio dac;
reconfigure the squeezelite settings and started playback.

I had to adjust the volume slider on the screen to 100% but the dac has no software volume setting, it also has a poor linux driver. I often get White noise (I think that is what it is, or Pink) when I change bitrate.

Whatever, using Qobuz on my rpi LMS, the dac faithfully indicates the change of bitrate from 44 to 48 and to 96 kHz depending on the Album resolution. 8-)

ronnie

Re: Debian Bullseye for OpenFrame

Posted: Sat May 28, 2022 12:25 am
by roobarb!
Man in a van wrote: Fri May 27, 2022 8:25 pmWhatever, using Qobuz on my rpi LMS, the dac faithfully indicates the change of bitrate from 44 to 48 and to 96 kHz depending on the Album resolution. 8-)
Awesome! :D

Re: Debian Bullseye for OpenFrame

Posted: Sat May 28, 2022 6:07 pm
by mrw
Making a start on this, many thanks for making it available.

There is technical snag with updating passwords.

Code: Select all

passwd
Changing password for of.
Current password: 
passwd: Authentication token manipulation error
passwd: password unchanged
I believe that there are some permissions/setuids/setgids/whatever wrong in the root file system. But I have not researched properly.
I needed to reinstall both libpam-modules-bin and passwd before I could get it to work.

Code: Select all

sudo apt reinstall libpam-modules-bin
sudo apt reinstall passwd
It seems to be working thereafter. So far.

I also note that /home is owned by user of, should this not be root ?

Re: Debian Bullseye for OpenFrame

Posted: Sat May 28, 2022 8:15 pm
by Man in a van
xfce

Image

ronnie

Re: Debian Bullseye for OpenFrame

Posted: Sat May 28, 2022 10:22 pm
by Man in a van
I downloaded and installed Ralphy's Squeezeplay, but can't get any audio output at the moment. I'm not familiar with this Desktop :?:

Image

ronnie

Re: Debian Bullseye for OpenFrame

Posted: Sat May 28, 2022 11:18 pm
by Man in a van
I tried to "sudo of-install squeezeplay" but that failed. :(

I made a fresh image and downloaded Raphy's squeezeplay and using the info from this link, got sound.

https://forums.slimdevices.com/showthre ... post891983

Image

The mouse doesn't work, I have to manoeuvre the arrow like a trackpad and then tap :roll:

No album art either at the moment :(

ronnie

Edit: Artwork just appeared on a Radio Paradise flac stream :) 8-)

Edit 2: And disappeared on the next track :roll: :?:

Re: Debian Bullseye for OpenFrame

Posted: Sun May 29, 2022 1:17 am
by roobarb!
mrw wrote: Sat May 28, 2022 6:07 pm Making a start on this, many thanks for making it available.

There is technical snag with updating passwords.
Thanks, I'm not near one I can use to test at the moment, but I'll look into this.
mrw wrote: Sat May 28, 2022 6:07 pm I also note that /home is owned by user of, should this not be root ?
Huh, yes, and I spotted this and thought I'd fixed it. Another for the list! :)

Re: Debian Bullseye for OpenFrame

Posted: Mon Jun 13, 2022 4:48 pm
by Man in a van
I have LMS installed and running :)

Should I continue as user "of" or is it best practice to create a new user ? :?

ronnie

Re: Debian Bullseye for OpenFrame

Posted: Thu Jun 16, 2022 11:32 am
by roobarb!
Man in a van wrote: Mon Jun 13, 2022 4:48 pm Should I continue as user "of" or is it best practice to create a new user ? :?
The default "of" user is in the sudoers list, so can perform superuser tasks when authenticated. So if you were being strict, yes, you could create a "squeezeplay" user with no special privileges and install LMS using that account.

Would I do it that way? Probably... but I wouldn't lose sleep if I hadn't. :)

Re: Debian Bullseye for OpenFrame

Posted: Fri Jun 17, 2022 9:14 am
by Man in a van
roobarb! wrote: Thu Jun 16, 2022 11:32 am
Man in a van wrote: Mon Jun 13, 2022 4:48 pm Should I continue as user "of" or is it best practice to create a new user ? :?
The default "of" user is in the sudoers list, so can perform superuser tasks when authenticated. So if you were being strict, yes, you could create a "squeezeplay" user with no special privileges and install LMS using that account.

Would I do it that way? Probably... but I wouldn't lose sleep if I hadn't. :)
Thanks Boss :)

I'll most likely go with a new user.

Thinks :?: ........what is a good name, beginning with r ? :idea:

ronnie

Re: Debian Bullseye for OpenFrame

Posted: Tue Jun 21, 2022 12:30 pm
by Man in a van
I tried a "new user" and downloaded squeezelite.

I could not get a list of squeezelite output devices as the "new user", both "of" and "root" provided the list.

I have abandoned "new user" in favour of "of"

Just a note:

Set up; "Betting Shop" Joggler with unpowered usb 2 hub; SD carder reader (16gb card) keyboard and mouse connected

When I log on (using the Joggler screen) there is no cursor for either the keyboard or mouse.

If I edit the network.yaml file there is still no cursor

After the save and exit I have a cursor for the keyboard when I do "sudo apt update..blah,blah..sudo reboot"

When the screen returns there is no cursor.

This in the same on a Cisco Joggler.

The Wireless connection does not work on the Cisco Joggler but does on the "Betting Shop"

ronnie

Re: Debian Bullseye for OpenFrame

Posted: Tue Jun 21, 2022 2:46 pm
by Man in a van
Image


"Betting Shop Joggler" > Bullseye > LMS v.8.3.0 > Squeezelite > Jivelite :)

ronnie

Re: Debian Bullseye for OpenFrame

Posted: Wed Jun 22, 2022 9:53 am
by alexis92
Yeah to be fair it'd probably just be best to make sure you use it with root privileges (or "of" privileges? 😂) so it doesn't run into any hitches. Keeping security in mind and all that, of course.

Re: Debian Bullseye for OpenFrame

Posted: Wed Jun 22, 2022 3:34 pm
by roobarb!
Man in a van wrote: Tue Jun 21, 2022 12:30 pmI could not get a list of squeezelite output devices as the "new user", both "of" and "root" provided the list.

Code: Select all

sudo usermod -aG audio newuser
That'll probably sort it. Users need to be members of certain groups to get permission to tinker with the various systems, audio being one of them.
Man in a van wrote: Tue Jun 21, 2022 2:46 pm"Betting Shop Joggler" > Bullseye > LMS v.8.3.0 > Squeezelite > Jivelite :)
Nice! 8-)

Re: Debian Bullseye for OpenFrame

Posted: Wed Jun 22, 2022 6:37 pm
by Man in a van
roobarb! wrote: Wed Jun 22, 2022 3:34 pm
Man in a van wrote: Tue Jun 21, 2022 12:30 pmI could not get a list of squeezelite output devices as the "new user", both "of" and "root" provided the list.

Code: Select all

sudo usermod -aG audio newuser
That'll probably sort it. Users need to be members of certain groups to get permission to tinker with the various systems, audio being one of them.
Thanks Boss, I'll give that a try. I did the regular

Code: Select all

usermod -aG sudo ronnie
which has always worked previously. I'll have search ;)

ronnie

Re: Debian Bullseye for OpenFrame

Posted: Tue Jun 28, 2022 3:29 pm
by Paul Webster
At the moment ...
of@openframe:~$ sudo of-update
Server error by openbeak.net (500).
Update aborted.