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

[AOSP 10.0] [Qualcomm] Q vendor: no analog audio output (passive usb-c, or 3.5mm jack) #855

Open
phhusson opened this issue Nov 5, 2019 · 2 comments

Comments

@phhusson
Copy link
Owner

phhusson commented Nov 5, 2019

When plugging in usb-c, this error appears:
E/APM::HwModule(1123): createDevice: could not find HW module for device 0004 address

After initial investigation, Q vendor's audio policy (attached) doesn't declare wired headset, and dumpsys media.audio_policy shows no wired headset is declared, while it did on Pie vendor
audio-policy-p.txt
audio-policy-q.txt
q-vendor.zip
p-vendor.zip
q-caf-vendor.zip

Current proposed workaround is to add wired headset/headphones to devicePort and routes.

Feedback from tg:Giton22 about this workaround is awaiting.

@phhusson
Copy link
Owner Author

phhusson commented Nov 5, 2019

Workaround confirmed working. I attached it.
fixed_policy.zip

Bug reported to Google at https://issuetracker.google.com/issues/143971656

@phhusson phhusson changed the title [AOSP 10.0] Mi 9 Q vendor: no passive usb-c audio output [AOSP 10.0] [CAF] Q vendor: no analog audio output (passive usb-c, or 3.5mm jack) Apr 27, 2020
@phhusson phhusson changed the title [AOSP 10.0] [CAF] Q vendor: no analog audio output (passive usb-c, or 3.5mm jack) [AOSP 10.0] [Qualcomm] Q vendor: no analog audio output (passive usb-c, or 3.5mm jack) Apr 27, 2020
@phhusson
Copy link
Owner Author

Work-arounded with new Treble settings to use vendor audio policy instead of the one exposed to GSI

Lucchetto added a commit to Lucchetto/android_device_lenovo_zippo that referenced this issue Sep 11, 2020
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Sap1k added a commit to ParsimoniousLavender/device_xiaomi_sdm660-common that referenced this issue Sep 13, 2020
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855
Co-authored-by: Lucchetto <lucchetto.tie@live.com>
GiaSen pushed a commit to GiaSen/device_lenovo_kunlun2 that referenced this issue Nov 12, 2020
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
GiaSen pushed a commit to GiaSen/device_lenovo_kunlun2 that referenced this issue Nov 12, 2020
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
ZhouYu2003 pushed a commit to ZhouYu2003/LineageOS_device_lenovo_heart that referenced this issue Dec 21, 2020
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
ThEMarD pushed a commit to lenovo-sm8150/android_device_lenovo_sm8150-common that referenced this issue Mar 17, 2021
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Change-Id: Iaaea546a1c8e30f23eb80c3c91f150b43fc6d0a0
ThEMarD pushed a commit to lenovo-sm8150/android_device_lenovo_zippo that referenced this issue Mar 22, 2021
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Change-Id: Iaaea546a1c8e30f23eb80c3c91f150b43fc6d0a0
ThEMarD pushed a commit to lenovo-sm8150/android_device_lenovo_sm8150-common that referenced this issue Mar 25, 2021
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Change-Id: Iaaea546a1c8e30f23eb80c3c91f150b43fc6d0a0
ThEMarD pushed a commit to lenovo-sm8150/android_device_lenovo_sm8150-common that referenced this issue Mar 25, 2021
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Change-Id: Iaaea546a1c8e30f23eb80c3c91f150b43fc6d0a0
ThEMarD pushed a commit to lenovo-sm8150/android_device_lenovo_zippo that referenced this issue Apr 3, 2021
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Change-Id: Iaaea546a1c8e30f23eb80c3c91f150b43fc6d0a0
GeoZac pushed a commit to GeoZac/device_xiaomi_gram that referenced this issue Mar 1, 2022
    * Workaround for missing audio trough headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
GeoZac pushed a commit to GeoZac/device_xiaomi_gram that referenced this issue Mar 1, 2022
    * Workaround for missing audio through headphone jack
    * Source: phhusson/treble_experimentations#855

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
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

1 participant