usb audio: cannot get ctl value: req = 0x81, wValue = 0x0, wIndex = 0x1400, type = 3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I typed in terminal:
alsamixer
Then I wanted to change the sound card (I have connected an external sound card via USB).
I pressed F6, selected the external sound card and pressed enter.
alsamixer crashed and outputed:
cannot load mixer controls: Broken pipe
My ALSA information is located at http://
Raymond (superquad-vortex2) wrote : | #1 |
Changed in alsa-driver (Ubuntu): | |
status: | New → Incomplete |
Ionică Bizău (bizauionica) wrote : | #2 |
Ok, below you have it:
$ lsusb -vvvv
Bus 002 Device 008: ID 1043:857c iCreate Technologies Corp.
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x1043 iCreate Technologies Corp.
idProduct 0x857c
bcdDevice 1.10
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigura
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 1010
bNumInterfaces 5
bConfigurat
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Association:
bLength 8
bDescript
bFirstInt
bInterfac
bFunction
bFunction
bFunction
iFunction 0
Interface Descriptor:
bLength 9
bDescript
bInterfac
bAlternat
bNumEndpoints 1
bInterfac
bInterfac
bInterfac
iInterface 0
AudioControl Interface Descriptor:
bLength 9
bcdADC 2.00
bCategory 10
bmControl 0x00
AudioControl Interface Descriptor:
bLength 17
bTerminalID 1
bCSourceID 18
bNrChannels 0
bmControls 0x0040
Cluster Control (read-only)
iTerminal 0
AudioControl Interface Descriptor:
bLength 17
bTerminalID 2
bCSourceID 19
bNrChannels 0
bmControls 0x0040
Cluster Control (read-only)
iTerminal 0
AudioControl Interface Descriptor:
bLength 17
bTerminalID 4
bCSourceID 22
...
Changed in alsa-driver (Ubuntu): | |
status: | Incomplete → New |
Ionică Bizău (bizauionica) wrote : | #3 |
To see the full comment above without download any txt file, click here: http://
Raymond (superquad-vortex2) wrote : | #4 |
alsactl store -f abc.txt
post the output of abc.txt
!!-------Mixer controls for card 1 [U7]
amixer: Mixer load hw:1 error: Broken pipe
Card hw:1 'U7'/'ASUS Xonar U7 at usb-0000:
Mixer name : 'USB Mixer'
Components : 'USB1043:857c'
Controls : 7
amixer: Mixer hw:1 load error: Broken pipe
Unit: 13
Control: name="Speaker Playback Volume", index=0
Info: id=13, control=2, cmask=0xff, channels=8, type="S16"
Volume: min=-32512, max=0, dBmin=-12700, dBmax=0
AudioControl Interface Descriptor:
bLength 42
bUnitID 13
bSourceID 1
Mute Control (read/write)
Volume Control (read/write)
Input gain pad Control (read/write)
Volume Control (read/write)
Input gain pad Control (read/write)
Volume Control (read/write)
Volume Control (read/write)
Volume Control (read/write)
Volume Control (read/write)
Volume Control (read/write)
Volume Control (read/write)
iFeature 0
Ionică Bizău (bizauionica) wrote : | #5 |
An error is thrown:
$ alsactl store -f abc.txt
alsactl: get_control:256: Cannot read control '2,0,0,PCM Capture Source,0': Broken pipe
Also, one clue: in the external sound card (the hardware element) I have a switcher: USB Audio 2.0 and USB Audio 1.0.
When 2.0 is selected the laptop recognizes it as "Xonar U7". The error appears only when 2.0 is selected.
If I select 1.0 the laptop recognizes it as "USB Audio Device" - the error does NOT appear. I can select it.
Is this helpful? What is USB Audio must I choose?
Ionică Bizău (bizauionica) wrote : | #6 |
When USB Audio 1.0 is selected the output of abc.txt is:
state.PCH {
control.1 {
iface MIXER
name 'Headphone Playback Volume'
value.0 87
value.1 87
comment {
access 'read write'
type INTEGER
count 2
range '0 - 87'
dbmin -6525
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.2 {
iface MIXER
name 'Headphone Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'Speaker Playback Volume'
value.0 87
value.1 87
comment {
access 'read write'
type INTEGER
count 2
range '0 - 87'
dbmin -6525
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.4 {
iface MIXER
name 'Speaker Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.5 {
iface MIXER
name 'Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.6 {
iface MIXER
name 'Mic Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.7 {
iface MIXER
name 'Auto-Mute Mode'
value Enabled
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Disabled
item.1 Enabled
}
}
control.8 {
iface MIXER
name 'Capture Volume'
value.0 25
value.1 25
comment {
access 'read write'
type INTEGER
count 2
range '0 - 63'
dbmin -1725
dbmax 3000
dbvalue.0 150
dbvalue.1 150
}
}
control.9 {
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.10 {
iface MIXER
name 'Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3000
dbvalue.0 0
dbvalue.1 0
}
}
control.11 {
iface MIXER
name 'Internal Mic Boost Volume'
value.0 1
value.1 1
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3000
dbvalue.0 1000
dbvalue.1 1000
}
}
control.12 {
iface MIXER
name 'Master Playback Volume'
value 60
comment {
access 'read write'
type INTEGER
count 1
range '0 - 87'
dbmin -6525
dbmax 0
dbvalue.0 -2025
}
}
control.13 {
iface MIXER
name 'Master Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.14 {
iface CARD
name 'Mic Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.15 {
iface CARD
name 'Internal Mic Phantom Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.16 {
iface CARD
name 'Headphone Jack'
value false
comment {
access read
type BOOLEAN
count 1
}
}
control.17 {
iface CARD
name 'Speaker Phantom Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}
control.18 {
iface PCM
name 'Playback Channel Map'
value.0 0
value.1 0
comment {
...
Raymond (superquad-vortex2) wrote : | #7 |
not sure why you have three playback devices
it is strange that there are no capture device 0
you may need to send email to alsa-devel mailing list
http://
Analog Output
4 x 3.5 mm jack (1/8") (Headphone out /Side out/Center-
2 x RCA (Un-Balanced)
Analog Input
1 x 3.5 mm jack (1/8") (Line-in/ Mic-in combo)
Digital
1 x S/PDIF out (1 x Coaxial)
APLAY
**** List of PLAYBACK Hardware Devices ****
card 1: U7 [Xonar U7], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: U7 [Xonar U7], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: U7 [Xonar U7], device 2: USB Audio [USB Audio #2]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 1: U7 [Xonar U7], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
http://
state.Device {
control.1 {
iface PCM
name 'Playback Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.2 {
iface PCM
device 1
name 'Playback Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.3 {
iface MIXER
name 'PCM Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'PCM Playback Switch'
index 1
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.5 {
iface MIXER
name 'PCM Playback Volume'
value.0 107
value.1 107
value.2 107
value.3 107
value.4 107
value.5 107
value.6 107
value.7 107
comment {
access 'read write'
type INTEGER
count 8
range '0 - 127'
dbmin -12700
dbmax 0
dbvalue.0 -2000
dbvalue.1 -2000
dbvalue.2 -2000
dbvalue.3 -2000
dbvalue.4 -2000
dbvalue.5 -2000
dbvalue.6 -2000
dbvalue.7 -2000
}
}
control.6 {
iface MIXER
name 'Mic Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.7 {
iface MIXER
name 'Line Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.8 {
iface MIXER
name 'PCM Capture Source'
value Mic
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Mic
item.1 Line
}
}
}
Ionică Bizău (bizauionica) wrote : | #8 |
Does they support Linux? I don't think so... I have a cd with Windows drivers.
Is there any driver for Linux?
What to tell them in the email?
Raymond (superquad-vortex2) wrote : | #9 |
[94274.174745] ehci-pci 0000:00:1a.0: setting latency timer to 64
[94274.174831] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X
[94274.174884] ahci 0000:00:1f.2: setting latency timer to 64
--
[95820.614895] ahci 0000:00:1f.2: setting latency timer to 64
[95820.614976] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X
[95820.615075] ehci-pci 0000:00:1d.0: setting latency timer to 64
--
can you post the system log ?
did you compter suspend and resume ?
> Does they support Linux? I don't think so... I have a cd with Windows drivers.
> Is there any driver for Linux?
> What to tell them in the email?
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
your lsusb output did not contain any vendor specific class
but a lot of UAC2 feature which may not support in current alsa usb driver (.e.g three clock source, ...
missing capture device 0
bDescriptorSubtype 10 (CLOCK_SOURCE)
bClockID 18
bDescripto
bTerminalID 8
Raymond (superquad-vortex2) wrote : | #10 |
bmControls 0x0044
Connector Control (read-only)
Cluster Control (read-only)
there are some real only controls
Ionică Bizău (bizauionica) wrote : | #11 |
> your lsusb output did not contain any vendor specific class
The vendor specific informations appear only when USB Audio 2.0 is selected, but unfortunately when it is selected lsusb throws an error
When USB Audio 2.0 is selected I am able to see in alsa mixer -> F6 "Xonar ..." option. When I select it alsamixer crashes.
> can you post the system log ?
What command to run for that?
> did you compter suspend and resume ?
What you mean?
Where I can find the contact information of guys that wrote the Linux driver?
Raymond (superquad-vortex2) wrote : | #12 |
Raymond (superquad-vortex2) wrote : | #13 |
do you find any error message in system log (dmesg) ?
An error is thrown:
$ alsactl store -f abc.txt
alsactl: get_control:256: Cannot read control '2,0,0,PCM Capture Source,0': Broken pipe
Unit: 20
Control: name="PCM Capture Source", index=0
Info: id=20, control=0, cmask=0x0, channels=1, type="U8"
Volume: min=1, max=2, dBmin=0, dBmax=0
control.8 {
iface MIXER
name 'PCM Capture Source'
value Mic
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Mic
item.1 Line
}
AudioControl Interface Descriptor:
bLength 9
bcdADC 2.00
bCategory 10
bmControl 0x00
AudioControl Interface Descriptor:
bLength 17
bTerminalID 1
bCSourceID 18
bNrChannels 0
bmControls 0x0040
Cluster Control (read-only)
iTerminal 0
AudioControl Interface Descriptor:
bLength 17
bTerminalID 2
bCSourceID 19
bNrChannels 0
bmControls 0x0040
Cluster Control (read-only)
iTerminal 0
AudioControl Interface Descriptor:
bLength 17
bTerminalID 4
bCSourceID 22
bNrChannels 2
Front Left (FL)
Front Right (FR)
bmControls 0x0044
Connector Control (read-only)
Cluster Control (read-only)
iTerminal 0
AudioControl Interface Descriptor:
bLength 17
bTerminalID 5
bCSourceID 22
bNrChannels 2
Front Left (FL)
Front Right (FR)
bmControls 0x0044
Connector Control (read-only)
Cluster Control (read-only)
iTerminal 0
Ionică Bizău (bizauionica) wrote : | #14 |
Look below:
$ sudo dmesg -C
$ alsactl store -f abc.txt
alsactl: get_control:256: Cannot read control '2,0,0,PCM Capture Source,0': Broken pipe
$ dmesg
[ 398.119996] cannot get ctl value: req = 0x81, wValue = 0x0, wIndex = 0x1400, type = 3
Raymond (superquad-vortex2) wrote : | #15 |
https:/
https:/
you have to provide alsa-info.sh , error in system log and step to reproduce the bug
Raymond (superquad-vortex2) wrote : | #16 |
it is strange that
bNrChannels 0
summary: |
- Broken pipelline when changing the sound card + usb audio: cannot get ctl value: req = 0x81, wValue = 0x0, wIndex = + 0x1400, type = 3 |
Raymond (superquad-vortex2) wrote : | #17 |
some message require driver compiled with debug version
Ionică Bizău (bizauionica) wrote : | #18 |
I will add the steps to reproduce the problem but it requires to have a external audio card.
Will this be fixed in 7 days? If not, I will return the device to the shop...
Raymond (superquad-vortex2) wrote : | #19 |
you have to ask maintainter of USB audio driver
Ionică Bizău (bizauionica) wrote : | #20 |
Who is the USB audio driver maintainer and how can I contact him?
Raymond (superquad-vortex2) wrote : | #21 |
Launchpad Janitor (janitor) wrote : | #22 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in alsa-driver (Ubuntu): | |
status: | New → Confirmed |
Julian (perlsite) wrote : | #23 |
I'm having this issue since I bought this card (Asus xonar u7) and I still having the issue in Ubuntu 14.10.
Here is the my alsa-info: http://
The only way to use the card is by loading the snd usb driver with ignore_ctl_error=1
Let me know if you need help to debug/test a possible fix/patch.
Ionică Bizău (bizauionica) wrote : | #24 |
Hi Julian,
I returned the card to the shop since I didn't have a good experience with it.
I was using `ignore_
Hopefully, this will be fixed...
Cheers
Marcus Tomlinson (marcustomlinson) wrote : | #25 |
This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.
Changed in alsa-driver (Ubuntu): | |
status: | Confirmed → Incomplete |
risingfish (risingfish) wrote : | #26 |
While I do not have the same USB soundcard this bug started with, I can confirm this is still happening with the 5.5 Kernel running in Ubuntu 19.10 and other USB sound cards. I am using a Schiit Fulla v3. When trying to use ALSA mixer I get the same broken pipe error. When tailing both journalctl and syslog I see the following error when the broken pipe occurs.
kernel: [25828.174373] usb 1-2.3: cannot get ctl value: req = 0x81, wValue = 0x100, wIndex = 0x1100, type = 1
Considering this distro is no long maintained, should another bug be opened against the current 19.10 distro?
Launchpad Janitor (janitor) wrote : | #27 |
[Expired for alsa-driver (Ubuntu) because there has been no activity for 60 days.]
Changed in alsa-driver (Ubuntu): | |
status: | Incomplete → Expired |
Ryan Nunes (rynunes) wrote : | #28 |
Just a heads up.. Noticed this post digging into the same exact syptoms with a schiit hel on arch linux. (5.8.8 kernel). I was able to resolve the lack of audio by installing and using pulsemixer. Using pulsemixer if you hit f3 (cards) and set the audio source from off to digital stereo duplex it should prevent alsa crashing and actually allow the audio source to work.
matthiasmo (matthiasmo) wrote : | #29 |
The pulsemixer workaround works for me, thanks.
I can reproduce the problem by changing the the Output Configuration to Analog Stereo input (yes that probably shouldn't be here to select). The problem then persists after a reboot.
OS: Ubuntu 21.10 - Kernel 5.13.0-41
Device: Schiit - Fulla 3 USB Headphone Amp w/ Mic input
Only syslog message is: "gsd-media-
USB Mixer: usb_id=0x1043857c, ctrlif=0, ctlerr=0 00:1d.0- 1.1, high speed
Card: ASUS Xonar U7 at usb-0000:
Unit: 20
Control: name="PCM Capture Source", index=0
Info: id=20, control=0, cmask=0x0, channels=1, type="U8"
Volume: min=1, max=2, dBmin=0, dBmax=0
post output of your xonar u7 usb
lsusb -vvvv