Re: [PATCH] INPUT: add MODALIAS to the event environment

From: Alexander E. Patrakov
Date: Sat Jan 14 2006 - 08:40:16 EST


Kay Sievers wrote:

On Sat, Jan 14, 2006 at 06:15:14PM +0500, Alexander E. Patrakov wrote:


i.e., there is the "modalias" file in sysfs but no $MODALIAS in the environment. Is this the problem that your patch solves (note: I haven't tried it yet)?



Well, you could have read the mail's subject, before posting.


Indeed, sorry.

I have applied your patch on top of gregkh-all-2.6.15.patch and changed my module-loading udev rule to:

ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}"

Now this works and loads modules for my PS/2 mouse. Thanks for the patch.

--
Alexander E. Patrakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/