WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Roon Bridge on RPI4b and Tiny Core Linux  (Read 4087 times)

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Roon Bridge on RPI4b and Tiny Core Linux
« on: December 08, 2022, 11:12:27 AM »
Hello,

Someone please help, I want to install roon bridge on Tiny Core Linux - Raspberry PI 4b - 8GB RAM version.

Thanks a lot

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #1 on: December 08, 2022, 02:09:55 PM »
Is there an open source version of roon/ropieee?

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #2 on: December 08, 2022, 02:47:03 PM »
Is there an open source version of roon/ropieee?

I don't want to use ropieee for may reasons, like I can'y use hidden WiFi SSID, it's big and not so customizable.

In the mean time, I manage to successfully install roon bridge, but I have two issues:
- it tells me ALSA libraries is not installed;
- it installs in /opt/RoonBridge, so I want persistence for opt folder. When I use the backup command, after reboot it changes the tc password, and I can't log in again.

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #3 on: December 08, 2022, 03:42:57 PM »
I solve the problem with passsword not keeping after reboot.

But ALSA still refuse to work....

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #4 on: December 09, 2022, 02:49:12 AM »
What aspect of alsa doesn’t work? Do you get an error message? What does “aplay -l” report?

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #5 on: December 09, 2022, 04:33:49 AM »
I made a fresh installation - from scratch - and now ALSA it works.

In the mean time, I tried to configure WiFi: I successfully saw the wlan connection in iwconfig result, but now I don't figure out how to create a connection to a hidden SSID, with password, and make this configuration persistent of course ...
« Last Edit: December 09, 2022, 04:35:59 AM by cosminbro »

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #6 on: December 09, 2022, 07:56:00 AM »
I use the tutorial from here:
https://iotbytes.wordpress.com/make-raspberry-pi-3-built-in-wifi-module-work-with-picore/

but after reboot, it doesn't connect automatically, I have to manually start wifi.sh again....

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #7 on: December 09, 2022, 07:59:32 AM »
Did you try setting wifi.sh to run from bootlocal.sh with a pause before it?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #8 on: December 09, 2022, 08:42:49 AM »
Hi cosminbro
The tutorial you followed said add this line to your  bootlocal.sh  file:
Code: [Select]
/usr/local/bin/wifi.sh -a 2>&1 > /tmp/wifi.log
Is that line still in your  bootlocal.sh  file?
Does the file  /tmp/wifi.log  exist?
Are there any error/warning messages in  /tmp/wifi.log?

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #9 on: December 09, 2022, 11:55:34 AM »
Thanks to all, I manage to get it work :)

I write a complete tutorial here, you can include in a new topic if you want:

https://community.roonlabs.com/t/install-roon-bridge-on-tiny-core-linux/226067

Offline cosminbro

  • Jr. Member
  • **
  • Posts: 68
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #10 on: December 13, 2022, 11:45:43 AM »
I have an issue: how can I block on-board audio and HDMI audio, and prevent them to appear as sound output options, and make this persistent?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #11 on: December 14, 2022, 01:57:52 AM »
Yes, blacklist the alsa module(s) for those. I don't have a rpi4 so can't comment on the details.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #12 on: December 14, 2022, 09:35:28 AM »
Hi cosminbro
According to the kernel documentation:
Code: [Select]
module_blacklist=  [KNL] Do not load a comma-separated list of
modules.  Useful for debugging problem modules.
found here:
https://mjmwired.net/kernel/Documentation/kernel-parameters.txt

So adding this to your  cmdline.txt  file should work:
Code: [Select]
module_blacklist=alsa
The  cmdline.txt  file should be in the first partition where your  config.txt  file is.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 722
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #13 on: December 14, 2022, 09:37:18 AM »
And don't forget to check the config.txt file with all the options to set the audio and sound parameters with the 3.5jack and hdmi.

Here's the great doc/info from raspberrypi.

https://www.raspberrypi.com/documentation/computers/config_txt.html

I even see this
https://www.raspberrypi.com/documentation/computers/config_txt.html#test_mode

That not so documented with another manufacture.


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Roon Bridge on RPI4b and Tiny Core Linux
« Reply #14 on: December 14, 2022, 11:24:29 AM »
I think he wants to get sound from another output? Disabling alsa core, not just the specific alsa modules, would disable all sound.
The only barriers that can stop you are the ones you create yourself.