yorickdowne

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in:
  • 5. Juni 2021 at 15:09 #51304

    Ich hatte dieses Problem auf einem Pi4. Ich sage ja nicht dass Andere so unterbelichtet sind wie ich, aber: Ich hatte das Kabel in HDMI zwei. Wo dann gerne Videosignal kommt, aber eben kein Audio. Nach monatelangem Troubleshooting dann auf HDMI eins umgesteckert und ging auf Anhieb.

    Nur fuer den Fall. Manchmal sind Probleme beim Benutzer zu finden.

    13. Dezember 2020 at 17:39 #50484

    SOLVED.

    TL;DR: RaspPi 4B has two micro-HDMI, only the one closest to power plug does sound by default (HDMI 0). Both can show display, but only one has sound. I had to move my cable and reboot.

    Things I tried that were likely unnecessary:

    
    sudo apt update && sudo apt dist-upgrade
    sudo apt remove kodi kodi-bin kodi-data kodi-repository-kodi
    sudo apt install kodi
    sudo apt autoremove
    sudo rpi-eeprom-update
    sudo reboot
    sudo rpi-eeprom-update -a
    sudo reboot
    sudo rpi-eeprom-update
    

    Currently have player set to sysdefault - bcm2834 HDMI 1 and Audio Output at default – I had set it to „force HDMI“ but it seems to have reverted on boot. sysdefault counts from 1, its „HDMI 1“ is HDMI 0 and its „HDMI 2“ is HDMI 1.

    Debug for good measure, in case others run into this. Choosing the right port should be sufficient though. D’oh.

    
    #### SQUEEZELITE VERSION ####
    Squeezelite Max2Play v1.0.3 based on v1.8.7-999, Copyright 2012-2015 Adrian Smith, 2015-2017 Ralph Irving.
     
    
    #### SQUEEZELITE BUILDOPTIONS ####
    Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC
     
    
    #### AUDIOPLAYER CONFIG ####
    ### Configuration of Audioplayers
    SQUEEZELITE_PARAMETER=-o sysdefault:CARD=b1 -a 80:4:: -v
    SQUEEZESLAVE_PARAMETER=-n plugequal
    SHAIRPORT_PARAMETER=-d plug:jack
    USE_USB_DAC=0
    USE_EQUALIZER=0
    SYSTEM_USER=pi
    GMEDIARENDERER_ALSA_DEVICE=plug:jack
     
    
    #### SQUEEZELITE -l ####
    Output devices:
      null                           - Discard all samples (playback) or generate zero samples (capture)
      jack                           - JACK Audio Connection Kit
      pulse                          - PulseAudio Sound Server
      equal                         
      plugequal                      - Equalizer for plughw:0,0
      bluetooth                      - Your Bluetooth device 00:05:CD:E5:9C:19
      default:CARD=b1                - bcm2835 HDMI 1, bcm2835 HDMI 1 - Default Audio Device
      sysdefault:CARD=b1             - bcm2835 HDMI 1, bcm2835 HDMI 1 - Default Audio Device
      dmix:CARD=b1,DEV=0             - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct sample mixing device
      dsnoop:CARD=b1,DEV=0           - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct sample snooping device
      hw:CARD=b1,DEV=0               - bcm2835 HDMI 1, bcm2835 HDMI 1 - Direct hardware device without any conversions
      plughw:CARD=b1,DEV=0           - bcm2835 HDMI 1, bcm2835 HDMI 1 - Hardware device with all software conversions
      usbstream:CARD=b1              - bcm2835 HDMI 1 - USB Stream Output
      default:CARD=Headphones        - bcm2835 Headphones, bcm2835 Headphones - Default Audio Device
      sysdefault:CARD=Headphones     - bcm2835 Headphones, bcm2835 Headphones - Default Audio Device
      dmix:CARD=Headphones,DEV=0     - bcm2835 Headphones, bcm2835 Headphones - Direct sample mixing device
      dsnoop:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - Direct sample snooping device
      hw:CARD=Headphones,DEV=0       - bcm2835 Headphones, bcm2835 Headphones - Direct hardware device without any conversions
      plughw:CARD=Headphones,DEV=0   - bcm2835 Headphones, bcm2835 Headphones - Hardware device with all software conversions
      usbstream:CARD=Headphones      - bcm2835 Headphones - USB Stream Output
    
     
    
    #### SHAIRPORT (SYNC) VERSION ####
    3.3.1-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/usr/local/etc
     
    
    #### OUTPUT SOUND DETAILS CARD 0 ####
    closed
     
    
    #### OUTPUT SOUND DETAILS CARD 1 ####
    closed
    
    • This reply was modified 1 year, 7 months ago by  yorickdowne.
    • This reply was modified 1 year, 7 months ago by  yorickdowne.
    • This reply was modified 1 year, 7 months ago by  yorickdowne. Reason: Clarified steps taken to update system
    13. Dezember 2020 at 16:25 #50483

    Yup sysdefault, and I had tried both default and force HDMI for Audio Output.

    If you’re out of ideas, I’m triply so. This last worked on 2.51. I can try a fresh install on 2.53. Fresh install on 2.51 might be instructive as well, but I did not save that image. A quick jaunt through the max2play site didn’t find it. Are you aware of a download location for m2p_buster_rpi-v251 ?

    4. Mai 2020 at 15:04 #48691

    Stefan, thank you, that’s exactly what I was looking for functionality-wise! I haven’t tested it yet, and, that -B switch is magic!

    8. Februar 2020 at 20:00 #47999

    Bluetooth works, after a fashion. Not well enough for everyday use, though. I’ll document the difficulties I ran into, in the hopes that’s useful for improving the integration.

    This is on a Pi 4B 2GB with built-in Bluetooth, Max2Play 2.51.

    SqueezeLite completely „loses the plot“ when it auto-disconnects from the Bluetooth output device. Won’t play music any more / disappears as a selectable player. That’s the default „-C 5“ setting. Removing that setting resolved those issues.

    SqueezeLite can’t start when there are no speakers connected – the Bluetooth ALSA device alone isn’t sufficient.

    Bluetooth will not automatically connect to a known speaker when it’s in range, this has to be done manually.

    Taken together, this means that Bluetooth support isn’t, in its current form, terribly useful.

    Whenever the RaspPi or the speakers restart, the Bluetooth device will lose connection to the speakers and won’t automatically re-enable. SqueezeLite will probably go into a funk as well. That means go into Max2play web interface, manually „Connect“ the speakers, bounce SqueezeLite, then play music.

    To be seamless, what I’d expect is:
    – After pairing speakers once, Bluetooth / Max2Play will connect to them whenever they become available – similar to how phones behave
    – SqueezeLite can survive the speakers being gone, and can start or keep running when Bluetooth is available but the speakers are not
    – Bluetooth / Squeezelite survive Squeezelite auto-disconnecting from the output device? Optional – alternatively just make sure that the default command line when bluetooth is in use is blank, not „-C 5“.

    That way, I could play music whenever I want, just by turning the speakers on.

    Happily, I have other ways of connecting to these speakers: I’ll use HDMI for the AVC, and a HifiBerry Digi+ HAT and optical cable for other Bluetooth-enabled speakers in the house.

    Debug output for good measure

    `
    #### Bluetooth Installation ####

    #### Bluetooth Dongle ####
    hci0: Type: Primary Bus: UART
    BD Address: DC:A6:32:0D:A1:9F ACL MTU: 1021:8 SCO MTU: 64:1
    UP RUNNING
    RX bytes:96030 acl:63 sco:0 events:11581 errors:0
    TX bytes:16935323 acl:22814 sco:0 commands:161 errors:0

    #### DEVICE Marantz SR5012 ####
    [00:05:CD:E5:9C:19]
    Name: Marantz SR5012
    Alias: Marantz SR5012 [rw]
    Address: 00:05:CD:E5:9C:19
    Icon: audio-card
    Class: 0x240414
    Paired: 1
    Trusted: 1 [rw]
    Blocked: 0 [rw]
    Connected: 1
    UUIDs: [AudioSink, AVRemoteControlTarget, AVRemoteControl, PnPInformation, 00001800-0000-1000-8000-00805f9b34fb, 00001801-0000-1000-8000-00805f9b34fb]

    #### BLUEALSA RUNNING ####
    1
    `

    • This reply was modified 2 years, 6 months ago by  yorickdowne.
Viewing 5 posts - 1 through 5 (of 5 total)