]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/bluez/files/base.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / bluez / files / base.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- bluez-utils-2.17/pcmcia/bluetooth~base.patch
7 +++ bluez-utils-2.17/pcmcia/bluetooth
8 @@ -15,9 +15,16 @@
9  
10  if [ -r ./shared ]; then . ./shared ; else . /etc/pcmcia/shared ; fi
11  
12 +# Give the port some time to complete initialization
13 +sleep 5
14 +
15  # Get device attributes
16  get_info $DEVICE
17  
18 +test "$DEVICE" = "ttyS7" && DEVICE="/dev/tts/7"
19 +test -z "$MANFID" && MANFID="bcsp"
20 +test "$MANFID" = "0000,0000" && MANFID="bcsp"
21 +
22  #
23  # Serial devices
24  #
25 @@ -25,7 +32,7 @@
26      IRQ=`setserial /dev/$DEVICE | sed -e 's/.*IRQ: //'`
27      setserial /dev/$DEVICE irq 0 ; setserial /dev/$DEVICE irq $IRQ
28   
29 -    /usr/sbin/hciattach $DEVICE $MANFID
30 +    /sbin/hciattach $DEVICE $MANFID
31  }
32  stop_serial() {
33      do_fuser -k -HUP /dev/$DEVICE > /dev/null