Hi Carsten

I'm struggling with this - it's working flawlessly here.  

Your installation results and rules all look ok.  You said "When booting
with switched on Speaker, they are working. Then switching off doesn't
switch off Squeezelite. It is still running."  This suggests that the
udev rule is not being triggered, but I cannot understand why.  The
alternative is that the rule is being triggered, but the script is going
wrong somehow.

I'm sure it's clear already, but note that the logfile doesn't
autoupdate in the pCP window - you need to click on 'show' to refresh it
with the latest events. 
So can I ask - is the first logfile that you showed the *refreshed*
result after powering off the soundsticks?  If so, that also would imply
that the rule is not being triggered, but I'd like to be absolutely
sure.  If you boot with the soundsticks inserted, then remove them, then
view the logfile (i.e. click 'show' -after- removing them), does it show
any sign of the removal?

To help narrow down whether the udev rule is triggering the script,
could you insert this extra line into the top of SQLITE-control.sh
(immediately after the '#!/bin/sh' shebang) and try the
connect/disconnect experiments again?  This will tell us whether the
rule is calling the script, and what parameters it is sending through to
the script.

Code:
--------------------
    echo $1 $2 $3 >> /var/log/pcp_SoundSticks.log
  
--------------------


I'm going to try a fresh install on another Pi, with a different DAC, so
see if I can recreate this.


------------------------------------------------------------------------
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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to