Created attachment 1623428 [details] Latest dmesg Description of problem: Internal microphone is not recognized, and possibly front speakers (as I don't hear the sound) Version-Release number of selected component (if applicable): Kernel release: 5.4.0-0.rc2.git0.1.fc32.x86_64 Driver version: k5.4.0-0.rc2.git0.1.fc32.x86_64 Utilities version: 1.1.9 tested with previous kernels as well starting from 5.0.x, 5.1.x, 5.2.x and 5.3.1. Even rawhide is not supporting Realtek ALC285 alsa-info script included in the attachment How reproducible: Use any HP Spectre X360 (2018) 13" model ap03xxng load Fedora 30 or 31, and check for Microphone in the settings. Also it appears that not all speakers are working, but only 2 out of 4 Actual results: After testing on Fedora 30, 31 with kernels which I wrote above, the microphone detection is missing. Also sound to all 4 speakers are not recognized. Expected results: Microphone should be supported, and speakers as well module: Realtek ALC285 Additional info: In the attachment you might find alsa-info script output, and dmesg from my PC.
Created attachment 1623429 [details] older kernel version dmesg output
Created attachment 1623430 [details] Alsa info old output (kernel 5.4-rc1)
Created attachment 1623431 [details] Alsa info old output (kernel 5.4-rc2)
There were some attempts to patch this issue in regards to internal microphone and all 4 speakers. While investigating this issue, I found this sit with the same issue. It appears that someone created a patch. So, the patch for this is made and available here: https://github.com/gled-rs/linux-hp_ap0xxx Since I don't have a hw programming knowledge, perhaps someone can look at this patch, review it and if it is good/valid, to implement it in the new version.
Sorry I forgot to give a link to site where I found similar issue: https://wiki.archlinux.org/index.php/HP_Spectre_x360_-_13-ap0xxxx
This bug is filed against the alsa-firmware package but doesn't sound like a problem with alsa-firmware. alsa-firmware contains firmware drivers for a very small number of specialist sound cards only. Please be aware that problems with sound can be caused by many different software components within a Fedora system (including ALSA kernel modules, PulseAudio, desktop volume controls, individual applications and more) and you may find it easier to get some informal help to track down the problem before filing bugs (if necessary), so that you can file them against the right component and the appropriate person can help. Information about debugging sound problems can be found here: https://fedoraproject.org/wiki/How_to_debug_sound_problems General help resources are listed here: https://fedoraproject.org/wiki/Communicating_and_getting_help
ok, so what about microphone which is not listed? Again, the bug was filed primarily for microphone which is not recognized.
It's Intel's Cannonlake platform. Most likely, the digital microphone (DMIC) is connected directly to the DSP. You need sof-pci-dev driver and appropriate firmware. Unfortunately, not all pieces are ready for the distributions (firmware, UCM configs, the kernel auto-detection for such hardware). We are working on it with Intel. Please, wait for few weeks.
Hi Jaroslav. Thanks for the explanation. I am only a sys engineer, so in regards to hardware and programming part, I rather chose to report and leave it to the experts in that field. Once again thank for response and looking forward for your patch to be released. Brgds.
Hi again, any progress on this issue? Is there any kernel mailing list where I can keep a track on the progress instead of bugging you and writing a message on bugzilla? warmest regards
Unfortunately, this issue hits the kernel, firmware and the user space packages. I have an update for you: The functional SOF driver will be in the kernel 5.5 (requires to add SOF firmware files version 1.3.0) and the working configuration will be in the alsa-ucm package version 1.1.10. So we need to push all those bits to Fedora when released.
Hi again. Thnx for keeping me in a loop. And many thanks for taking a huge effort for fixing things and making our hardware useful. Best regards.
Okay, things are finally moving. I will continue in bug#1772498 and closing this as a duplicate. Please, test the kernel + user space. *** This bug has been marked as a duplicate of bug 1772498 ***