Hi, I've just extended my Squeeze devices with a refurbished SqueezeBox
Radio.

With the new device I got the problem that it shuts down completely in
idle mode. I've upgraded/downgraded firmware, resetted to factory
settings, setup a new LMS just for this device... problem stays the
same.

I've tried to track down the issue, and it seems the device has problems
in detecting it's charging state. On the device itself Diagnostics>Power
is not working, and using SSH the returned value for charging state is
1543 (bin 11000000111; the LUA code defines values up to 34).

# tail /var/log/messages
Apr 18 18:41:48 squeezeplay: WARN   applet.SqueezeboxBaby -
SqueezeboxBabyApplet.lua:862 invalid chargerState
Apr 18 18:41:53 squeezeplay: WARN   applet.SqueezeboxBaby -
SqueezeboxBabyApplet.lua:862 invalid chargerState
Apr 18 18:41:58 squeezeplay: WARN   applet.SqueezeboxBaby -
SqueezeboxBabyApplet.lua:862 invalid chargerState
Apr 18 18:42:03 squeezeplay: WARN   applet.SqueezeboxBaby -
SqueezeboxBabyApplet.lua:862 invalid chargerState
Apr 18 18:42:08 squeezeplay: WARN   applet.SqueezeboxBaby -
SqueezeboxBabyApplet.lua:862 invalid chargerState
Apr 18 18:42:13 squeezeplay: WARN   applet.SqueezeboxBaby -
SqueezeboxBabyApplet.lua:862 invalid chargerState

# cat /sys/devices/platform/i2c-adapter:i2c-1/1-0010/charger_state
1543

# cat /sys/devices/platform/i2c-adapter:i2c-1/1-0010/power_mode
1543

Any ideas?

I thought about "fixing" the code in
        /usr/share/jive/applets/Diagnostics/DiagnosticsApplet.lua
        /usr/share/jive/applets/SqueezeboxBaby/SqueezeboxBabyApplet.lua
and setting up the correct modes manually, but i guess it might not be
the best idea to use a battery afterwards...


------------------------------------------------------------------------
-mplx-'s Profile: http://forums.slimdevices.com/member.php?userid=62819
View this thread: http://forums.slimdevices.com/showthread.php?t=101383

_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to