Bug#378839: [Pkg-bluetooth-maintainers] Bug#378839: bluez-pcmcia-support: udev support broken

Kay Sievers kay.sievers at vrfy.org
Tue Jul 25 13:52:54 UTC 2006


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





More information about the Pkg-bluetooth-maintainers mailing list