RuneAudio 0.4-beta for Raspberry Pi2/3

Raspberry Pi related support

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

Postby jlynton » 05 Dec 2017, 18:22

EZJstef wrote:Hi Jeremy,

let me know pse, how works DLNA in your side? with this image unstable here connect/disconnect all the 3s !....

tnx
stef


Sorry, but I do not use DNLA
jlynton
 
Posts: 49
Joined: 20 May 2016, 12:53

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

Postby jlynton » 05 Dec 2017, 18:28

I have been using RuneAudio 0.4-beta for Raspberry Pi2/3 today.

My setup is pi3 connecting to a NAS using NFS via wifi, and controlled using web interface and android app. Having done the Avahi fix (and the css menu-bottom adjustment), all appears to be working beautifully.

Many thanks, Frank, for a lovely job. I look forward to the definitive version 1.0!
jlynton
 
Posts: 49
Joined: 20 May 2016, 12:53

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

Postby Ripa » 11 Dec 2017, 23:10

Hi

i have an strange situation, when playing music, both screens playing and info screen toggle each 2 minutes

good job, thanks for that

Jempie
Ripa
 
Posts: 67
Joined: 04 Dec 2017, 03:55

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

Postby Ripa » 11 Dec 2017, 23:13

By the way is there can Quobus and Deezer by add in the libary.
the startup screen must high resoslution, i will try to add this

thanks
Jempie
Ripa
 
Posts: 67
Joined: 04 Dec 2017, 03:55

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

Postby hondagx35 » 12 Dec 2017, 09:27

Hi Jempie,

the output on the HDMI port is optimized to fit the 7" touch TFT.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

Postby dirtylarry » 18 Dec 2017, 15:30

This is just awesome!!...I am at work and just found this (new to PI) and was looking for a way to connect to it via android when I'm at work and cant connect to the business wifi (security reasons). I'm hoping this version with the Access point will do the trick..I really want Rune audio at work (portable media player)

Thanks so much...Ill give it a go tonight.

Larry
dirtylarry
 
Posts: 19
Joined: 18 Dec 2017, 15:21

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

Postby porcupiney » 20 Dec 2017, 19:11

Hi,

I have installed the 0.4beta from using the 20170229 image. That's a fine piece of coding!

I have now upgraded the kernel following information in this thread. Here's my version info:

###### System info ######
Linux version 4.9.70-1-ARCH (builduser@leming) (gcc version 7.2.1 20171128 (GCC) ) #1 SMP Mon Dec 18 19:28:42 UTC 2017

system time: Wed Dec 20 16:00:42 GMT 2017

system load: 0.05 0.06 0.08 1/210 2580

HW platform: unknown (--)

There were no real side-effects from the upgrade - everything still works fine.

BUT now the kernel selection options have changed, and I do not see the "Linux Kernel" and "HDMI & 3.4mm Jack" selection boxes.

Screenshot attached...
Selection_002.png
Selection_002.png (65.13 KiB) Viewed 1421 times


Did I miss a step in completing the kernel upgrade?

Cheers,

Dave Abbott
Raspberry Pi Zero W; Rune 0.5b; JustBoom Zero HAT
Raspberry Pi B 2; Rune 0.5b; JustBoom HAT
porcupiney
 
Posts: 8
Joined: 20 Dec 2017, 17:26

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

Postby janui » 20 Dec 2017, 20:42

Hi porcupiney,
I think (in fact I am sure) you have upgraded the standard RuneAudio_rpi2_rp3_0.4-beta_20160321_2GB.img.gz (v0.3-beta - 23/03/2016) image.
You made a mistake at the first step when checking the Linux version number. The RuneUI code from this image can not detect the Pi hardware platform correctly. See: runeaudio-0-4-beta-for-raspberry-pi2-3-t4434-360.html#p23634
This upgrade will only work on a Linux version higher than 4.9.30-1-ARCH and the response from redis-cli must be "08"! Please double check the redis-cli response and version.
If you get a "02" response from redis-cli please look here: raspberry-pi-zero-support-in-0-4-t3711-70.html#p20577
If you get a lower Linux version togeter with a "08" response from redis-cli please look here: runeaudio-0-3-beta-for-raspberry-pi-t502-520.html#p23625
If you get any other response from redis-cli (for example "--") the you have probably already updated a kernel older than 4.9.30-1-ARCH, safest way forward is to reinstall your image.
janui
User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

