Android x86 нет звука у bytcr-rt5640

244 views
Skip to first unread message

Кирилл Локтионов

unread,
Apr 5, 2020, 10:30:01 AM4/5/20
to Android-x86
Приветствую! Решил написать на русском, т.к. смотрю, большинство ответов на похожие темы от русскоязычных пользователей. Итак, по существу:
решил установить Android x86 на свой виндоусовский baytrail планшет HP Pavilion x2. Начал с версии 9.0 64-бита; звука нет. Alsa выдаёт 2 звуковых карты: 0 - bytcr-rt5640, 1 - hdmi... Пробовал согласно найденным в том числе и в этой группе решениям - копировать файлы bytcrrt5640.state в /etc/alsa с https://github.com/plbossart/UCM/tree/master/bytcr-rt5640 и bytcr-rt5640.conf c https://github.com/plbossart/UCM. Толку не было. Аналогично и с версиями 8.0, 7.1r3, 6.0, в итоге остановился на 7.1r1 32-бита. В чём может быть проблема? Как её расковырять и излечить? Видео на ютубе уже начинает воспроизведение со значком "включить звук". Щёлкнув на него, звук, конечно же, не включается.

29 brokera

unread,
Apr 9, 2020, 5:11:07 AM4/9/20
to Android-x86
Привет. Так тебе удалось вылечить звуковую карту или нет?

неділя, 5 квітня 2020 р. 17:30:01 UTC+3 користувач Кирилл Локтионов написав:

Povilas Staniulis

unread,
Apr 9, 2020, 7:32:28 AM4/9/20
to andro...@googlegroups.com
I can read your post but you would get more help if you posted in
English. Most people here can't read Russian.
User here needs help with RT5640 sound card on a Bay Trail machine.
Already tried a couple of config files from the interwebs (links below
in qoute), didn't help. Tried various versions of Android x86 with no
results.

On 2020-04-09 12:11, 29 brokera wrote:
> Привет. Так тебе удалось вылечить звуковую карту или нет?
>
> неділя, 5 квітня 2020 р. 17:30:01 UTC+3 користувач Кирилл Локтионов
> написав:
>
> Приветствую! Решил написать на русском, т.к. смотрю, большинство
> ответов на похожие темы от русскоязычных пользователей. Итак, по
> существу:
> решил установить Android x86 на свой виндоусовский baytrail
> планшет HP Pavilion x2. Начал с версии 9.0 64-бита; звука нет.
> Alsa выдаёт 2 звуковых карты: 0 - bytcr-rt5640, 1 - hdmi...
> Пробовал согласно найденным в том числе и в этой группе решениям -
> копировать файлы bytcrrt5640.state в /etc/alsa с
> https://github.com/plbossart/UCM/tree/master/bytcr-rt5640
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fplbossart%2FUCM%2Ftree%2Fmaster%2Fbytcr-rt5640&sa=D&sntz=1&usg=AFQjCNHdJpyg5G8x_eY8uLXicQitJdBZtg> и bytcr-rt5640.conf
> c https://github.com/plbossart/UCM
> <https://github.com/plbossart/UCM>. Толку не было. Аналогично и с
> версиями 8.0, 7.1r3, 6.0, в итоге остановился на 7.1r1 32-бита. В
> чём может быть проблема? Как её расковырять и излечить? Видео на
> ютубе уже начинает воспроизведение со значком "включить звук".
> Щёлкнув на него, звук, конечно же, не включается.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to android-x86...@googlegroups.com
> <mailto:android-x86...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-x86/b62d3a42-2d12-4821-aa81-76c4d122cf1c%40googlegroups.com
> <https://groups.google.com/d/msgid/android-x86/b62d3a42-2d12-4821-aa81-76c4d122cf1c%40googlegroups.com?utm_medium=email&utm_source=footer>.


29 brokera

unread,
Apr 10, 2020, 8:28:28 AM4/10/20
to Android-x86
Hi. You also don't know how to fix a problem with a broken sound card?

четвер, 9 квітня 2020 р. 14:32:28 UTC+3 користувач Povilas Staniulis написав:

Кирилл Локтионов

unread,
Apr 14, 2020, 4:24:49 PM4/14/20
to Android-x86
No, no solution yet. Povilas, thanks for translating the post! Actually, didn't have time for solving, so just tried some other versions and today upgraded to 9.0r2 32-bit (of course it's all the same) 'coz wanted to evade some wi-fi issue (doesn't turn on after starting the system sometimes). Don't know if it helps, and decided that it might depend on the battery charge. 'coz after the fully recharging wi-fi is always ok. Will try some sound fixes this weekend. 

воскресенье, 5 апреля 2020 г., 17:30:01 UTC+3 пользователь Кирилл Локтионов написал:

