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
| | |-+  ipod remote control port - accessory protocol - status, how to fix
« previous next »
  • Print
Pages: [1]

Author Topic: ipod remote control port - accessory protocol - status, how to fix  (Read 5944 times)

Offline cacona666

  • Member
  • *
  • Posts: 4
ipod remote control port - accessory protocol - status, how to fix
« on: January 30, 2009, 11:23:40 AM »
Hi,

I've seen remote control and accessory protocol changes have been committed to SVN.
I've compiled this version and it does not work with a remote control (in the remote control port) with my Ipod Photo (4G Color). Should it work?

I would like to know what can I do to make it work or test it.
I've made some changes to the sources to log some information but the Ipod does not seem to be receiving anything. Can it be a problem with the serial port configuration particular to the 4G Color?

I'm new to rockbox development. I've found almost no documentation about the PP5020 CPU. I've browsed the sources and found these are important:
* iap.c, and serial.c: for serial communication. Here, the serial port is configured, and managed.
* button.c: logic for button configuration and handling
* Other important sources for ipods and the model in particular: keymap-ipod.c, button-clickwheel.c, action.c, button-target.h, config-ipodcolor.h, misc.c, settings.c.

Can anyone give me some tip on where to start with the test of serial port with 4G Photo? Which should be the more similar model regarding remote control port?

Thanks,
Caco
Logged

Offline rpress

  • Member
  • *
  • Posts: 4
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #1 on: February 15, 2009, 10:57:50 PM »
4G support never worked, only 5/5.5G work.  To make it work, you need to figure out how to use the serial port on a 4G, and add that support to serial.c.
Logged

Offline cacona666

  • Member
  • *
  • Posts: 4
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #2 on: February 16, 2009, 10:47:07 AM »
Ok, thank you.
Is that possible without an oscilloscope and with the few documentation available?
Where should I start?

Regards,
Juan Carlos
Logged

Offline rpress

  • Member
  • *
  • Posts: 4
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #3 on: February 17, 2009, 03:18:02 AM »
Quote from: cacona666 on February 16, 2009, 10:47:07 AM
Ok, thank you.
Is that possible without an oscilloscope and with the few documentation available?
Where should I start?

Regards,
Juan Carlos

I spent all day and got it working.  My girlfriend has a 4G Color and I commandeered it.  ;D

http://www.rockbox.org/tracker/task/9920
Logged

Offline cacona666

  • Member
  • *
  • Posts: 4
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #4 on: February 17, 2009, 08:13:06 AM »
Good boy!
I'll try it and tell you.

Thanks!
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #5 on: February 17, 2009, 10:44:11 PM »
You chose your girlfriend well.   ;)
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline rpress

  • Member
  • *
  • Posts: 4
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #6 on: February 22, 2009, 11:23:58 AM »
So, how did it work?

If you are having problems compiling, here is my compiled copy for 4G Color:
http://drop.io/tbpd8js
Logged

Offline joust

  • Member
  • *
  • Posts: 19
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #7 on: April 11, 2009, 07:53:59 PM »
Quote from: rpress on February 15, 2009, 10:57:50 PM
4G support never worked, only 5/5.5G work.  To make it work, you need to figure out how to use the serial port on a 4G, and add that support to serial.c.

should this work? I have a 60gig 5.5 (that I have a 80gig drive in) and it doesn't work with the latest build as of today.
I have one of those portable jukebox docks with a remote. The ipod would play, pause and stop with the remote but not with todays version of rockbox.
Logged

Offline evilny0

  • Member
  • *
  • Posts: 5
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #8 on: May 12, 2009, 09:04:23 PM »
I thought the AAP was working on 4G colors already, and that only 4G greyscale were not. However, if both are working - which I'll test tomorrow - this is very good news. I reverted to the original firmware to be able to listen to my ipod on my car headunit, but I had to convert my flac files to mp3.

Do you think it may work ?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #9 on: May 12, 2009, 11:48:58 PM »
There's a chance, if the only thing that held up the 4g from working previously was serial port stuff and it's common to both models.  Let us know the result of the test. 
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline evilny0

  • Member
  • *
  • Posts: 5
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #10 on: May 13, 2009, 10:09:53 AM »
I did a quick test with a wireless remote, the IAP packet is displayed in the debug menu i/o ports. I'll test with the headunit when I leave the office, but it looks promising ! :).

I don't know how you figured it out, but you made a real good job. Thanks !

Edit after testing on the headunit:

It currently does not work. I'll implement tomorrow the missing functions from the protocol and test it again.
« Last Edit: May 13, 2009, 04:42:58 PM by evilny0 »
Logged

Offline evilny0

  • Member
  • *
  • Posts: 5
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #11 on: May 15, 2009, 12:39:22 PM »
I added a log function, logging all ingoing and outgoing IAP packets. You can find it in the following FS : http://www.rockbox.org/tracker/task/9951.

It could help finding problems.
Logged

Offline cacona666

  • Member
  • *
  • Posts: 4
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #12 on: July 06, 2009, 04:37:36 PM »
Hi.
Any news about this? I tried and couldn't make it work.

Regards,
caco
Logged

Offline Creposucre

  • Developer
  • Member
  • *
  • Posts: 32
Re: ipod remote control port - accessory protocol - status, how to fix
« Reply #13 on: October 16, 2009, 02:15:30 PM »
FS10623 improves detection of ipod accessories ans adds support of some remote buttons.

You may want to have a look at it.

Please report any problem or result (positive  ;))

Thanks
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  ipod remote control port - accessory protocol - status, how to fix
 

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

Page created in 0.106 seconds with 15 queries.