3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- bluez-utils-2.17/pcmcia/bluetooth~base.patch
7 +++ bluez-utils-2.17/pcmcia/bluetooth
10 if [ -r ./shared ]; then . ./shared ; else . /etc/pcmcia/shared ; fi
12 +# Give the port some time to complete initialization
15 # Get device attributes
18 +test "$DEVICE" = "ttyS7" && DEVICE="/dev/tts/7"
19 +test -z "$MANFID" && MANFID="bcsp"
20 +test "$MANFID" = "0000,0000" && MANFID="bcsp"
26 IRQ=`setserial /dev/$DEVICE | sed -e 's/.*IRQ: //'`
27 setserial /dev/$DEVICE irq 0 ; setserial /dev/$DEVICE irq $IRQ
29 - /usr/sbin/hciattach $DEVICE $MANFID
30 + /sbin/hciattach $DEVICE $MANFID
33 do_fuser -k -HUP /dev/$DEVICE > /dev/null