Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
I created a custom kernel for CentOS 7 and the sound card is coming up as card 1 instead of zero. I need it to be zero. With the stock kernel it comes up as device zero. I failed to force it with:
options snd-hda-intel index=0
It still comes up as card 1. When I look at:
cat /proc/asound/cards
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7338000 irq 53
[root@TI-BOS ~]# ls /proc/asound/card0
[root@TI-BOS ~]# ls /proc/asound/card1
codec#0 id pcm0c pcm0p
The weird thing with the output above is the empty card0 directory. I can change the following to 1:
defaults.ctl.card 0
defaults.pcm.card 0
however I have been given the requirement that it be card zero. Any direction would be great, thank you for your time.
The problem was that I had installed the system dual boot RHEL 7. One was barebones and the other has more bells and whistles like pulse audio.
The default /usr/share/alsa/alsa.conf contained "defaults.pcm.card 0" this works great if you are using Pulse Audio, but not plain Alsa. I changed to "defaults.pcm.card 1" on the barebones and all is well.
Last edited by clcbluemont; 06-16-2016 at 04:02 PM.
The problem was that I had installed the system dual boot RHEL 7. One was barebones and the other has more bells and whistles like pulse audio.
The default /usr/share/alsa/alsa.conf contained "defaults.pcm.card 0" this works great if you are using Pulse Audio, but not plain Alsa. I changed to "defaults.pcm.card 1" on the barebones and all is well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.