summaryrefslogtreecommitdiff
path: root/packages/bluez-utils/files
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-07 17:10:13 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-07 17:10:13 +0000
commit38179267815bc8f09779dd797dd8285239c9046c (patch)
tree633bd93bee5974e0933b0522ae65b41a422ad32e /packages/bluez-utils/files
parent0d69b4f83c4e5ba9ab0819e151d76474c698a224 (diff)
bluez-utils: Sleep a couple of seconds in /etc/pcmcia/bluetooth to give the
hardware enough time to complete initialization (tested on Sharp C7x0)
Diffstat (limited to 'packages/bluez-utils/files')
-rw-r--r--packages/bluez-utils/files/base.patch10
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/bluez-utils/files/base.patch b/packages/bluez-utils/files/base.patch
index c4bb288303..337c9aa73e 100644
--- a/packages/bluez-utils/files/base.patch
+++ b/packages/bluez-utils/files/base.patch
@@ -5,7 +5,13 @@
--- bluez-utils-2.17/pcmcia/bluetooth~base.patch
+++ bluez-utils-2.17/pcmcia/bluetooth
-@@ -18,6 +18,10 @@
+@@ -15,9 +15,16 @@
+
+ if [ -r ./shared ]; then . ./shared ; else . /etc/pcmcia/shared ; fi
+
++# Give the port some time to complete initialization
++sleep 5
++
# Get device attributes
get_info $DEVICE
@@ -16,7 +22,7 @@
#
# Serial devices
#
-@@ -25,7 +29,7 @@
+@@ -25,7 +32,7 @@
IRQ=`setserial /dev/$DEVICE | sed -e 's/.*IRQ: //'`
setserial /dev/$DEVICE irq 0 ; setserial /dev/$DEVICE irq $IRQ