Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Junior Member TerDale's Avatar
    Join Date
    Apr 2012
    Location
    France
    Posts
    22

    SB turns off completely when on battery, and after 20 min. idle in sleep mode...!?

    Hi there,

    I bought a SB Radio recently with the battery pack. I've noticed the following behavior :
    - when the SB is on battery, I may listen music without time limit (up to what the battery allows of course),
    - but if I put it in sleep mode (dunno if this is the right terminology, I mean that I just press shortly the power button), it stays as is for 20 minutes, then turns off completely.

    I first thought it was abnormal, and suspected it could be due to the "Power Save" plugin that I once installed. However, after having uninstalled it, and even having reverted to factory settings, I still have the same behavior.

    So, I now wonder if this is expected (ie. by design)?
    If it is, is there a way to disable this kind of hibernation? Or, at least, to increase the 20 min. delay to something very long?

    TIA

  2. #2
    Senior Member
    Join Date
    Nov 2011
    Posts
    125
    Hi there,

    I believe this is by design.
    It happens to mine as well when on battery (But then it almost never is)
    I don't think there's a way to change this time-length, but I'' doublecheck tonight when I'm home.

    Regards,

    Anthonio

  3. #3
    Senior Member Mnyb's Avatar
    Join Date
    Feb 2006
    Location
    Västerås Sweden
    Posts
    11,660
    This is by design to save battery .
    Note, if you have an alarm scheduled it boot-up itself to sound the alarm (provided there is any juice left )
    --------------------------------------------------------------------
    Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
    Bedroom/Office: Boom
    Kitchen: Touch + powered Fostex PM0.4
    Misc use: Radio (with battery)
    iPad1 with iPengHD & SqueezePad
    (in storage SB3, reciever ,controller )
    server HP proliant micro server N36L with ClearOS Linux

    http://people.xiph.org/~xiphmont/demo/neil-young.html

  4. #4
    Senior Member Soulkeeper's Avatar
    Join Date
    Dec 2009
    Location
    Norway
    Posts
    1,220
    Quote Originally Posted by TerDale View Post
    If it is, is there a way to disable this kind of hibernation? Or, at least, to increase the 20 min. delay to something very long?
    Not at the moment, but you might want to vote for bug 16572.

  5. #5
    Junior Member TerDale's Avatar
    Join Date
    Apr 2012
    Location
    France
    Posts
    22
    Thanks all

    Quote Originally Posted by Soulkeeper View Post
    Not at the moment, but you might want to vote for bug 16572.
    Done, but no change since submission in 2010, and yet not assigned, hmm not very promising... :-S

  6. #6
    Junior Member TerDale's Avatar
    Join Date
    Apr 2012
    Location
    France
    Posts
    22
    After digging a bit using the SSH connection to my SBR, I think I figured out that the corresponding setting is located in "/etc/squeezeplay/userpath/settings/SqueezeboxBaby.lua":
    Code:
    settings = {idleTimeout=30000,alsaPlaybackPeriodCount=2,sleepTimeout=600000,alsaPlaybackBufferTime=20000,cleanReboot=false,initTimeout=60000,alsaCaptureDevice="dac",hibernateTimeout=1200000,alsaPlaybackDevice="default",alsaSampleSize=16,brightness=62,brightnessMinimal=2,brightnessControl="automatic",}
    Indeed, the value specified for "hibernateTimeout" is 20 minutes, specified in ms, so it is very likely the one, based on value & name.

    This setting file is also duplicated under "/mnt/storage/".

    I tried to modify both of them, but unsuccessfully, it sounds to be not the right way to do.
    As still a newbie I don't know how the whole stuff works, does anyone has a clue: is it possible to modify this value in a way it is taken into account?

    TIA

  7. #7
    Senior Member Soulkeeper's Avatar
    Join Date
    Dec 2009
    Location
    Norway
    Posts
    1,220
    Hmm. The users named Erland, Bluegaspode, and Triode (among others?) on this forum have made some Squeezeplay applets. With this information maybe it would be easy for one of them to make one that changes the timeout?

    Or maybe you're interested in learning how to write your own applets for Squeezeboxes?

  8. #8
    Junior Member TerDale's Avatar
    Join Date
    Apr 2012
    Location
    France
    Posts
    22
    Quote Originally Posted by Soulkeeper View Post
    Thanks for the references & suggestion, though... I wish I could. As a developer myself, this should not be a problem technically, unfortunately I can't afford to allocate time for this...

    Anyway, as time allows, I plan to look at the references you pointed, and other resources about the Squeezebox, trying to figure out how to persist this setting manually. Even if that would, very likely, imply to re-set it after each firmware update, it remains of interest to me as a workaround until something more robust will show up one day from Logitech or from someone from the community, if ever.

  9. #9
    Senior Member MeSue's Avatar
    Join Date
    Jul 2005
    Location
    Florida
    Posts
    3,015
    Quote Originally Posted by TerDale View Post
    Anyway, as time allows, I plan to look at the references you pointed, and other resources about the Squeezebox, trying to figure out how to persist this setting manually. .
    I voted and added a comment to the bug, and I would be interested in any workaround you come up with, TerDale, if you get time. This power save is an annoyance when we use the Squeezebox near the pool cuz someone has to get out of the pool to turn it back on when it goes to deep sleep.


    Sent from my iPad using Tapatalk. Please pardon any typos!
    Sue
    "If you're happy and you know it turn the volume up and blow it out."

    1 Touch | 2 Booms | 2 Radios | 1 Duet | 1 SB2
    HP MediaSmart EX470 | Logitech Media Server 7.7.2 | iPhone & iPad w/ iPeng
    Find me on Last.FM | Twitter | Rhapsody
    My Journey to Musical Bliss | Squeezebox is Dead. Long Live Squeezebox.

  10. #10
    Senior Member Mnyb's Avatar
    Join Date
    Feb 2006
    Location
    Västerås Sweden
    Posts
    11,660
    Quote Originally Posted by TerDale View Post
    After digging a bit using the SSH connection to my SBR, I think I figured out that the corresponding setting is located in "/etc/squeezeplay/userpath/settings/SqueezeboxBaby.lua":
    Code:
    settings = {idleTimeout=30000,alsaPlaybackPeriodCount=2,sleepTimeout=600000,alsaPlaybackBufferTime=20000,cleanReboot=false,initTimeout=60000,alsaCaptureDevice="dac",hibernateTimeout=1200000,alsaPlaybackDevice="default",alsaSampleSize=16,brightness=62,brightnessMinimal=2,brightnessControl="automatic",}
    Indeed, the value specified for "hibernateTimeout" is 20 minutes, specified in ms, so it is very likely the one, based on value & name.

    This setting file is also duplicated under "/mnt/storage/".

    I tried to modify both of them, but unsuccessfully, it sounds to be not the right way to do.
    As still a newbie I don't know how the whole stuff works, does anyone has a clue: is it possible to modify this value in a way it is taken into account?

    TIA
    If you edit the one in /etc/squeezeplay/userpath/settings/SqueezeboxBaby.lua and reboot the radio what happens
    --------------------------------------------------------------------
    Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub.
    Bedroom/Office: Boom
    Kitchen: Touch + powered Fostex PM0.4
    Misc use: Radio (with battery)
    iPad1 with iPengHD & SqueezePad
    (in storage SB3, reciever ,controller )
    server HP proliant micro server N36L with ClearOS Linux

    http://people.xiph.org/~xiphmont/demo/neil-young.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •