Subject: alsa-utils: alsamixer does not work. Broken pipe.
Date: Sat, 26 Jan 2013 09:36:44 +0900
Package: alsa-utils
Version: 1.0.23-3
Severity: normal
I use usb-sound-card AS372(chip:CM6620).
When I type 'alsamixer', An error of 'cannot load mixer controls: Broken pipe' is displayed, and alsamixer does not work.
$ alsamixer
cannot load mixer controls: Broken pipe
$ alsactl init 0
Unknown hardware: "USB-Audio" "USB Mixer" "USB147a:e055" "" ""
Hardware is initialized using a guess method
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.24.
$ cat /proc/asound/cards
0 [Audio ]: USB-Audio - USB2.0 High-Speed True HD Audio
CMEDIA USB2.0 High-Speed True HD Audio at usb-0000:00:13.5-1, high speed
$ lsmod | grep snd
snd_usb_audio 84349 0
snd_pcm 67626 1 snd_usb_audio
snd_page_alloc 12969 1 snd_pcm
snd_hwdep 13148 1 snd_usb_audio
snd_usbmidi_lib 23305 1 snd_usb_audio
snd_seq_midi 12848 0
snd_seq_midi_event 13316 1 snd_seq_midi
snd_rawmidi 22850 2 snd_usbmidi_lib,snd_seq_midi
snd_seq 44755 2 snd_seq_midi,snd_seq_midi_event
snd_timer 22704 2 snd_pcm,snd_seq
snd_seq_device 13155 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 52577 8 snd_usb_audio,snd_pcm,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 13014 1 snd
usbcore 127627 6 snd_usb_audio,snd_usbmidi_lib,usbhid,ohci_hcd,ehci_hcd
$ lsusb
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c058 Logitech, Inc. M115 Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 147a:e055 Formosa Industrial Computing, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ dmesg | grep usb
[ 3.643791] usbcore: registered new interface driver usbfs
[ 3.643859] usbcore: registered new interface driver hub
[ 3.643932] usbcore: registered new device driver usb
[ 3.680171] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.680174] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.680176] usb usb1: Product: EHCI Host Controller
[ 3.680178] usb usb1: Manufacturer: Linux 3.2.0-0.bpo.4-rt-amd64 ehci_hcd
[ 3.680180] usb usb1: SerialNumber: 0000:00:13.5
[ 3.752563] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.752566] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.752568] usb usb2: Product: OHCI Host Controller
[ 3.752570] usb usb2: Manufacturer: Linux 3.2.0-0.bpo.4-rt-amd64 ohci_hcd
[ 3.752572] usb usb2: SerialNumber: 0000:00:13.0
[ 3.812116] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.812119] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.812121] usb usb3: Product: OHCI Host Controller
[ 3.812123] usb usb3: Manufacturer: Linux 3.2.0-0.bpo.4-rt-amd64 ohci_hcd
[ 3.812125] usb usb3: SerialNumber: 0000:00:13.1
[ 3.872067] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.872070] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.872073] usb usb4: Product: OHCI Host Controller
[ 3.872074] usb usb4: Manufacturer: Linux 3.2.0-0.bpo.4-rt-amd64 ohci_hcd
[ 3.872077] usb usb4: SerialNumber: 0000:00:13.2
[ 3.932077] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.932081] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.932083] usb usb5: Product: OHCI Host Controller
[ 3.932085] usb usb5: Manufacturer: Linux 3.2.0-0.bpo.4-rt-amd64 ohci_hcd
[ 3.932087] usb usb5: SerialNumber: 0000:00:13.3
[ 3.992042] usb 1-1: new high-speed USB device number 2 using ehci_hcd
[ 3.992101] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.992104] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.992107] usb usb6: Product: OHCI Host Controller
[ 3.992109] usb usb6: Manufacturer: Linux 3.2.0-0.bpo.4-rt-amd64 ohci_hcd
[ 3.992111] usb usb6: SerialNumber: 0000:00:13.4
[ 4.159092] usb 1-1: New USB device found, idVendor=147a, idProduct=e055
[ 4.159096] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.159099] usb 1-1: Product: USB2.0 High-Speed True HD Audio
[ 4.159102] usb 1-1: Manufacturer: CMEDIA
[ 4.261845] input: CMEDIA USB2.0 High-Speed True HD Audio as /devices/pci0000:00/0000:00:13.5/usb1/1-1/1-1:1.5/input/input4
[ 4.261995] generic-usb 0003:147A:E055.0001: input,hidraw0: USB HID v1.00 Device [CMEDIA USB2.0 High-Speed True HD Audio] on usb-0000:00:13.5-1/input5
[ 4.262024] usbcore: registered new interface driver usbhid
[ 4.262026] usbhid: USB HID core driver
[ 4.448730] usbcore: registered new interface driver snd-usb-audio
[ 4.484053] usb 3-1: new low-speed USB device number 2 using ohci_hcd
[ 4.651067] usb 3-1: New USB device found, idVendor=046d, idProduct=c058
[ 4.651070] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.651072] usb 3-1: Product: USB Optical Mouse
[ 4.651074] usb 3-1: Manufacturer: Logitech
[ 4.658336] input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:13.1/usb3/3-1/3-1:1.0/input/input5
[ 4.658572] generic-usb 0003:046D:C058.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-0000:00:13.1-1/input0
$ dmesg | grep cannot
[ 4.444125] 2:4:1: clock source 25 is not valid, cannot use
[ 4.447375] 2:4:2: clock source 25 is not valid, cannot use
[ 4.447927] cannot get ctl value: req = 0x83, wValue = 0x201, wIndex = 0x0, type = 4
[ 4.447980] cannot get ctl value: req = 0x83, wValue = 0x201, wIndex = 0x0, type = 4
[ 96.865959] 2:4:2: clock source 25 is not valid, cannot use
[ 96.866976] 2:4:2: clock source 25 is not valid, cannot use
[ 98.020249] cannot get ctl value: req = 0x81, wValue = 0x0, wIndex = 0xa00, type = 3
[ 1780.099968] cannot get ctl value: req = 0x81, wValue = 0x0, wIndex = 0xa00, type = 3
Upper error is shown several hundred lines and buries log exhaustively.
$ dpkg -l | grep alsa
ii alsa-base 1.0.23+dfsg-2 ALSA driver configuration files
ii alsa-oss 1.0.17-4 ALSA wrapper for OSS applications
ii alsa-utils 1.0.23-3 Utilities for configuring and using ALSA
ii libsdl1.2debian-alsa 1.2.14-6.1 Simple DirectMedia Layer (with X11 and ALSA options)
$ dpkg -l | grep audio
ii libaudio2 1.9.2-4 Network Audio System - shared libraries
ii libaudiofile0 0.2.6-8 Open-source version of SGI's audiofile library
ii libcdparanoia0 3.10.2+debian-9 audio extraction tool for sampling CDs (library)
ii libmad0 0.15.1b-5 MPEG audio decoder library
ii libsndfile1 1.0.21-3+squeeze1 Library for reading/writing audio files
ii libwavpack1 4.60.1-1 an audio codec (lossy and lossless) - library
ii pulseaudio 0.9.21-3+squeeze1 PulseAudio sound server
$ dpkg -l | grep sound
ii esound-common 0.2.41-8 Enlightened Sound Daemon - Common files
ii libasound2 1.0.23-2.1 shared library for ALSA applications
ii libasound2-plugins 1.0.23-1+b1 ALSA library additional plugins
ii linux-sound-base 1.0.23+dfsg-2 base package for ALSA and OSS sound systems
ii pulseaudio 0.9.21-3+squeeze1 PulseAudio sound server
$ dpkg -l | grep usb
ii libusb-0.1-4 2:0.1.12-16 userspace USB programming library
ii usbutils 0.87-5squeeze1 Linux USB utilities
-- System Information:
Debian Release: 6.0.6
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-0.bpo.4-rt-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages alsa-utils depends on:
ii libasound2 1.0.23-2.1 shared library for ALSA applicatio
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib
ii libncursesw5 5.7+20100313-5 shared libraries for terminal hand
ii linux-sound-base 1.0.23+dfsg-2 base package for ALSA and OSS soun
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii module-init-tools 3.12-2 tools for managing Linux kernel mo
ii udev 164-3 /dev/ and hotplug management daemo
ii whiptail 0.52.11-1 Displays user-friendly dialog boxe
Versions of packages alsa-utils recommends:
ii alsa-base 1.0.23+dfsg-2 ALSA driver configuration files
ii pciutils 1:3.1.7-6 Linux PCI Utilities
alsa-utils suggests no packages.
-- no debconf information
Acknowledgement sent
to Elimar Riesebieter <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Sat, 26 Jan 2013 07:45:08 GMT) (full text, mbox, link).
Subject: Re: [Pkg-alsa-devel] Bug#698985: alsa-utils: alsamixer does not
work. Broken pipe.
Date: Sat, 26 Jan 2013 08:41:37 +0100
* Azuki <[email protected]> [2013-01-26 09:36 +0900]:
> Package: alsa-utils
> Version: 1.0.23-3
> Severity: normal
>
> I use usb-sound-card AS372(chip:CM6620).
> When I type 'alsamixer', An error of 'cannot load mixer controls: Broken pipe' is displayed, and alsamixer does not work.
>
> $ alsamixer
> cannot load mixer controls: Broken pipe
>
> $ alsactl init 0
> Unknown hardware: "USB-Audio" "USB Mixer" "USB147a:e055" "" ""
> Hardware is initialized using a guess method
Please update to latest alsa (which is 1.0.25 in Debian). We don't
support 1.0.23 anymore.
Elimar
--
Do you smell something burning or ist it me?
Acknowledgement sent
to Elimar Riesebieter <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Sun, 27 Jan 2013 08:51:05 GMT) (full text, mbox, link).
Subject: Re: [Pkg-alsa-devel] Bug#698985: alsa-utils: alsamixer does not
work. Broken pipe.
Date: Sun, 27 Jan 2013 09:49:42 +0100
* Azuki <[email protected]> [2013-01-26 19:18 -0500]:
>
> > Please update to latest alsa (which is 1.0.25 in Debian). We don't
> > support 1.0.23 anymore.
> >
>
> I updated it to 1.0.25, but got the same errors.
>
> $ alsamixer
> cannot load mixer controls: Broken pipe
>
> $ dpkg -l | gre alsa
> ii alsa-base 1.0.25+2+nmu2 ALSA driver configuration files
> ii alsa-utils 1.0.25-4 Utilities for configuring and using ALSA
> ii libsdl1.2debian-alsa 1.2.14-6.1 Simple DirectMedia Layer (with X11 and ALSA options)
>
> $ cat /proc/asound/cards
> 0 [Audio ]: USB-Audio - USB2.0 High-Speed True HD Audio
> CMEDIA USB2.0 High-Speed True HD Audio at usb-0000:00:13.5-1, high speed
>
> $ alsactl init 0
> Found hardware: "USB-Audio" "USB Mixer" "USB147a:e055" "" ""
> Hardware is initialized using a generic method
ALSA just runs fine ;-)
[...]
> $ cat /var/log/messages | grep alsa
> pulseaudio[8536]: [pulseaudio] alsa-util.c: Unable to load mixer: Broken pipe
> pulseaudio[10666]: [pulseaudio] alsa-util.c: Unable to load mixer: Broken pipe
> pulseaudio[1550]: [pulseaudio] alsa-util.c: Unable to load mixer: Broken pipe
It seems to be a bug in pulseaudio.....
> $ cat /proc/asound/card0/usbmixer
> USB Mixer: usb_id=0x147ae055, ctrlif=0, ctlerr=0
> Card: CMEDIA USB2.0 High-Speed True HD Audio at usb-0000:00:13.5-1, high speed
> Unit: 10
> Control: name="PCM Capture Source", index=0
> Info: id=10, control=0, cmask=0x0, channels=1, type="U8"
> Volume: min=1, max=3, dBmin=0, dBmax=0
[...]
> When I used kernel 2.6.32-46, the error of "clock source" was not output.
> I can get the sound with pulseaudio, but cannot control it with alsamixer.
When pulse is running alsamixer is pointless.
You can try to shut down pulse as follows and test again:
$ echo "autospawn=no" >> .pulse/client.conf
$ pulseaudio -k
Elimar
--
Learned men are the cisterns of knowledge,
not the fountainheads ;-)
Acknowledgement sent
to Elimar Riesebieter <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Sun, 27 Jan 2013 09:09:03 GMT) (full text, mbox, link).
Subject: Re: [Pkg-alsa-devel] Bug#698985: Bug#698985: alsa-utils: alsamixer
does not work. Broken pipe.
Date: Sun, 27 Jan 2013 10:04:15 +0100
* Elimar Riesebieter <[email protected]> [2013-01-27 09:49 +0100]:
[...]>
> You can try to shut down pulse as follows and test again:
>
> $ echo "autospawn=no" >> .pulse/client.conf
$ echo "autospawn=no" >> $HOME/.pulse/client.conf
> $ pulseaudio -k
Elimar
--
Excellent day for drinking heavily.
Spike the office water cooler;-)
Acknowledgement sent
to Elimar Riesebieter <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Sun, 27 Jan 2013 11:57:05 GMT) (full text, mbox, link).
Subject: Re: [Pkg-alsa-devel] Bug#698985: Bug#698985: alsa-utils: alsamixer
does not work. Broken pipe.
Date: Sun, 27 Jan 2013 12:53:46 +0100
* Azuki <[email protected]> [2013-01-27 05:51 -0500]:
>
> > $ echo "autospawn=no" >> $HOME/.pulse/client.conf
> > $ pulseaudio -k
> I tried the above, but the result did not change.
What tells:
$ ps aux | grep pulѕ
> Though I uninstalled pulseaudio and tried alsamixer, I got the same error.
> $ alsamixer
> cannot load mixer controls: Broken pipe
>
> It is two following errors filling the log exhaustively to be interested in me.
> $ dmesg | grep cannot
> 2:4:1: clock source 25 is not valid, cannot use
> cannot get ctl value: req = 0x81, wValue = 0x0, wIndex = 0xa00, type = 3
>
> Do these two errors have any relation to alsamixer? or kernel bug ?
> Do you know what this errors are?
No.
Elimar
--
The path to source is always uphill!
-unknown-
Acknowledgement sent
to Elimar Riesebieter <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Sun, 27 Jan 2013 16:24:05 GMT) (full text, mbox, link).
Subject: Bug#698985: alsa-utils: alsamixer does not work. Broken pipe.
Date: Sun, 27 Jan 2013 17:20:51 +0100
* Azuki <[email protected]> [2013-01-27 07:19 -0500]:
> $ echo "autospawn=no" >> $HOME/.pulse/client.conf
> $ pulseaudio -k
> $ alsamixer
> ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
> cannot open mixer: Connection refused
How do you manage to run alsamixer trying to connect to pulse? This
might be one of those gnome|kde|xfce4|whateverwm audio settings
tool? Is it the sme ⅹunning alsamixer running as root?
What tells:
$ groups
Elimar
--
Obviously the human brain works like a computer.
Since there are no stupid computers humans can't be stupid.
There are just a few running with Windows or even CE ;-)
Acknowledgement sent
to Elimar Riesebieter <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Mon, 28 Jan 2013 07:54:03 GMT) (full text, mbox, link).
Subject: Re: Bug#698985: alsa-utils: alsamixer does not work. Broken pipe.
Date: Mon, 28 Jan 2013 08:51:01 +0100
* Azuki <[email protected]> [2013-01-27 18:59 -0500]:
> window manager is openbox.
> /etc/pulse/{daemon.conf,default.pa} are default.
> I run alsamixer as user.
> $ cat /etc/asound.conf
> pcm.pulse { type pulse }
> ctl.pulse { type pulse }
> pcm.!default { type pulse }
> ctl.!default { type pulse }
> $ groups
> azuki cdrom floppy audio dip video plugdev
It tㄩrns out that pulse doesn't cooperate with your soundcard. As
told before stop the pulsedaemon and prevent it for restarting. Else
mv /etc/asound.conf /etc/asound.conf.save and run alsamixer again.
It would be great if you answer always to [email protected] as
well. Other users may be interested for similar probs.
Elimar
--
Do you smell something burning or ist it me?
Acknowledgement sent
to Elimar Riesebieter <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Mon, 28 Jan 2013 10:27:07 GMT) (full text, mbox, link).
Subject: Re: Bug#698985: alsa-utils: alsamixer does not work. Broken pipe.
Date: Mon, 28 Jan 2013 11:24:12 +0100
* Azuki <[email protected]> [2013-01-28 03:50 -0500]:
> > It turns out that pulse doesn't cooperate with your soundcard. As
> > told before stop the pulsedaemon and prevent it for restarting. Else
> > mv /etc/asound.conf /etc/asound.conf.save and run alsamixer again.
> >
> > It would be great if you answer always to [email protected] as
> > well. Other users may be interested for similar probs.
> >
>
> I tried the following.
> $ mv /etc/asound.conf /etc/asound.conf.save
> I confirmed that .asoundrc does not exist in HOME directory.
> Then I completely deleted pulseaudio. And I confirmed .pulse directory and .pulse-cookie does not exist in HOME.
> $ apt-get --purge autoremove pulseaudio
> After having confirmed that pulseaudio does not run, I ran alsamixer.
> $ alsamixer
> cannot load mixer controls: Broken pipe
> $ amixer -c 0
> amixer: Mixer hw:0 load error: Broken pipe
Try a newer kernel as 2.6.32 alsa-drivers seems to be too old for
your card.
Again: Please reply tё [email protected] as well.
Elimar
--
We all know Linux is great... it does infinite loops in 5 seconds.
-Linus Torvalds
Acknowledgement sent
to "Azuki" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Mon, 28 Jan 2013 11:21:03 GMT) (full text, mbox, link).
Subject: Re: Bug#698985: alsa-utils: alsamixer does not work. Broken pipe.
Date: Mon, 28 Jan 2013 06:18:42 -0500
> Try a newer kernel as 2.6.32 alsa-drivers seems to be too old for
> your card.
>
>Again: Please reply tё [email protected] as well.
The former reports are results using 3.2.0-0.bpo.4-rt-amd64.
And I tried with the Ubuntu 13.04 (Raring Ringtail) LiveDVD, but was a result same as what I reported so far.
Acknowledgement sent
to Elimar Riesebieter <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Mon, 28 Jan 2013 22:27:03 GMT) (full text, mbox, link).
Subject: Re: [Pkg-alsa-devel] Bug#698985: alsa-utils: alsamixer does not
work. Broken pipe.
Date: Mon, 28 Jan 2013 23:22:36 +0100
* Azuki <[email protected]> [2013-01-28 06:18 -0500]:
> > Try a newer kernel as 2.6.32 alsa-drivers seems to be too old for
> > your card.
> >
> >Again: Please reply tё [email protected] as well.
>
> The former reports are results using 3.2.0-0.bpo.4-rt-amd64.
> And I tried with the Ubuntu 13.04 (Raring Ringtail) LiveDVD, but was a result same as what I reported so far.
We can't reproduce your bug as we don't have a card like yours
handy. So please file a bug at [0] and let us know the bug#.
[0] https://bugtrack.alsa-project.org/alsa-bug/
Elimar
--
.~.
/V\ L I N U X
/( )\ >Phear the Penguin<
^^-^^
Acknowledgement sent
to "Canile Works" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Thu, 23 Jun 2016 12:36:03 GMT) (full text, mbox, link).
Dear Customer,
We kindly ask you to review our unpaid bill again (see attachment)
and send us the payment in order to avoid additional costs.
Thank you for your consideration,
Dennis Herring,
Executive Assistant
Canile Works
+1-578-851-2369
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.