You are not logged in.

#1 2014-05-22 21:30:36

Kalamaius
Member
Registered: 2011-07-10
Posts: 20

Audio usb ALSA error: No suitable mixer element found

Hello everybody.
I've installed arch last week. I've some problem with my usb audio. The audio usb device works but i can't use a mixer, so audio control is everytime set on max.
I can't use my normal intel audio 'cause is broken. This is my aplay -l output:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC268 Digital [ALC268 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: AUDIO [USB AUDIO], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0

When i try to play audio files on audacious, arch give me following error: Audio usb ALSA error: No suitable mixer element found.
I've set the audio usb device as default with asoundconf. If i try to use hd intel audio, the mixer works good, but when i get back to usb audio, mixer is absent. There is a way to set a mixer for the usb audio device?

Last edited by Kalamaius (2014-05-23 14:34:13)

Offline

#2 2014-05-22 22:18:59

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

Re: Audio usb ALSA error: No suitable mixer element found

Use code tags. What device is it, what modules does it use (other than snd-usb-audio)?

lsusb; lsmod | grep ^snd

Last edited by emeres (2014-05-22 23:32:51)

Offline

#3 2014-05-23 14:32:54

Kalamaius
Member
Registered: 2011-07-10
Posts: 20

Re: Audio usb ALSA error: No suitable mixer element found

emeres wrote:

Use code tags. What device is it, what modules does it use (other than snd-usb-audio)?

lsusb; lsmod | grep ^snd
lsusb
Bus 005 Device 005: ID 064e:a110 Suyin Corp. HP Webcam
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 1bcf:0535 Sunplus Innovation Technology Inc. 
Bus 003 Device 002: ID 1130:f211 Tenx Technology, Inc. TP6911 Audio Headset
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lsmod | grep ^snd
snd_hda_codec_si3054     3502  1 
snd_hda_codec_realtek    48293  1 
snd_usb_audio         121757  2 
snd_usbmidi_lib        19820  1 snd_usb_audio
snd_rawmidi            19190  1 snd_usbmidi_lib
snd_seq_device          5180  1 snd_rawmidi
snd_hda_codec_generic    53860  1 snd_hda_codec_realtek
snd_hda_intel          38728  2 
snd_hda_codec         101816  4 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_hda_codec_generic,snd_hda_intel
snd_hwdep               6396  2 snd_usb_audio,snd_hda_codec
snd_pcm                81607  4 snd_hda_codec_si3054,snd_usb_audio,snd_hda_codec,snd_hda_intel
snd_timer              19038  1 snd_pcm
snd                    60086  20 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device

Last edited by Kalamaius (2014-05-23 14:33:31)

Offline

#4 2014-05-23 15:25:57

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

Re: Audio usb ALSA error: No suitable mixer element found

So it is the Tenx TP6911 Headset. There is a quirk for this device in [linux-src]/sound/usb/mixer.c. Any dmesg messages corresponding to usb, sound or the Tenx itself?  Or other logs? Any relevant configuration files (~/.asoundrc, /etc/asound.conf)? I am not that familiar with asoundconf.

amixer -c AUDIO; systool -v -m snd_usb_audio;

So what did you use before Arch Linux? You could try a live medium and see if the mixer is accessible there.

By the way, how is the Intel sound card broken?

Offline

#5 2014-05-23 21:20:33

Kalamaius
Member
Registered: 2011-07-10
Posts: 20

Re: Audio usb ALSA error: No suitable mixer element found

emeres wrote:

So it is the Tenx TP6911 Headset. There is a quirk for this device in [linux-src]/sound/usb/mixer.c. Any dmesg messages corresponding to usb, sound or the Tenx itself?  Or other logs? Any relevant configuration files (~/.asoundrc, /etc/asound.conf)? I am not that familiar with asoundconf.

amixer -c AUDIO; systool -v -m snd_usb_audio;

So what did you use before Arch Linux? You could try a live medium and see if the mixer is accessible there.

By the way, how is the Intel sound card broken?

amixer -c AUDIO
Simple mixer control 'PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Mic',0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [on]
systool -v -m snd_usb_audio
Module = "snd_usb_audio"

  Attributes:
    coresize            = "121757"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "2"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    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"

  Sections:
    .bss                = "0xffffffffa05bf900"
    .data               = "0xffffffffa05bb040"
    .exit.text          = "0xffffffffa05b2b81"
    .gnu.linkonce.this_module= "0xffffffffa05bf680"
    .init.text          = "0xffffffffa05c3000"
    .note.gnu.build-id  = "0xffffffffa05b2b94"
    .rodata             = "0xffffffffa05b2bc0"
    .rodata.str1.1      = "0xffffffffa05b8520"
    .rodata.str1.8      = "0xffffffffa05b98e8"
    .smp_locks          = "0xffffffffa05bafd8"
    .strtab             = "0xffffffffa05c9530"
    .symtab             = "0xffffffffa05c3020"
    .text               = "0xffffffffa05a4000"
    __mcount_loc        = "0xffffffffa05baa98"
    __param             = "0xffffffffa05ba998"

Intel audio is broken,  I've a crackling sound all time. I changed the previous sound card but the new one that my personal computer technician mounted never works properly, isn't a new card but a used one.

Offline

#6 2014-05-23 21:35:59

Kalamaius
Member
Registered: 2011-07-10
Posts: 20

Re: Audio usb ALSA error: No suitable mixer element found

This is my asoundconf config:
http://pastebin.com/Hr5dGHZr

Offline

#7 2014-05-23 21:40:53

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

Re: Audio usb ALSA error: No suitable mixer element found

As for the usb sound card I would try setting those parameters:

autoclock=0/1
ignore_ctl_error=0/1
Kalamaius wrote:

Intel audio is broken,  I've a crackling sound all time. I changed the previous sound card but the new one that my personal computer technician mounted never works properly, isn't a new card but a used one.

Probably related to module options.

If you simply want to control the volume it would be easy to implement a softvol plugin. But this headset should have a volume control. What is the output of:

tree /proc/asound

Last edited by emeres (2014-05-23 21:44:44)

Offline

#8 2014-05-23 22:17:39

Kalamaius
Member
Registered: 2011-07-10
Posts: 20

Re: Audio usb ALSA error: No suitable mixer element found

emeres wrote:

As for the usb sound card I would try setting those parameters:

autoclock=0/1
ignore_ctl_error=0/1
Kalamaius wrote:

Intel audio is broken,  I've a crackling sound all time. I changed the previous sound card but the new one that my personal computer technician mounted never works properly, isn't a new card but a used one.

Probably related to module options.

If you simply want to control the volume it would be easy to implement a softvol plugin. But this headset should have a volume control. What is the output of:

tree /proc/asound
tree /proc/asound
/proc/asound
├── AUDIO -> card1
├── card0
│   ├── codec#0
│   ├── codec#1
│   ├── 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
│   ├── pcm1p
│   │   ├── info
│   │   └── sub0
│   │       ├── hw_params
│   │       ├── info
│   │       ├── prealloc
│   │       ├── prealloc_max
│   │       ├── status
│   │       └── sw_params
│   ├── pcm6c
│   │   ├── info
│   │   └── sub0
│   │       ├── hw_params
│   │       ├── info
│   │       ├── prealloc
│   │       ├── prealloc_max
│   │       ├── status
│   │       └── sw_params
│   └── pcm6p
│       ├── 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
├── hwdep
├── Intel -> card0
├── modules
├── oss
│   ├── devices
│   └── sndstat
├── pcm
├── seq
│   └── drivers
├── timers
└── version

20 directories, 63 files

Offline

#9 2014-05-24 09:26:54

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

Re: Audio usb ALSA error: No suitable mixer element found

emeres wrote:

But this headset should have a volume control.

The TP6911 does have 64-level volume control.

cat /proc/asound/card1/usbmixer

Try the rest I suggested, especially the softvol plugin, since this should be the fastest way to fix your issue.

Offline

#10 2014-05-25 23:01:19

Kalamaius
Member
Registered: 2011-07-10
Posts: 20

Re: Audio usb ALSA error: No suitable mixer element found

emeres wrote:
emeres wrote:

But this headset should have a volume control.

The TP6911 does have 64-level volume control.

cat /proc/asound/card1/usbmixer

Try the rest I suggested, especially the softvol plugin, since this should be the fastest way to fix your issue.

In these days I'll try to follow your suggestions

Offline

Board footer

Powered by FluxBB