I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / 3Com Audrey
How to control Audreys master volume via a web interface
Master Volume Control

New MessageHow to control Audreys master volume via a web interface (modified 0 times) blahboy
Profile
How do I control Audrey's master volume via the web interface?

Example:

http://192.168.0.123/volume?50

this example would set Audrey's volume at 50%.

Thanks

05-18-2003 22:59:15

New MessageRE:How to control Audreys master volume via a web interface (modified 0 times) ptanguay
Profile
Check this out - it will do exactly what you want, and more.

http://www.timemocksme.com/audrey/beep/index.html

05-19-2003 08:34:52

New MessageRE:How to control Audreys master volume via a web interface (modified 0 times) Ray_Haque
Profile
Wow, that's pretty neat. Never heard of that beep util before. I wish I could figure out how to work that into an application like JabberX. It would be nice to hear a noice when new messages are received. Doesnt seem to be an option for this term application.

-Ray

05-19-2003 11:56:04

New MessageRE:How to control Audreys master volume via a web interface (modified 0 times) ptanguay
Profile
Well, the source to that application is quite simple - it should be easy to incorporate it into jabberX (I read somewhere else that you've managed to make it compile for the Audrey, so adding stuff in there should now be easy).
05-20-2003 07:28:21

New MessageRE:How to control Audreys master volume via a web interface (modified 1 times) pjf02536
Profile
That works well and fine, except it doesn't control the master volume on the Audrey.
try these ...

/data/XML/volume.shtml
----file contents ---
<html><head><title>Shell</title></head><body>
<!--#config cmdecho="OFF" -->
<!--#exec cmd="volume $QUERY_STRING &" -->
</body></html>
---- end contents ---

/kojak/CGI/volume.sh ( needs a link execv -> volume )
eg. ln -s /nto/bin/execv /kojak/CGI/volume

----file contents ---
#!/bin/ksh
integer vol=$1
# enforce playback volume is 0 -> 100
if [ $vol -lt 0 ]
then
vol=0
elif [ $vol -gt 100 ]
then
vol=100
fi
echo $vol > /config/Volume_Playback
# start script to reset the volume
startApp VolumeControl
sleep 1
shellex slay -f VolumeControl &
---- end contents ---

/kojak/startapp
----file contents ---
#!/bin/ksh
# tag the res PID and CHID to this app and start it
if [ $# -eq 1 ]
then
p=`cat /data/.rm-pid`
c=`cat /data/.rm-chid`
eval "$1 $p $c &"
else
echo "usage: startApp <application>"
fi
---- end contents ---

-pjf02536

07-07-2003 19:24:54

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3