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.
hi all,
i just have two card in my PC, but the default is HDMI, i just want to set another as default. and i know i should edit the alsa_base.conf. but the problem is thease card have the same name!
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
This is a nice question. Just installed a new card myself. Only have one card but it shows as 2 because of the hdmi capability. So I run into the same problem.
You should be able to set the default sound card for the current session by running alsamixer, then hit F6 to select the default sound card: http://askubuntu.com/questions/15085...card-with-alsa
If you get permissions problems the use sudo before alsamixer, but I don't think this would be necessary.
Here is an option to permanently set the default sound card by editing the file etc/modprobe.d/alsa-base.conf http://robertbeal.com/644/change-the...-ubuntu-karmic
Be sure to back up that configuration file before editing it just to be safe.
This is a nice question. Just installed a new card myself. Only have one card but it shows as 2 because of the hdmi capability. So I run into the same problem.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
Well now you know that you want the "ALC269VC Analog" so you should see that listed on the Alsa Mixer so you can select it.
In my case, with a completely different situation this doesn't work however. If it doesn't in yours I would create a ~/.asoundrc file with contents;
Code:
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
I have to edit mine occasionally. This is because, at random, when I reboot the system the designation of the devices will reverse and I have to change 1 to 0 or 0 to 1.
I don't think this should be needed in your case. Both options are offered by an integrated device. In my case there is confusion about the hdmi offered by my Radeon card and sound offered by my Audigy card.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
Changing the device name would be a bit tough.
If you run,
Code:
lspci
You will get a list (ls) of your pci devices. These are determined by the information in the individual devices that is provided to the bios of your box. Changing that is going to be difficult.
In your case you are working with one device that has 2 functions. They are, sensibly, both indicated in the information provided by that device to the bios. This is needed so that the functions can be controlled separately.
Bios is the interface between your computer and your OS.
While I am confident that changing the names of the "devices" is technically possible it is certainly beyond me. You could mess with the code in the OS and get the name to be different. You are not, by doing that, going to change the information on the device or what bios is seeing. Would probably simply result in no function of the device at all. Changing how the chip identifies itself is a complete mystery to me but would think anyone that had the knowledge and the tools to change it would not be asking on here. That is also the case with the bios.
hi all,
i just have two card in my PC, but the default is HDMI, i just want to set another as default. and i know i should edit the alsa_base.conf. but the problem is thease card have the same name!
how can i change the name , and set the default sound card. thanks
What do you get if you run:
Code:
(Click) (The Speaker Icon on the Indicator bar)
> (Click) Sound Settings
> (Select) (The Device you want to use)
> (You can then run the test to see which sound card is activated.) (Click) Test Sound
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.