coyrls wrote: 
> As discussed in this thread:
> https://forums.slimdevices.com/showthread.php?111540-Alsa-mixer-on-picore-cannot-save,
> saved ALSA settings for a USB DAC are not restored successfully.  A
> workaround is to put "su alsactl restore" as a user command in the
> Tweaks tab.

I had completely forgotten that thread

33306

But I have knocked up (on a rpi3b+)  a pCP v7.0.1 player with a usb dac
I have which uses volume control.

I set volume to 100% for 0.0db in alsamixer and saved the setting via
Card Control on the Squeezelite page.

In LMS > Sewttings > Player > Audio I set Volume controls adjust
outputs.

Started playing fip radio

After reboot this is a snip from the boot log file


Code:
--------------------
    
  Waiting for network. Done (1).
  Starting ALSA configuration...alsactl: init:1787: Cannot find soundcard 
'USB'...
  alsactl: load_state:1763: Cannot find soundcard 'USB'...
  .alsactl: load_state:1763: Cannot find soundcard 'USB'...
  .alsactl: load_state:1763: Cannot find soundcard 'USB'...
  .alsactl: load_state:1763: Cannot find soundcard 'USB'...
  .alsactl: load_state:1763: Cannot find soundcard 'USB'...
  .alsactl: load_state:1763: Cannot find soundcard 'USB'...
  ALSA restore error!
  Done (7).
  Starting Openssh server... Done.
  Starting Squeezelite and/or Shairport-sync...
  [ INFO ] Starting Squeezelite player: Squeezelite...
  
--------------------



The player started playback on reboot.

I added su alsactl restore to the Tweaks page, saved  (did a backup for
good measure) and rebooted

I got the same error message on boot but the dac started playing 

So  "Starting user commands" has no effect in this user case

I don't have time to try a rpi4b

ronnie

ronnie


+-------------------------------------------------------------------+
|Filename: facepalm.png                                             |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33306|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to