![](https://seccdn.libravatar.org/avatar/7138cfd4f2b5b903b4dbe4a2df0ad57e.jpg?s=120&d=mm&r=g)
Hello. My notebook have on-board sound card which is broken. I bought a USB sound card for replacement. The problem is SuSE detects the old on-board sound card and still use it for sound output, even if USB sound card is plugged in. How do I set SuSE to use my USB sound card as main sound device? I tried to go to Gnome control panel, go to Sound effect, and there is NO selection for which device to use for sound output (I checked it very carefully). I also try with mplayer by specifying second sound card with parameter: yuliansu@esmeralda:~> mplayer -ao alsa:device=hw=1 test.wav MPlayer 1.0pre7try3-SUSE Linux 10.1 (i686)-Packman-4.1.0 (C) 2000-2005 MPlayer Team CPU: Intel (Family: 6, Stepping: 6) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection. Failed to open /dev/rtc: Permission denied (it should be readable by the user.) Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0 : No such file or directory Can't init input joystick Setting up LIRC support... mplayer: could not connect to socket mplayer: Connection refused Failed to open LIRC support. You will not be able to use your remote control. Playing test.wav. Audio file detected. ========================================================================== Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400) Selected audio codec: [pcm] afm:pcm (Uncompressed PCM) ========================================================================== Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... AF_pre: 44100Hz/2ch/s16le alsa-init: 1 soundcard found, using: hw:1 alsa-init: unable to set hw-parameters: Broken pipe alsa-init: pcm prepare error: Broken pipe alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 44100Hz 2ch s16le (2 bps) Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... Video: no video Starting playback... alsa-play: unknown status, trying to reset soundcard alsa-play: snd prepare errorA: -0.0 (00.0) ??,?% alsa-play: unknown status, trying to reset soundcard alsa-play: snd prepare errorA: -0.0 (00.0) ??,?% alsa-play: unknown status, trying to reset soundcard alsa-play: snd prepare errorA: -0.0 (00.0) ??,?% alsa-play: unknown status, trying to reset soundcard alsa-play: snd prepare errorA: -0.0 (00.0) ??,?% alsa-play: unknown status, trying to reset soundcard alsa-play: snd prepare errorA: -0.0 (00.0) ??,?% alsa-play: unknown status, trying to reset soundcard alsa-play: snd prepare errorA: -0.0 (00.0) ??,?% alsa-play: unknown status, trying to reset soundcard alsa-play: snd prepare errorA: -0.0 (00.0) ??,?% alsa-play: unknown status, trying to reset soundcard [repeat the above error message forever at very high pace] dmesg is full of something like this: ALSA sound/usb/usbaudio.c:810: cannot submit datapipe for urb 0, err = -28 ALSA sound/core/oss/pcm_oss.c:579: snd_pcm_oss_prepare: SNDRV_PCM_IOCTL_PREPARE failed ALSA sound/usb/usbaudio.c:810: cannot submit datapipe for urb 0, err = -28 ALSA sound/core/oss/pcm_oss.c:579: snd_pcm_oss_prepare: SNDRV_PCM_IOCTL_PREPARE failed ALSA sound/usb/usbaudio.c:810: cannot submit datapipe for urb 0, err = -28 ALSA sound/core/oss/pcm_oss.c:579: snd_pcm_oss_prepare: SNDRV_PCM_IOCTL_PREPARE failed I tried this on Ubuntu too, same result. Here is my lsusb: yuliansu@esmeralda:~> lsusb Bus 004 Device 005: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter Bus 004 Device 004: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter Bus 004 Device 002: ID 05e3:0606 Genesys Logic, Inc. Bus 004 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002 Device 003: ID 0d62:a100 Darfon Electronics Corp. Benq Mouse Bus 002 Device 001: ID 0000:0000 KDE have a small application which also give a lot of detail of the sound card, however KDE do not allow me to copy-past this information. KDE help said these sound card information are obtained from simply reading /dev/sndstat and /proc/sound, both file are missing on my system. Any hint? P.S. I also tried to use good-old oss, by using mpg123, package from SuSE guru. I tried mpg123 -a /dev/dsp1 and was told only 'oss/alsa/esd' can be used as -a parameter, which the manual says device name like /dev/dsp1 IS THE CORRECT parameter for -a. Maybe I am getting old, I feel my old knowledge no longer useful any more.
![](https://seccdn.libravatar.org/avatar/62125288dd40f3bb08a59554fbf73db9.jpg?s=120&d=mm&r=g)
Am Mittwoch, 23. August 2006 12:29 schrieb Zhang Weiwu:
Hello. My notebook have on-board sound card which is broken. I bought a USB sound card for replacement. The problem is SuSE detects the old on-board sound card and still use it for sound output, even if USB sound card is plugged in.
[...]
I don't know, if this helps, but have you tried disabling the onboard sound in the BIOS? Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com Madagascar special: http://www.sanic.ch
![](https://seccdn.libravatar.org/avatar/7138cfd4f2b5b903b4dbe4a2df0ad57e.jpg?s=120&d=mm&r=g)
在 2006-08-23三的 12:48 +0200,Daniel Bauer写道:
Am Mittwoch, 23. August 2006 12:29 schrieb Zhang Weiwu:
Hello. My notebook have on-board sound card which is broken. I bought a USB sound card for replacement. The problem is SuSE detects the old on-board sound card and still use it for sound output, even if USB sound card is plugged in.
[...]
I don't know, if this helps, but have you tried disabling the onboard sound in the BIOS?
I now managed to get the USB sound card to work, by not using a HUB. I didn't realize the HUB is not capable of powering up the USB sound. Now, I can use the usb sound after directly plug the USB sound on the notebook, with $ mplayer -ao alsa:device=hw=1 What you said (disable it in the BIOS) makes good sense! However in my case I just wish to preserve the on-board sound. I said the on-board sound is broken, actually only the earphone plug is broken. When I use an earphone, I need to plug the USB sound; but when I want to use the speaker, becaues I cannot carry a speaker with me all the time I trival, I still wish to use the on-board sound card which is internally connected to the speaker of the notebook. The best solution is to have an option in gnome-control-center to let me set perfered sound output device, as I can do on Ubuntu. I can go there and switch preference when I want the speaker, without having to reboot to go to BIOS setting:)
Daniel
-- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com Madagascar special: http://www.sanic.ch
![](https://seccdn.libravatar.org/avatar/ae9e1c52f7693f8923e040894660e5e9.jpg?s=120&d=mm&r=g)
On Wed, 2006-08-23 at 19:34 +0800, Zhang Weiwu wrote:
在 2006-08-23三的 12:48 +0200,Daniel Bauer写道:
Am Mittwoch, 23. August 2006 12:29 schrieb Zhang Weiwu:
Hello. My notebook have on-board sound card which is broken. I bought a USB sound card for replacement. The problem is SuSE detects the old on-board sound card and still use it for sound output, even if USB sound card is plugged in.
[...]
I don't know, if this helps, but have you tried disabling the onboard sound in the BIOS?
I now managed to get the USB sound card to work, by not using a HUB. I didn't realize the HUB is not capable of powering up the USB sound. Now, I can use the usb sound after directly plug the USB sound on the notebook, with $ mplayer -ao alsa:device=hw=1
What you said (disable it in the BIOS) makes good sense! However in my case I just wish to preserve the on-board sound. I said the on-board sound is broken, actually only the earphone plug is broken. When I use an earphone, I need to plug the USB sound; but when I want to use the speaker, becaues I cannot carry a speaker with me all the time I trival, I still wish to use the on-board sound card which is internally connected to the speaker of the notebook.
The best solution is to have an option in gnome-control-center to let me set perfered sound output device, as I can do on Ubuntu. I can go there and switch preference when I want the speaker, without having to reboot to go to BIOS setting:)
If your notebook sound actually works, what you may actually want is USB Headphones and not an external sound card, which you can then setup as you have above. Mike
participants (3)
-
Daniel Bauer
-
Mike McMullin
-
Zhang Weiwu