You are not logged in.

#1 2017-05-19 14:43:45

rusch
Member
Registered: 2015-06-28
Posts: 7

Get Error: ALSA lib simple_none.c:1550:(simple_add1)

I try to configure my audio at a new system and I get

$ alsamixer
ALSA lib simple_none.c:1550:(simple_add1) helem (MIXER,'Master Playback Switch',0,1,0) appears twice or more
cannot load mixer controls: Invalid argument
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 4: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, Generic Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, Generic Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output

Any idea about the reason?


Edit:

$ alsactl init
alsactl: sysfs_init:48: sysfs path '/sys' is invalid

Found hardware: "HDA-Intel" "Realtek Generic" "HDA:10ec1220,1462da57,00100003" "0x1462" "0xda57"
Hardware is initialized using a generic method

I have tried to restore the default but I get a strange error: "alsactl: sysfs_init:48: sysfs path '/sys' is invalid"

Last edited by rusch (2017-05-19 14:51:08)

Offline

#2 2017-05-19 14:53:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Get Error: ALSA lib simple_none.c:1550:(simple_add1)

Do you load the snd-hda-intel module with a generic model for some reason, if so why? Any files in /etc/modprobe.d ? What's the output of

lspci -k
dmesg | grep -E 'snd|HDA'

Offline

#3 2017-05-19 14:58:49

rusch
Member
Registered: 2015-06-28
Posts: 7

Re: Get Error: ALSA lib simple_none.c:1550:(simple_add1)

I have configured my sound system with pulseAudio before, maybe it has changed the default? I dont know, but I dont have any reason. I have tried to enable my sound from the front panel audio output but I had to do it with alsa and noticed that my alsamixer didnt work anymore.

# ls -al /etc/modprobe.d/
total 8
drwxr-xr-x  2 root root 4096 May 13 16:41 .
drwxr-xr-x 60 root root 4096 May 19 16:11 ..
$ lspci -k
00:00.0 Host bridge: Intel Corporation Device 591f (rev 05)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
00:14.0 USB controller: Intel Corporation 200 Series PCH USB 3.0 xHCI Controller
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1b.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #17 (rev f0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1b.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #21 (rev f0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #4 (rev f0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5 (rev f0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1c.6 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7 (rev f0)
	Kernel driver in use: pcieport
	Kernel modules: shpchp
00:1f.0 ISA bridge: Intel Corporation 200 Series PCH LPC Controller (Z270)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
00:1f.2 Memory controller: Intel Corporation 200 Series PCH PMC
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device da57
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation 200 Series PCH SMBus Controller
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3362
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation GP104 High Definition Audio Controller (rev a1)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3362
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
	Subsystem: Samsung Electronics Co Ltd Device a801
	Kernel driver in use: nvme
	Kernel modules: nvme
05:00.0 Ethernet controller: Qualcomm Atheros Device e0b1 (rev 10)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
	Kernel driver in use: alx
	Kernel modules: alx
06:00.0 USB controller: ASMedia Technology Inc. Device 2142
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
07:00.0 USB controller: ASMedia Technology Inc. Device 2142
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7a57
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

