You are not logged in.
Pages: 1
Hello again
On my gigabyte motherboard modules are changed sometimes.
For exemple now cat /proc/asound/cards show me this:
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7510000 irq 32
1 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7514000 irq 31
2 [CX8801 ]: CX88x - Conexant CX8801
Conexant CX8801 at 0xf5000000To have sound I need to edit this file /etc/modprobe.d/alsa-base.conf and paste this:
options snd_hda_intel index=0Sometimes cat /proc/asound/cards show another way. Exemple
0 [CX8801 ]: CX88x - Conexant CX8801
Conexant CX8801 at 0xf5000000
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7510000 irq 32
2 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7514000 irq 31and again need to change from index=0 in index=1
How do I stop this switch of audio modules? Because I don`t want to edit every time.
PS. CX8801 is a tv tuner
Tks
Last edited by xxvirusxx (2014-12-03 10:36:09)
Offline
First use lspci -k to find out which module is used by the conexant tvtuner.
then add options conexant_module index=-2 as first line in alsa-base.conf .
That should make sure the tvtuner is never chosen as primary card.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Tks, I will test few days with this option
LE. After restart cat show only cx880 tv tuner..and aplay -l don`t post anything
alsa-base.conf
options cx88_alsa index=-2
options snd_hda_intel index=1lspci -k
04:01.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
Subsystem: LeadTek Research Inc. Device 6618
Kernel driver in use: cx8800
Kernel modules: cx8800
04:01.1 Multimedia controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
Subsystem: LeadTek Research Inc. Device 6618
Kernel driver in use: cx88_audio
Kernel modules: cx88_alsaLE2. I will test with this, because I have sound and volume mixer
options cx8800 index=-2
options snd_hda_intel index=1Last edited by xxvirusxx (2014-12-03 11:29:19)
Offline
The ONLY sure way to have audio cards always in the right order is using something like this in /etc/modprobe.d/alsa.conf (the name of the .conf file is not important)
options snd-usb-audio index=0,1 vid=0x0d8c,0x16d0 pid=0x0309,0x071aThis will define 2 usb sound cards, the first one at index=0, vid=0x0d8c and pid=0x0309; the second one at index=1, vid=0x16d0 and pid=0x071a. The vid and pid here were discovered using lsusb.
In your case you must change snd-usb-audio to snd_hda_intel and add another line for Conexant
see http://alsa.opensrc.org/MultipleCards
This is working also with cards with the same chip. I have discovered that with other methods sometime cards are switching position!
Last edited by hifi25nl (2014-12-03 13:53:02)
Offline
Execute:
lspci -nn | grep -i audioAnd note the two four digit hexadecimal numbers between the brackets, like this for one of my cards:
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06)This is overkill but never fails on my system:
File: "/etc/modprobe.d/alsa.conf"
options snd_hda_intel enable=1,0 vid=8086,10de pid=3b56,0bea
options snd slots=snd_hda_intel,snd_usb_audio
options snd_hda_intel index=0 vid=8086 pid=3b56
options snd_usb_audio index=1See how the intel audio (8086:3b56) is written with my other audio device (HDMI on the videocard), (10de:0bea).
They both use the same driver so the enable 1,0 enables the intel audio and disables the HDMI. Then later on the snd_usb_audio is my webcam microphone which I explicitly order after the intel audio output.
You don't need everything in that code, it is overkill, but, it always works on my system.
Edit: vid and pid are most important when the audio hardware shares the same driver, like mine above, but in general if you use them then your system will know exactly what you are specifying.
Last edited by headkase (2014-12-03 14:01:47)
Offline
@hifi25nl
I have only one soudcard (onboard) .
Conexant is a tv tuner
@headkase
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
04:01.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [14f1:8800] (rev 05)
04:01.1 Multimedia controller [0480]: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] [14f1:8801] (rev 05)Offline
Well, I would hazard to say that the Core HD Audio is your built-in (8086:0c0c) and if you are using that then disable the other audio (8086:8c20) with an enable=1,0 line - then make the one you want to use index=0, and then the conexant (I don't know if you need both) make index=1 and if needed index=2. Specify vid and pid for all of them as you can see in my template. If you don't get the desired results reverse the enable=1,0 for the intel audios and/or swap index=1 and 2 for the conexant.
Last edited by headkase (2014-12-03 14:30:38)
Offline
With this options same problem
options cx8800 index=-2
options snd_hda_intel index=1@headkase
Now I will try like you options
LE. Trying in many way but no luck.
With this settings:
options snd_hda_intel enable=1,0 vid=8086,14f1 pid=0c0c,8801
options snd slots=snd_hda_intel
options snd_hda_intel index=0 vid=8086 pid=0c0cNo more intel PCH...
cat /proc/asound/cards
1 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7514000 irq 31
2 [CX8801 ]: CX88x - Conexant CX8801
Conexant CX8801 at 0xf5000000aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0If i use:
options snd_hda_intel enable=1,0 vid=8086,14f1 pid=8c20,8801
options snd slots=snd_hda_intel
options snd_hda_intel index=0 vid=8086 pid=8c20Same problem, no intel PCH
Last edited by xxvirusxx (2014-12-04 11:01:40)
Offline
Ok, this should work (after a reboot):
options snd_hda_intel index=0 vid=<...> pid=<...>
options cx8800 index=1 vid=<...> pid=<...>Assuming that the driver name of the Conexant is cx8800 and you substitute the corresponding vid and pid to <...>
Without pid and vid will not work (or at least will not work always)
Note: using this method the card will always stay at the same index even if another card is not connected. Moreover a new extra card would take automatically index 2
Last edited by hifi25nl (2014-12-04 10:25:29)
Offline
@hifi25l
With this settings I have only Conexant CX8801 in alsamixer, asound/cards and aplay -l don`t show nothing
options snd_hda_intel index=0 vid=8086 pid=0c0c
options cx8800 index=1 vid=14f1 pid=8801LE. With this show all in alsamixer, default is intel HDMI but now sound and no mixxer applet
options snd_hda_intel index=0 vid=8086 pid=8c20
options cx8800 index=1 vid=14f1 pid=8801LE2. With this setting I have sound, and PCH is default in alsamixer
I will test few days
options snd_hda_intel index=1 vid=8086 pid=8c20Last edited by xxvirusxx (2014-12-04 11:28:22)
Offline
After some days with this setting same issues
options snd_hda_intel index=1 vid=8086 pid=8c20Offline
Do you have /etc/asound.conf?
Do you have $HOME/.asoundrc?
For me with this
options snd_hda_intel index=0 vid=8086 pid=8c20
options cx8800 index=1 vid=14f1 pid=8801and this in $HOME/.asoundrc or /etc/asound.conf
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}should work..(if the pid and vid are correct)
Offline
@hifi25nl
Tks for help me
With card 0 in alsamixer I had HDA Intel HDMI , no sound, no mixer. I change it to card 1 and now i have correct:HDA Intel PCH.
Again I will test for few days ![]()
Last edited by xxvirusxx (2014-12-12 10:09:52)
Offline
Pages: 1