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

Android Auto won't connect with latest AA #40

Open
doctordbx opened this issue Jun 6, 2020 · 11 comments
Open

Android Auto won't connect with latest AA #40

doctordbx opened this issue Jun 6, 2020 · 11 comments
Labels
bug Something isn't working

Comments

@doctordbx
Copy link

So this seems to be a common problem with most AASDK based implementations. This problem doesn't exist in OpenAuto Pro which I have, but in intelligent-auto the problem is there.

[2020-06-06 20:37:17.752954] [0x00007fb26ed1f700] [info] [OpenAuto] [App] Waiting for device...
[2020-06-06 20:37:17.752974] [0x00007fb26ed1f700] [error] [OpenAuto] [AudioInputService] channel error: AaSdk error code: 30, native code: 0
[2020-06-06 20:37:17.752982] [0x00007fb26ed1f700] [error] [OpenAuto] [AudioService] channel error: AaSdk error code: 30, native code: 0, channel: SPEECH_AUDIO
[2020-06-06 20:37:17.752996] [0x00007fb26ed1f700] [error] [OpenAuto] [AudioService] channel error: AaSdk error code: 30, native code: 0, channel: SYSTEM_AUDIO
[2020-06-06 20:37:17.753000] [0x00007fb26ed1f700] [error] [OpenAuto] [SensorService] channel error: AaSdk error code: 30, native code: 0
[2020-06-06 20:37:17.753004] [0x00007fb26ed1f700] [error] [OpenAuto] [VideoService] channel error: AaSdk error code: 30, native code: 0
[2020-06-06 20:37:17.753008] [0x00007fb26ed1f700] [error] [OpenAuto] [AndroidAutoEntity] channel error: AaSdk error code: 30, native code: 0
[2020-06-06 20:37:17.753015] [0x00007fb26ed1f700] [debug] [OpenAuto] [AndroidAutoEntity] destroy.
[2020-06-06 20:37:17.753021] [0x00007fb26f520700] [error] [OpenAuto] [AudioService] channel error: AaSdk error code: 30, native code: 0, channel: MEDIA_AUDIO
[2020-06-06 20:37:17.753046] [0x00007fb26fd21700] [error] [OpenAuto] [BluetoothService] channel error: AaSdk error code: 30, native code: 0

I also have the same problem in crankshaft.

@rhysmorgan134
Copy link

What branch did you make it on?

@doctordbx
Copy link
Author

Develop branch. This is just running it on Linux though running it in VirtualBox, but I had the same issue with Crankshaft on the Pi... which is why I went to OpenAuto Pro.

@rhysmorgan134
Copy link

Did you also do a "git pull --recursive "

This one definately is working, it can just be abit tricky making sure you have all the correct branches on the submodules too.

I'm just in the process of doing a vid for installing it from scratch.

But im sure @rsjudka will be along to help out

@doctordbx
Copy link
Author

doctordbx commented Jun 6, 2020

Yep, also did that. Even manually pulled in the latest patch from this fork:
icecube45/aasdk@b69278a

It's actually running alright now since I posted this of course.

@rsjudka
Copy link
Owner

rsjudka commented Jun 7, 2020

Just to keep things documented in case someone else runs into this issue, how did you resolve it?

also, the aasdk develop branch actually has ice's fix just an fyi

@doctordbx
Copy link
Author

doctordbx commented Jun 7, 2020 via email

@rsjudka
Copy link
Owner

rsjudka commented Jun 8, 2020

Do the intermittent issues occur only when playing some sort of audio? I wonder if ice's fix wasn't enough to deal with all possible issues here.

What OS are you using? Have you tried different USB cables, ports? Have you tried running wireless AA?

@doctordbx
Copy link
Author

doctordbx commented Jun 8, 2020 via email

@rsjudka
Copy link
Owner

rsjudka commented Jun 8, 2020

hmm interesting i have not experienced this issue, but then again i haven't really done much testing in terms of the openauto connection. I'll try to see if I can reproduce it and see where its going wrong.

You got it working in a VM? I know someone around here tried doing that before but was having some issues with the USB connection. Did you need to do anything special to set that up?

In what ways are you interfacing with the CAN bus? I would be curious to see, maybe get some inspiration from it 😃

@doctordbx
Copy link
Author

I was actually surprised it worked at all in the VM and was sufficiently impressed when it did. It will only work through VirtualBox though I imagine and I doubt it would work on VirtualBox through Windows.

@icecube45
Copy link

Was everything made clean after updating aasdk to my fork? (or rsjudk's dev branch)
I've had that issue before where it appeared as it updated and built with the new code, but had something cached that retained the issue.

With the pandemic I haven't really be out driving much, so it's been a hot minute since I've run IA - I'll check it out this weekend when I have some free time and make sure it's not something new.

@rsjudka rsjudka added the bug Something isn't working label Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants