You are not logged in.

#1 2014-05-09 08:30:29

Mastermind
Member
Registered: 2014-04-04
Posts: 13

[Amixer] Invalid Argument - Sound but not levels

\o/


I recently bought a USB Headset. I'm using ALSA without Pulseaudio. The sound is working fine, but I have a problem setting levels etc.

When I open amixer and the default card is set to the headset, the mixer fails to load with

amixer: Mixer default load error: Invalid argument

I have read the whole internets about this. The usb-snd kernel module is loaded properly.
Some intel users have fixed their issue with using mode=generic. But if i'm correct this will disable 7.1 playback ability.

This is the output from

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Headset [SteelSeries SC2 USB Headset], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

And here is my ALSA Information script output:

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.63
!!################################

!!Script ran on: Fri May  9 09:08:07 UTC 2014


!!Linux Distribution
!!------------------

Arch Linux \r (\l) NAME="Arch Linux" ID=arch PRETTY_NAME="Arch Linux" HOME_URL="https://www.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://bugs.archlinux.org/"


!!DMI Information
!!---------------

Manufacturer:      Acer
Product Name:      Aspire 5755
Product Version:   V1.18
Firmware Version:  V1.18


!!Kernel Information
!!------------------

Kernel release:    3.14.1-1-ARCH
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes


!!ALSA Version
!!------------

Driver version:     k3.14.1-1-ARCH
Library version:    1.0.27.2
Utilities version:  1.0.27.2


!!Loaded ALSA modules
!!-------------------

snd_hda_intel
snd_usb_audio


!!Sound Servers on this system
!!----------------------------

Jack:
      Installed - Yes (/usr/bin/jackd)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xc0700000 irq 47
 1 [Headset        ]: USB-Audio - SteelSeries SC2 USB Headset
                      SteelSeries SteelSeries SC2 USB Headset at usb-0000:00:1d.0-1.2, full speed


!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------

00:1b.0 0403: 8086:1c20 (rev 04)
	Subsystem: 1025:0504


!!Loaded sound module options
!!---------------------------

!!Module: snd_hda_intel
	align_buffer_size : -1
	bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	beep_mode : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	enable_msi : -1
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	jackpoll_ms : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	power_save : 0
	power_save_controller : Y
	probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	probe_only : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	single_cmd : N
	snoop : Y

!!Module: snd_usb_audio
	autoclock : Y
	device_setup : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
	enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
	ignore_ctl_error : N
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC269VB
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0269
Subsystem Id: 0x10250504
Revision Id: 0x100100
No Modem Function Group found
Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC269VB Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x00 0x00]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC269VB Analog", type="Audio", device=0
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x13 0x13]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x8b 0x8b]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Internal Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=3, ofs=0
  Control: name="Internal Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=3, ofs=0
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 5
     0x18 0x19 0x1a 0x1b 0x1d
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x80]
  Connection: 2
     0x02 0x0b
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Speaker Phantom Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c 0x0d*
Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Connection: 1
     0x0f
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00001734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x03a19820: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x0d
Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=00, enabled=0
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000003c: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Internal Mic Phantom Jack", index=0, device=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000034: IN OUT Detect
  Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x00000020: IN
  Pin Default 0x598301f0: [N/A] Line In at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000014: OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=25
Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Headphone Jack", index=0, device=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0321101f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Connection: 2
     0x0c* 0x0d
Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
  Amp-In caps: N/A
  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Connection: 7
     0x18* 0x19 0x1a 0x1b 0x1d 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80]
  Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
Codec: Intel CougarPoint HDMI
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x80862805
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3 CLKSTOP EPSS
  Power: setting=D0, actual=D0, Clock-stop-OK
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x6611: 8-Channels Digital
  Converter: stream=0, channel=0
  Digital: Enabled
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0x1e]: 16 20 24 32
    formats [0x5]: PCM AC3
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="ELD", index=0, device=3
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x02
Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560020: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x03
Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x80]
  Pincap 0x09000094: OUT Detect HBR HDMI DP
  Pin Default 0x58560030: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x04
Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--