$ dmesg | grep -E 'snd|HDA'
[    2.331943] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    2.332197] snd_hda_intel 0000:01:00.1: Disabling MSI
[    2.332200] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    2.345247] snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[    2.345248] snd_hda_codec_generic hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.345249] snd_hda_codec_generic hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.345250] snd_hda_codec_generic hdaudioC0D0:    mono: mono_out=0x0
[    2.345250] snd_hda_codec_generic hdaudioC0D0:    dig-out=0x1e/0x0
[    2.345251] snd_hda_codec_generic hdaudioC0D0:    inputs:
[    2.345252] snd_hda_codec_generic hdaudioC0D0:      Mic=0x18
[    2.345253] snd_hda_codec_generic hdaudioC0D0:      Line=0x1a
[    2.370475] snd_hda_codec_generic hdaudioC0D1: autoconfig for Generic: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:hp
[    2.370476] snd_hda_codec_generic hdaudioC0D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.370477] snd_hda_codec_generic hdaudioC0D1:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    2.370477] snd_hda_codec_generic hdaudioC0D1:    mono: mono_out=0x0
[    2.370477] snd_hda_codec_generic hdaudioC0D1:    inputs:
[    2.370478] snd_hda_codec_generic hdaudioC0D1:      Mic=0x1a
[    2.374542] snd_hda_intel 0000:00:1f.3: control 2:0:0:Master Playback Volume:0 is already present
[    2.375080] snd_hda_intel 0000:00:1f.3: control 2:0:0:Master Playback Switch:0 is already present
[    2.375616] snd_hda_intel 0000:00:1f.3: control 2:0:0:Capture Volume:0 is already present
[    2.376128] snd_hda_intel 0000:00:1f.3: control 2:0:0:Capture Switch:0 is already present
[    2.376629] snd_hda_intel 0000:00:1f.3: control 2:0:0:Mic Boost Volume:0 is already present
[    2.382161] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input12
[    2.532208] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
[    2.645859] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
[    2.646370] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
[    2.646611] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[    2.646849] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[    2.647069] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[    3.050558] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
[    3.050797] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input23
[    3.051064] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input24
[    3.051285] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input25
[ 1933.057309] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 1933.057312] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 1933.068962] snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[ 1933.068963] snd_hda_codec_generic hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 1933.068964] snd_hda_codec_generic hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 1933.068964] snd_hda_codec_generic hdaudioC0D0:    mono: mono_out=0x0
[ 1933.068965] snd_hda_codec_generic hdaudioC0D0:    dig-out=0x1e/0x0
[ 1933.068965] snd_hda_codec_generic hdaudioC0D0:    inputs:
[ 1933.068966] snd_hda_codec_generic hdaudioC0D0:      Mic=0x18
[ 1933.068966] snd_hda_codec_generic hdaudioC0D0:      Line=0x1a
[ 1933.077521] snd_hda_codec_generic hdaudioC0D1: autoconfig for Generic: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:hp
[ 1933.077522] snd_hda_codec_generic hdaudioC0D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 1933.077522] snd_hda_codec_generic hdaudioC0D1:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 1933.077523] snd_hda_codec_generic hdaudioC0D1:    mono: mono_out=0x0
[ 1933.077523] snd_hda_codec_generic hdaudioC0D1:    inputs:
[ 1933.077524] snd_hda_codec_generic hdaudioC0D1:      Mic=0x1a
[ 1933.081605] snd_hda_intel 0000:00:1f.3: control 2:0:0:Master Playback Volume:0 is already present
[ 1933.081608] snd_hda_intel 0000:00:1f.3: control 2:0:0:Master Playback Switch:0 is already present
[ 1933.081609] snd_hda_intel 0000:00:1f.3: control 2:0:0:Capture Volume:0 is already present
[ 1933.081610] snd_hda_intel 0000:00:1f.3: control 2:0:0:Capture Switch:0 is already present
[ 1933.081611] snd_hda_intel 0000:00:1f.3: control 2:0:0:Mic Boost Volume:0 is already present
[ 1933.082197] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input26
[ 1933.082226] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1f.3/sound/card0/input27
[ 1933.082254] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1f.3/sound/card0/input28
[ 1933.082278] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1f.3/sound/card0/input29
[ 1933.082421] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1f.3/sound/card0/input30
[ 1933.082451] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input31
[ 1933.082477] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input32
[ 1934.723174] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input33
[ 1934.723363] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input34
[ 1934.723535] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input35
[ 1934.723659] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input36
[ 1940.727220] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 1940.727223] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 1940.742510] snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[ 1940.742511] snd_hda_codec_generic hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 1940.742512] snd_hda_codec_generic hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 1940.742512] snd_hda_codec_generic hdaudioC0D0:    mono: mono_out=0x0
[ 1940.742513] snd_hda_codec_generic hdaudioC0D0:    dig-out=0x1e/0x0
[ 1940.742513] snd_hda_codec_generic hdaudioC0D0:    inputs:
[ 1940.742513] snd_hda_codec_generic hdaudioC0D0:      Mic=0x18
[ 1940.742514] snd_hda_codec_generic hdaudioC0D0:      Line=0x1a
[ 1940.751839] snd_hda_codec_generic hdaudioC0D1: autoconfig for Generic: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:hp
[ 1940.751840] snd_hda_codec_generic hdaudioC0D1:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 1940.751841] snd_hda_codec_generic hdaudioC0D1:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 1940.751841] snd_hda_codec_generic hdaudioC0D1:    mono: mono_out=0x0
[ 1940.751841] snd_hda_codec_generic hdaudioC0D1:    inputs:
[ 1940.751842] snd_hda_codec_generic hdaudioC0D1:      Mic=0x1a
[ 1940.755923] snd_hda_intel 0000:00:1f.3: control 2:0:0:Master Playback Volume:0 is already present
[ 1940.755927] snd_hda_intel 0000:00:1f.3: control 2:0:0:Master Playback Switch:0 is already present
[ 1940.755928] snd_hda_intel 0000:00:1f.3: control 2:0:0:Capture Volume:0 is already present
[ 1940.755929] snd_hda_intel 0000:00:1f.3: control 2:0:0:Capture Switch:0 is already present
[ 1940.755931] snd_hda_intel 0000:00:1f.3: control 2:0:0:Mic Boost Volume:0 is already present
[ 1940.756303] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input37
[ 1940.756331] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1f.3/sound/card0/input38
[ 1940.756357] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1f.3/sound/card0/input39
[ 1940.756384] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1f.3/sound/card0/input40
[ 1940.756408] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1f.3/sound/card0/input41
[ 1940.756430] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input42
[ 1940.756453] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input43
[ 1942.409610] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input44
[ 1942.409933] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input45
[ 1942.410165] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input46
[ 1942.410324] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input47

I have booted into ubuntu to test and I get the same error at the live system. I guess my motherboard is too new for linux support yet. Can someone confirm it?

Last edited by rusch (2017-05-19 16:05:04)

Offline

#4 2017-05-20 12:39:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Get Error: ALSA lib simple_none.c:1550:(simple_add1)

Which motherboard model is this? You might want to try and see if you get better results with a kernel that's already on 4.11 although that might pose some problems with the nvidia drivers currently.

Offline

#5 2017-06-07 03:27:28

rusch
Member
Registered: 2015-06-28
Posts: 7

Re: Get Error: ALSA lib simple_none.c:1550:(simple_add1)

For all other users coming across this issue: I have contact kernel developers and they have applied a patch for kernel 4.12 that will fix that issue (tested it already and it works).

My mobo is MSI Gaming M7 btw, its double audio codecs havent been handled by the kernel properly.

Last edited by rusch (2017-06-07 03:28:25)

Offline

Board footer

Powered by FluxBB