No Sound after fresh install of Manjaro i3 16.10.3

Hello,

I have a Thinkpad L540 and just installed Manjaro i3 16.10.3

System:    Host: dublin Kernel: 4.4.33-1-MANJARO x86_64 (64 bit gcc: 6.2.1) Desktop: i3 4.13-non-git
           Distro: Manjaro Linux
Machine:   Device: laptop System: LENOVO product: 20AV002YGE v: ThinkPad L540
           Mobo: LENOVO model: 20AV002YGE v: 0B98401 Pro UEFI: LENOVO v: J4ET81WW(1.81) date: 08/14/2015
Battery    BAT0: charge: 43.3 Wh 99.4% condition: 43.5/56.2 Wh (78%) model: LGC 45N1147 status: Charging
CPU:       Dual core Intel Core i5-4200M (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9980
           clock speeds: max: 3100 MHz 1: 1790 MHz 2: 2460 MHz 3: 2411 MHz 4: 2368 MHz
Graphics:  Card: Intel 4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 driver: intel Resolution: 1920x1080@60.01hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 13.0.2 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.4.33-1-MANJARO
Network:   Card-1: Intel Ethernet Connection I217-V driver: e1000e port: 5080 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Wireless 7260 driver: iwlwifi bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 500.1GB (100.4% used)
           ID-1: /dev/sda model: Samsung_SSD_840 size: 500.1GB
Partition: ID-1: / size: 441G used: 17G (5%) fs: ext4 dev: /dev/dm-0
           ID-2: swap-1 size: 18.39GB used: 0.00GB (0%) fs: swap dev: /dev/dm-1
Sensors:   System Temperatures: cpu: 47.0C mobo: 43.0C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 190 Uptime: 52 min Memory: 2108.5/15949.0MB Init: systemd Gcc sys: 6.2.1
           Client: Shell (zsh 5.2) inxi: 2.3.4

Can anybody help me with this? I am pretty confused about ALSA and Pulseaudio and so on ...

Thanks :smiley:

Very likely your HDMI sound card is used by default and you will have to change that.

The Arch Wiki kindly tells us what we can do :wink: :
https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card

First you will have to find out the card and device id that you want to set as the default:
$ aplay -l

example:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: Conexant Digital [Conexant Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: JamLab [JamLab], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Audio [Altec Lansing XT1 - USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

For example, the last entry in this list has the card ID 2 and the device ID 0. To set this card as the default, you can either use the system-wide file /etc/asound.conf or the user-specific file ~/.asoundrc. You may have to create the file if it does not exist. Then insert the following options with the corresponding card.

pcm.!default {
    type hw
    card 2
}

ctl.!default {
    type hw
    card 2
}
3 Likes

My guess is that the options in the example are exactly what you need to configure.
A reboot will be needed for the changes to be effective if you set them in /etc/. Otherwise relogging should be enough.

Regarding Alsa / Pulse:
Alsa is pre-installed and pre-configured on the i3 edition.
To install Pulse (you'd need it for example for Skype and for some other apps), you can very conveniently run a script in the terminal that has been included:

install_pulse

done. :wink:

2 Likes

Thanks. That was a very good help. I found that on the Arch Wiki aswell, but didn't realize that this is the solution :slight_smile:

:thumbsup:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by