Support and General Use > Hardware
Ipod classic 7th Gen (160Gb) + Apple Universal dock (including an Apple Remote)
KaiStone:
Glad to hear that u still trying to get this works.
I love Rockbox but it has been a long time ago, I have to go back to stock just to get the benefit from dock and remote controls.
bobba_mosfet:
I've spent a few of my evenings on this thing, but don't feel like I'm any closer yet!
I've played with apps/iap/iap-core.c and tried to force version 2 of the iap via (didn't think HAVE_LINE_REC would be set for ipod6g ):
{1, 2}, /* General lingo, 0x00 */
#ifdef HAVE_LINE_REC
{1, 1}, /* Microphone lingo, 0x01 */
#else
{1, 2}, /* Microphone lingo, 0x01, disabled */
#endif
But I don't think its working properly.
My debug build is fine because I can see codec complaints logged.
I saw suggestions from saratoga http://forums.rockbox.org/index.php/topic,25970.msg174496.html#msg174496
for logging the iap commands, and I guess I need to start adding logf("foo %s") etc. to try and find out whats going on.
Again, if someone familiar with this could point me in the right direction I'll be happy to try and do some testing.
Maybe Alan Korr & Nick Robinson are the people to contact as they are listed in iap-core.c ?
Obviously, I know only small amounts about C - and am learning as I try an understand the codebase.
bobba_mosfet:
I realise now how the define logic works that was confusing me before. Stupid mistake and not at all the right path.
I can see that my iPod is getting as far as iap_setup inside of apps/iap/iap-core.c by adding some logf:
--- Code: ---void iap_setup(const int ratenum)
{
logf("inside of iap_setup");
iap_bitrate_set(ratenum);
...
--- End code ---
this is called by apps/main.c
--- Code: ---#ifdef IPOD_ACCESSORY_PROTOCOL
iap_setup(global_settings.serial_bitrate);
#endif
--- End code ---
One thing I noticed is that pressing buttons on the remote _used_ to make the LCD turn on, but on my debug builds this is no longer happening.
Probably unrelated to changes but thought I would mention it. I'll try and revert and see if this happens still any old builds I might have still.
I'm reading up on https://nuxx.net/wiki/Apple_Accessory_Protocol and I can see that apps/iap/iap-lingo2.c is implementing all of the diferent mode 2 commands.
I'm just not sure how/if iap-lingo2.c is actually ever firing off - really feels like someone has fully implemented this and there is just a bool waiting somewhere to enable it all lol.
I'll try and add some more logf calls to things as I understand them.
Dumping this here for myself as much as anyone else as I'll probably forget where I last got to and need to remind myself.
Edit: 4ed5727 is waking the LCD on Left, Right and Play/Pause on the remote. Is there a call to lcd_awake mixed in with iap code somewhere?
Chronon:
@bobba_mosfet Have you tried asking questions on the IRC channel? That used to be a more reliable method of getting responses from developers, but I haven't been active around here for a while so I'm not sure of the current situation.
bobba_mosfet:
Thanks Chronon for the suggestion.
Must have been 10 years since I last used IRC in any frequency.
I always felt slightly uneasy about leaking my ip to the whole channel though, at least with a website only the siteops would see it!
I've been meaning to get a bouncer setup so I can have a dive back into the world of IRC, I'll be sure to idle in #rockbox when I get znc working properly.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version