[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fc67c1$vci$1@sea.gmane.org>
Date: Tue, 11 Sep 2007 16:11:36 +0200
From: Manuel Reimer <Manuel.Spam@...fuerspam.de>
To: linux-kernel@...r.kernel.org
Subject: Re: udev: Inconsistency between %b and %p?
Kay Sievers wrote:
>>>> ATTRS{idVendor}=="0dda", ATTRS{idProduct}=="2005", SUBSYSTEM=="scsi",
>>>> ACTION=="add", PROGRAM+="/usr/bin/test.sh %b %p"
> It's fine. $id, like some other values too, is a value of the device
> where all keys successful matched while walking up the chain of
> devices.
But the "SUBSYSTEM" didn't match for the USB-device.
I still don't know, what %b contains and in which situation the value in
%b may help anyone.
> Seems you are looking for the name of the device you received the
> event for, so just use $kernel instead.
Yes, this did the job. Thanks for the hint.
CU
Manuel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists