diff options
Diffstat (limited to 'meta-extras/packages/bluez/files/base.patch')
-rw-r--r-- | meta-extras/packages/bluez/files/base.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-extras/packages/bluez/files/base.patch b/meta-extras/packages/bluez/files/base.patch new file mode 100644 index 0000000000..337c9aa73e --- /dev/null +++ b/meta-extras/packages/bluez/files/base.patch | |||
@@ -0,0 +1,33 @@ | |||
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 | ||