Open Danfro opened 4 years ago
And here some logs:
Everything after the "synced" line is right after plugging in the headphones until shortly after the phone switched to speaker again.
I can confirm this. As soon as the audio codec goes into suspend (presumably), the audio output switches back to speakers.
same here on xperia xp
I have Ubuntu Touch (stable, 64-bit, OTA-14) flashed on my Xperia X.
I have a wired in-ear headset (headphones with microphone). With my old Fairphone, in Android and UT the microphone never worked (only at the PC), but the headphones were fine with UT. Now with my Xperia X, there is a short pop-up when I connect the headphones with the device: volume for headphones. Then after half a second (or less) the popup changes in volume for speaker.
Sound output is always via the speaker, also when I plug in my headset during e.g. music playing.
Some old, half broken headphones without microphone do work.
confirmed still there (Devel). Headphone minijack plug will not appreciate ^ ^
Interesting, with headphone without a mic it seems there is no issues
I have an idea what could be wrong, suzu is still using the H2W kernel driver hack. The PulseAudio module can already use non-H2W events, which should work with suzu as well. I'll try setting CONFIG_SWITCH_H2W=n in the kernel config and see how it behaves.
EDIT: I've since changed the config, please test tomorrow's devel image to verify its functionality.
Oh wait a second, the config was still there but the driver itself has been reverted. I could try building a H2W-enabled driver again for you to compare functionality with. Anyone interested?
@fredldotme yes, instruction please :)
Running devel on Xperia X 32 bit.
Plug a wired headphone into the phone. The popup for headphone with the volume appears. Expected: headphone stays active Actual behaviour: after a while (?)/when starting morph or music app (?) headphone gets disconnected and speaker is used Confirmed by other users: yes
After replugging and e.g. playing a video headphone seems to stay active. It might be connected to some services being started?