locking down device names

Gilboa Davara gilboad at gmail.com
Wed Sep 10 11:31:01 UTC 2008


On Wed, Sep 10, 2008 at 8:39 AM, Arthur Pemberton <pemboa at gmail.com> wrote:
> I have two tv cards, and one relies on the sound card for audio.
> sometimes it is at /dev/dsp and other times it is at /dev/dsp2
>
> How can I lock this down?

create /etc/modprobe.conf
And add the following lines: (Where snd_driver_name is the name of
each sound card driver)

alias snd-card-0 snd_driver_name
options snd-card-0 index=0
options snd_driver_name index=0

alias snd-card-1 snd_driver_name
options snd-card-1 index=1
options snd_driver_name index=1

...

- Gilboa




More information about the fedora-list mailing list