Erstmal nur Programmschnipselsammlung, bekomme die Soundkarte noch nicht zum laufen.
Bisheriger Stand: Soundkarte wird erkannt, kommt dennoch kein Sound mit der Phoniebox Software.
Onboard Raspberry PI Soundkarte deaktivieren:
Hifiberry aktivieren:
asound.conf konfigurieren:
Alles anzeigen
Alles anzeigen
Nun noch die GPIOs von Phoniebox ändern, da diese das GPIO Soundmodul blockiert:
Alles anzeigen
GPIO Pinout im Überblick.
probieren:
Bisheriger Stand: Soundkarte wird erkannt, kommt dennoch kein Sound mit der Phoniebox Software.
Onboard Raspberry PI Soundkarte deaktivieren:
Hifiberry aktivieren:
asound.conf konfigurieren:
Quellcode
Quellcode
- sudo nano /etc/mpd.conf
- / PCM durch Master bei mixer_control ersetzen
- audio_output {
- type "alsa"
- name "My ALSA Device"
- # device "hw:0,0" # optional
- # mixer_type "hardware" # optional
- # mixer_device "default" # optional
- mixer_control "Master" # optional
- # mixer_index "0" # optional
- }
- anschließend folgendes einfügen:
- audio_output {
- enabled "yes"
- type "alsa"
- name "HiFiBerry DAC"
- device "hifiberryMiniAmp"
- auto_resample "no"
- auto_channels "no"
- auto_format "no"
- dop "no"
- }
Nun noch die GPIOs von Phoniebox ändern, da diese das GPIO Soundmodul blockiert:
Quellcode
- sudo nano /home/pi/RPi-Jukebox-RFID/scripts/gpio-buttons.py
- von:
- shut = Button(3, hold_time=2)
- vol0 = Button(13)
- volU = Button(16,pull_up=True)
- volD = Button(19,pull_up=True)
- next = Button(26)
- prev = Button(20)
- halt = Button(21)
- zu:
- shut = Button(3, hold_time=2) #PIN5
- volU = Button(22,pull_up=True) #PIN15
- volD = Button(23,pull_up=True) #PIN16
- next = Button(17) #PIN11
- prev = Button(27) #PIN13
- halt = Button(26) #PIN37
probieren: