Debian Bullseye for OpenFrame

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
User avatar
roobarb!
Posts: 1756
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Debian Bullseye for OpenFrame

Post 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-)
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
User avatar
roobarb!
Posts: 1756
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Debian Bullseye for OpenFrame

Post 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.
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post 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
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post 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
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post 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
User avatar
roobarb!
Posts: 1756
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Debian Bullseye for OpenFrame

Post 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
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
mrw
Posts: 47
Joined: Mon Jan 02, 2012 6:30 pm

Re: Debian Bullseye for OpenFrame

Post 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 ?
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post by Man in a van »

xfce

Image

ronnie
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post 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
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post 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: :?:
User avatar
roobarb!
Posts: 1756
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Debian Bullseye for OpenFrame

Post 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! :)
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post 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
User avatar
roobarb!
Posts: 1756
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Debian Bullseye for OpenFrame

Post 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. :)
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post 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
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post 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
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post by Man in a van »

Image


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

ronnie
User avatar
alexis92
Posts: 24
Joined: Fri Jun 03, 2022 10:18 pm

Re: Debian Bullseye for OpenFrame

Post 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.
User avatar
roobarb!
Posts: 1756
Joined: Sat Mar 05, 2011 1:30 pm
Location: Salford, UK
Contact:

Re: Debian Bullseye for OpenFrame

Post 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-)
BirdsLikeWires - Get fresh builds of Debian Bullseye and Bookworm for OpenFrame with the latest 5.10 and 6.1 kernels! 8-)
Man in a van
Posts: 503
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: Debian Bullseye for OpenFrame

Post 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
Paul Webster
Posts: 155
Joined: Mon Jul 18, 2011 7:56 am

Re: Debian Bullseye for OpenFrame

Post by Paul Webster »

At the moment ...
of@openframe:~$ sudo of-update
Server error by openbeak.net (500).
Update aborted.
Post Reply