Postby porcupiney » 20 Dec 2017, 20:56

Hi,

Well, I was upgrading from the 20170229 image, and I did follow those steps - I saw correct values for kernel version and I got the "08" response...

Dave
Raspberry Pi Zero W; Rune 0.5b; JustBoom Zero HAT
Raspberry Pi B 2; Rune 0.5b; JustBoom HAT
porcupiney
 
Posts: 8
Joined: 20 Dec 2017, 17:26

Re: RuneAudio 0.4-beta for Raspberry Pi2/3

Postby janui » 20 Dec 2017, 21:13

Hi porcupiney,
I will check again using Franks 20170229 test image, I will post an update during the next few days.
The solution is to edit /srv/http/app/libs/runeaudio.php, search for 'function wrk_getHwPlatform()' and replace the complete function with the following:
Code: Select all
function wrk_getHwPlatform()
{
    $file = '/proc/cpuinfo';
    $fileData = file($file);
    foreach($fileData as $line) {
        if (substr($line, 0, 8) == 'Revision') {
            $revision = trim(substr($line, 11, 50));
            // debug
            runelog('wrk_getHwPlatform() /proc/cpuinfo revision', $revision);
        }

        if (substr($line, 0, 8) == 'Hardware') {
            $hardware = trim(substr($line, 11, 50));
            // debug
            runelog('wrk_getHwPlatform() /proc/cpuinfo hardware', $hardware);
        }
    }

    switch($hardware) {
        // RaspberryPi
        case 'BCM2708':
        case 'BCM2709':
        case 'BCM2835':
        case 'BCM2836':
        case 'BCM2837':
            if (intval("0x".$revision, 16) < 16) {
                // RaspberryPi1
                $arch = '01';
                // RaspberryPi2/3
                // janui $arch = '08';
            }
            else {
                $model = trim(substr($revision, -2, 1));
                switch($model) {
                    // 0 = A,
                    case "0":
                        $arch = '01';
                        break;
                    // 1 = B,
                    case "1":
                        $arch = '01';
                        break;
                    // 2 = A+,
                    case "2":
                        $arch = '01';
                        break;
                    // 3 = B+,
                    case "3":
                        $arch = '01';
                        break;
                    // 4 = B Pi2,
                    case "4":
                        $arch = '08';
                        break;
                    // 5 = Alpha,
                    case "5":
                        $arch = '--';
                        break;
                    // 6 = Compute Module
                    case "6":
                        $arch = '01';
                        break;
                    // 7 = unknown,
                    case "7":
                        $arch = '--';
                        break;
                    // 8 = B Pi3,
                    case "8":
                        $arch = '08';
                        break;
                    // 9 = Zero,
                    case "9":
                        // janui next line added $arch = '08';
                        $arch = '01';
                        break;
                    // A = Compute Module 3
                    case "A":
                        $arch = '08';
                        break;
                    // B = unknown,
                    case "B":
                        $arch = '--';
                        break;
                    // C = Zero W
                    case "C":
                        // janui next line added $arch = '08';
                        $arch = '01';
                        break;
                    default:
                        $arch = '--';
                        break;
                }
            }
            break;

        // UDOO
        case 'SECO i.Mx6 UDOO Board':
            $arch = '02';
            break;

        // CuBox
        case 'Marvell Dove (Flattened Device Tree)':
        case 'SolidRun CuBox':
            $arch = '03';
            break;

        // BeagleBone Black
        case 'Generic AM33XX (Flattened Device Tree)':
            $arch = '04';
            break;

        // Utilite Standard
        case 'Compulab CM-FX6':
            $arch = '05';
            break;

        // Cubietruck
        case 'sun7i':
            $arch = '06';
            break;

        // Cubox-i
        case 'Freescale i.MX6 Quad/DualLite (Device Tree)':
            $arch = '07';
            break;

        // ODROID C1
        case 'ODROIDC':
            $arch = '09';
            break;                   

        // ODROID C2
        case 'ODROID-C2':
            $arch = '10';
            break; 

        default:
            $arch = '--';
            break;
    }

    // janui $arch = '08';
    if (!isset($arch)) {
        $arch = '--';
    }
   
    if (!isset($arch)) {
        $arch = '--';
    }
    return $arch;
}
To finish off go to the /dev screen, set DEV mode, refresh the screen, check FS permissions by clicking 'syschmod', unset DEV mode and reboot.
janui
User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 8 guests