English Community

Linux Operating SystemsUbuntu
All Forum Topics
Options

19 Posts

05-19-2016

US

40 Signins

266 Page Views

  • Posts: 19
  • Registered: ‎05-19-2016
  • Location: US
  • Views: 266
  • Message 61 of 157

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

2019-10-12, 23:24 PM
I'll give that a try, thanks.
Reply
Options

2 Posts

09-30-2019

US

4 Signins

33 Page Views

  • Posts: 2
  • Registered: ‎09-30-2019
  • Location: US
  • Views: 33
  • Message 62 of 157

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

2019-10-13, 0:28 AM

This worked for me on Arch.

 

I created a bash script so you don't have to copy-paste and fat finger the commands. Feel free to report any issues here or on GitHub (preferred)

 

Link to the script: https://gist.github.com/hamidzr/dd81e429dc86f4327ded7a2030e7d7d9

 

Just download, inspect and run this script with root privileges, reboot and finally have a microphone on your 2000$ laptop...

 

Let me, and everyone else, know if this helped! Suggestions for improving the script are welcome.

Reply
Options

2 Posts

10-15-2019

PT

2 Signins

24 Page Views

  • Posts: 2
  • Registered: ‎10-15-2019
  • Location: PT
  • Views: 24
  • Message 63 of 157

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

2019-10-15, 23:00 PM

Can you please give read access to the file:

https://doc-10-b8-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/7t71hb9oj6s3685orp1d8pla9lt85dfi/1570903200000/15300322596821392769/*/1RXZPSVL7JtIBUziLPC3oPCmtLftO9ccq?e=download

The script is failing because of that....

Thanks ;)

Reply
Options

5 Posts

09-13-2019

GB

17 Signins

130 Page Views

  • Posts: 5
  • Registered: ‎09-13-2019
  • Location: GB
  • Views: 130
  • Message 64 of 157

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

2019-10-16, 11:47 AM

I've had the same issue as @cdcastro on Fedora 30: no sound card was detected at all.

$ dmesg | grep sof
[   16.888911] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[   16.888917] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[   16.889020] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[   16.893330] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   16.897091] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[   16.897092] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[   16.916602] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[   16.916603] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[   19.982061] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -110
[   19.982086] sof-audio-pci 0000:00:1f.3: error: status = 0x0000002c panic = 0x00000000
[   19.982102] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
[   19.982103] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -110
[   19.982103] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -110



To revert the effect, I've found that simply deleting/commenting out `/etc/modprobe.d/blacklist.conf` (+ restart) does the job. Doesn't solve the mic issue, though…

Reply
Options

1 Posts

09-26-2019

US

11 Signins

82 Page Views

  • Posts: 1
  • Registered: ‎09-26-2019
  • Location: US
  • Views: 82
  • Message 65 of 157

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

2019-10-16, 13:16 PM

Has anyone tried connecting two external monitors through a USB-C hub from a single USB-C port?

I got one of these USB-C adapters with 2-HDMI ports, connected it to the laptop using the USB-C port and connected the two external monitors on the HDMI output of the hub. However, I only see the same screen mirrored and they are not detected separately.

It looks like MST is not supported, but I am not sure if it is hub issue or ubuntu+laptop issue. Iam running Ubuntu 18.04.

Similary, has anyone used lenovo docks and do they support two external monitors in Ubuntu?

Reply
Options

1 Posts

09-25-2019

GB

2 Signins

16 Page Views

  • Posts: 1
  • Registered: ‎09-25-2019
  • Location: GB
  • Views: 16
  • Message 66 of 157

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

2019-10-20, 8:24 AM
I created a bash script so you don't have to copy-paste and fat finger the commands. Feel free to report any issues here or on GitHub (preferred)

Thanks for sharing @unowned. Does this work on Ubuntu as well?

 

I was hoping to apply DaveOber's kernel mod but it doesn't seem to work anymore:

 

Building the 5.3 kernel didn't work. pulseaudio still fails to initialize. [@rwlove]
Reply
Options

1 Posts

03-20-2018

CH

18 Signins

203 Page Views

  • Posts: 1
  • Registered: ‎03-20-2018
  • Location: CH
  • Views: 203
  • Message 67 of 157

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

2019-10-21, 8:37 AM

 wrote:

Has anyone tried connecting two external monitors through a USB-C hub from a single USB-C port?

I got one of these USB-C adapters with 2-HDMI ports, connected it to the laptop using the USB-C port and connected the two external monitors on the HDMI output of the hub. However, I only see the same screen mirrored and they are not detected separately.

It looks like MST is not supported, but I am not sure if it is hub issue or ubuntu+laptop issue. Iam running Ubuntu 18.04.

Similary, has anyone used lenovo docks and do they support two external monitors in Ubuntu?


I am using two monitors with 1920x1080 each connected through one USB-C Dock (Gen 2) via DisplayPort. Monitors are daisy chained so I only need one port on the dock. Works just perfect, no issues at all.

Reply
Options

6 Posts

10-21-2019

NL

9 Signins

88 Page Views

  • Posts: 6
  • Registered: ‎10-21-2019
  • Location: NL
  • Views: 88
  • Message 68 of 157

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

2019-10-21, 20:53 PM

 wrote:

I am trying to get SOF and the mic working with the stock 5.3 kernel in Ubuntu 19.10. I'm not sure what the issue is, but my guess is that snd_sof_nocodec is being loaded and that prevents the real codec from working. I have tried blacklisting that module, updating initramfs and rebooting but it still loads.

 

dmesg looks like:

  

Sep 24 02:59:42 kernel: sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
Sep 24 02:59:42 kernel: sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
Sep 24 02:59:42 kernel: sof-audio-pci 0000:00:1f.3: use msi interrupt mode
Sep 24 02:59:42 kernel: sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec

 

I had the same error. Turns out that the current Ubuntu 19.10 kernel does not have the rights configs enabled for this to work. I found out after discussion with the SOF developers in this issue.  The Ubuntu developers are already aware and are tracking this in this issue on the Ubuntu Kernel launchpad. So we have to wait for that issue to be resolved.

 

I believe they can do this as point release, so we may still get this in 19.10 fixed on the kernel side. But for the out of the box experience to work we further need the fixes to the ALSA UCM package, the right blacklisting of the old intel-hda modules and the right topology to be included. This is hopefully with 20.04. 

Reply
Options

24 Posts

06-23-2019

CA

78 Signins

353 Page Views

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

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

2019-10-21, 20:56 PM

Thanks for looking into it with the 19.10 kernel.  I'm still running a custom compiled one from the early instructions in this thread.  Hesistent to change until I know that the default config will work.  

Reply
Options

1 Posts

07-24-2019

US

6 Signins

49 Page Views

  • Posts: 1
  • Registered: ‎07-24-2019
  • Location: US
  • Views: 49
  • Message 70 of 157

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

2019-10-23, 2:12 AM

sabert, I noticed the same thing as well. Ubuntu 19.10.  Tried DisplayPort (set monitors up to use DPort v1.2 and chained them).  Then bought the lenovo Dock. Tried two separate DPorts and then two separate HDMIs.  Same experience.

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete