MiczFlor / RPi-Jukebox-RFID

A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
http://phoniebox.de
MIT License
1.38k stars 397 forks source link

Install on Armbian 5.9 (Xunlong Orange Pi Zero) #435

Closed dnmtch closed 4 years ago

dnmtch commented 5 years ago

tl:dr; I was unfortunately not able to install RPi-Jukebox-RFID on an Xunlong Orange Pi Zero / Armbian 5.9. The manual installation works, but there are probably problems with scripts.

Lieber MiczFlor, zuerst einmal ein riesiges Dankeschön für deine Arbeit. (wenn ich störe, Issue einfach schliessen)

Ich habe eine manuelle Installation auf einem Xunlong Orange Pi Zero mit Armbian 5.9 versucht. Leider hat das (für meinen Wissensstand) nicht so richtig funktioniert. Ich vermute das fehlende "home/pi" Directory und gewisse Raspberry-Eigenschaften funktionieren nicht.

Hat jemand eine Installation auf einem Orange Pi Zero (Armbian) hingekriegt und kann helfen? (gibt es Hilfe für nicht-Raspberry Installationen?)

Not Working?

MiczFlor commented 5 years ago

Hi @dnmtch I answer in English, for others to contribute (assuming that English would still give you the broadest support group :) I have no experience with the hardware you mention - and agree with you that this might well also go into hardware differences. Especially the evdev package, which is central, does grab deep into the hardware of the RPi. So my short and only anser is: sorry, I hope somebody else can help you... And I want to add: if you figure this out, please document it in the wiki: https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki

dnmtch commented 5 years ago

Ok, up an Running! (RFID Reader not working jet)

Setup:

Install:

Sound Configuration: http://esp8266-server.de/OrangePi/#Webradio /etc/mpd.conf

type    "alsa"
name    "My ALSA Device"
device  "hw:0,0"    
mixer_type "software" 
MiczFlor commented 5 years ago

Hi @dnmtch Great news. If you find the time, could you create a page in the wiki for this hardware setup? All the best, micz

Sent with GitHawk

dnmtch commented 4 years ago

Update:

apt-get update apt-get upgrade

Audio Follow this instructions: https://forum.armbian.com/topic/3446-orange-pi-zero-no-audio-devices-available-cannot-play-audio/?tab=comments#comment-86786

aplay -l shows

List of PLAYBACK Hardware Devices card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0

  1. create file .asoundrc in home directory

    nano ~/.asoundrc

put this in

pcm.!default{ type hw card 0 }

ctl.!default{ type hw card 0 }

type alsamixer grafik test Speaker speaker-test -twav -c2 -Dhw:0

adduser pi usermod -aG sudo pi (make pi user root) su - pi (change to user pi)

install script A. Default install script for Buster (recommended) (once as User "pi", once as root

grafik