[MPlayer-matrox] anyone still using a G200
Tamas, Gergely
dice at mfa.kfki.hu
Sun Sep 3 16:43:42 CEST 2006
Hi,
> BTW: While we are at udev. I'm currently trying to figure
> out how i can tell udev that
> 1) it should create me a mga_vidXX file for every
> card i have in the system
Something like the following should (but it does currently not) work :
KERNEL=="mga_vid[0-9]*", NAME="mga_vid/%n", SYMLINK="mga_vid%n", MODE="0660", GROUP="video"
> and
> 2) make mga_vid a symlink to mga_vid1
>
> Unfortunately, i'm looking the wrong way and cannot figure
> it out. Any hints?
How do you want to use multiple cards? Current driver has the minor
number hard-coded :
1141: mga_cdev_handle = MKDEV(major,0);
1146: class_device_create(mga_vid_class, NULL, MKDEV (mga_vid_major, 0), NULL, "mga_vid");
1198: class_device_destroy(mga_vid_class, MKDEV(mga_vid_major, 0));
Gergely
More information about the MPlayer-matrox
mailing list