English Community

Linux Operating SystemsUbuntu
All Forum Topics
Options

4 Posts

08-13-2019

GB

5 Signins

65 Page Views

  • Posts: 4
  • Registered: ‎08-13-2019
  • Location: GB
  • Views: 65
  • Message 21 of 156

Re: [Guide] X1 Carbon 7th Generation Ubuntu compatability

2019-08-13, 14:42 PM

Yes, was hoping to use my headphones for conferencing in place of the internal Mic.  Is there much reason to go to 5.2.6 at this point? 

Reply
Options

24 Posts

06-23-2019

CA

78 Signins

353 Page Views

  • Posts: 24
  • Registered: ‎06-23-2019
  • Location: CA
  • Views: 353
  • Message 22 of 156

Re: [Guide] X1 Carbon 7th Generation Ubuntu compatability

2019-08-13, 14:48 PM

I'm just running it to check if anything new was fixed in the more recent kernels (I can't get 5.3-rc4 to boot for some reason).

 

It could be worth trying, you can download it from here: https://kernel.ubuntu.com/~kernel-ppa/mainline/

 

Another option is to download a more recent version of the linux-firmware package from the next Ubuntu release and try that, there have been some changes to the iwlwifi driver which includes bluetooth support.  But not sure how that would help, since bluetooth is fine for me in 19.04 out of the box.

Reply
Options

5 Posts

08-11-2019

DE

7 Signins

40 Page Views

  • Posts: 5
  • Registered: ‎08-11-2019
  • Location: DE
  • Views: 40
  • Message 23 of 156

Re: [Guide] X1 Carbon 7th Generation Ubuntu compatability

2019-08-14, 19:55 PM

Hi all,

 

I have a problem with the touchpad. However, I'm not sure if this is X1 related or due to some settings.

 

What happens is that when I scroll with two fingers (in the browser, LibreOffice, ...) it sometimes switches to one-finger scrolling.

 

I just made some tests. It seems it can be activated (about 50% of the times) when you scroll down with two fingers from the very top/above of the trackpad on the left side. This might be some kind of gestures... But one-finger scrolling often get activated randomly as well. If it happens on the desktop the mouse freezes completely. In all other cases it switches to one-finger vertical scrolling.

 

Clicking the left mouse button (or sometime when repeating that 'gesture') two-finger-scrolling is activated again. Any ideas? I searched google without luck.

 

Apart from that scrolling and mouse pointer movements with touchpad are not as smooth as under Windows.

Reply
Options

115 Posts

12-17-2018

US

293 Signins

1996 Page Views

  • Posts: 115
  • Registered: ‎12-17-2018
  • Location: US
  • Views: 1996
  • Message 24 of 156

Re: [Guide] X1 Carbon 7th Generation Ubuntu compatability

2019-08-16, 13:35 PM

If you do not mind building your own kernel and need the microphone to work, attached is some instructions on how to use the SOF sound system built into the 5.3 kernel to make that happen

Reply
Options

24 Posts

06-23-2019

CA

78 Signins

353 Page Views

  • Posts: 24
  • Registered: ‎06-23-2019
  • Location: CA
  • Views: 353
  • Message 25 of 156

Re: [Guide] X1 Carbon 7th Generation Ubuntu compatability

2019-08-16, 16:21 PM

Thanks Dave!

 

I followed you instructions and it worked perfectly, the speakers work better than they did, and finally the microphone works perfectly.  Thanks so much for compiling the steps.

 

Quick note, it took me a bit to find the final two options for the kernel config until I realized you need to make sure that "SOF nocodec mode support" is set to "N".

 

On reboot everything worked as mentioned above, but predictably the trackpad didn't work on first boot (fixed on reboot).  Any timeline for when that firmware fix is coming to Linux (it's currently only available as an .exe).

Reply
Options

8050 Posts

01-13-2008

US

77115 Signins

2180393 Page Views

  • Posts: 8050
  • Registered: ‎01-13-2008
  • Location: US
  • Views: 2180393
  • Message 26 of 156

Re: [Guide] X1 Carbon 7th Generation Ubuntu compatability

2019-08-19, 14:44 PM

The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.


The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored - questions and answers belong in the forum so that others may contribute and benefit. ... GeezBlog

 

Communities: English Deutsch Español Português Русскоязычное Česká Slovenská Українська Polski Türkçe Moto English


Using Browser Search to find your answers in Lenovo and Moto Community


Reply
Options

21 Posts

07-12-2019

AU

45 Signins

252 Page Views

  • Posts: 21
  • Registered: ‎07-12-2019
  • Location: AU
  • Views: 252
  • Message 27 of 156

Re: [Guide] X1 Carbon 7th Generation Ubuntu compatability

2019-08-20, 13:33 PM

 wrote:

If you do not mind building your own kernel and need the microphone to work, attached is some instructions on how to use the SOF sound system built into the 5.3 kernel to make that happen


Hi Dave,

 

I'm trying to get this working on my Gen 4 Yoga running Fedora with the default 5.3-rc5 Kernel (rc4 and below had an NVME bug so I couldn't boot. I have installed the firmware in /lib/firmware/intel/sof and created the intel/sof-tplg folder, but get the following: 

 

[   19.995713] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[   19.995720] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[   19.995869] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[   20.002282] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   20.006647] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[   20.006649] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   20.063670] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[   20.063672] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[   20.079904] HDMI HDA Codec ehdaudio0D2: Max dais supported: 3
[   20.161574] sof-audio-pci 0000:00:1f.3: Firmware info: version 1:1:0-5dd9a
[   20.161575] sof-audio-pci 0000:00:1f.3: Firmware: ABI 3:7:0 Kernel ABI 3:8:0
[   20.161829] sof-audio-pci 0000:00:1f.3: firmware boot complete
[   20.168118] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link iDisp1
[   20.168120] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link iDisp2
[   20.168121] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link iDisp3
[   20.168121] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link Analog Playback and Capture
[   20.168122] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link Digital Playback and Capture
[   20.168123] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link dmic01
[   20.168124] skl_hda_dsp_generic skl_hda_dsp_generic: info: override FE DAI link dmic16k
[   20.169699] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof-tplg/sof-hda-generic.tplg failed with error -2
[   20.169701] sof-audio-pci 0000:00:1f.3: error: tplg request firmware intel/sof-tplg/sof-hda-generic.tplg failed err: -2
[   20.169702] sof-audio-pci 0000:00:1f.3: error: failed to load DSP topology -2
[   20.169703] sof-audio-pci 0000:00:1f.3: ASoC: failed to probe component -2
[   20.169709] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: failed to instantiate card -2
[   20.169725] skl_hda_dsp_generic: probe of skl_hda_dsp_generic failed with error -2

The relevant kernel config is:

 

CONFIG_SND_SOC_INTEL_SOF_RT5682_MACH=m
CONFIG_SND_SOC_SOF_TOPLEVEL=y
CONFIG_SND_SOC_SOF_PCI=m
CONFIG_SND_SOC_SOF_ACPI=m
CONFIG_SND_SOC_SOF_OPTIONS=m
# CONFIG_SND_SOC_SOF_NOCODEC_SUPPORT is not set
# CONFIG_SND_SOC_SOF_STRICT_ABI_CHECKS is not set
# CONFIG_SND_SOC_SOF_DEBUG is not set
CONFIG_SND_SOC_SOF=m
CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE=y
CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL=y
CONFIG_SND_SOC_SOF_INTEL_ACPI=m
CONFIG_SND_SOC_SOF_INTEL_PCI=m
CONFIG_SND_SOC_SOF_INTEL_HIFI_EP_IPC=m
CONFIG_SND_SOC_SOF_INTEL_ATOM_HIFI_EP=m
CONFIG_SND_SOC_SOF_INTEL_COMMON=m
CONFIG_SND_SOC_SOF_BAYTRAIL_SUPPORT=y
CONFIG_SND_SOC_SOF_BAYTRAIL=m
CONFIG_SND_SOC_SOF_BROADWELL_SUPPORT=y
CONFIG_SND_SOC_SOF_BROADWELL=m
CONFIG_SND_SOC_SOF_MERRIFIELD_SUPPORT=y
CONFIG_SND_SOC_SOF_MERRIFIELD=m
CONFIG_SND_SOC_SOF_APOLLOLAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_APOLLOLAKE=m
CONFIG_SND_SOC_SOF_GEMINILAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_GEMINILAKE=m
CONFIG_SND_SOC_SOF_CANNONLAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_CANNONLAKE=m
CONFIG_SND_SOC_SOF_COFFEELAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_COFFEELAKE=m
CONFIG_SND_SOC_SOF_ICELAKE_SUPPORT=y
CONFIG_SND_SOC_SOF_ICELAKE=m
CONFIG_SND_SOC_SOF_COMETLAKE_LP=m
CONFIG_SND_SOC_SOF_COMETLAKE_LP_SUPPORT=y
CONFIG_SND_SOC_SOF_COMETLAKE_H=m
CONFIG_SND_SOC_SOF_COMETLAKE_H_SUPPORT=y
CONFIG_SND_SOC_SOF_HDA_COMMON=m
CONFIG_SND_SOC_SOF_HDA_LINK=y
CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC=y
CONFIG_SND_SOC_SOF_HDA_LINK_BASELINE=m
CONFIG_SND_SOC_SOF_HDA=m
Is there anything else I need? Thanks!
Reply
Options

115 Posts

12-17-2018

US

293 Signins

1996 Page Views

  • Posts: 115
  • Registered: ‎12-17-2018
  • Location: US
  • Views: 1996
  • Message 28 of 156

Re: [Guide] X1 Carbon 7th Generation Ubuntu compatability

2019-08-20, 18:09 PM

you look like you need the other generic tplg firmware  available here put in the sof-tglg directory you created https://drive.google.com/file/d/1RXZPSVL7JtIBUziLPC3oPCmtLftO9ccq/view?usp=sharing   

Reply
Options

21 Posts

07-12-2019

AU

45 Signins

252 Page Views

  • Posts: 21
  • Registered: ‎07-12-2019
  • Location: AU
  • Views: 252
  • Message 29 of 156

Re: [Guide] X1 Carbon 7th Generation Ubuntu compatability

2019-08-21, 13:10 PM

 wrote:

you look like you need the other generic tplg firmware  available here put in the sof-tglg directory you created https://drive.google.com/file/d/1RXZPSVL7JtIBUziLPC3oPCmtLftO9ccq/view?usp=sharing   


Thanks Dave, I must have missed that step. Only other issue was that the DP3 output was selected by default. Working great after switching to the combined speaker output, thanks!

Reply
Options

2 Posts

08-26-2019

NL

15 Signins

71 Page Views

  • Posts: 2
  • Registered: ‎08-26-2019
  • Location: NL
  • Views: 71
  • Message 30 of 156

Re: [Guide] X1 Carbon 7th Generation Ubuntu compatability

2019-08-26, 16:21 PM

We keep having crashes on Ubuntu 18 and 19. Full freezes without anything in the logs.

 

Sometimes we also have complete system lags where the WA time skyrockets for a few seconds and we see GPU related errors:

 

[2220.745082] i915 0000:00:02.0: GPU HANG: ecode 9:1:0xfffffffe, in Xorg [1383], hang on rcs0

[ 2220.746111] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0

 

Anyone else experiencing complete freezes / similar issues? Already tried latest 5.2.x kernels and 5.3 RC.

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete