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