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
Get LED Status

New MessageGet LED Status (modified 0 times) Joez34
Profile | Email
HI,

I was wondering if it may be possible to report the status of audrey's LED's to a web page.

I have installed the LED control app and I am able to change the state (blinking, solid, or off) of the LED from a remote web browser, but it would be nice to know what the state of the LED is upon opening the remote web page.

Any ideas?
- Joe

10-25-2002 04:59:08

New MessageRE:Get LED Status (modified 0 times) bungee
Profile
I want a similar application, but couldn't find it. I wanted it so that I could change the LED from flashing to solid.

i then looked at what causes the LED to flash (mostly getting mail) and came up with this simple shell script

#!/bin/sh
FILE=/data/email/*.new

while true; do
if [ -e $FILE ]; then
led -t 1 -m 1
fi
sleep 10
done

it checks evey 10 seconds if I have new mail, if I do it turns the mail led on turning the LED off is handled by the mail app.

if you want to moditor the LED's for other purposes then this isn't going to help you at all...

10-29-2002 18:07:58

New MessageRE:Get LED Status (modified 0 times) tealcrow7
Profile
simply write a wrapper script, with the name of the script to be the activity you wish to perform. the wrapper script will set the led to be the status that you wish, and then write a piece of data (a flag, if you will) into a specific led status file. then it's a simple matter of looking at the file to see what is the current status of the led.

i don't have time to write a sample one, but it shouldn't be too hard.

good luck to ya!

tealcrow7

10-30-2002 19:10:57

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