--- 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,18 @@ PROTO=bcsp PROBE=yes ;; + "HP iPAQ HX4700") + BLUETOOTH=yes + PORT=/dev/ttyS1 + PROTO=texas + SCRIPT=/etc/bluetooth/TIInit_3.2.26.bts + if [ -f "$SCRIPT" ]; then + SPEED=921600 + else + SPEED=115200 + fi + 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