[MPlayer-matrox] mga_vid with udev on Debian 3.1r3 sarge

Lurkos lurkos at gmail.com
Tue Oct 17 19:26:19 CEST 2006


My distro is Debian 3.1r3 *sarge* and my video card is Matrox
Millennium G450 32 MB AGP.
I've installed mga_vid with the debian repository and then I compiled
the kernel module (debian sarge uses linux 2.6.8).
In the package mga-vid-common there is a script for devfs to
automatically create /dev/mga_vid and load mga_vid module.
AFAIK Debian 3.1 with linux2.6 uses by default udev instead of devfs.
I'm not very expert and in fact I have only realized that I have to
modify /etc/udev/rules.
How can I obtain the same result of these script with udev?
1)
/etc/devfs/conf.d/mga-vid-common
# make sure the mga_vid device node is created with sane permissions.
REGISTER ^mga_vid$ PERMISSIONS root.video 0660
2)
/etc/modutils/mga-vid-common
# alias file for the mga_vid kernel module
alias char-major-178 mga_vid
alias /dev/mga_vid mga_vid

-- 
Thanks,
Lurkos



More information about the MPlayer-matrox mailing list