!!USB Mixer information
!!---------------------
--startcollapse--

USB Mixer: usb_id=0x10381216, ctrlif=0, ctlerr=0
Card: SteelSeries SteelSeries SC2 USB Headset at usb-0000:00:1d.0-1.2, full speed
  Unit: 2
    Control: name="Headphone Playback Volume", index=0
    Info: id=2, control=2, cmask=0xff, channels=8, type="S16"
    Volume: min=-18944, max=0, dBmin=-7400, dBmax=0
  Unit: 2
    Control: name="Headphone Playback Switch", index=0
    Info: id=2, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 6
    Control: name="Mic Capture Volume", index=0
    Info: id=6, control=2, cmask=0x3, channels=2, type="S16"
    Volume: min=-18944, max=0, dBmin=-7400, dBmax=0
  Unit: 6
    Control: name="Mic Capture Switch", index=0
    Info: id=6, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 9
    Control: name="Sidetone Playback Volume", index=0
    Info: id=9, control=2, cmask=0x0, channels=1, type="S16"
    Volume: min=-18944, max=-4608, dBmin=-7400, dBmax=-1800
  Unit: 9
    Control: name="Sidetone Playback Switch", index=0
    Info: id=9, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 10
    Control: name="PCM Volume", index=4
    Info: id=10, control=9, cmask=0x40, channels=1, type="S16"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 10
    Control: name="PCM Volume", index=3
    Info: id=10, control=8, cmask=0x80, channels=1, type="S16"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 10
    Control: name="PCM Volume", index=2
    Info: id=10, control=5, cmask=0x80, channels=1, type="S16"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 10
    Control: name="PCM Volume", index=1
    Info: id=10, control=4, cmask=0x20, channels=1, type="S16"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 10
    Control: name="PCM Volume", index=0
    Info: id=10, control=3, cmask=0x90, channels=2, type="S16"
    Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--


!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  7 May  8 10:30 /dev/snd/controlC0
crw-rw----+ 1 root audio 116, 10 May  9 07:29 /dev/snd/controlC1
crw-rw----+ 1 root audio 116,  6 May  8 10:30 /dev/snd/hwC0D0
crw-rw----+ 1 root audio 116,  5 May  8 10:30 /dev/snd/hwC0D3
crw-rw----+ 1 root audio 116,  4 May  8 10:30 /dev/snd/pcmC0D0c
crw-rw----+ 1 root audio 116,  3 May  8 10:46 /dev/snd/pcmC0D0p
crw-rw----+ 1 root audio 116,  2 May  8 10:30 /dev/snd/pcmC0D3p
crw-rw----+ 1 root audio 116,  9 May  9 07:29 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116,  8 May  9 08:45 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116,  1 May  8 10:30 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 May  8 10:30 /dev/snd/timer

/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root  60 May  9 07:29 .
drwxr-xr-x 4 root root 300 May  9 07:29 ..
lrwxrwxrwx 1 root root  12 May  9 07:29 usb-SteelSeries_SteelSeries_SC2_USB_Headset_000000000000-00 -> ../controlC1

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  80 May  9 07:29 .
drwxr-xr-x 4 root root 300 May  9 07:29 ..
lrwxrwxrwx 1 root root  12 May  8 10:30 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx 1 root root  12 May  9 07:29 pci-0000:00:1d.0-usb-0:1.2:1.0 -> ../controlC1


!!ALSA configuration files
!!------------------------

!!User specific config file (~/.asoundrc)

# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/mastermind/.asoundrc.asoundconf>

pcm.!default {
    type hw
    card 1
}

ctl.!default {
    type hw
    card 1
}


!!asoundconf-generated config file

# ALSA library configuration file managed by asoundconf(1).
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
!defaults.pcm.card Headset
defaults.ctl.card Headset
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.compat 0
defaults.pcm.minperiodtime 5000
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format "unchanged"
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.pcm.file_format "raw"
defaults.pcm.file_truncate true
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0
defaults.namehint.showall off
defaults.namehint.basic on
defaults.namehint.extended off


