drmatt wrote:
> Best bet, in the circumstances, is to write a threaded piece of code
> that has one thread reading the buttons and setting an internal volume
> level, then a separate thread periodically updates this volume level to
> lms.
maybe, but walking this way we get into another sinkhole - you press the
button until you think the volume is in the right state and then the
period updates add more volume :rolleyes:
So "best" way is to test the complete chain to find a weak point.
A simple demo:
Code:
--------------------
#!/bin/bash
for((i=0; i<10; i++))
do echo "ca:fe:04:dj:an:g0 mixer volume +5"|nc 192.168.199.11 9090
done
--------------------
should give him some infos.
Code:
--------------------
time /usr/local/bin/volumeup.sh
real 0m0.067s
user 0m0.004s
sys 0m0.000s
--------------------
and thats my rpi thats located to the farest way from my Wifi connected
to Wlan.
Gruss
Jan
------------------------------------------------------------------------
DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=105508
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix