summaryrefslogtreecommitdiff
path: root/packages/bluez-utils/files/base.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/bluez-utils/files/base.patch')
-rw-r--r--packages/bluez-utils/files/base.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/bluez-utils/files/base.patch b/packages/bluez-utils/files/base.patch
index e69de29bb2..dbbff5199c 100644
--- a/packages/bluez-utils/files/base.patch
+++ b/packages/bluez-utils/files/base.patch
@@ -0,0 +1,26 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- bluez-utils-2.14/pcmcia/bluetooth~base
++++ bluez-utils-2.14/pcmcia/bluetooth
+@@ -15,6 +15,9 @@
+
+ if [ -r ./shared ]; then . ./shared ; else . /etc/pcmcia/shared ; fi
+
++test "$DEVICE" = "ttyS7" && DEVICE="/dev/tts/7"
++test -z "$MANFID" && MANFID="bcsp"
++
+ # Get device attributes
+ get_info $DEVICE
+
+@@ -25,7 +28,7 @@
+ IRQ=`setserial /dev/$DEVICE | sed -e 's/.*IRQ: //'`
+ setserial /dev/$DEVICE irq 0 ; setserial /dev/$DEVICE irq $IRQ
+
+- /usr/sbin/hciattach $DEVICE $MANFID
++ /sbin/hciattach $DEVICE $MANFID
+ }
+ stop_serial() {
+ do_fuser -k -HUP /dev/$DEVICE > /dev/null