linux-openmoko.inc: Openmoko's GTA03 device got a new name
[vuplus_openembedded] / packages / blueprobe / blueprobe-0.15 / hx4700.patch
1 --- blueprobe-0.14/blueprobe.init.orig  2005-09-05 22:03:57 +0200
2 +++ blueprobe-0.14/blueprobe.init       2005-09-05 22:09:34 +0200
3 @@ -47,6 +47,14 @@
4          PROTO=bcsp
5         PROBE=yes
6         ;;
7 +    "HP iPAQ HX4700")
8 +       BLUETOOTH=yes
9 +       PORT=/dev/ttyS1
10 +       SPEED=921600
11 +       PROTO=texas
12 +       SCRIPT=/etc/bluetooth/TIInit_3.2.26.bts
13 +       PROBE=no
14 +       ;;
15      *)
16         BLUETOOTH=no
17          ;;
18 @@ -67,5 +75,8 @@
19      echo "BLUETOOTH_PORT=$PORT" >>/etc/sysconfig/bluetooth
20      echo "BLUETOOTH_SPEED=$SPEED" >>/etc/sysconfig/bluetooth
21      echo "BLUETOOTH_PROTOCOL=$PROTO" >>/etc/sysconfig/bluetooth
22 +    if [ "$SCRIPT" != "" ] && [ -f "$SCRIPT" ]; then
23 +      echo "BLUETOOTH_SCRIPT=$SCRIPT" >>/etc/sysconfig/bluetooth
24 +    fi
25    fi
26  fi