mga_vid with udev on Debian 3.1r3 sarge
Lurkos <[email protected]> Tue, 17 Oct 2006 19:26:19 +0200
| Newsgroups | gmane.comp.video.mplayer.user.matrox |
|---|---|
| Message-ID | <[email protected]> |
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