spin877

unread,
Apr 16, 2020, 5:56:46 AM4/16/20
to Android-x86
here's what I do to make audio work on my Chinese Intel Baytrail tablet with the rt5640 codec

rename the file

/system/lib/firmware/intel/fw_sst_0f28_ssp0.bin
in
/system/lib/firmware/intel/fw_sst_0f28.bin

applied this pach to the kernel


although I think the most important thing is to remove the string

BYT_RT5640_SSP0_AIF1


bytcr_rt5640.c.patch

youling 257

unread,
Apr 16, 2020, 10:58:00 AM4/16/20
to Android-x86
most insyde chinese tablet is Bay trail-CR, sound work with aif1 ssp0.
you can add a quirk for your tablet like ONDA v975w https://github.com/torvalds/linux/blob/master/sound/soc/intel/boards/bytcr_rt5640.c#L632

在 2020年4月16日星期四 UTC+8下午5:56:46,spin877写道:

spin877

unread,
Apr 16, 2020, 1:30:57 PM4/16/20
to Android-x86
YES I noticed that my tablet is a "borderline case".
only by doing as I did I can make the audio work. 
I think mine is a poorly designed tablet, in fact I have a Micro-USB port (otg ?),
which has never worked. I don't know what it is for. 
if I connect it to the cumputer nothing happens. 
it does not even recharge the battery because it has an external 12 volt connector.


[    4.014046] bytcr_rt5640 bytcr_rt5640: BIOS Routing: AIF1 connected
[    4.014064] bytcr_rt5640 bytcr_rt5640: quirk IN1_MAP enabled
[    4.014067] bytcr_rt5640 bytcr_rt5640: quirk realtek,jack-detect-source 3
[    4.014070] bytcr_rt5640 bytcr_rt5640: quirk realtek,over-current-threshold-microamp 2000
[    4.014073] bytcr_rt5640 bytcr_rt5640: quirk realtek,over-current-scale-factor 1
[    4.014076] bytcr_rt5640 bytcr_rt5640: quirk DIFF_MIC enabled
[    4.014079] bytcr_rt5640 bytcr_rt5640: Invalid routing, bytcr detected but no SSP0-based quirk, audio cannot work with SSP2 on bytcr
[    4.014081] bytcr_rt5640 bytcr_rt5640: quirk MCLK_EN enabled
[    4.019134] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[    4.019220] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
[    4.021524] bytcr_rt5640 bytcr_rt5640: rt5640-aif1 <-> ssp2-port mapping ok
[    4.025882] input: bytcr-rt5640 Headset as /devices/platform/80860F28:00/bytcr_rt5640/sound/card0/input1

29 brokera

unread,
Apr 18, 2020, 7:17:53 AM4/18/20
to Android-x86
After these kernel manipulations, is the sound on your tablet working?

четвер, 16 квітня 2020 р. 12:56:46 UTC+3 користувач spin877 написав:

29 brokera

unread,
Apr 18, 2020, 7:20:58 AM4/18/20
to Android-x86
Can you tell how you added the patch to the kernel?


четвер, 16 квітня 2020 р. 12:56:46 UTC+3 користувач spin877 написав:
here's what I do to make audio work on my Chinese Intel Baytrail tablet with the rt5640 codec

Кирилл Локтионов

unread,
Apr 26, 2020, 7:39:44 AM4/26/20
to Android-x86
Hi Spin,

Both the files fw_sst_0f28_ssp0.bin and fw_sst_0f28.bin in the folder specified are the same I guess. Their sizes are the same and renaming didn't do anything. BTW, how to look through the .bin docs in Android x86? 
Couldn't patch using your file. When launching it from the Downloads folder, the terminal says: 
patching: sound/soc/intel/boards/bytcr_rt5640.c
patch: sound/soc/intel/boards/bytcr_rt5640.c: No such file or directory

четверг, 16 апреля 2020 г., 12:56:46 UTC+3 пользователь spin877 написал:

DDS Central

unread,
Apr 26, 2020, 11:47:26 AM4/26/20
to Android-x86
It's a patch for the Linux kernel. You need to recompile the kernel.

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/4dd1d630-9efe-4f8a-b722-a54698ce1183%40googlegroups.com.

spin877

unread,
Apr 26, 2020, 11:56:43 AM4/26/20
to Android-x86
the files are different
test  to do
md5sum fw_ sst_0f28_ssp0.bin
md5sum fw_ sst_0f28.bin

you will have different results


I repeat very few tablets (including mine) need this modification. all the others don't need it because they are made better


the patch (as DDS Central also says) should be applied only if you intend to recompile the kernel yourself from the sources
Reply all
Reply to author
Forward
0 new messages