On 09.03.2006 00:04, David Woodhouse wrote:
On Wed, 2006-03-08 at 12:26 +0100, shrek-m@gmx.de wrote:
bluetooth keyboard and mouse stops working after bluetooth init
Yes. When we take the device out of pass-through HID mode and switch it into proper Bluetooth mode, we lose the fake 'USB HID' devices and we need to talk to them properly with the Bluetooth HID dæmon.
Is hidd running?
booting with hidd as server, yes.
hidd (server) - on , bluetooth - off # cat /etc/sysconfig/hidd HIDDARGS="--server"
# lsof | grep hidd hidd 1824 root cwd DIR 253,0 4096 2 / hidd 1824 root rtd DIR 253,0 4096 2 / hidd 1824 root txt REG 253,0 35588 50863127 /usr/bin/hidd hidd 1824 root mem REG 253,0 1716160 39223299 /lib/libc-2.4.so hidd 1824 root mem REG 253,0 870144 39223312 /lib/libm-2.4.so hidd 1824 root mem REG 253,0 92348 50863228 /usr/lib/libbluetooth.so.1.0.25 hidd 1824 root mem REG 0,0 0 [heap] (stat: No such file or directory) hidd 1824 root mem REG 253,0 141812 39223298 /lib/ld-2.4.so hidd 1824 root 0u CHR 1,3 1066 /dev/null hidd 1824 root 1u CHR 1,3 1066 /dev/null hidd 1824 root 2u CHR 1,3 1066 /dev/null hidd 1824 root 3u sock 0,5 5263 can't identify protocol hidd 1824 root 4u sock 0,5 5272 can't identify protocol hidd 1824 root 5u sock 0,5 5273 can't identify protocol hidd 1824 root 6u unix 0xc00000000fef00e0 5274 socket
service bluetooth start --> lost mouse, keyboard
Does it make a difference whether you run it with '--server' or '--search' arguments?
after different combinations in booting, starting, ... no it makes absolutely no difference.
# cat /etc/sysconfig/hidd HIDDARGS="--search"
service bluetooth start --> lost mouse, keyboard
Is there a button on the mouse to make it discoverable? Does hidd work if you use 'hidd --search' after pressing that button?
they have no button but i can turn them on/off
(via ssh) # service hidd start hidd starten: Searching ... Connecting to device 00:0A:95:0A:4E:D2 Connecting to device 00:0A:95:40:B9:62 [ OK ]
but the lost keyboard and mouse on tty1 are compeletely death.
after at least thousand reboots, different combinations and updates ... the only way to have a working (apple) keyboard and (apple) mouse is *without_the_bluetooth_service*