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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Announcements
| | |-+  USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« previous next »
  • Print
Pages: 1 [2] 3 4 5

Author Topic: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video  (Read 68585 times)

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & V
« Reply #15 on: February 27, 2009, 04:09:17 AM »
Quote from: Llorean on February 26, 2009, 11:51:41 AM
It's really not possible with standard UMS. Two devices can't access the disk at the same time. Rockbox would need to have access to it for playback to work, and your computer would need to have access to it for file transfer to work.

But it's "just software" so surely we could in theory create an internal mutex system so that Rockbox's audio playback parts can block out the USB stack while it accesses the disk and then let in in again while it plays from ram only.

I'm not saying it would be easy or even desirable, only that it should be possible.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #16 on: February 27, 2009, 07:38:37 AM »
It may be technically possible, but the way it was explained to me is that the host operating system is the real issue. Since Windows (or whatever) assumes it's the only user of the filesystem, and we're exporting it as a block device, any changes we might make to the filesystem (updating .cfg, nvram, etc) could confuse the host operating system and we can't do anything about their side to make them realize the filesystem has multiple users.

I suppose a partial solution to this would be if the filesystem were read-only within Rockbox when this is occurring. I seem to recall other complications that arise there, but that were at least more addressable.
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #17 on: February 27, 2009, 08:41:54 AM »
Quote from: Llorean on February 27, 2009, 07:38:37 AM
complications that arise there

* cool_walking_ can't believe he remembers this, when he doesn't remember what he had for dinner 3...2 .. maybe it was 4 hours ago?

http://www.rockbox.org/irc/log-20080421#09:08:59
Logged

Offline arwa

  • Member
  • *
  • Posts: 4
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #18 on: February 28, 2009, 07:00:55 AM »
Great news! Thank you very much. This was a very important feature that was missing on my e200. I am happily looking forwared for 3.2.
Logged

Offline Mega

  • Member
  • *
  • Posts: 7
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #19 on: February 28, 2009, 01:30:37 PM »
On ipod mini 1G, the battery doesn't charge on rockbox usb mode.
Logged

Offline theJesus

  • Member
  • *
  • Posts: 3
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #20 on: February 28, 2009, 03:22:46 PM »
Does this mean it will be possible to charge the sansa (e200) via usb while playing music?

Also, in regards to the issue about the pc and rockbox accessing the disk "at the same time", could that be helped by a driver on the pc?  So that way the pc will know that it's "sharing" the device.
Logged

Offline InnocentBystander

  • Member
  • *
  • Posts: 2
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #21 on: February 28, 2009, 03:23:55 PM »
Awesome!  I've been a Rockbox user for months, but I just registered a new account specifically to say THANK YOU! for this.

You guys rock.

I've got an Ipod 5.5g, so I'll be testing on that.  So far it seems to be working just fine.  Files copy back and forth, and the transition from USB mode back into the menu when I eject it is silky smooth.  

So, looks great so far.

One question, though:  what does this do to the database updating?  Does it now automagically update the database?  Does "update automatically" still function?  Do I need to reboot to get it to update?  (Ok, that's three questions, but they're related.)

Thanks again!
« Last Edit: February 28, 2009, 03:30:17 PM by InnocentBystander »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #22 on: February 28, 2009, 03:43:07 PM »
Database updating never had anything to do with USB. The options for it are still exactly what they were before.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8963
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & V
« Reply #23 on: February 28, 2009, 03:46:43 PM »
Quote from: Dyrakhul on February 28, 2009, 03:22:46 PM
Does this mean it will be possible to charge the sansa (e200) via usb while playing music?

Its been possible to do that for a while.  Charging is separate from USB and was enabled earlier. 

Quote from: Dyrakhul on February 28, 2009, 03:22:46 PM
Also, in regards to the issue about the pc and rockbox accessing the disk "at the same time", could that be helped by a driver on the pc?  So that way the pc will know that it's "sharing" the device.

You can use other protocols like MTP that allow sharing the disk, so in theory if someone wrote an MTP driver for rockbox you could do both at the same time.
Logged

Offline DrRemulak

  • Member
  • *
  • Posts: 10
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #24 on: February 28, 2009, 04:47:46 PM »
Thank you many times for this new update.  Working great already!

Are there plans to allow a user to get out of USB mode without unplugging the USB cable from the PC?

In the past, it was possible to use Rockbox, hold down the circular button on the E200, plug in the USB cable and Rockbox would continue to function fine, even charging the battery.

Now it seems that, if the USB cable is connected, Rockbox functionality is disabled.  Likewise, if I hold down the circular button and plug in the USB cable, the Rockbox continues to play but I can't get into USB mode without disconnecting and reconnecting the cable.

It would be nice to allow the user to toggle back and forth between Rockbox mode and USB mode... but based on the conversations above ... perhaps that is not possible.
« Last Edit: February 28, 2009, 04:55:15 PM by DrRemulak »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8963
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & V
« Reply #25 on: February 28, 2009, 05:00:31 PM »
Quote from: DrRemulak on February 28, 2009, 04:47:46 PM
In the past, it was possible to use Rockbox, hold down the circular button on the E200, plug in the USB cable and Rockbox would continue to function fine, even charging the battery.

Now it seems that, if the USB cable is connected, Rockbox functionality is disabled. 

Just  a heads up, but this part is explained in the first post of this thread. 
Logged

Offline rasher

  • Developer
  • Member
  • *
  • Posts: 295
    • My Rockbox stuff
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #26 on: February 28, 2009, 06:29:01 PM »
Quote from: DrRemulak on February 28, 2009, 04:47:46 PM
Are there plans to allow a user to get out of USB mode without unplugging the USB cable from the PC?
This is possible since r20139 earlier today. Simply eject the device using your OS's feature for this.
Logged

Download my Rockbox stuff: Prebuilt Windows simulators, Fonts, and more!

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #27 on: February 28, 2009, 06:42:15 PM »
This doesn't seem to work with the c250 - it disconnects after an eject, but the USB icon remains on screen. (I'm using the new bootloader - not sure if that is relevant or not)
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline DrRemulak

  • Member
  • *
  • Posts: 10
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #28 on: February 28, 2009, 06:52:40 PM »
Quote from: yapper on February 28, 2009, 06:42:15 PM
This doesn't seem to work with the c250 - it disconnects after an eject, but the USB icon remains on screen. (I'm using the new bootloader - not sure if that is relevant or not)

Same behavior I see with my e280 and I'm also using the new bootloader and my version of RB is r20143-090228
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
« Reply #29 on: February 28, 2009, 07:01:34 PM »
c240 with r20146 and regular bootloader also does the same (disconnects, but display still shows USB logo)
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

  • Print
Pages: 1 [2] 3 4 5
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Announcements
| | |-+  USB for c2XX, e2XX, M:Robe 100, H10, iPod 4G, Mini, Mini 2G, Nano, Color & Video
 

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

Page created in 0.177 seconds with 23 queries.