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
| | |-+  Make Rockbox act like USB Drive? (To work with car stereo)
« previous next »
  • Print
Pages: [1]

Author Topic: Make Rockbox act like USB Drive? (To work with car stereo)  (Read 3303 times)

Offline Kappa_Cat

  • Member
  • *
  • Posts: 5
Make Rockbox act like USB Drive? (To work with car stereo)
« on: August 11, 2014, 06:45:41 PM »
My car stereo works if you plug an iPod in, making the car act like giant headphones, but with rockbox it just says 'error'.

However the car stereo will also play music off a USB stick, with you using the actual stereo to navigate.

I only want to do this as I think USB is much better audio quality than 3.5mm jack? (If this is not true then there is no issue, I'll just use jack!)
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Make Rockbox act like USB Drive? (To work with car stereo)
« Reply #1 on: August 11, 2014, 09:12:44 PM »
This post doesn't give a lot of information to work with, but if I make a couple of assumptions I believe I can ascertain what's going on here.

You say the car stereo head unit works with {an|your} iPod (the assumption I'm making here is that you mean "works with the original firmware").
You also state that it does not work when said iPod is running Rockbox.
You also assert that the head unit is able to read from generic USB mass storage devices, but not the iPod using Rockbox (see above).

From this, I can gather that the head unit is attempting to communicate with the iPod using IAP (iPod Accessory Protocol - not In App Purchasing ;) ).

This is not uncommon at all and perfectly understandable.

The head unit "sees" that the device is an iPod (by using USB vendor and product ID codes), and assumes it can communicate with it using the iPod Accessory Protocol (which is partially supported in Rockbox but very, very, very far from complete). This is a valid assumption, in their world, alternative firmware for this device doesn't exist.

There's potentially a couple of ways around this, depending on how the head unit behaves:
You may find that if you force Apple's Disk Mode, things will "Just Work(TM)".
Failing that, the alternative solution is quite a bit more in depth and would require you to compile your own modified Rockbox binary. The solution here would be to change the USB VID/PID codes that Rockbox uses (we recycle the VID/PID from the original hardware) so that the head unit can no longer see the device is an iPod.

Regarding USB vs. 3.5mm, it is incredibly likely that the sound system and/or source material will negate any potential improvement USB may offer.



[Saint]
« Last Edit: August 11, 2014, 09:16:54 PM by [Saint] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Kappa_Cat

  • Member
  • *
  • Posts: 5
Re: Make Rockbox act like USB Drive? (To work with car stereo)
« Reply #2 on: August 12, 2014, 02:08:36 PM »
Thanks for your reply! Very extensive. I'll try the Apple's Disk Mode and hope it just works (TM).

If not I'll have to have the USB plugged in to charge, and the Jack in for music! Slightly messy but oh well, its better than going back to original firmware.
Logged

Offline __builtin

  • Developer
  • Member
  • *
  • Posts: 385
  • iPod 6G, c200v1 (RIP), e200v1 (RIP)
    • FWEI.TK
Re: Make Rockbox act like USB Drive? (To work with car stereo)
« Reply #3 on: August 12, 2014, 02:25:24 PM »
Quote from: Kappa_Cat on August 12, 2014, 02:08:36 PM
Thanks for your reply! Very extensive. I'll try the Apple's Disk Mode and hope it just works (TM).

If not I'll have to have the USB plugged in to charge, and the Jack in for music! Slightly messy but oh well, its better than going back to original firmware.

[Saint] took too much time writing this, and he didn't have enough to write http://forums.rockbox.org/index.php/topic,48462.msg229241.html#msg229241
;)
Logged
No support questions by PM, please.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Make Rockbox act like USB Drive? (To work with car stereo)
 

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

Page created in 0.073 seconds with 15 queries.