!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Headset [SteelSeries SC2 USB Headset], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Headset [SteelSeries SC2 USB Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [PCH]

Card hw:0 'PCH'/'HDA Intel PCH at 0xc0700000 irq 47'
  Mixer name	: 'Intel CougarPoint HDMI'
  Components	: 'HDA:10ec0269,10250504,00100100 HDA:80862805,80860101,00100000'
  Controls      : 32
  Simple ctrls  : 13
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 0 [0%] [-65.25dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 250 [98%] [-1.00dB]
  Front Right: Playback 250 [98%] [-1.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 19 [61%] [12.00dB] [on]
  Front Right: Capture 19 [61%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

!!-------Mixer controls for card 1 [Headset]

amixer: Mixer load hw:1 error: Invalid argument
Card hw:1 'Headset'/'SteelSeries SteelSeries SC2 USB Headset at usb-0000:00:1d.0-1.2, full speed'
  Mixer name	: 'USB Mixer'
  Components	: 'USB1038:1216'
  Controls      : 13
amixer: Mixer hw:1 load error: Invalid argument


!!Alsactl output
!!--------------

--startcollapse--
--endcollapse--


!!All Loaded Modules
!!------------------

Module
fuse
hid_generic
snd_usb_audio
usbhid
snd_usbmidi_lib
hid
snd_rawmidi
snd_seq_device
ctr
ccm
mousedev
arc4
ath9k
ath9k_common
ath9k_hw
ath
mac80211
cfg80211
tg3
ptp
pps_core
libphy
snd_hda_codec_hdmi
snd_hda_codec_realtek
snd_hda_codec_generic
iTCO_wdt
iTCO_vendor_support
joydev
acer_wmi
sparse_keymap
rfkill
uvcvideo
videobuf2_vmalloc
videobuf2_memops
videobuf2_core
videodev
media
intel_rapl
x86_pkg_temp_thermal
intel_powerclamp
kvm_intel
kvm
crct10dif_pclmul
crc32_pclmul
crc32c_intel
ghash_clmulni_intel
aesni_intel
aes_x86_64
lrw
gf128mul
glue_helper
ablk_helper
cryptd
microcode
psmouse
snd_hda_intel
i915
snd_hda_codec
snd_hwdep
snd_pcm
evdev
mac_hid
snd_timer
coretemp
drm_kms_helper
snd
hwmon
pcspkr
serio_raw
drm
i2c_i801
shpchp
soundcore
intel_gtt
mei_me
lpc_ich
i2c_algo_bit
mei
i2c_core
battery
ac
wmi
button
video
processor
vboxnetflt
vboxnetadp
vboxdrv
ext4
crc16
mbcache
jbd2
sd_mod
sr_mod
crc_t10dif
cdrom
crct10dif_common
atkbd
libps2
ahci
libahci
libata
scsi_mod
xhci_hcd
ehci_pci
sdhci_pci
ehci_hcd
sdhci
led_class
mmc_core
usbcore
usb_common
i8042
serio


!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x411111f0
0x14 0x99130110
0x17 0x411111f0
0x18 0x03a19820
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x99a30930
0x1d 0x598301f0
0x1e 0x411111f0
0x21 0x0321101f

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC0D3/init_pin_configs:
0x05 0x18560010
0x06 0x58560020
0x07 0x58560030

/sys/class/sound/hwC0D3/driver_pin_configs:

/sys/class/sound/hwC0D3/user_pin_configs:

/sys/class/sound/hwC0D3/init_verbs:

/sys/class/sound/hwC0D3/hints:


!!ALSA/HDA dmesg
!!--------------

[    2.804467] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    2.804893] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[    2.809383] [drm] Memory usable by graphics device = 2048M
--
[    2.809500] Console: switching to colour dummy device 80x25
[    2.822857] hda_codec: ALC269VB: SKU not ready 0x598301f0
[    2.825609] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input11
[    2.837175] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[    2.837341] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    2.837432] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    2.875879] i915 0000:00:02.0: irq 48 for MSI/MSI-X
--
[   12.378034] 3:2:3: cannot get freq at ep 0x1
[   12.415236] usbcore: registered new interface driver snd-usb-audio
[   12.574045] usb 4-1.4.1: new full-speed USB device number 5 using ehci-pci
--
[21894.981516] tg3 0000:02:00.0: System wakeup disabled by ACPI
[21894.981666] snd_hda_intel 0000:00:1b.0: irq 47 for MSI/MSI-X
[21894.982611] ath: phy0: ASPM enabled: 0x42

A frickload of kudos to anybody that will either be able to recommend an alternative mixer (without having to install OSS/Pulse) or be able to link or recommend a fix.


Kind regards,
Mastermind

Offline

#2 2014-05-09 14:46:39

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Amixer] Invalid Argument - Sound but not levels

