Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1775918 - microphone not working for Lenovo Yoga C940
Summary: microphone not working for Lenovo Yoga C940
Keywords:
Status: CLOSED DUPLICATE of bug 1772498
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-23 15:26 UTC by Peter F. Patel-Schneider
Modified: 2020-03-03 19:00 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-03 19:00:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
kernel log (83.38 KB, text/plain)
2019-11-23 15:26 UTC, Peter F. Patel-Schneider
no flags Details
alsa information (49.90 KB, text/plain)
2019-11-23 15:37 UTC, Peter F. Patel-Schneider
no flags Details

Description Peter F. Patel-Schneider 2019-11-23 15:26:31 UTC
Created attachment 1639023 [details]
kernel log

1. Please describe the problem:

The internal microphone is not recognized for my Lenovo Yoga C940.  


2. What is the Version-Release number of the kernel:

5.3.11-300


3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

This is a new laptop, so no.


4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

Boot machine.  Try to record audio.  No sound.

pavucontrol reports no input devices.

If headphones are plugged in then the mic in the headphones are listed.


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

Not tested.

6. Are you running any modules that not shipped with directly Fedora's kernel?:

No

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

The microphone listed in the log (0x18) is the headphone microphone.

I've tried changing the hda jack descriptions in many ways but nothing is working.  It appears that the microphone is connected to a different system (It is a far-field microphone.) but maybe there is something I am missing.

As well, Only two of the five speakers work, probably because they are also connected to a different system.


The same problem appears to be affecting the Lenovo Yoga C930.

Comment 1 Peter F. Patel-Schneider 2019-11-23 15:37:07 UTC
Created attachment 1639024 [details]
alsa information

Output of alsa-info.sh

Comment 2 Justin M. Forbes 2020-03-03 16:27:08 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 31 kernel bugs.

Fedora 31 has now been rebased to 5.5.7-200.fc31.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 32, and are still experiencing this issue, please change the version to Fedora 32.

If you experience different issues, please open a new bug report for those.

Comment 3 Hans de Goede 2020-03-03 19:00:53 UTC
Your Lenovo Yoga C940 likely uses digital mics instead of analog ones (MEMs mics), these mics require a new sound driver called sof-hda, also see bug 1772498.

kernel 5.5.7 which is now available in the updates repository has the new sof-hda driver enabled by default. Note you do need to also install the "alsa-firmware" for sound to work with the 5.5.7 kernel, we are working on making this automatic. For now to fix the missing firmware files do:

sudo dnf install alsa-firmware

From a terminal, combined with kernel 5.5.7 + the latest alsa-libs and pulseaudio packages this may be enough to make your microphone work, I say may because these new drivers also need some per model setup and so far we have mostly been focussing on getting things to work on the Lenovo X1 7th gen, so your Yoga C940 may need a bit more work.

Since all relevant discussion about this is happening in bug 1772498, I'm going to mark this bug as a duplicate of that one.

*** This bug has been marked as a duplicate of bug 1772498 ***


Note You need to log in before you can comment on or make changes to this bug.