1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-03 13:49:49 +00:00
Files
Richard Purdie bcedd690f7 poky-extras: Add bluez, sqlite, maemo-mapper-nohildon
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@969 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-29 09:47:42 +00:00

34 lines
805 B
Diff

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#
--- bluez-utils-2.17/pcmcia/bluetooth~base.patch
+++ bluez-utils-2.17/pcmcia/bluetooth
@@ -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
+test "$DEVICE" = "ttyS7" && DEVICE="/dev/tts/7"
+test -z "$MANFID" && MANFID="bcsp"
+test "$MANFID" = "0000,0000" && MANFID="bcsp"
+
#
# Serial devices
#
@@ -25,7 +32,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