I'm having a problem with the bat3 charging daemon and the TS-BAT3
board connected to a TS-7260. The daemon keeps quiting because it
cannot change the AVR state. I have multiple boards and see it on
all of them, as well as when I run on the default OS image or my own
that I'm working on. I've also tried the latest bat3 binary that
is available on the website in addition to compiling from source.
I've sprinkled some printf's in the source (and commented out the
processDaemonize() call which was closing the stdin/out/err
file descriptors). I'm running bat3 as:
# bat3 --charge 400
I can see it read the initial state, then try to change it in
the BAT3BatteryCharge() routine. The resulting state never matches
the requested one, the retries run out and we exit(3).
Sometimes it runs for awhile, sometimes it exits immediately.
I've got the following modules loaded:
# lsmod
Module Size Used by Tainted: PF
tsuart-bat3 1212 0 (unused)
tsuart7260 1668 0 (unused)
tsuart0 8912 0 [tsuart-bat3 tsuart7260]
af_packet 9480 0 (unused)
sdcard0 13408 1
Has anyone experienced this?
Todd
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/
|