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 Display Shows Unsupported #15

Open
camper8080 opened this issue Feb 3, 2020 · 17 comments
Open

Car Display Shows Unsupported #15

camper8080 opened this issue Feb 3, 2020 · 17 comments

Comments

@camper8080
Copy link

Connected to USB port in a Honda Accord.

Car display shows Unsupported after a bit. Used swap config option a few different ways but same issue.

tracefile.log

Any help is appreciated.

Thank you!

@camper8080
Copy link
Author

tracefile2.log

@oandrew
Copy link
Owner

oandrew commented Feb 3, 2020

try this branch:
oandrew/ipod#7

@camper8080
Copy link
Author

camper8080 commented Feb 3, 2020

Not a coder by trade. Any help on switching branches? I may be able to hack my way through it. Thanks again for your time and making this project.

Best I could do was this. Nothing happens.

pi@raspberrypi:~/ipod-gadget/gadget $ git branch
0a

  • 7
    master

@oandrew
Copy link
Owner

oandrew commented Feb 3, 2020

just merged it to master

@oandrew
Copy link
Owner

oandrew commented Feb 3, 2020

git pull

@camper8080
Copy link
Author

Thank you. I'll give it a try as soon as I can.

@camper8080
Copy link
Author

I ended up wiping the Pi and reinstalling everything. The speaker test works for a bit then stops, car goes back to unsupported. Not sure if that is normal or not. Perhaps it's working now and now I need to present some audio. Plan is to use Shairport-sync. Let me know if there is anything else I should do.

@oandrew
Copy link
Owner

oandrew commented Feb 4, 2020

when running speaker-test you should hear some noise in speakers.

could you share the trace file?

@camper8080
Copy link
Author

camper8080 commented Feb 4, 2020

Yes, I do hear audio alternating between speakers. It runs for maybe 30 seconds, then stops playing audio, head unit says unsupported. The speaker test continues even though audio is not being played.

trace2.log

@camper8080
Copy link
Author

Installed shairport-sync while using hw:1 (card 1: iPodUSB [], device 0: iPod PCM []) in the config and it started playing music for about 15 seconds, the stopped stating unsupported - same issue as above. I was happy to hear music coming out! :)

@oandrew
Copy link
Owner

oandrew commented Feb 5, 2020

Just pushed some changes to master - might fix it for you

@camper8080
Copy link
Author

Playback is uninterrupted with the new changes. Only issue I had was changing sources (from USB (iPod), to radio and back, experienced drops and static. Could still hear music but not well. Not sure if this is something you can fix or not. I can also look at my shairport-sync settings. Attaching another trace if that helps. Ran it for a good 5-10 minutes, switch songs, and sources. Might all be in the trace.

trace3.log

Thanks again for helping me and your time. 👍

@oandrew
Copy link
Owner

oandrew commented Feb 5, 2020

i'm glad it worked!

@camper8080
Copy link
Author

From my last trace, can you see if steering wheel commands are sent? If so, is this something handled by your code or somewhere else? Any tips are appreciated. Thank you.

@camper8080
Copy link
Author

I see external commands in the log when hitting the forward/back on the steering wheel. Not sure how to get it to change tracks using shairport-sync. The original issue was resolved.

@camper8080
Copy link
Author

I started having issues with playback. Starts playing audio for about 30 seconds, then stops. Says unsupported. Running iOS 13.5.

tracelog.txt

@Kytech
Copy link

Kytech commented Apr 8, 2021

@camper8080 I had been having issues with this in my own car, a 2009 Civic. It was not working until just recently. I pulled down and rebuilt the ipod application from the newest codebase on master and it worked like a charm for audio playback.

From what I've seen in the codebase as I've worked with it, it looks like the code doesn't currently implement track navigation. As of right now, it acknowledges the signal and recognizes it, but it doesn't actually trigger anything on the device that is running the ipod app since there's no code in place to handle the event and forward it to the OS/other apps. This is probably because different apps can be controlled in different ways. Some may respond to a keyboard event, so you'd probably have to write a function to emulate a key press, while others may require communicating with their own API. I have never used shairport-sync, so I can't really provide any guidance relative to that.

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