English Community

Linux Operating SystemsUbuntu
All Forum Topics
Options

2 Posts

10-15-2019

PT

2 Signins

24 Page Views

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

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

2019-10-28, 16:34 PM

Regarding the sound solution, I downloaded the sof-audio-setup-carbonx1.sh file on uibuntu 18.04 and now I have no sound. 

Upgraded to 19.10 and still have no sound (outuput, headphones, internal and external microphone).

 

http://alsa-project.org/db/?f=f0d5fb969b410358d99eea19d7b3ffa6f4fbe598

 

Can someone help me solving this problem?

 

Best regards,

Carlos Castro

 

Reply
Options

6 Posts

10-21-2019

NL

9 Signins

88 Page Views

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

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

2019-10-28, 21:52 PM

 wrote:

Regarding the sound solution, I downloaded the sof-audio-setup-carbonx1.sh file on uibuntu 18.04 and now I have no sound. 

Upgraded to 19.10 and still have no sound (outuput, headphones, internal and external microphone).

 

http://alsa-project.org/db/?f=f0d5fb969b410358d99eea19d7b3ffa6f4fbe598

 

Can someone help me solving this problem?

 


See above, Ubuntu 19.10 does currently not have the right kernel config to run the snd_sof_intel_hda driver. A fix has been made, and will most likely be included in the Ubuntu kernel 5.3.0-20 release. I would expect that to be released any day now. Most likely the changes made by the script will magically start working. Untill then just comment the changes made in /etc/modprobe.d/blacklist.conf.

 

I did some testing with the proposed version of the 5.3.0-20 release, which already includes the fix. Got a working microphone and better sound. However, the new snd_sof_intel_hda, while supporting the DMIC microphone is still a bit rough around the egdes. It doesn't support the keyboard inidicator for the microphone, has extra surplus devices reported to pulseaudio, doesn't detect headphone plug-in events, and has wrong default sound levels for the DMIC. So, unless you really want the builtin microphone to work you're probably better off with snd_hda_intel for a while. But I've seen numerous work in progress for ALSA and SOF regarding the new driver. So I would expect things to get better the next few months with updates (or at once with 20.04).

Reply
Options

160 Posts

07-22-2019

CA

190 Signins

1711 Page Views

  • Posts: 160
  • Registered: ‎07-22-2019
  • Location: CA
  • Views: 1711
  • Message 73 of 155

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

2019-11-04, 19:25 PM

I put together some notes based on my experience on getting audio working with various distro's (mostly Debian).

 

Hopefully it's useful - let me know if any questions

 

Mark

Reply
Options

24 Posts

06-23-2019

CA

78 Signins

353 Page Views

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

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

2019-11-04, 19:33 PM
Thanks Mark this is a helpful guide. Quick question does this allow you to use a BT headset as well? That's been the one thing I can't get to work. Audio In/Out works fine for me with the laptop but I can't switch to a wireless headset (for audio in or out).
Reply
Options

160 Posts

07-22-2019

CA

190 Signins

1711 Page Views

  • Posts: 160
  • Registered: ‎07-22-2019
  • Location: CA
  • Views: 1711
  • Message 75 of 155

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

2019-11-04, 19:43 PM

Hi,

 

Yep - worked fine with my Plantronics BT600. 

 

Mark

Reply
Options

19 Posts

05-19-2016

US

37 Signins

256 Page Views

  • Posts: 19
  • Registered: ‎05-19-2016
  • Location: US
  • Views: 256
  • Message 76 of 155

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

2019-11-04, 21:17 PM
Thanks for this guide.

Does anyone know when all of this will make it into Ubuntu via the normal distribution system? I generally wait for that.
Reply
Options

6 Posts

10-21-2019

NL

9 Signins

88 Page Views

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

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

2019-11-04, 21:58 PM

The kernel changes for the microphone to work on Ubuntu are now live. You should have 5.3.0-20 or later for things to be able to start working without recompiling the kernel. You still need to manually add the ALSA-ucm files, blacklist the existing drivers and add the topology file.

 

However, as I mentioned a few posts above: this new driver is very much a moving target. For example, they are now in the process of renaming the driver. This most likely means that the latest ALSA-ucm files will now no longer work with the 5.3.0-20 kernel. I would expect a lot of these updates to make it to Ubuntu 20.04. That will come with new ALSA packages, kernel 5.4.0 atleast, etc..

 

In short: If you like fiddling, you can get the microphone to work now. But even then the experience is still suboptimal. I would expect a (near) out-of-the-box experience with Ubuntu 20.04.

Reply
Options

19 Posts

05-19-2016

US

37 Signins

256 Page Views

  • Posts: 19
  • Registered: ‎05-19-2016
  • Location: US
  • Views: 256
  • Message 78 of 155

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

2019-11-04, 22:03 PM
Thanks for the details on this. I can wait a few more months. I generally use this machine with a headset in any case, and it's fine that way. I like fiddling but not that much!
Reply
Options

5 Posts

09-13-2019

GB

17 Signins

130 Page Views

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

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

2019-11-12, 12:33 PM

Thanks Mark for your effort.

However, as a layman, I have trouble making it work.

My issues are notably:

… and that — I guess it occured when I upgraded to Linux x1 5.3.9-300.fc31.x86_64 — I have no more sound input nor output on my X1C7 running Fedora 31.

Reply
Options

160 Posts

07-22-2019

CA

190 Signins

1711 Page Views

  • Posts: 160
  • Registered: ‎07-22-2019
  • Location: CA
  • Views: 1711
  • Message 80 of 155

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

2019-11-12, 20:03 PM

Hi @ebosi

 

Sounds like you've missed getting the kernel source - and how you do that depends on the distro (or of course you can just grab it from kernel.org). That should get you the scripts/kconfig folder. If you've not done it before your first step is probably to build a kernel - there are lots of guides online but it can be a bit daunting

 

For the broken link - looks like the files have moved around recently. I *think* instead you want to use:

https://github.com/alsa-project/alsa-ucm-conf/tree/master/ucm2/sof-hda-dsp

(based on https://github.com/alsa-project/alsa-ucm-conf/commit/d560d25481916e296387e680a2ec0833a81f68d5#diff-0331b40c89f63747bcebea3b0fdcd7f7) but I've not tried it myself yet - I'll give it a go as soon as I'm able to (and I'll update the guide)

 

Thanks

Mark

 

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete