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
|-+  Support and General Use
| |-+  Hardware
| | |-+  iPod 5.5 and my car kit
« previous next »
  • Print
Pages: 1 2 [3]

Author Topic: iPod 5.5 and my car kit  (Read 11295 times)

Offline chileboy

  • Member
  • *
  • Posts: 40
Re: iPod 5.5 and my car kit
« Reply #30 on: January 26, 2011, 02:38:00 PM »
Quote from: torne on January 26, 2011, 02:13:20 PM
Ah, okay, the way you described it before sounded like you could access that cable. What exactly does the player think happens when you plug it in? Does it go into USB mode?

When I plug it in running RB, it displays "Accessing iPod" for about 30-40 seconds, then it says "error: unsupported iPod/software" and goes back to whatever it was doing (remember, it also controls my phone, etc. via Bluetooth, and any other devices that might be plugged in or running BT audio).  I can't then browse it as a USB device, either.

If I'm running the OF, it doesn't display any message at all when I plug it in - but after about 5-10 seconds I can access its menus and browse my music via the normal Artist, Genre, etc.  It also remembers where I left off - i.e., if I have a playlist loaded and simply turn the car off, when I next plug it in, it will resume playback where it was interrupted.

Quote
I suspect the head unit is not using the accessory serial port at all, and is probably operating over USB, so adding extra tracing/logging to iap.c won't get you anywhere (but it may be worth trying this just to prove whether or not it uses IAP at all).

Well, I'm a neophyte as you know, but if you tell me how to do this - only if you have the time - I will do so, recompile and post the results...

Quote
It's *probably* doing weird SCSI requests or something similar, which will require a variety of odd hacks to our USB stack to get at ;)

Even better!  Where do I start?   ;)
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: iPod 5.5 and my car kit
« Reply #31 on: January 26, 2011, 04:04:15 PM »
Quote from: chileboy on January 26, 2011, 02:38:00 PM
When I plug it in running RB, it displays "Accessing iPod" for about 30-40 seconds, then it says "error: unsupported iPod/software" and goes back to whatever it was doing (remember, it also controls my phone, etc. via Bluetooth, and any other devices that might be plugged in or running BT audio).  I can't then browse it as a USB device, either.
But what does the ipod do? Does it start charging? Go to USB mode?
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline chileboy

  • Member
  • *
  • Posts: 40
Re: iPod 5.5 and my car kit
« Reply #32 on: January 26, 2011, 07:50:06 PM »
Oh, I'm sorry torne  :-[

Yes, the player goes into USB mode...and yes, it does charge.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: iPod 5.5 and my car kit
« Reply #33 on: January 26, 2011, 08:26:25 PM »
If it goes into USB mode and stays there, but the head unit just refuses to do anything with it, then I suspect it's not using IAP/serial at all, and it's probably communicating over USB. As far as I know nobody on the project has ever experimented with anything that communicates that way, so we have very little as a starting point (unlike serial IAP which we know at least a little about). From things I have read around the internet I believe it's probably using it as a standard mass storage device, but it's sending nonstandard SCSI commands over that interface - this is how iTunes does time synchronisation at least, and it's a nice flexible method that can send bulk data conveniently :)

So, probably the thing to do is to enable (or add) any logging of unknown commands/etc in the USB core and USB mass storage drivers and see if it reports anything that's not a usual disk access. I can't easily give you more specific directions on how to do this right now, though, since I don't know that code particularly well and I don't have access to my development system. You may want to come to our IRC channel (#rockbox on Freenode) and see if anyone there can suggest where to start :)
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline chileboy

  • Member
  • *
  • Posts: 40
Re: iPod 5.5 and my car kit
« Reply #34 on: January 27, 2011, 04:39:52 PM »
Quote from: torne on January 26, 2011, 08:26:25 PM
So, probably the thing to do is to enable (or add) any logging of unknown commands/etc in the USB core and USB mass storage drivers and see if it reports anything that's not a usual disk access. I can't easily give you more specific directions on how to do this right now, though, since I don't know that code particularly well and I don't have access to my development system. You may want to come to our IRC channel (#rockbox on Freenode) and see if anyone there can suggest where to start :)

OK, understood torne - thanks very much for all of your input, I really do appreciate it - maybe I can ultimately contribute something of value.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: iPod 5.5 and my car kit
« Reply #35 on: January 27, 2011, 06:35:51 PM »
No problem; as we've suggested before to people with these problems, if you want to lend your car to a rockbox developer we'll probably work on it ;)
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

  • Print
Pages: 1 2 [3]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  iPod 5.5 and my car kit
 

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

Page created in 0.064 seconds with 14 queries.