Mastermind wrote:

I have read the whole internets about this.

[joke]Congratulations, you are the first human to achieve this.[/joke]

How do you call amixer? And why not use alsamixer? Both should work with Headset plugged in:

amixer -c Headset; alsamixer -c Headset

If you want to set up your headset as your default sound card, try using the modules method and disable your ~/.asoundrc.

Offline

#3 2014-05-09 14:49:30

Mastermind
Member
Registered: 2014-04-04
Posts: 13

Re: [Amixer] Invalid Argument - Sound but not levels

Hey!


Thanks for your reply =]

amixer, alsamixer. Tried both. Honestly I thought they where one and the same.

The headset works fine, I have it set as default. I just have troubles setting the levels.

EDIT:

$ amixer -c Headset; alsamixer -c Headset
amixer: Mixer hw:1 load error: Invalid argument
cannot load mixer controls: Invalid argument

Last edited by Mastermind (2014-05-09 15:02:22)

Offline

#4 2014-05-09 15:04:10

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Amixer] Invalid Argument - Sound but not levels

Try the other model for snd-usb-audio module. There is USB Mixer information in the output of alsa-info but the mixer is missing. Try

alsamixer -c SteelSeries

Is there anything listed within alsamixer when you press F6 or F2 and choose cards?

Offline

#5 2014-05-09 15:06:41

Mastermind
Member
Registered: 2014-04-04
Posts: 13

Re: [Amixer] Invalid Argument - Sound but not levels

Hey!


Thanks for your reply =]

That command won't work as I have not set an index (permanent card number) for the device.
If the default card is on PCM and I opt to change it to the USB Headset with F2 or F6 the mixer crashes with the posted errors.

Offline

#6 2014-05-09 15:19:21

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Amixer] Invalid Argument - Sound but not levels

What does dmesg say about this card? Seems more and more like a bug to me or another "feature". You could set up softvol plugins as last resort.
Edit: There should be a method to communicate with the card and set levels shown in the !!USB Mixer information section. Maybe some other files inside /proc/asound/card1/ hold these parameters. Apparently some usb cards have problems with mixers. You could try booting linux mint or some other auto-configure distribution and see if there are specific settings or hacks and eventually a mixer for your usb card.

Last edited by emeres (2014-05-09 15:33:42)

Offline

#7 2014-05-12 06:46:12

Mastermind
Member
Registered: 2014-04-04
Posts: 13

Re: [Amixer] Invalid Argument - Sound but not levels

\o/

$ dmesg |grep Headset
[   12.373718] input: SteelSeries SteelSeries SC2 USB Headset as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.3/0003:1038:1216.0001/input/input16
[   12.373958] hid-generic 0003:1038:1216.0001: input,hidraw0: USB HID v1.11 Device [SteelSeries SteelSeries SC2 USB Headset] on usb-0000:00:1d.0-1.2/input3

I tried finding the section (!!USB Mixer information section) you're referring too. But unfortunatley I had no luck in finding it.
I'd be fine if I could use a simple prog. to set levels trough a command. I just need to set them to a 100, then I will manage them on the Headset itself.

Offline

