Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274490 - media-libs/alsa-lib-1.0.18 - Unable to set hw-parameters: Broken pipe
Summary: media-libs/alsa-lib-1.0.18 - Unable to set hw-parameters: Broken pipe
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
Depends on:
Reported: 2009-06-17 10:21 UTC by Mariusz S
Modified: 2010-06-11 17:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---
tampakrap: Bugday+


Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz S 2009-06-17 10:21:40 UTC
Every application launched from konsole (KDE Terminal) exits with:
aplay-1.0.18: set_params:1022: Unable to install hw params
mplayer-1.0_rc2_p20090322: [AO_ALSA] Unable to set hw-parameters: Broken pipe

The same commands work perfectly in console (session without X).
I use snd-usb-audio connected via USB hub.
Integrated hda-intel works in konsole & in console.

Reproducible: Always

Steps to Reproduce:
1. aplay -D hw:0,0 test.wav
2. aplay -D hw:1,0 test.wav

1. aplay -D hw:0,0 test.wav
2. aplay -D hw:1,0 test.wav
Actual Results:  
1. Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
2. aplay: set_params:1022: Unable to install hw params:

1. Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
2. Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

Expected Results:  
It should work or doesn't work in both sessions. Because it doesn't in konsole only I assigned KDE category to this bug.

Configs & logs at url above.

Portage (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 x86_64)
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.2.5
CFLAGS="-O2 -march=core2 -mtune=core2 -pipe -fomit-frame-pointer"
CXXFLAGS="-O2 -march=core2 -mtune=core2 -pipe -fomit-frame-pointer"
USE="X a52 aac aalib acl acpi alsa amd64 apache apache2 asf automount battery berkdb bluetooth bzip2 ccache cdaudio cdda cddb cdparanoia cdr cli cracklib crypt ctype cups dirac divx dri dts dv dvd dvdr dvdread ffmpeg firefox flac fortran gdbm gif gpm hal iconv ifp ipv6 isdnlog jpeg kde kdeprefix ladspa libcaca lzo mad midi mmx mmxext mp3 mpeg mplayer mudflap multilib musepack mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png pppd pvr python qt qt3 qt3support qt4 quicktime readline realmedia reflection samba sdl session spell spl srt sse sse2 ssl ssse3 sysfs tcpd tiff tk truetype unicode v4l v4l2 vcd vorbis wav wma wmp xcomposite xml xorg xscreensaver xsl xulrunner xv xvid xvmc zlib"
ALSA_CARDS="usb-audio hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
Comment 1 Mariusz S 2009-06-17 11:17:26 UTC
options snd-hda-intel index=0 model=laptop-hpsense
options snd-usb-audio index=1 vid=0x0d8c pid=0x0102

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
alias snd-card-1 snd-usb-audio
alias sound-slot-1 snd-usb-audio

snd_seq_dummy           3020  0 
snd_seq_oss            29824  0 
snd_seq_midi_event      6616  1 snd_seq_oss
snd_seq                50064  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            37264  0 
snd_mixer_oss          14616  1 snd_pcm_oss
snd_usb_audio          91120  0 
snd_usb_lib            16056  1 snd_usb_audio
snd_rawmidi            20880  1 snd_usb_lib
snd_seq_device          6668  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_hda_codec_conexant    23784  1 
snd_hda_intel          27432  0 
snd_hda_codec          57912  2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               7840  2 snd_usb_audio,snd_hda_codec
snd_pcm                72160  4 snd_pcm_oss,snd_usb_audio,snd_hda_intel,snd_hda_codec
snd_timer              20296  2 snd_seq,snd_pcm
snd                    58920  13 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_rawmidi,snd_seq_device,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc          8808  2 snd_hda_intel,snd_pcm

equery l alsa

equery h alsa
Comment 2 Mariusz S 2009-06-17 14:09:47 UTC
Looks like its related to USB hub (attached usb sound card and logitech mouse).
It turned out usb sound card works properly if I unplug usb mouse from the hub.

I'm still trying to figure out how to make both working.
It's not hardware issue because there was no problem on Gentoo x86 before.
Comment 3 Maciej Blizinski 2009-09-24 20:45:31 UTC
Same problem here. When the external sound card is plugged into a USB hub, I'm getting the same error. Plugged the card directly into the computer -- works fine.
Comment 4 Andreas K. Hüttel gentoo-dev 2010-06-11 17:38:43 UTC
Not in tree anymore