florca wrote:
This is very much "at your own risk" but I autostart Squeezeplay through a mod to the end of /openpeak/tango/run so that the original GUI never runs at all. Squeezeplay will restart on a "quit".
I found that my soundcard didn't turn itself on in this circumstance, and the Joggler was uncannily silent. I don't know why.
I haven't verified that this is still the case, as I am currently launching from the native UI screen.
But I did add a specific 'turn on sound card' snippet to the squeezeplay.sh start up script, immediately before launching jive. This seemed to cure the problem, and may be worth trying should anyone else experience the same issue. From memory, it would have been something like this:
Code: Select all
...
# Coerce my soundcard into turning itself on
amixer sset Master on >/dev/nul
./jive
Update
At the risk of going off topic, I discover that a stock joggler boot script does attempt to turn the sound card on. However it looks for a control named 'Speaker' and fails on both of my Jogglers (O2 & OpenPeak models), because they do not have a 'Speaker' control. But they do have a 'Master' control which would seem to fulfill the same purpose.
Evidence of failure can be seen in a log file:
Code: Select all
# cat /openpeak/tango/amixer.out
Frame-1
amixer: Unable to find simple control 'Speaker',0
The relevant boot up script is:
/etc/init.d/boot.d/S07boot.loadmodules, and the code is found in function
check_snd.
By replacing the two occurrences of 'Speaker' with 'Master' in that function, I find that intended behaviour is restored, and the sound card is turned on. The
++ Recovered ++ snippet indicates that the script turned the sound card on:
Code: Select all
# cat /openpeak/tango/amixer.out
Frame-1
Front Left: Playback 31 [124%] [0.00dB] [off]
Front Right: Playback 31 [124%] [0.00dB] [off]
Error: Muted Audio!
++ Recovered ++
The start up command in the boot script differs from that which I gave above, but the behaviour appears to be the same. I'm a tiro when it comes to Linux and sound, and I don't know whether there is any real significance between the two forms of the command. But it might be better to use the boot script version, in which case one inserts the following snippet into the squeezeplay.sh script:
Code: Select all
...
# Coerce my soundcard into turning itself on
amixer -q -c 0 sset 'Master',0 unmute
./jive