#8 2014-05-12 09:30:11

Mastermind
Member
Registered: 2014-04-04
Posts: 13

Re: [Amixer] Invalid Argument - Sound but not levels

So I just spent another couple of hours battling with alsa.

I went from sound but no mixer, to no sound at all. And then back to having sound again after 4 hours of command mashing. All that after just a weekend in suspend/standby.
The only difference I could detect was that the subdevice on the card changed, but simply defining (and alsa restoring) that one in the ~/.asoundrc did not do the trick.

I also came across a more detailed error with the crashing alsamixer.

/usr/share/alsa/init/default:171: value write error: Invalid argument
/usr/share/alsa/init/default:185: value write error: Invalid argument

Commenting these lines did not fix the error.


Some more outputs:

[root@Blitz mastermind]# alsactl restore
No state is present for card Headset
Found hardware: "USB-Audio" "USB Mixer" "USB1038:1216" "" ""
Hardware is initialized using a generic method
/usr/share/alsa/init/default:171: value write error: Invalid argument
/usr/share/alsa/init/default:185: value write error: Invalid argument
No state is present for card Headset
systemctl -l status alsa-restore.service 
alsa-restore.service - Restore Sound Card State
   Loaded: loaded (/usr/lib/systemd/system/alsa-restore.service; static)
   Active: inactive (dead) since Thu 2014-05-08 10:30:47 UTC; 3 days ago
  Process: 192 ExecStart=/usr/bin/alsactl restore (code=exited, status=19)
 Main PID: 192 (code=exited, status=19)

May 08 10:30:47 Blitz alsactl[192]: /usr/bin/alsactl: load_state:1729: No soundcards found...
$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC269VB Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VB Analog
    Front speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VB Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VB Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VB Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VB Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC269VB Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
sysdefault:CARD=Headset
    SteelSeries SC2 USB Headset, USB Audio
    Default Audio Device
front:CARD=Headset,DEV=0
    SteelSeries SC2 USB Headset, USB Audio
    Front speakers
surround40:CARD=Headset,DEV=0
    SteelSeries SC2 USB Headset, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Headset,DEV=0
    SteelSeries SC2 USB Headset, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Headset,DEV=0
    SteelSeries SC2 USB Headset, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Headset,DEV=0
    SteelSeries SC2 USB Headset, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Headset,DEV=0
    SteelSeries SC2 USB Headset, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Headset,DEV=0
    SteelSeries SC2 USB Headset, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Headset [SteelSeries SC2 USB Headset], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

This is what I have in /etc/modprobe.d/alsa.conf :

options snd-hda-intel model=generic
options snd-usb-audio model=generic

.asoundrc for root

# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</root/.asoundrc.asoundconf>

audio_output {
    type        "alsa"
    name        "My ALSA Device"
    card 1
    # device        "hw:1,1"    # optional
    mixer_control    "mpd"    # optional
}

pcm.!default {
    type hw
    card 1
}

ctl.!default {
    type hw
    card 1
}

for my user:

# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/mastermind/.asoundrc.asoundconf>

pcm.!default {
    type hw
    card 1
}

ctl.!default {
    type hw
    card 1
}

More:

ls -l /dev/snd
total 0
drwxr-xr-x  2 root root       60 May 12 10:25 by-id
drwxr-xr-x  2 root root       80 May 12 10:25 by-path
crw-rw----+ 1 root audio 116,  7 May  8 10:30 controlC0
crw-rw----+ 1 root audio 116, 10 May 12 10:25 controlC1
crw-rw----+ 1 root audio 116,  6 May  8 10:30 hwC0D0
crw-rw----+ 1 root audio 116,  5 May  8 10:30 hwC0D3
crw-rw----+ 1 root audio 116,  4 May  8 10:30 pcmC0D0c
crw-rw----+ 1 root audio 116,  3 May  8 10:46 pcmC0D0p
crw-rw----+ 1 root audio 116,  2 May  8 10:30 pcmC0D3p
crw-rw----+ 1 root audio 116,  9 May 12 10:25 pcmC1D0c
crw-rw----+ 1 root audio 116,  8 May 12 10:25 pcmC1D0p
crw-rw----+ 1 root audio 116,  1 May  8 10:30 seq
crw-rw----+ 1 root audio 116, 33 May  8 10:30 timer
 lsmod | grep '^snd' | column -t
