> Well I suppose that's progress of sorts! Some immediate thoughts:
> 1) When you said 'This makes things work again', do you mean that
> Squeezelite then starts and stops with the DAC power from that point on,
> or only that you managed to make it restart once?

Sorry, in my excitement for progress I wasn't too clear.
Unfortunatly it only restarts once, and the restart command needs to be
run each time.

Here's the new sudo output and log when it has worked
Dac on (working) - dac off - dac on (not working) - run restart


Code:
--------------------
    tc@pCP:~$ sudo /home/tc/SQLITE-control.sh restart M6 1-1.2
  tc@pCP:~$ No state is present for card M6
  No state is present for card M6
  
--------------------



Code:
--------------------
    
  [     305.14] Script parameters: stop M6 1-1.2:1.1
  [     305.14] Script parameters: stop M6 1-1.2:1.0
  [     305.31] Script parameters: stop M6 1-1.2:1.2
  [     305.33] Script parameters: stop M6 1-1.2
  [     305.34] M6 on 1-1.2 removed
  [     305.38] Stopping Squeezelite player: Squeezelite...
  [     305.39] /tmp/M6.kername deleted
  [     331.27] Script parameters: restart M6 1-1.2
  [     331.28] M6 detected on 1-1.2
  [     332.36] Restarting Squeezelite player...
  Stopping Squeezelite player: Squeezelite...
  Starting Squeezelite player: Squeezelite...
  [     333.39] Squeezelite not running.
  [     334.45] Restarting Squeezelite player...
  Squeezelite is not running.
  Starting Squeezelite player: Squeezelite...
  [     335.48] Squeezelite not running.
  [     336.54] Restarting Squeezelite player...
  Squeezelite is not running.
  Starting Squeezelite player: Squeezelite...
  [     337.57] Squeezelite not running.
  [     338.63] Restarting Squeezelite player...
  Squeezelite is not running.
  Starting Squeezelite player: Squeezelite...
  [     339.67] Squeezelite not running.
  [     340.73] Restarting Squeezelite player...
  Squeezelite is not running.
  Starting Squeezelite player: Squeezelite...
  [     341.77] Squeezelite not running.
  [     341.78] Squeezelite failed to initialize within 5 attempts.
  [     356.94] Script parameters: restart M6 1-1.2
  [     356.95] M6 detected on 1-1.2
  [     358.02] Restarting Squeezelite player...
  Squeezelite is not running.
  Starting Squeezelite player: Squeezelite...
  [     359.08] Squeezelite is running. PID=11530
  [     359.15] Restoring alsa settings for M6
  
--------------------


> I see that the Squeezelite command above (process number 10606) is
> slightly different from the one in, say, post #198, process number 4226.
> Is this a change that you've made to the Squeezelite setup regarding the
> ALSA settings?
> 

I did another clean install before trying out your tests, I wanted to
give them the best chance of working.
I thought I did everything just the same. Except perhaps choosing a
different output setting. Previously I'd tried a few to see if it made
any difference. This time I just used hw:CARD=M6,DEV=0

Other than that I don't remember changing the alsa settings yesterday on
the previous install, and I definately didn't change them this
afternoon.

I think I accidetnly tried to run your script before I had changed from
headphone output to usb after the clean install. But that was all I can
think of.


------------------------------------------------------------------------
Bogg's Profile: http://forums.slimdevices.com/member.php?userid=50888
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

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

Reply via email to