[Bluez-users] Problems using bluetooth keyboard with Nokia N800...
From: Scott Bambrough <hidden>
Date: 2007-10-30 01:32:09
I'm attempting to use a Freedom Universal bluetooth keyboard with my
Nokia N800. I've managed to pair successfully but cannot get the
keyboard to connect.
I've tried via the N800's Bluetooth control panel and all I get is
connection failed. I've attached a file kbd.txt which is the output of
'hcidump -X -V' when using the control panel to try to connect to the
keyboard.
I've also tried using hidd. With hidd I get:
Nokia-N800-26:/etc/bluetooth# hidd --connect 00:08:0d:6f:4c:ab
Can't create HID control channel: Connection reset by peer
I've also attached a file kbd1.txt which is the output of 'hcidump -X
-V' when using the control panel to try to connect using hidd.
AFAIK, I have the latest OS installed with all the latest available
updates. I've gathered the following information from the tablet:
Nokia-N800-26:/etc/bluetooth# dpkg -l | grep bluez
ii bluez-hcidump
1.36-0osso1 Analyses Bluetooth HCI packets
ii bluez-utils
3.9-osso5.1 Bluetooth tools and daemons
ii bluez-utils-test
3.9-osso5.1 testing tools for bluez
ii osso-bluez-compat
0.5 OSSO compatibility tools for BlueZ
ii python2.5-bluez
0.9.1-1osso3 Python wrappers around BlueZ
Nokia-N800-26:/etc/bluetooth# uname -a
Linux Nokia-N800-26 2.6.18-omap1 #2 Wed Jun 13 11:37:40 EEST 2007 armv6l
unknown
Nokia-N800-26:/etc/bluetooth# hcitool info 00:08:0d:6f:4c:ab
Requesting information ...
BD Address: 00:08:0d:6f:4c:ab
Device Name: KEYBOARD
LMP Version: 2.0 (0x3) LMP Subversion: 0xbb8
Manufacturer: Silicon Wave (11)
Features: 0xff 0xff 0x05 0x38 0x18 0x18 0x00 0x00
<3-slot packets> <5-slot packets> <encryption> <slot
offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <RSSI> <channel quality> <SCO link> <HV2
packets>
<HV3 packets> <u-law log> <A-law log> <CVSD> <power
control>
<enhanced iscan> <interlaced iscan> <interlaced pscan>
<AFH cap. slave> <AFH class. slave> <AFH cap. master>
<AFH class. master>
Nokia-N800-26:/etc/bluetooth# hciconfig -a
hci0: Type: UART
BD Address: 00:19:4F:DB:0B:D1 ACL MTU: 384:4 SCO MTU: 64:8
UP RUNNING PSCAN
RX bytes:9011 acl:98 sco:0 events:251 errors:0
TX bytes:4338 acl:96 sco:0 commands:73 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'Nokia N800'
Class: 0x100114
Service Classes: Object Transfer
Device Class: Computer, Palm
HCI Ver: 2.0 (0x3) HCI Rev: 0x6cc LMP Ver: 2.0 (0x3) LMP Subver:
0x6cc
Manufacturer: Cambridge Silicon Radio (10)
Any chance someone could look at the dumps and suggest a way to get the
two devices to connect. I haven't attempted to modify
/etc/bluetooth/hcid.conf by hand yet; I figured it shouldn't need to be
or the control panel would do it.
BTW, I have verified the keyboard actually works as a HID device. I was
able to successfully pair and connect with a laptop running Windows XP
and the Microsoft stack.
Thanks,
Scott