Apologies for leaving out such essential information!

Beaglebones are running Debian 10.3
(bone-eMMC-flasher-debian-10.3-iot-armhf-2020-04-06-4gb.img from
beagleboard.org).
Logitech Media Server Version: 8.2.0 (running under Musicserver4home)

squeezelite -l results in:

Code:
--------------------
    Output devices:
  null                           - Discard all samples (playback) or generate 
ze                                                                              
          ro samples (capture)
  onboard
  onboard_capture_left
  onboard_playback_left
  onboard_capture_right
  onboard_playback_right
  plug_onboard_capture_left
  plug_onboard_playback_left
  default
  sysdefault:CARD=Black          - TI BeagleBone Black, 
davinci-mcasp.0-i2s-hifi                                                        
                                 i2s-hifi-0 - Default Audio Device
  dmix:CARD=Black,DEV=0          - TI BeagleBone Black, 
davinci-mcasp.0-i2s-hifi                                                        
                                 i2s-hifi-0 - Direct sample mixing device
  dsnoop:CARD=Black,DEV=0        - TI BeagleBone Black, 
davinci-mcasp.0-i2s-hifi                                                        
                                 i2s-hifi-0 - Direct sample snooping device
  hw:CARD=Black,DEV=0            - TI BeagleBone Black, 
davinci-mcasp.0-i2s-hifi                                                        
                                 i2s-hifi-0 - Direct hardware device without 
any conversions
  plughw:CARD=Black,DEV=0        - TI BeagleBone Black, 
davinci-mcasp.0-i2s-hifi                                                        
                                 i2s-hifi-0 - Hardware device with all software 
conversions
  sysdefault:CARD=Set            - C-Media USB Headphone Set, USB Audio - 
Defaul                                                                          
              t Audio Device
  front:CARD=Set,DEV=0           - C-Media USB Headphone Set, USB Audio - Front 
                                                                                
        speakers
  surround21:CARD=Set,DEV=0      - C-Media USB Headphone Set, USB Audio - 2.1 
Su                                                                              
          rround output to Front and Subwoofer speakers
  surround40:CARD=Set,DEV=0      - C-Media USB Headphone Set, USB Audio - 4.0 
Su                                                                              
          rround output to Front and Rear speakers
  surround41:CARD=Set,DEV=0      - C-Media USB Headphone Set, USB Audio - 4.1 
Su                                                                              
          rround output to Front, Rear and Subwoofer speakers
  surround50:CARD=Set,DEV=0      - C-Media USB Headphone Set, USB Audio - 5.0 
Su                                                                              
          rround output to Front, Center and Rear speakers
  surround51:CARD=Set,DEV=0      - C-Media USB Headphone Set, USB Audio - 5.1 
Su                                                                              
          rround output to Front, Center, Rear and Subwoofer speakers
  surround71:CARD=Set,DEV=0      - C-Media USB Headphone Set, USB Audio - 7.1 
Su                                                                              
          rround output to Front, Center, Side, Rear and Woofer speakers
  iec958:CARD=Set,DEV=0          - C-Media USB Headphone Set, USB Audio - 
IEC958                                                                          
               (S/PDIF) Digital Audio Output
  dmix:CARD=Set,DEV=0            - C-Media USB Headphone Set, USB Audio - 
Direct                                                                          
               sample mixing device
  dsnoop:CARD=Set,DEV=0          - C-Media USB Headphone Set, USB Audio - 
Direct                                                                          
               sample snooping device
  hw:CARD=Set,DEV=0              - C-Media USB Headphone Set, USB Audio - 
Direct                                                                          
               hardware device without any conversions
  plughw:CARD=Set,DEV=0          - C-Media USB Headphone Set, USB Audio - 
Hardwa                                                                          
              re device with all software conversions
  
--------------------



sudo nano /etc/default/squeezelite (just in case)


Code:
--------------------
    # Defaults for squeezelite initscript
  # sourced by /etc/init.d/squeezelite
  # installed at /etc/default/squeezelite by the maintainer scripts
  
  # The name for the squeezelite player:
  SL_NAME="BBB2"
  
  # ALSA output device:
  SL_SOUNDCARD="default:CARD=Set"
  
  # Squeezebox server (Logitech Media Server):
  # Uncomment the next line if you want to point squeezelite at the IP address 
of
  # your squeezebox server. This is usually unnecessary as the server is
  # automatically discovered.
  #SB_SERVER_IP="192.168.x.y"
  
  # Additional options to pass to squeezelite:
  # Please do not include -z to make squeezelite daemonise itself.
  SB_EXTRA_ARGS="-a 80"
  
--------------------


I can, of course just connect to beaglebones and start squeezelite
manually which results in beaglebone showing up in LMS and audio working
normally. However the idea is to have home automation shutdown all
unnecessary equipment when away and for that reason it would be
practical for beaglebones to be automatically ready for playback when
powered.


------------------------------------------------------------------------
vto's Profile: http://forums.slimdevices.com/member.php?userid=71503
View this thread: http://forums.slimdevices.com/showthread.php?t=114144

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to