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

Audio device gets recreated on every USB connection #9

Open
JeDaYoshi opened this issue Sep 5, 2019 · 3 comments
Open

Audio device gets recreated on every USB connection #9

JeDaYoshi opened this issue Sep 5, 2019 · 3 comments

Comments

@JeDaYoshi
Copy link

JeDaYoshi commented Sep 5, 2019

Even if usbaudio is not running or anything, now an audio device is created on my system everytime I plug in my phone. Audio gets forwarded to here as normal, but I'd expect it to not create the device when not asked, just when using usbaudio. Well, I find some cases where it'd be convenient to just use this, but I also want to know a way to make this not happen.

This happens even after reboots.

@rom1v
Copy link
Owner

rom1v commented Sep 6, 2019

This is not expected.

USBaudio just sends a request to change the mode: https://source.android.com/devices/accessories/aoa2
But then, it should be "reset" on unplug.

What is the result of lsusb for your device?

@JeDaYoshi
Copy link
Author

JeDaYoshi commented Sep 6, 2019

It was just "Google Inc.", which is how it appears when being used as Audio Source.

Well, I had to change it manually from the Developer options, as it wasn't getting reset on unplug/reboot, and I had an issue where it was not making any sound on the speakers even if unplugged, being that the reason.

@JeDaYoshi
Copy link
Author

JeDaYoshi commented Sep 6, 2019

Normally:

Bus 002 Device 052: ID 1bbb:903a T & A Mobile Phones

With Audio Source (it was always getting like that, and I noticed the input in PulseAudio):

Bus 002 Device 053: ID 18d1:2d03 Google Inc.

Just for reference, my phone is an Alcatel CAMEOX (5044R), running Android 7.0.

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

2 participants