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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Presenting iPod as a standard USB mass storage device for in-car use?
« previous next »
  • Print
Pages: [1] 2 3 4

Author Topic: Presenting iPod as a standard USB mass storage device for in-car use?  (Read 25585 times)

Offline bifter

  • Member
  • *
  • Posts: 10
Presenting iPod as a standard USB mass storage device for in-car use?
« on: April 01, 2010, 01:41:08 PM »
Hi,

I've had a look through the forums so forgive me if I've missed any threads on this topic however I haven't found an answer.

I have a new car with a head unit that supports a USB connection to any device that can be presented as 'mass storage'. It works fine with the micro SDHC card in my HTC Hero, USB sticks and so on, however when I connect my iPod (4th gen greyscale) I get something like 'Device Error - Not Supported'.

'OK' I thought, 'I'll load Rockbox on my iPod and that will work!' However it doesn't. Whenever I connect the iPod I see a picture of a USB on the iPod screen and it displays 'Multimedia mode' and then reboots. I then get the error on the head unit and the iPod displays 'OK to disconnect'. I've tried fiddling with the HID settings in the menu but that hasn't helped. I also saw a suggestion to hold down the Menu button when the plugging the USB in but that doesn't work either.

Does anyone know if Rockbox can present the iPod as mass storage or, if not, any software that will? Cheers!
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #1 on: April 01, 2010, 02:04:31 PM »
You're probably running a release build (3.5.1 if it's a recent install). Those have USB disabled because rockbox doesn't handle charging ipods from USB well at all. If you install a current build, it will use the rockbox USB implementation and not reboot, but you might have problems due to this charging issue.
Logged

Offline bifter

  • Member
  • *
  • Posts: 10
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #2 on: April 01, 2010, 02:35:52 PM »
Thanks for the prompt reply. I've tried installing the current build (r25423-100401) and you're right, it doesn't reboot. However the error message is still returned from the head unit. Any other ideas?
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #3 on: April 01, 2010, 02:41:27 PM »
You could try disabling HID, but if that helps, I'd expect the Apple diskmode to also work.

One possibility I can think of is that the head unit matches the Apple USB ids. If that's the case, you could try with a custom rockbox build with different ids. You'd have to edit firmware/export/config/ipod4g.h in the rockbox source and change USB_VENDOR_ID and USB_PRODUCT_ID
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #4 on: April 01, 2010, 07:07:10 PM »
http://cleansoap.org/files/Rockbox-r25432_NonAppleVendor-ProductID.zip

I had the same thought (that the stupid head unit is balking at known iPods), so I'd be very interested in this trial.

Question, though, is your music still in the Apple firmware created directory structure or are you using a "more sane" directory structure?

IF this build doesn't do the trick AND if you are using the Apple created directory structure the next test would be to delete the Apple directories and test if that is what the head unit is looking for.

« Last Edit: November 10, 2010, 07:22:22 PM by soap »
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline bifter

  • Member
  • *
  • Posts: 10
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #5 on: April 01, 2010, 07:20:59 PM »
Looks like, if I want to exhaust the options, I'll have to invest a bit of time and effort! While I would count myself as IT literate I'm not a developer, I was just looking for a quick fix to the fact that my iPod won't play through the USB connection on the head unit.

If I want to amend the source, does this mean I need to install SVN?

Incidentally we're talking about the VAG head unit (VW/Skoda/Seat) and yes, I am using the Apple created directory structure - I am aware that, even if I can get it working, this will simply present a bunch of randomly named folders and files to the head unit but at least I would be able to play the files on shuffle and use the steering-wheel mounted controls to skip tracks. If I got it working I would probably reload my music collection anyway.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #6 on: April 01, 2010, 07:31:07 PM »
I wasn't explicit before - but that link is to a custom build with the changes gevaerts was talking about.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline bifter

  • Member
  • *
  • Posts: 10
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #7 on: April 01, 2010, 07:37:46 PM »
Gotcha, cheers for that!

I was about to head off to bed anyway so will give this a try tomorrow. Am I able to just copy that folder structure over the top of the existing one or is there more to it? Sorry for noobness.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #8 on: April 01, 2010, 07:43:12 PM »
Overwrite existing directory structure with new.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline bifter

  • Member
  • *
  • Posts: 10
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #9 on: April 02, 2010, 08:35:29 AM »
Well, the head unit must be checking the ID tags because that firmware you provided works like a charm!!! Many, many thanks!  :D

There will be a lot of happy people on the VAG forums when I tell them about this, except the ones that have forked out c.£60 for the manufacturer's cable - that uses the USB and the line in jack for some reason, plus cables all over the place!

Is this fix perhaps something that could be offered as an option in the settings for a future build? It's likely to be a common issue, more so now that USB connections are fairly standard in cars.

As for the charging thing, I'll keep an eye on that. The only slight worry when I was out and about earlier today was that my phone disconnected from the bluetooth, which it's never done before. It happened just the once and instantly reconnected but it seems a bit of a coincidence, presumably the head unit got a bit confused?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #10 on: April 02, 2010, 02:39:37 PM »
Quote from: bifter on April 02, 2010, 08:35:29 AM
Is this fix perhaps something that could be offered as an option in the settings for a future build? It's likely to be a common issue, more so now that USB connections are fairly standard in cars.

It sounds like a work around for a bug in your car's USB driver, so I don't think this would be considered for the main build.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #11 on: April 02, 2010, 02:45:36 PM »
Making USB ids user-configurable sounds like a really bad idea to me, so the only real solution would be to drop the ids used by the original firmware altogether, but that would involve buying a USB vendor id, and those are not cheap.

I'm afraid there is no real good solution for this unfortunately. We'll have to think about which downside is the most acceptable.
Logged

Offline Multiplex

  • Member
  • *
  • Posts: 440
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #12 on: April 02, 2010, 02:55:50 PM »
Quote from: bifter on April 01, 2010, 07:20:59 PM
Incidentally we're talking about the VAG head unit (VW/Skoda/Seat)
Do you know the model number of that headunit? I'm wondering if this will work in my car...
Logged

Offline bifter

  • Member
  • *
  • Posts: 10
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #13 on: April 02, 2010, 04:47:39 PM »
Quote
Do you know the model number of that headunit?

Not off the top of my head but the car is a Seat Leon, 2010 build. I think the unit is common to a lot of the VW, Seat, Skoda range just with varying display modules on them. My thoughts are that this solution should work for most, if not all VAG head units that have USB - see below.

Quote
It sounds like a work around for a bug in your car's USB driver

Having thought about this I'm not so sure. I'm pretty sure that Seat offer iPod integration as an option - an iPod connector either in the glove box or under the driver's seat - though now that I look I can't see that option on their Web site!

Anyway I reckon they may be using the ID tags to try and stop people just mounting their iPods as mass storage, thus forcing them to buy the integrated option or buy after-market cables.

Quote
Making USB ids user-configurable sounds like a really bad idea to me

Not sure that I follow? Isn't there a generic mass storage option that could be toggled in the settings, like you can use an agent switcher in a browser for example? Alternatively use Cowon or iRiver or something, for the reasons above it may be the case that the head units are only looking for iPod IDs. Sorry for my ignorance if I'm misunderstanding.
Logged

Offline NiHaoMike

  • Member
  • *
  • Posts: 31
Re: Presenting iPod as a standard USB mass storage device for in-car use?
« Reply #14 on: April 02, 2010, 05:15:31 PM »
Quote from: gevaerts on April 02, 2010, 02:45:36 PM
Making USB ids user-configurable sounds like a really bad idea to me, so the only real solution would be to drop the ids used by the original firmware altogether, but that would involve buying a USB vendor id, and those are not cheap.

I'm afraid there is no real good solution for this unfortunately. We'll have to think about which downside is the most acceptable.
Is there anything wrong with using a generic mass storage ID?
Logged
"Want Allie Moore on your iPod? There's an app for that. It's called Rockbox."

  • Print
Pages: [1] 2 3 4
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Presenting iPod as a standard USB mass storage device for in-car use?
 

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

Page created in 0.102 seconds with 14 queries.