Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Car doesn't recognise device as an iPod #2

Open
gerryd opened this issue Apr 1, 2018 · 2 comments
Open

Car doesn't recognise device as an iPod #2

gerryd opened this issue Apr 1, 2018 · 2 comments

Comments

@gerryd
Copy link

gerryd commented Apr 1, 2018

Hi,

First of all, many thanks for this project. It is exactly what I was looking for, and I'm very excited to get it to work!

I have an OrangePi Zero Plus 2 H5 and I'm running Armbian on it. I have compiled the ipod-gadget module and loaded it, which seems to work fine (after I prevented the g_serial module from being loaded, which is in Armbian's /etc/modules by default). I have the /dev/iap0 device and the ALSA iPodUSB card is there.

Now, when I plug the OrangePi in my car (a Volvo V60 MY2015 with Sensus Connect), it sees that something is happening. The screen switches briefly (~.5s) from "Connect iPod" to "Reading iPod" and then says "iPod unreadable".

When I plug in the OrangePi in my laptop, it sees it as an iPhone 4 and I can play audio from it, so I'm guessing my car expects some or other magic IAP command, but I have no idea where to start. The ipod command doesn't say anything, even when running with -d and the tracefile is empty.

Any pointers?

@oandrew
Copy link
Owner

oandrew commented Aug 15, 2018

Try with different product_id and/or swap_config=1
i.e. insmod g_ipod_gadget.ko [swap_configs=0] [product_id=0x1297]
More info here:
https://github.com/oandrew/ipod-gadget

@bbfelts
Copy link

bbfelts commented Sep 2, 2019

I had to use swap_config=1 to get mine recognized on a Raspberry Pi Zero W.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants