Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  apple style sleep mode
« previous next »
  • Print
Pages: [1] 2

Author Topic: apple style sleep mode  (Read 3825 times)

Offline Spoonman

  • Member
  • *
  • Posts: 46
apple style sleep mode
« on: March 06, 2009, 08:00:59 AM »
ok, now we have the new usb stack up and working well, so maybe its time to implement something like the apple style sleep mode,  i mean the apple firmware does never fully power off the player unless the battery is empty or you reset the player, so the device does not have to boot every time. so when i plug my nano to the usb port of my car stereo in apple mode it remembers the position where it was with playback, when i am in rockbox every time the player shuts down the car stereo starts playback from track 1...
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: apple style sleep mode
« Reply #1 on: March 06, 2009, 08:58:19 AM »
How are you restarting playback in Rockbox? 

When you shut down Rockbox, it should remember the current playlist and your position in that playlist, and on next boot you can resume playback from where you left off.

The only thing a sleep mode could give you is a faster resume - the resume feature already exists.
Logged

Offline Spoonman

  • Member
  • *
  • Posts: 46
Re: apple style sleep mode
« Reply #2 on: March 06, 2009, 09:04:53 AM »
sorry, but it seems you missunderstood me wrong ;-)
rockbox itself works great, but i (and maybe some other people too) use my ipod nano also as usb disc in my car (my car stereo has a usb connector) and there the problem comes up, when rockbox is powered when the car stereo is turned on it is newly initialized and playback starts with track 1 on the disc. when the player is in ipod mode it does not really power off and so the car stereo resumes playback.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: apple style sleep mode
« Reply #3 on: March 06, 2009, 09:54:25 AM »
Yes, we got that. And he said that's not what's supposed to happen, it's supposed to remember where you are and resume where you left off, rather than at track 1. What revision of Rockbox are you using?
Logged

Offline Spoonman

  • Member
  • *
  • Posts: 46
Re: apple style sleep mode
« Reply #4 on: March 06, 2009, 10:06:27 AM »
i used r20192-090303, but did a update today wich i did not test yet.
Logged

Offline woyciesjes

  • Member
  • *
  • Posts: 43
Re: apple style sleep mode
« Reply #5 on: March 06, 2009, 11:33:08 AM »
    If I'm reading this right, the behaviour you're experiencing is normal and not a bug, I think...

     Your car stereo has it's own mp3 player, and it's just using your iPod as a removable disk, right? So, it should behave the same as when you plug the iPod in to a computer to sync, right?

    Or am I missing something?
Logged

Offline Spoonman

  • Member
  • *
  • Posts: 46
Re: apple style sleep mode
« Reply #6 on: March 06, 2009, 12:58:18 PM »
thats correct, but when i use the apple firmware resume works, and when i´m in rockbox it does not. so i assume that since the apple firmware does not totally power off the device and rockbox does this might be the cause of this behavior.
Logged

Offline woyciesjes

  • Member
  • *
  • Posts: 43
Re: apple style sleep mode
« Reply #7 on: March 06, 2009, 01:46:14 PM »
   Well, seem as if yours is operating opposite of mine, (iPod video 30GB 5.5G).
I'm running v 20102-090225 of Rockbox. I just tested... while playing a song in Rockbox, I connect it to my Mac PC, it kicks in to drive mode. Disconnected, Rockbox restarts, and I choose Resume Playback. Voila, the track I was listening to before I connected.
    But the iPod firmware doesn't do that. Would be nice if it did, though....
Logged

Offline Spoonman

  • Member
  • *
  • Posts: 46
Re: apple style sleep mode
« Reply #8 on: March 06, 2009, 03:24:06 PM »
seems like you got me wrong again, this is not really a pure rockbox issue, if i talk about resume i mean resume on my car stereos internal mp3 player. the only thing wrong is that rockbox powers off the ipod completely after a given time, where the ipod firmware goes to sleep mode.

when rockbox is active:
when turning on the car stereo the ipod starts into rockbox from cold state and resets the car stereo when it initalizes.

when apple os is active:
when the car stereo is turned on ipod awakes from sleep mode and the car stereo continues playback from where it ended when i left the car.
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: apple style sleep mode
« Reply #9 on: March 06, 2009, 03:28:28 PM »
Does your car stereo have a separate mode for iPods? 
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline woyciesjes

  • Member
  • *
  • Posts: 43
Re: apple style sleep mode
« Reply #10 on: March 06, 2009, 03:43:53 PM »
   Okay, I think I got it now. You want the _stereo's_ mp3 player to remember where it left off, right? The stereo is treating Rockbox like it's only a USB drive, right?

   I think Chronon might be on to something. You car stereo may automatically switch to a special control mode for iPods, vs Rockbox appearing as a regular USB disk....
Logged

Offline Spoonman

  • Member
  • *
  • Posts: 46
Re: apple style sleep mode
« Reply #11 on: March 06, 2009, 03:59:11 PM »
i dont think so, this would be mentioned somewhere at the stereo´s specs, so i am pretty sure it is just treated as a usb discdrive or thumbdrive. and if i power off the ipod when it is in apple firmware the same thing happens. it starts from the first track.
i think best solution for this would be having rockbox just powering off the display after a while when not in use instead of shutting down the device.
« Last Edit: March 06, 2009, 04:01:20 PM by Spoonman »
Logged

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: apple style sleep mode
« Reply #12 on: March 06, 2009, 04:07:12 PM »
What is the make and model of your car stereo?  My gut feeling is that Chronon is right, but I'm curious to see if the documentation for your stereo is available to get a better sense of how it works.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: apple style sleep mode
« Reply #13 on: March 06, 2009, 04:36:15 PM »
Well, is this case that hard? The car stereo doesn't resume properly. Rockbox itself does resume properly. Thus, the issue is with the car stereo. If there's a difference between running Rockbox and the OF then the stereo does something when it detects an Ipod -- when running Rockbox it will detect a UMS device like any other USB drive. Especially Rockbox UMS mode does not support the special SCSI commands the OF does so there is a good chance the car stereo is using that command to recognize an Ipod.

Anyway, as Rockbox behaves as expected but the car stereo not this is not a Rockbox issue and has nothing to do with sleep mode.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Spoonman

  • Member
  • *
  • Posts: 46
Re: apple style sleep mode
« Reply #14 on: March 06, 2009, 05:56:40 PM »
actually it is a cheap tevion car3000 with bluetooth, mp3 sd-mmc and usb, i did not find anything about this on the web, but the manual does not loose a word about ipods...

i guess that like linuxstb said the faster resume of the device could make the difference on this.
« Last Edit: March 06, 2009, 06:01:16 PM by Spoonman »
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  apple style sleep mode
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.11 seconds with 14 queries.