snd_usb_audio          118323  2
snd_usbmidi_lib        19756   1   snd_usb_audio
snd_rawmidi            18742   1   snd_usbmidi_lib
snd_seq_device         5180    1   snd_rawmidi
snd_hda_codec_hdmi     36588   1
snd_hda_codec_realtek  46566   1
snd_hda_codec_generic  53211   1   snd_hda_codec_realtek
snd_hda_intel          37704   0
snd_hda_codec          99871   4   snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hwdep              6332    2   snd_usb_audio,snd_hda_codec
snd_pcm                79815   5   snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_timer              18718   1   snd_pcm
snd                    59286   17  snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device

restore alsa:

alsactl restore
No state is present for card Headset
Found hardware: "USB-Audio" "USB Mixer" "USB1038:1216" "" ""
Hardware is initialized using a generic method
/usr/share/alsa/init/default:171: value write error: Invalid argument
/usr/share/alsa/init/default:185: value write error: Invalid argument
No state is present for card Headset
# cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xc0700000 irq 47
 1 [Headset        ]: USB-Audio - SteelSeries SC2 USB Headset
                      SteelSeries SteelSeries SC2 USB Headset at usb-0000:00:1d.0-1.2, full speed

# cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_usb_audio

Let me know if I can provide any more information.

Last edited by Mastermind (2014-05-12 09:54:11)

Offline

#9 2014-05-12 10:05:43

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Amixer] Invalid Argument - Sound but not levels

I was referring to your alsa-info output, look that section up in there.

audio_output {
    type        "alsa"
    name        "My ALSA Device"
    card 1
    # device        "hw:1,1"    # optional
    mixer_control    "mpd"    # optional
}

This belongs into mpd.conf or whatever you set mpd to use. Why do you use roots ~/.asoundrc? For global configuration /etc/asound.conf is usually used. I hope you do realize, that using type hw, enables raw communication without conversion and with blocking any other sound source. Also using numbers as reference is not recommended, use name ids (cat /proc/asound/card*/id).
As for the systemd service, do you have a /var/lib/alsa/asound.state file? If not, run alsactl store as root, but it could still show errors, because of your usb card.
Your dmesg | grep -i is somewhat short, are you sure there is no other information on the usb headset? Please show the output of and any relevant content of files connected to the usb headset:

tree /proc/asound

For hda-compliant cards there is hda-verb from alsa-tools to send commands to the codec directly, but that should not work with your headset.
If nothing helps here, I would recommend stating your problem in alsa-user maling list.

Offline

#10 2014-05-12 10:26:41

Mastermind
Member
Registered: 2014-04-04
Posts: 13

Re: [Amixer] Invalid Argument - Sound but not levels

Hey!


Ill move that part to mpd.conf and start using names instead of 'hw'. The part the quoted has the lines uncommented, but I do use it to set defaults. Which type would I use?
Can I specify the id iwth 'name', 'card' or 'device'?

E.g.

pcm.!default {
    type ?
    card Headset
}

Yeah, I have a '/var/lib/alsa/asound.state' file/ But I also tried moving it and regenerating it with alsactl store. As this didn't work I placed the original file back.

I just came across another (quite) old bugreport on their old launchpad, with a user using certain codes/chips also erroring on a specific line. I'd like to report this as a potential bug but unfirtunatley their ('new') bugtracker seems to be down.

I didn't seem to use the -i parameter last time, here's another dmesg:

