On Tue, 2006-07-25 at 15:43 +0200, Felix Homann wrote:
> On Tuesday 25 July 2006 13:18, Kay Sievers wrote:
> > PHYSDEVPATH and the 'device' link are both deprecated and will go away
> > some day in the future, you better pass the values you want to use in
> > your script down from udev with $sysfs{}. That is not dependent on a
> > specific order of devices in sysfs.

> I've attached working (for me) rules+bluetooth.sh.  $sysfs{manf_id} and 
> $sysfs{card_id} are passed to bluetooth.sh.

Looks fine, and should not break, if something in sysfs changes, which
is nice.

Btw, you should be able to just do RUN+="bluetooth.sh", as udev will
look in /lib/udev/ if it does not start with a '/'.

Thanks,
Kay



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to