View Issue Details

IDProjectCategoryView StatusLast Update
0000900channel: kernel/el7--kernel--request-for-enhancement--public2019-02-23 09:38
Reportermhs73 Assigned Toburakkucat  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000900: Modules for sound card rt5645 missing in kernel 4.20(.7-1.el7.elrepo.x86_64) for CentOS 7
DescriptionI am using CPU SoC/Intel x5-8350 with CentOS 7. Sound card chtrt5645 (as shown by Ubuntu) is not working. With distro kernel (3.10.0-957.5.1) at least snd-soc modules for rt5645 are loaded (like in Ubuntu), though sound is not working. But in ElRepo kernel 4.20 the snd-soc modules for rt5645 are not even present (in /lib/modules). Can you fix this?
I would expect the ElRepo kernel to fix the distro's problem, as it does for Wifi (Broadcom 4345/6, brcmfmac).
TagsNo tags attached.

Activities

burakkucat

2019-02-16 14:01

administrator   ~0006200

Acknowledging your RFE.

It would be helpful to see the relevant vendor:product ID pairing for the relevant audio subsystem, as shown in the output from an lspci -nn command, please. (Either from CentOS or Ubuntu, whichever is more convenient for you.)

mhs73

2019-02-17 03:42

reporter   ~0006203

Sorry, lspci does not list any audio device, neither on CentOS nor on Ubuntu. This is the output by Ubuntu:

00:00.0 Host bridge [0600]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register [8086:2280] (rev 36)
00:02.0 VGA compatible controller [0300]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers [8086:22b0] (rev 36)
00:14.0 USB controller [0c03]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller [8086:22b5] (rev 36)
00:1a.0 Encryption controller [1080]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine [8086:2298] (rev 36)
00:1c.0 PCI bridge [0604]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 [8086:22c8] (rev 36)
00:1f.0 ISA bridge [0601]: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU [8086:229c] (rev 36)
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)

I think cht means Cherry Trail, rt means Realtek.

One of the modules in question is snd_soc_sst_cht_bsw_rt5645, which is loaded by Ubuntu and by CentOS distro. I think bsw means Braswell. Hdmi audio works on CentOS, on distro (3.10) and on ElRepo (4.20).

burakkucat

2019-02-18 09:56

administrator   ~0006204

Thank you for that useful information.

There is a kernel-ml-5.0.0-0.rc7.el7.elrepo package that was built earlier today. It was configured so as to make a number of ASOC and codec modules available. That release candidate can be directly downloaded from --

https://elrepo.org/people/ajb/devel/kernel-ml/el7/x86_64/RPMS/kernel-ml-5.0.0-0.rc7.el7.elrepo.x86_64.rpm

When convenient, please download a copy, install the package, boot the kernel and then test to see if it resolves your problem.

mhs73

2019-02-18 11:42

reporter   ~0006205

Thank you. The new kernel detects the sound card, and the sound card is listed by aplay, hence it is usable. But some hardware parameters are not correctly set. When I play a sound file, aplay reports (sorry, in German):

Wiedergabe: WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate: 48000 Hz, mono
[ 697.631399] Audio Port: ASoC: no backend DAIs enabled for Audio Port
aplay: set_params:1403: Fehler beim Setzen der Hardware-Parameter:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 48000
PERIOD_TIME: 125000
PERIOD_SIZE: 6000
PERIOD_BYTES: 12000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 24000
BUFFER_BYTES: 48000
TICK_TIME: 0

mhs73

2019-02-18 11:51

reporter   ~0006208

Sorry, my interpretation (parameters not correctly set) may be wrong. The translation of the error message would be: Error while setting the hardware parameters.

toracat

2019-02-18 16:22

administrator   ~0006214

This is as far as we, ELRepo Project, can help with respect to the kernel configuration. Closing the ticket as 'resolved'.

burakkucat

2019-02-21 10:03

administrator   ~0006219

A brief note to mention that the recently released kernel-lt-4.4.175-1.el7.elrepo.x86_64 [1] and kernel-ml-4.20.11-1.el7.elrepo.x86_64 [2] package sets now contain the equivalent configuration adjustments.

[1] http://lists.elrepo.org/pipermail/elrepo/2019-February/004681.html
[2] http://lists.elrepo.org/pipermail/elrepo/2019-February/004682.html

mhs73

2019-02-22 09:30

reporter   ~0006220

I reopen just to say thank you.
I made a fresh install with the prelimnary kernel 5.0 on top, and now it works.
I do not understand the alsa error I reported, and why it disappeared.
Looking forward to check the new kernel-ml.
Thanks again.

burakkucat

2019-02-23 09:38

administrator   ~0006221

Now closing as "resolved/fixed".

Issue History

Date Modified Username Field Change
2019-02-16 13:39 mhs73 New Issue
2019-02-16 13:39 mhs73 Status new => assigned
2019-02-16 13:39 mhs73 Assigned To => stindall
2019-02-16 13:47 burakkucat Project elrepo bug tracker => channel: kernel/el7
2019-02-16 13:48 burakkucat Assigned To stindall => burakkucat
2019-02-16 13:48 burakkucat Category --bug-tracker--request-for-enhancement-- => --kernel--request-for-enhancement--
2019-02-16 14:01 burakkucat Note Added: 0006200
2019-02-17 03:42 mhs73 Note Added: 0006203
2019-02-18 09:56 burakkucat Note Added: 0006204
2019-02-18 09:56 burakkucat Status assigned => feedback
2019-02-18 11:42 mhs73 Note Added: 0006205
2019-02-18 11:51 mhs73 Note Added: 0006208
2019-02-18 14:53 burakkucat Status feedback => assigned
2019-02-18 16:22 toracat Note Added: 0006214
2019-02-18 16:23 toracat Status assigned => resolved
2019-02-18 16:23 toracat Resolution open => fixed
2019-02-21 10:03 burakkucat Note Added: 0006219
2019-02-22 09:30 mhs73 Note Added: 0006220
2019-02-22 09:30 mhs73 Status resolved => assigned
2019-02-22 09:30 mhs73 Resolution fixed => reopened
2019-02-23 09:38 burakkucat Note Added: 0006221
2019-02-23 09:38 burakkucat Status assigned => resolved
2019-02-23 09:38 burakkucat Resolution reopened => fixed