You are not logged in.

#26 2019-12-02 16:05:54

dpward
Member
Registered: 2019-11-28
Posts: 4

Re: [SOLVED] Fix for microphone on Lenovo X1 Gen 7

daaku wrote:

dpward, using the linux 5.4.1-arch1 package from testing and the new sof-firmware I finally see the input device. I've made none of the modifications described on this thread, besides installing these two packages. But while the device shows up, it doesn't seem to work (I've tried arecord as well as using it in Chrome via pulseaudio). Here's some debug information that might be useful:

# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: sofsklhdacard [sof-skl_hda_card], device 0: HDA Analog (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofsklhdacard [sof-skl_hda_card], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsklhdacard [sof-skl_hda_card], device 6: DMIC32 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsklhdacard [sof-skl_hda_card], device 7: DMIC16 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Finally hoping for a out-of-the-box experience that works!

Does the workaround in this comment help?
Do you have alsa 1.2.1.2 installed (which includes those changes)?

Last edited by dpward (2019-12-02 16:13:24)

Offline

#27 2019-12-02 16:22:50

daaku
Member
Registered: 2019-12-01
Posts: 4

Re: [SOLVED] Fix for microphone on Lenovo X1 Gen 7

Kubuxu, I followed the Install SOF topology step, but saw no changes.

dpward, I don't understand what the workaround is asking to change in /usr/share/alsa/ucm2/sof-hda-dsp/HiFi.conf. The my microphone seems to be detected, however, sound recorded by it, is just a noise described in that bug is exactly what I see (seems right since I'm using the same device as the person who left that comment, X1 Carbon 7th Gen).

Offline

#28 2019-12-02 16:26:57

daaku
Member
Registered: 2019-12-01
Posts: 4

Re: [SOLVED] Fix for microphone on Lenovo X1 Gen 7

dpward wrote:

Do you have alsa 1.2.1.2 installed (which includes those changes)?

Yes I think so, I'm fully updated + linux 5.4.1.arch1-1 from testing:

# pacman -Q|grep alsa
alsa-lib 1.2.1.2-2
alsa-topology-conf 1.2.1-1
alsa-ucm-conf 1.2.1.2-1
alsa-utils 1.2.1-1
zita-alsa-pcmi 0.3.2-2

Offline

#29 2019-12-02 19:14:13

dpward
Member
Registered: 2019-11-28
Posts: 4

Re: [SOLVED] Fix for microphone on Lenovo X1 Gen 7

gilroy wrote:

fresh install of linux 5.3.13-arch1-1 this morning and experiencing the same issues Mocco had

The SOF drivers are disabled in that version. Please install linux 5.4.1-arch1 from the testing repository, and then also install the sof-firmware package.

I am curious if this works, or if you encounter the same issue as daaku. It might be an upstream bug which should be reported here.

Offline

#30 2019-12-02 19:41:09

juphu2Va
Member
Registered: 2019-05-16
Posts: 15

Re: [SOLVED] Fix for microphone on Lenovo X1 Gen 7

X1Yoga (2019) owner here (hardware VERY similar to X1 G7)

I built linux 5.4.1-arch1 and installed the outdated version 1.3.1 of the sof-firmware package. Recording or playing back didn't work with audacity, but testing the speakers using the tool provided by kde worked (the first half second or so was too quiet). I didn't test the microphone with another program.

EDIT: microphone doesn't seem to work with arecord. Also the speakers are now (with linux 5.4.1) only stereo. Before they were I think 4.0

EDIT2: When building the sof-firmware package with the "testing" src available from their ftp repo, it fails to load with

[   17.644053] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[   17.644059] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[   17.644180] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[   17.644343] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   17.654390] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[   17.654392] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   17.698739] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[   17.698741] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[   20.766462] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -110
[   20.766497] sof-audio-pci 0000:00:1f.3: error: status = 0x0000002c panic = 0x00000000
[   20.766505] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
[   20.766507] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -110
[   20.766510] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -110

EDIT3: This https://github.com/thesofproject/sof/issues/2134 might be relevant, even if for other hardware.

EDIT4: Sound doesn't work in firefox, but in VLC. EDIT5: Nevermind, application specific volume was set down to 0.

Last edited by juphu2Va (2019-12-03 19:49:21)

Offline

Board footer

Powered by FluxBB