Hi, I installed the script from post 183. it seems to have installed ok, it finds my M6 dac and shuts squeezelite down as expected. Unfortunately it doesn't restart squeezelite when I turn on the dac. This is on a fresh install of pcp 7.0.0. Where am I going wrong?
Code: -------------------- [ 18.12] Script parameters: find M6 [ 18.17] Searching for M6 with idVendor=0d8c and idProduct=0004 in dmesg [ 18.23] M6 detected on 1-1.2 [ 18.25] Restoring alsa settings for M6 [ 90.36] Script parameters: stop M6 1-1.2:1.0 [ 90.36] Script parameters: stop M6 1-1.2:1.1 [ 90.49] Script parameters: stop M6 1-1.2:1.2 [ 90.52] Script parameters: stop M6 1-1.2 [ 90.54] M6 on 1-1.2 removed [ 90.58] Stopping Squeezelite player: Squeezelite... [ 90.60] /tmp/M6.kername deleted [ 185.60] Script parameters: restart M6 1-1.2 [ 185.61] M6 detected on 1-1.2 [ 186.72] Restarting Squeezelite player... Stopping Squeezelite player: Squeezelite... Starting Squeezelite player: Squeezelite... [ 187.76] Squeezelite not running. [ 188.84] Restarting Squeezelite player... Squeezelite is not running. Starting Squeezelite player: Squeezelite... [ 189.88] Squeezelite not running. [ 190.94] Restarting Squeezelite player... Squeezelite is not running. Starting Squeezelite player: Squeezelite... [ 191.98] Squeezelite not running. [ 193.04] Restarting Squeezelite player... Squeezelite is not running. Starting Squeezelite player: Squeezelite... [ 194.07] Squeezelite not running. [ 195.14] Restarting Squeezelite player... Squeezelite is not running. Starting Squeezelite player: Squeezelite... [ 196.17] Squeezelite not running. [ 196.18] Squeezelite failed to initialize within 5 attempts. [ 220.15] Script parameters: stop M6 1-1.2:1.0 [ 220.16] Script parameters: stop M6 1-1.2:1.1 [ 220.25] Script parameters: stop M6 1-1.2:1.2 [ 220.27] Script parameters: stop M6 1-1.2 [ 220.28] M6 on 1-1.2 removed [ 220.30] Squeezelite is not running. [ 220.31] /tmp/M6.kername deleted [ 244.23] Script parameters: restart M6 1-1.2 [ 244.24] M6 detected on 1-1.2 [ 245.33] Restarting Squeezelite player... Squeezelite is not running. Starting Squeezelite player: Squeezelite... [ 246.37] Squeezelite not running. [ 247.45] Restarting Squeezelite player... Squeezelite is not running. Starting Squeezelite player: Squeezelite... [ 248.49] Squeezelite not running. [ 249.55] Restarting Squeezelite player... Squeezelite is not running. Starting Squeezelite player: Squeezelite... [ 250.58] Squeezelite not running. [ 251.65] Restarting Squeezelite player... Squeezelite is not running. Starting Squeezelite player: Squeezelite... [ 252.68] Squeezelite not running. [ 253.74] Restarting Squeezelite player... Squeezelite is not running. Starting Squeezelite player: Squeezelite... [ 254.78] Squeezelite not running. [ 254.79] Squeezelite failed to initialize within 5 attempts. -------------------- ------------------------------------------------------------------------ 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 unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix