Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Second soundcard and ALSA [SOLVEDish]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
keschrich
n00b
n00b


Joined: 09 Apr 2002
Posts: 69
Location: Branford, CT

PostPosted: Thu Dec 30, 2004 6:29 pm    Post subject: Second soundcard and ALSA [SOLVEDish] Reply with quote

I have a laptop and recently decided to purchase a SoundBlaster MP3+ USB thingy so that I could have the sound play over my home theatre when the computer is docked. I know the USB sound card works under linux since I tested it out in Knoppix and worked fine.

The laptops on board sound works fine under alsa. Alsa and intel8x0 both compiled as modules. When I try to play sound through the USB card however, I get this:

Quote:
iniquity ken # mpg321 -o alsa09 -a hw:1,0 /root/Fire\ And\ Rain.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Title : Fire And Rain Artist: James Taylor
Album : Year :
Comment: Genre : Blues

Directory: /root/
Playing MPEG stream from Fire And Rain.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA write error: Interrupted system call

[0:00] Decoding of Fire And Rain.mp3 finished.
iniquity ken #


Im using 2.6.9-gentoo-r3, alsa-lib/utils 1.0.7.
Maybe a few useful outputs:

Quote:
iniquity ken # cat /proc/asound/cards
0 [I82801CAICH3 ]: ICH - Intel 82801CA-ICH3
Intel 82801CA-ICH3 at 0x1c00, irq 9
1 [MP3 ]: USB-Audio - Sound Blaster MP3+
Creative Labs Sound Blaster MP3+ at usb-0000:02:07.2-3.1.1, full speed


Quote:
iniquity ken # lsmod|grep snd
snd_usb_audio 65504 2
snd_usb_lib 13056 1 snd_usb_audio
snd_intel8x0 33960 2
snd_ac97_codec 71248 1 snd_intel8x0
snd_pcm 97416 2 snd_usb_audio,snd_intel8x0
snd_timer 25988 1 snd_pcm
snd_page_alloc 9992 2 snd_intel8x0,snd_pcm
snd_mpu401_uart 7936 1 snd_intel8x0
snd_rawmidi 25252 2 snd_usb_lib,snd_mpu401_uart
snd_seq_device 8072 1 snd_rawmidi
snd 56164 16 snd_usb_audio,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device


Quote:
iniquity ken # cat /etc/modules.d/alsa |grep -e '^[^#].*$'
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
alias snd-card-1 snd-usb-audio
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
options snd cards_limit=2


Anything else useful that I'm missing, let me know and I'll post..

Appreciate any assistance, thanks!


Last edited by keschrich on Thu Dec 30, 2004 9:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Thu Dec 30, 2004 7:17 pm    Post subject: Reply with quote

Can you turn the primary soundcard off in the BIOS? Just to check if the acual problem is the card itself or the fact that there are two cards.
Back to top
View user's profile Send private message
keschrich
n00b
n00b


Joined: 09 Apr 2002
Posts: 69
Location: Branford, CT

PostPosted: Thu Dec 30, 2004 7:23 pm    Post subject: Reply with quote

I do not think I can, the BIOS on this computer is very non-tinker-friendly.. I did however remove the entry for the onboard card from /etc/modules.d/alsa, and switched the usb-audio entry to snd-card-0, unloaded all the sound drivers and restarted alsasound.

At that point the intel8x0 drivers were not loaded, and /proc/asound/cards showed only the Sound Blaster USB. In this situation I continued to get the same error message.

This is very frustrating since, like I said, I was able to get the card to work under Knoppix.. I guess I need to spend more time in there trying to determine what exactly the difference is.
Back to top
View user's profile Send private message
keschrich
n00b
n00b


Joined: 09 Apr 2002
Posts: 69
Location: Branford, CT

PostPosted: Thu Dec 30, 2004 9:34 pm    Post subject: Reply with quote

This still doesn't make much since to me, since as I had said before it worked under Knoppix as it was, but...

I thought I'd take a break from my desk, undocked the laptop and sat by the TV.. when I plugged the sound card into the laptop, suddenly it worked! Not knowing what I did I brought it back up, docked it, plugged everything back in the way it was, and once again it did not work. After some experimentation I discovered that it only worked when plugged into one of the USB ports on the laptop itself. It could not be plugged in to either the docking station ports, nor a hub (externally powered or not)...

So in conclusion, I still don't know whats wrong...someday would like to find out, but right now it works and I just don't care anymore...
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Thu Dec 30, 2004 10:27 pm    Post subject: Reply with quote

Are you running hotplug?
Try tailing dmesg/grepping it for the driver of the USB thing.
Back to top
View user's profile Send private message
BlueShadow
n00b
n00b


Joined: 30 Nov 2004
Posts: 24
Location: Switzerland

PostPosted: Wed Feb 02, 2005 3:34 pm    Post subject: Reply with quote

I have the same problem. I just noticed that you are right. It only works if its directly plugged into the notebook. Not very elegant but works.
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Mon Apr 18, 2005 9:44 am    Post subject: Reply with quote

same problem, same solution

is there any reason this shouldn't work when plugged into an external hub? eg, is this a proper alsa bug, or a 'feature'?
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum