[arch-general] [arch-dev-public] [signoff] udev 118-4
Aaron Griffin
aaronmgriffin at gmail.com
Mon Mar 10 11:31:55 EDT 2008
On Sun, Mar 9, 2008 at 6:36 PM, Michal Soltys <soltys at ziu.info> wrote:
> Aaron Griffin wrote:
> > On Sun, Mar 9, 2008 at 3:05 AM, Michal Soltys <soltys at ziu.info> wrote:
> >> ENV{MODALIAS}=="modaliases #1", OPTION="ignore_device"
> >> ENV{MODALIAS}=="modaliases #2", OPTION="ignore_device"
> >
> > This is way more complex than you think it is. Let me explain. A
> > typical module exposes it's aliases WITH wildcartds included. Here's
> > an example:
> >
> > $ modinfo nvidiafb
> > alias: pci:v000010DEd*sv*sd*bc03sc*i*
> >
> > If you want to write out modalias rules for this, you are welcome to.
> > I will give you a hint, though: each of those asterisks above is a 4
> > digit number. And that is just nvidia. Don't forget intel, ati,
> > unichrome, and all the other framebuffer modules out there.
>
> But you can use that alias as-is in udev rules, as wildcards are supported.
Wow, I actually didn't know that is allowed wildcard matching on the
MODALIAS rules. Woohoo!
More information about the arch-general
mailing list