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

Felix Homann fexpop at onlinehome.de
Wed Jul 26 08:12:11 UTC 2006


On Tuesday 25 July 2006 16:23, Filippo Giunchedi wrote:
> okay, I've updated bluetooth.sh and bluez-pcmcia-support.udev again, do you
> mind trying if it works as expected? 

It works as expected.

> Also can you paste the relevant udev 
> database entry for your card? 

Here you go:

P: /class/tty/ttyS2
N: ttyS2
E: MANFID=0x025e
E: CARD_ID=0x1000
E: DEVICENAME=

> searching the output of udevinfo -e might 
> help. Only the mapping for $DEVICENAME is left to figure out.

I don't understand what you expect here. As far as I can tell $DEVICENAME 
_has_ to be empty since $name is not a valid key (at least not mentioned 
in 'man udev'). It is not needed or used anywhere, so I think that 
ENV{DEVICENAME}="$name" should be removed.

If it was meant as a reaction on Marcel's remark about  the "DEVICE=`echo 
$DEVNAME|sed -e 's_/dev/__'`"  line in bluetooth.sh you can safely remove 
that line and use 

	/usr/sbin/hciattach $DEVNAME ...

I agree with Marcel in that the script should be renamed 
into "bluetooth_serial" (and every other point he made!).

Kind regards,

Felix






More information about the Pkg-bluetooth-maintainers mailing list