cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jimthree
Paper Tape
Posts: 4
Registered: ‎08-13-2019
Location: GB
Views: 3,619
Message 21 of 93

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

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? 

willismonroe
Serial Port
Posts: 23
Registered: ‎06-22-2019
Location: CA
Views: 3,615
Message 22 of 93

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

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.

Thombes
Paper Tape
Posts: 5
Registered: ‎08-11-2019
Location: DE
Views: 3,552
Message 23 of 93

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

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.

Highlighted
Lenovo Employee DaveOber
Lenovo Employee
Posts: 76
Registered: ‎12-17-2018
Location: US
Views: 3,368
Message 24 of 93

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

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

willismonroe
Serial Port
Posts: 23
Registered: ‎06-22-2019
Location: CA
Views: 3,355
Message 25 of 93

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

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).

tokyovigilante
Punch Card
Posts: 21
Registered: ‎07-11-2019
Location: AU
Views: 3,187
Message 26 of 93

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


@DaveOber 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!
Lenovo Employee DaveOber
Lenovo Employee
Posts: 76
Registered: ‎12-17-2018
Location: US
Views: 3,158
Message 27 of 93

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

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   

tokyovigilante
Punch Card
Posts: 21
Registered: ‎07-11-2019
Location: AU
Views: 3,104
Message 28 of 93

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


@DaveOber 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!

elu_r
Paper Tape
Posts: 2
Registered: ‎08-26-2019
Location: NL
Views: 2,887
Message 29 of 93

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

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.

JonathanKad
Paper Tape
Posts: 2
Registered: ‎08-27-2019
Location: US
Views: 2,798
Message 30 of 93

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

[EDITED] 

Ubuntu 19.04 will not come back after system suspend.

- Changed BIOS to sleep mode: Linux

- installed latest TLP.

 

Happens both on AC and battery, and when the lid is closed or initiated suspend from GNOME.

Both the red LED on the lid, and the power light on the size are on (not blinking)

 

Form syslog:

 

Aug 27 16:56:45 AlteredCarbon whoopsie[2260]: [16:56:45] offline
Aug 27 16:56:47 AlteredCarbon systemd[1]: Starting TLP suspend/resume...
Aug 27 16:56:47 AlteredCarbon systemd[1]: Started TLP suspend/resume.
Aug 27 16:56:47 AlteredCarbon systemd[1]: Reached target Sleep.
Aug 27 16:56:47 AlteredCarbon systemd[1]: Starting Suspend...
Aug 27 16:56:47 AlteredCarbon systemd-sleep[4994]: Suspending system...
Aug 27 16:56:47 AlteredCarbon kernel: [  162.668395] PM: suspend entry (deep)

 

Next message is when the system wakes up. 

 

Just got this machine a few days ago. I did not run into this problem at all for a few days, and then it started happening. Don't know what changed.

 

Any help will be appreciated. 

I would love to keep this laptop but this is a major issue, and if it cannot be solved it will have to go back to Lenovo...

Check out current deals!


Shop current deals

Top Kudoed Authors