how do you change the default sound card in (K)ubuntu?
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how do you change the default sound card in (K)ubuntu?
The sound is playing fine...I can see that on my screen, I just can't hear anything because it is trying to play the sound through the speaker on my motherboard...which doesn't work.
Here are my soundcards:
Intel 82801BA-ICH2 (default)
USB Audio
SBLive! Value [CT4871] (the one I want)
Other information, I am running a 6.10 distribution of Kubuntu, and I have googled all over for the answer to my problem, but came up with nothing.
I too was vexed by this problem. My preferred soundcard is my SBLive! but I use the VIA chipset based soundcard on my motherboard for VoIP stuff. Kubuntu was always making my VIA soundcard the default.
The solution is a bit obscure but it works.
Do:
sudo asoundconf list
I got back:
Names of available sound cards:
Live
V8237
I then did:
sudo asoundconf set-default-card Live
followed by a reboot to test.
Sure enough, the Live is now set to default. It'd be nice if there was a simple config app in the KDE configuration panel that did this.
Thank you so much! It would be nice if that was in KDE...or in a tutorial somewhere that was easy to find. Maybe I'll submit it to ubuntuguide.org or something.
Roklobsta I want to thank you for this post. I love Kubuntu and have been running linux distros for about a year now. But it seems like I waste A LOT OF TIME trying to figure simple things out. This post saved me hours. Thanks for the info.
Didn't work for me in Debian, but looking at the man page, I think there could be several reasons for that. The man page also suggests than Ubuntu may be using the asoundconf command in different ways than Debian. At any rate, this is the solution I use. It keeps both cards available for use, but sets snd-card-0 as the default. "snd-ca0106" and "snd-atiixp" are the respective modules inserted by alsa depending on which card I want to use.
I edit /etc/modprobe.d/sound to look like this:
Code:
## Creative
alias snd-card-0 snd-ca0106
options snd-ca0106 index=0
## On-board
alias snd-card-1 snd-atiixp
options snd-atiixp index=1
This EXACT set of steps worked for my Audigy card (registered as a CA0106).
I've found the best help for all of my linux questions from the Unbuntu/Debian crowd.
Quote:
Originally Posted by Roklobsta
I too was vexed by this problem. My preferred soundcard is my SBLive! but I use the VIA chipset based soundcard on my motherboard for VoIP stuff. Kubuntu was always making my VIA soundcard the default.
The solution is a bit obscure but it works.
Do:
sudo asoundconf list
I got back:
Names of available sound cards:
Live
V8237
I then did:
sudo asoundconf set-default-card Live
followed by a reboot to test.
Sure enough, the Live is now set to default. It'd be nice if there was a simple config app in the KDE configuration panel that did this.
$ sudo asoundconf list
showed:
I82801BAICH2
Live
$ sudo asoundconf set-default-card Live
worked for me.
Thanks for showing me where the configuration is.
i'm migrating to ubuntu 7.10 and my soundcard doesn't work
i tried several time to do the sudo asoundconf "set-default-card Live" thing but it didnt work
this is what i do...
deiwi@SION:/etc/modprobe.d$ sudo asoundconf list
Please note that you are attempting to run asoundconf as a privileged superuser, which may have unintended consequences.
Names of available sound cards:
V8237
SAA7134
Audigy2
...where Audigy2 is my f...ing card and v8237 is the onboard soundcard and the SAA... card its my tv capture card, but i insert the command
$ sudo asoundconf set-default-card Audigy2 ...and it tells me ...
Please note that you are attempting to run asoundconf as a privileged superuser, which may have unintended consequences.
deiwi@SION:/etc/modprobe.d$
i'm newbie in ubuntu and i'm really thinking to dropped it away but i really dont want to, PLEAAASE HEEEELP ME!!!!!
It looks like you're not supposed to run it as superuser... try again, but leave out the "sudo".
You could also disable the sound-on-board in the bios.
- This is your first post on this forum, and you're already thinking about giving up?
Im totally new to Linux, and have just installed Ubuntu and trying to get away from Windows, and this sound problem was buggin. But, I did what you folks suggested and problem Fixed. Thanks so Much.
The sound is playing fine...I can see that on my screen, I just can't hear anything because it is trying to play the sound through the speaker on my motherboard...which doesn't work.
Here are my soundcards:
Intel 82801BA-ICH2 (default)
USB Audio
SBLive! Value [CT4871] (the one I want)
Other information, I am running a 6.10 distribution of Kubuntu, and I have googled all over for the answer to my problem, but came up with nothing.
Cheers,
wraith
I just did this for my Ubuntu 8 install and Worked like a Charm!! Thanks so much, took me a while to find the right solution, I totally appreciate it so much, Im totally new to Linux, and already cant wait to spread the word about Linux.
I just did this for my Ubuntu 8 install and Worked like a Charm!! Thanks so much, took me a while to find the right solution, I totally appreciate it so much, Im totally new to Linux, and already cant wait to spread the word about Linux.
~$ asoundconf list
Quote:
Names of available sound cards:
default
default_1
Quote:
asoundconf set-default-card default_1
I tried with root and non root (debian machine)
still cant swap those 2.
not working, because those are 2 usb.
dmesg
Code:
4.092022] usb 3-2: new full speed USB device using ohci_hcd and address 2
[ 4.304535] usb 3-2: New USB device found, idVendor=0556, idProduct=0001
[ 4.304538] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.304540] usb 3-2: Product: AK5370
[ 4.304542] usb 3-2: Manufacturer: AKM
[ 4.304605] usb 3-2: configuration #1 chosen from 1 choice
[ 4.608022] usb 3-4: new full speed USB device using ohci_hcd and address 3
[ 4.612547] hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4
[ 4.612644] hdc: UDMA/66 mode selected
[ 4.612777] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 4.627650] ide1 at 0x170-0x177,0x376 on irq 15
[ 4.630889] sata_nv 0000:00:0a.0: version 3.5
[ 4.631159] ACPI: PCI Interrupt Link [LTID] enabled at IRQ 21
[ 4.631163] sata_nv 0000:00:0a.0: PCI INT A -> Link[LTID] -> GSI 21 (level, low) -> IRQ 21
[ 4.631195] sata_nv 0000:00:0a.0: setting latency timer to 64
[ 4.631249] scsi0 : sata_nv
[ 4.631341] scsi1 : sata_nv
[ 4.631767] ata1: SATA max UDMA/133 cmd 0xf80 ctl 0xf00 bmdma 0xe000 irq 21
[ 4.631770] ata2: SATA max UDMA/133 cmd 0xe80 ctl 0xe00 bmdma 0xe008 irq 21
[ 4.817536] usb 3-4: New USB device found, idVendor=0d8c, idProduct=0201
[ 4.817540] usb 3-4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 4.817542] usb 3-4: Product: PnP Audio Device
[ 4.817607] usb 3-4: configuration #1 chosen from 1 choice
[ 5.270300] ide-gd driver 1.18
[ 5.270327] hda: max request size: 512KiB
[ 5.273628] ide-cd driver 5.00
[ 5.273637] hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63
[ 5.273885] hda: cache flushes supported
[ 5.273921] hda: hda1 hda2 < hda5 hda6 hda7 > hda3
[ 5.355428] ide-cd: hdc: ATAPI 48X DVD-ROM DVD-R/RAM CD-R/RW drive, 2048kB Cache
[ 5.355434] Uniform CD-ROM driver Revision: 3.20
[ 5.942795] PM: Starting manual resume from disk
[ 6.001186] kjournald starting. Commit interval 5 seconds
[ 6.001196] EXT3-fs: mounted filesystem with ordered data mode.
[ 7.471514] udevd version 125 started
[ 7.785678] Linux agpgart interface v0.103
[ 7.787944] agpgart-amd64 0000:00:00.0: AGP bridge [10de/00e1]
[ 7.787969] agpgart-amd64 0000:00:00.0: aperture size 4096 MB is not right, using settings from NB
[ 7.787973] agpgart-amd64 0000:00:00.0: setting up Nforce3 AGP
[ 7.803865] agpgart-amd64 0000:00:00.0: AGP aperture is 512M @ 0xc0000000
[ 7.913079] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x5000
[ 7.913092] i2c-adapter i2c-1: nForce2 SMBus adapter at 0x5040
[ 8.003712] processor ACPI_CPU:00: registered as cooling_device0
[ 8.003741] processor ACPI_CPU:01: registered as cooling_device1
[ 8.013187] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[ 8.013193] ACPI: Power Button [PWRF]
[ 8.013262] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input3
[ 8.013265] ACPI: Power Button [PWRB]
[ 8.528985] input: USB Optical Mouse USB Optical Mouse as /devices/pci0000:00/0000:00:02.0/usb1/1-1/1-1:1.0/input/input4
[ 8.529043] a4tech 0003:09DA:0006.0001: input,hidraw2: USB HID v1.10 Mouse [USB Optical Mouse USB Optical Mouse] on usb-0000:00:02.0-1/input0
[ 8.725870] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 8.758221] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 8.835133] input: PC Speaker as /devices/platform/pcspkr/input/input5
[ 9.005818] k8temp 0000:00:18.3: Temperature readouts might be wrong - check erratum #141
[ 9.386503] Linux video capture interface: v2.00
[ 9.488877] bttv: driver version 0.9.18 loaded
[ 9.488881] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 9.488915] bttv: Bt8xx card found (0).
[ 9.489155] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 19
[ 9.489164] bttv 0000:02:09.0: PCI INT A -> Link[LNKB] -> GSI 19 (level, low) -> IRQ 19
[ 9.489172] bttv0: Bt878 (rev 2) at 0000:02:09.0, irq: 19, latency: 32, mmio: 0xfbffe000
[ 9.489197] bttv0: detected: FlyVideo 98 (LR50)/ Chronos Video Shuttle II [card=35], PCI subsystem ID is 1851:1850
[ 9.489200] bttv0: using: Lifeview FlyVideo 98 LR50 / Chronos Video Shuttle II [card=35,autodetected]
[ 9.489203] IRQ 19/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 9.489237] bttv0: gpio: en=00000000, out=00000000 in=008dff00 [init]
[ 9.489284] bttv0: FlyVideo_gpio: unknown tuner type.
[ 9.489286] bttv0: FlyVideo Radio=no RemoteControl=yes Tuner=-1 gpio=0x8dff00
[ 9.489289] bttv0: FlyVideo LR90=no tda9821/tda9820=no capture_only=no
[ 9.489291] bttv0: tuner type unset
[ 9.489326] bttv0: registered device video0
[ 9.489343] bttv0: registered device vbi0
[ 9.489359] bttv0: PLL: 28636363 => 35468950 .. ok
[ 9.898866] usbcore: registered new interface driver snd-usb-audio
[ 11.609948] Adding 289128k swap on /dev/hda7. Priority:-1 extents:1 across:289
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.