# dmesg | grep -i Headset
[   12.373718] input: SteelSeries SteelSeries SC2 USB Headset as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.3/0003:1038:1216.0001/input/input16
[   12.373958] hid-generic 0003:1038:1216.0001: input,hidraw0: USB HID v1.11 Device [SteelSeries SteelSeries SC2 USB Headset] on usb-0000:00:1d.0-1.2/input3
[67648.351492] input: SteelSeries SteelSeries SC2 USB Headset as /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb2/2-2/2-2:1.3/0003:1038:1216.000C/input/input23
[67648.351628] hid-generic 0003:1038:1216.000C: input,hidraw5: USB HID v1.11 Device [SteelSeries SteelSeries SC2 USB Headset] on usb-0000:05:00.0-2/input3
[67740.565672] input: SteelSeries SteelSeries SC2 USB Headset as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.3/0003:1038:1216.000D/input/input24
[67740.565773] hid-generic 0003:1038:1216.000D: input,hidraw5: USB HID v1.11 Device [SteelSeries SteelSeries SC2 USB Headset] on usb-0000:00:1d.0-1.2/input3
[71788.681087] input: SteelSeries SteelSeries SC2 USB Headset as /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2:1.3/0003:1038:1216.000E/input/input25
[71788.681175] hid-generic 0003:1038:1216.000E: input,hidraw5: USB HID v1.11 Device [SteelSeries SteelSeries SC2 USB Headset] on usb-0000:00:1d.0-1.2/input3

And the tree:

 tree /proc/asound
/proc/asound
├── card0
│   ├── codec#0
│   ├── codec#3
│   ├── eld#3.0
│   ├── id
│   ├── pcm0c
│   │   ├── info
│   │   └── sub0
│   │       ├── hw_params
│   │       ├── info
│   │       ├── prealloc
│   │       ├── prealloc_max
│   │       ├── status
│   │       └── sw_params
│   ├── pcm0p
│   │   ├── info
│   │   └── sub0
│   │       ├── hw_params
│   │       ├── info
│   │       ├── prealloc
│   │       ├── prealloc_max
│   │       ├── status
│   │       └── sw_params
│   └── pcm3p
│       ├── info
│       └── sub0
│           ├── hw_params
│           ├── info
│           ├── prealloc
│           ├── prealloc_max
│           ├── status
│           └── sw_params
├── card1
│   ├── id
│   ├── pcm0c
│   │   ├── info
│   │   └── sub0
│   │       ├── hw_params
│   │       ├── info
│   │       ├── status
│   │       └── sw_params
│   ├── pcm0p
│   │   ├── info
│   │   └── sub0
│   │       ├── hw_params
│   │       ├── info
│   │       ├── status
│   │       └── sw_params
│   ├── stream0
│   ├── usbbus
│   ├── usbid
│   └── usbmixer
├── cards
├── devices
├── Headset -> card1
├── hwdep
├── modules
├── oss
│   ├── devices
│   └── sndstat
├── PCH -> card0
├── pcm
├── seq
│   └── drivers
├── timers
└── version

16 directories, 50 files

I really appriciate your time. Thank you.

Offline

#11 2014-05-12 11:28:22

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Amixer] Invalid Argument - Sound but not levels

You could use defaults.pcm node instead, thus preserving the default dmix and dsnoop (multiple sound at once from input/output).

defaults.pcm.!card "Headset";
defaults.ctl.!card "Headset";

I am not sure how to speak to the usb card. You could try using the inputs mentioned in dmesg, look up what else is in /dev, or try to change values for card1 in /proc/asound. I would check contents of all usb* files, but I doubt that changing will result in any usb cards reaction. You would need at least some more information on the hardware (codec/dsp) used.

If everything fails, your best bet is to use alsa-user mailing list, they can provide more information and insight.

Offline

#12 2014-05-12 12:08:39

Mastermind
Member
Registered: 2014-04-04
Posts: 13

Re: [Amixer] Invalid Argument - Sound but not levels

Hey!


I will properly configure my card using the given method. Thank you.
My best guess at this point would be the mailing list then. Unless somebody else with the same problem comes across this thread with a solution.

If the mailing list provides a usefull response I will post it here to help out people with the same or a similar problem.

Offline

Board footer

Powered by FluxBB