I finally got my TS-BAT3 doing what i wanted (almost)
For some reason I had problems with the IRQ i'd used originally, swapped it,
then today spent a
while wondering why it wasn't working, so swapped it back and it worked off the
bat, it'll say can't
communicate with AVR, the wrong tsuart-bat3.o will give an /dev/tty* error, EA
have removed the old
ones from the ftp site it seems.
all i wanted was the system to power on automatically, then power off after 60
seconds of power
loss, pretty easy it turns out.
add ups-monitor to the /etc/init.d folder
add
bat3 --shutdown 60 --charge 400 &
to the startup scripts, it'll powerdown gracefully after 60 seconds.
then make sure tsuart.o tsuart-bat3.o are loaded.
and thats it, for some reason i could never find that part of the docs earlier
so i'll post notes
here, oh and the --help parameter doesn't work if it doesn't find the hardware.
my only issue is now sometimes bat3 drops out on the AVRsend with a timeout, i
increased the timeout
to try 50 times, (though i should have tried a sleep, but still drops out, for
now i just cheated
and used a shell script with a infinite while, it works for now.
i wish JP3 was somewhere else though, i ended up soldering a spst to it
remotely, especially since i
have my TS-CAN1 above it.
and while i'm wishing, i might as well as wish for the TS 73xx enclosure lid to
be about 5mm taller
so i can fit two PC104s in at the same time
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|