2009-08-28, 20:23
cp /etc/init.d/bluetooth /etc/init.d/bluetooth.orig
patch -p0 <init.patch
init.patch:
XInput2 is new input driver for X.Org. It won't solve autodisconnect problem, it will allow to use current keycodes generated by remote.
Autodisconnect will be solved by the patch I submitted to bluez team.
patch -p0 <init.patch
init.patch:
Code:
--- /etc/init.d/bluetooth 2009-04-24 12:25:43.000000000 +0200
+++ /etc/init.d/bluetooth.local 2009-08-28 20:16:49.000000000 +0200
@@ -20,22 +20,22 @@
# startup control over dund and pand can be changed by editing
# /etc/default/bluetooth
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
DESC=bluetooth
-DAEMON=/usr/sbin/bluetoothd
-HCIATTACH=/usr/sbin/hciattach
+DAEMON=/usr/local/sbin/bluetoothd
+HCIATTACH=/usr/local/sbin/hciattach
-HID2HCI=/usr/sbin/hid2hci
+HID2HCI=/usr/local/sbin/hid2hci
HID2HCI_ENABLED=1
HID2HCI_UNDO=1
-UART_CONF=/etc/bluetooth/uart
+UART_CONF=/usr/local/etc/bluetooth/uart
-RFCOMM=/usr/bin/rfcomm
+RFCOMM=/usr/local/bin/rfcomm
RFCOMM_NAME=rfcomm
-RFCOMM_CONF=/etc/bluetooth/rfcomm.conf
-SDPTOOL=/usr/bin/sdptool
+RFCOMM_CONF=/usr/local/etc/bluetooth/rfcomm.conf
+SDPTOOL=/usr/local/bin/sdptool
test -f /etc/default/bluetooth && . /etc/default/bluetooth
test -f /etc/default/rcS && . /etc/default/rcS
Autodisconnect will be solved by the patch I submitted to bluez team.