2009-08-30, 14:51
ruff Wrote:I submitted first patch, it is still being discussed. I'd appreciate if someone else will try it and report back of any issue.
Patch applied without any issue to 48 rel.
Code:ruff@ruff:~/bluez-4.48$ patch -p1 </home/share/fakehid.patch
patching file input/device.c
patching file input/device.h
patching file input/fakehid.c
patching file input/fakehid.h
<snip configure && make && make install>
Making install in input
CC main.lo
CC manager.lo
CC server.lo
CC device.lo
CC fakehid.lo
CCLD input.la
<snip>
root@ruff:~# /opt/bluez/sbin/bluetoothd -nd
bluetoothd[14361]: Bluetooth daemon 4.48
bluetoothd[14361]: Enabling debug information
...
bluetoothd[14361]: Agent registered for hci0 at :1.688:/org/blueman/agent/adapter/hci0
bluetoothd[14361]: Changing service classes to 0x5a0104
...
bluetoothd[14361]: ps3remote_out: idle timeout, disconnecting BT channel
bluetoothd[14361]: Input: disconnect /org/bluez/14361/hci0/dev_00_21_4F_B1_F2_79
bluetoothd[14361]: ps3remote_event: Remote unpaired [45:0]
great stuff ruff -
i've successfully patched the 47 build and paired with the remote using blueman. everything works great.
EXCEPT
it unpairs within 1 minute - with the "idle timeout, disconnecting BT channel" message as in your post.
the problem is that i cant get it to re-pair without using the blueman interface again.
how are you doing this? am i missing something?
this is my tail of the daemon log;
Code:
Aug 30 22:45:26 couch bluetoothd[6236]: ps3remote_event: Passed key 108:1
Aug 30 22:45:26 couch bluetoothd[6236]: ps3remote_event: Passed key 108:0
Aug 30 22:45:29 couch bluetoothd[6236]: ps3remote_event: Passed key 103:1
Aug 30 22:45:29 couch bluetoothd[6236]: ps3remote_event: Passed key 103:0
Aug 30 22:45:59 couch bluetoothd[6236]: ps3remote_out: idle timeout, disconnecting BT channel
Aug 30 22:45:59 couch bluetoothd[6236]: Input: disconnect /org/bluez/6236/hci0/dev_00_23_06_EC_BC_B4
Aug 30 22:45:59 couch bluetoothd[6236]: ps3remote_event: Remote unpaired [103:0]
Aug 30 22:45:59 couch bluetoothd[6236]: ps3remote_event: Event failed
Aug 30 22:46:14 couch bluetoothd[6236]: adapter_get_device(00:23:06:EC:BC:B4)
Aug 30 22:46:17 couch bluetoothd[6236]: adapter_get_device(00:23:06:EC:BC:B4)