sonyxperiadev / device-sony-yoshino

19 stars 40 forks source link

CAF Audio Hal #159

Closed stefanhh0 closed 4 years ago

stefanhh0 commented 4 years ago

Collected some commits to bring the new CAF audio HAL to yoshino. Not sure if the first two commits:

Make sense for yoshino. Requires a review.

This PR depends on https://github.com/sonyxperiadev/local_manifests/pull/100 without it yoshino will be very silent.

Tested it on yoshino/lilac, here are my test results resp. observations:

Good:

~Bad:~ ~- Audio cable connection to headset Sennheiser PXC 550: Phonecalls neither I hear something nor headset microphone is useable then.~

Fixed with: https://github.com/sonyxperiadev/device-sony-lilac/pull/45 https://github.com/sonyxperiadev/device-sony-maple/pull/69 https://github.com/sonyxperiadev/device-sony-poplar/pull/42

Unknown:

Log for failing phone call via audio cable: default_kernel_logcat_phohnecall_via_audio_cable.log

With the old vendor it was working, see log: default_kernel_logcat_phohnecall_via_audio_cable_old.log

kholk commented 4 years ago

There is no HDMI/DP on Yoshino, so the first commit that you've ported from Kumano is not applicable here.

Regarding your wired headset issue, we pointed out the solution in the chat, so apply it and it'll work great :D

P.S.: Yoshino does NOT support usb-c to analog 3.5mm adapters!! But yes of course it does support usb headsets with dac like your sennheiser luxury item :p

stefanhh0 commented 4 years ago

Removed the HDMI/DP on Yoshino commit and added additional PRs for fixing using the voice head-set via analog audio cable.

These four PRs should be then ready to be merged back.