Bogg wrote: 
> 
> This makes things work again ! . 
> I follow your three steps from post 199, and the dac reconnects !
> Here's the output
> 
> > 
Code:
--------------------
  >   > 
  > tc@pCP:~$ /home/tc/SQLITE-control.sh restart M6 1-1.2
  > /home/tc/SQLITE-control.sh: line 87: can't create /var/log/pcp_M6.log: 
Permission denied
  > /home/tc/SQLITE-control.sh: line 87: can't create /var/log/pcp_M6.log: 
Permission denied
  > /home/tc/SQLITE-control.sh: line 125: can't create /tmp/M6.kername: 
Permission denied
  > tc@pCP:~$ /home/tc/SQLITE-control.sh: line 87: can't create 
/var/log/pcp_M6.log: Permission denied
  > /home/tc/SQLITE-control.sh: line 87: can't create /var/log/pcp_M6.log: 
Permission denied
  > /home/tc/SQLITE-control.sh: line 87: can't create /var/log/pcp_M6.log: 
Permission denied
  > No state is present for card M6
  > No state is present for card M6
--------------------
> > 
> 
> The log file doesn't show any update after it had already failed 5
> times. 


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?
2) The 'Permission denied' messages indicate that I should have
specified 'sudo' in front of the command, i.e.

Code:
--------------------
    sudo /home/tc/SQLITE-control.sh restart M6 1-1.2
--------------------

3) This same 'Permission denied' problem is the reason that the log file
doesn't show any further updates.  It would be useful to see the logfile
after repeating those steps but with 'sudo' as above.

Thanks for the dmesg log - I will take a look when I have a bit more
time.

Bogg wrote: 
> I've tried disconnect dac, grep and kill then reconnect dac. It didn't
> make work. 
> 
> > 
Code:
--------------------
  >   > tc@pCP:~$ ps | grep squeezelite
  > 10606 root      0:19 /usr/local/bin/squeezelite -n piCorePlayer -o 
hw:CARD=M6,DEV=0 -a 80 4  1  -v
  > 11122 tc        0:00 grep squeezelite
  > tc@pCP:~$ sudo kill -9 10606
  > tc@pCP:~$ ps | grep squeezelite
  > 11319 tc        0:00 grep squeezelite
  > 
--------------------
> > 

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?


Code:
--------------------
    10606 root      0:19 /usr/local/bin/squeezelite -n piCorePlayer -o 
hw:CARD=M6,DEV=0 -a 80 4  1  -v
--------------------

versus

Code:
--------------------
     4226 root      0:14 /usr/local/bin/squeezelite -n piCorePlayer -o 
hw:CARD=M6,DEV=0 -a      -v
  
--------------------


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

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

Reply via email to