No audio on headphones on HP X2 210 (Baytrail Atom - RT5640)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

we're running Fedora 27 on a HP X2 210. Grabbed the UCM config files for it
from the GIT repo of plbossart (
https://github.com/plbossart/UCM/tree/master/bytcr-rt5640) blacklisted the
snd_hdmi_lpe_audio and sound now works via the onboard speakers.

Current kernel is 4.15.13.

Audio via the headphones does not work. Been looking at the source code,
but most of the abbreviations are mumbo jumbo to me :). Doesn't look like
there are any for the headphones in 4.15.13.

Did find this patch:
https://webcache.googleusercontent.com/search?q=cache:FlvUx7XgbH4J:https://github.com/jwrdegoede/linux-sunxi/commit/+&cd=3&hl=en&ct=clnk&gl=nl

Which seems to enable a quirk for headphone detection. Doesn't seem to be
in 4.15.14 source. Do we require that patch? Not sure what this line does:

#define BYT_RT5640_JACK_PIN(quirk) ((quirk) & GENMASK(15, 13))

Would I need to flip bits 15 and 13? What would the parameter be? The file
is called bytcr_rt5640.c, but for the 5645 (Cherrytrail atoms) the kernel
parameter is called snd_soc_rt5645.quirk, is it called snd_soc_rt5640.quirk
here? Doubt it since there are quirks defined in sound/soc/codecs/rt5645.c
whereas I don't see any (4.15.14 sources) in sound/soc/codecs/rt5640.c.

Any advise would be most welcome :).

Thanks in advance.

Kind regards,
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux