antonio montagnani wrote: > 2007/9/27, Mikkel L. Ellertson <mikkel@xxxxxxxxxxxxxxxx>: >> antonio montagnani wrote: >>> latest modprobe.conf is: >>> >>> #remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : >>> ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0 >>> remove snd-hda-intel { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; >>> }; /sbin/modprobe -r --ignore-remove snd-hda-intel >>> options snd cards_limit=8 >>> options snd-hda-intel index=0 model=toshiba >>> install snd-hda-intel /sbin/modprobe --ignore-install snd-hda-intel && >>> /usr/sbin/alsactl restore >/dev/null 2>&1 || : >>> #remove snd-hda-intel { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; >>> }; /sbin/modprobe -r --ignore-remove snd-hda-intel >>> alias snd-card-7 snd-usb-audio >>> options snd-usb-audio index=7 >>> #options snd-intel8x0 index=0 >>> alias eth1 tg3 >>> alias snd-card-0 snd-hda-intel >>> options snd-card-0 index=0 >>> #options snd-hda-intel index=0 >>> >>> >>> Any comment??? >> The options snd-card-0 and options snd-hda-intel should match. I am >> not sure, but I think the snd-card-0 options will be used if you >> modprobe snd-card-0. And I believe that is the way the sound modules >> are loaded. So you may not be using the options you think you are. >> >> > > Mikkel, > > do you mean that I have to add option=toshiba and modify line as follows: > options snd-card-0 index=0 model=toshiba ???? > Yes. I am not 100% sure of this, but it definitely will not hurt, and it may help. I know sound card detection/setup puts in matching lines. So the question becomes, when you do not have matching lines, what options are used? Someone that knows the modprobe code can probably tell us. I suspect it depends on if you use the module name, or the alias. Mikkel -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup!
Attachment:
signature.asc
Description: OpenPGP digital signature