2007-04-22 17:38:51

by Philip S. Trasatti Jr.

[permalink] [raw]
Subject: [Bluez-users] Can't connect to Freedom Input Mini Duo keyboard

Recently I purchased a Freedom Input Mini Duo keyboard which has both the
HID and SPP profile. The manufacturer also advertises that it supports
Linux! I have tested it under Windows and it connects and functions properly
as a HID keyboard.

... manufacturer web page is here...
http://www.freedominput.com/site/index.php?option=com_content&task=view&id=14&Itemid=29

I'm using Gentoo with manually updated bluez-libs-3.9 and bluez-tools-3.9

I can scan and find the keyboard fine...

# hcitool scan
Scanning ...
00:0B:0D:6F:7F:88 KEYBOARD

and also l2ping it...

# l2ping 00:0B:0D:6F:7F:88
Ping: 00:0B:0D:6F:7F:88 from 00:10:60:AF:BE:B6 (data size 44) ...
0 bytes from 00:0B:0D:6F:7F:88 id 0 time 56.62ms
0 bytes from 00:0B:0D:6F:7F:88 id 1 time 19.02ms
0 bytes from 00:0B:0D:6F:7F:88 id 2 time 12.02ms
0 bytes from 00:0B:0D:6F:7F:88 id 3 time 9.02ms
4 sent, 4 received, 0% loss

but when I try to connect to it nothing happens...

# hcitool cc 00:0B:0D:6F:7F:88
# hcitool con
Connections:
#

here is a hcidump of when I try to connect...

# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.34
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:0B:0D:6F:7F:88 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
status 0x00 handle 6 bdaddr 00:0B:0D:6F:7F:88 type ACL encrypt 0x00
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 6
> HCI Event: Command Status (0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
handle 6 policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK
> HCI Event: Command Complete (0x0e) plen 6
Write Link Policy Settings (0x02|0x000d) ncmd 1
status 0x00 handle 6
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:0B:0D:6F:7F:88 mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Max Slots Change (0x1b) plen 3
handle 6 slots 5
> HCI Event: Read Remote Supported Features (0x0b) plen 11
status 0x00 handle 6
Features: 0xff 0xff 0x05 0x38 0x18 0x18 0x00 0x00
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:0B:0D:6F:7F:88 name 'KEYBOARD'
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 6 reason 0x13
Reason: Remote User Terminated Connection
> HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 6 reason 0x16
Reason: Connection Terminated by Local Host

Can someone point me in the right direction?


Attachments:
(No filename) (2.83 kB)
(No filename) (3.61 kB)
(No filename) (286.00 B)
(No filename) (164.00 B)
Download all attachments

2007-04-23 10:18:38

by Stefan Seyfried

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect to Freedom Input Mini Duo keyboard

On Sun, Apr 22, 2007 at 04:56:35PM -0500, Philip S. Trasatti Jr. wrote:
> Thanks for the response. Still doesn't work.
>
> hidd is running with the --server and --master options
>
> When I run hidd the second time I get...
>
> # hidd --connect 00:0B:0D:6F:7F:88
> Can't create HID control channel: Connection reset by peer

did you press the "connect" button on the keyboard? I always connect
keyboards / mice by (with hidd --server already running):

- hidd --search (as root)
- then press the connect button on the keyboard / mouse and pressing
some keys / moving the mouse, to see once it is connected.

and this has worked fine for me all the time.
--
Stefan Seyfried

"Any ideas, John?"
"Well, surrounding them's out."

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-04-22 21:56:35

by Philip S. Trasatti Jr.

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect to Freedom Input Mini Duo keyboard

Thanks for the response. Still doesn't work.

hidd is running with the --server and --master options

When I run hidd the second time I get...

# hidd --connect 00:0B:0D:6F:7F:88
Can't create HID control channel: Connection reset by peer

Here is the hcidump of when I run "hidd --connect 00:0B:0D:6F:7F:88"

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.34
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:0B:0D:6F:7F:88 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x00 ncmd 1
> HCI Event: Connect Complete (0x03) plen 11
status 0x00 handle 6 bdaddr 00:0B:0D:6F:7F:88 type ACL encrypt 0x00
< ACL data: handle 6 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 1 scid 0x0040
< HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 6
> HCI Event: Command Status (0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
handle 6 policy 0x0f
Link policy: RSWITCH HOLD SNIFF PARK
> HCI Event: Command Complete (0x0e) plen 6
Write Link Policy Settings (0x02|0x000d) ncmd 1
status 0x00 handle 6
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:0B:0D:6F:7F:88 mode 2 clkoffset 0x0000
> HCI Event: Max Slots Change (0x1b) plen 3
handle 6 slots 5
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> ACL data: handle 6 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
Connection successful
< ACL data: handle 6 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
> ACL data: handle 6 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 48
< ACL data: handle 6 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
Success
MTU 48
> ACL data: handle 6 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
Success
< ACL data: handle 6 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x0 len 0xf
pat uuid-16 0x1200 (PNPInfo)
max 65535
aid(s) 0x0000 - 0xffff
cont 00
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:0B:0D:6F:7F:88 name 'KEYBOARD'
> HCI Event: Read Remote Supported Features (0x0b) plen 11
status 0x00 handle 6
Features: 0xff 0xff 0x05 0x38 0x18 0x18 0x00 0x00
> ACL data: handle 6 flags 0x02 dlen 52
L2CAP(d): cid 0x0040 len 48 [psm 1]
SDP SSA Rsp: tid 0x0 len 0x2b
count 39
cont 01 2D
< ACL data: handle 6 flags 0x02 dlen 25
L2CAP(d): cid 0x0040 len 21 [psm 1]
SDP SSA Req: tid 0x1 len 0x10
pat uuid-16 0x1200 (PNPInfo)
max 65535
aid(s) 0x0000 - 0xffff
cont 01 2D
> ACL data: handle 6 flags 0x02 dlen 52
L2CAP(d): cid 0x0040 len 48 [psm 1]
SDP SSA Rsp: tid 0x1 len 0x2b
count 39
cont 01 2E
< ACL data: handle 6 flags 0x02 dlen 25
L2CAP(d): cid 0x0040 len 21 [psm 1]
SDP SSA Req: tid 0x2 len 0x10
pat uuid-16 0x1200 (PNPInfo)
max 65535
aid(s) 0x0000 - 0xffff
cont 01 2E
> ACL data: handle 6 flags 0x02 dlen 30
L2CAP(d): cid 0x0040 len 26 [psm 1]
SDP SSA Rsp: tid 0x2 len 0x15
count 18
record #0
aid 0x0000 (SrvRecHndl)
uint 0x10001
aid 0x0001 (SrvClassIDList)
< uuid-16 0x1200 (PNPInfo) >
aid 0x0002 (SrvRecState)
uint 0x0
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) uint 0x1 > <
uuid-16 0x0001 (SDP) > >
aid 0x0009 (BTProfileDescList)
< < uuid-16 0x1200 (PNPInfo) uint 0x109 > >
aid 0x0200 (VersionNumList)
uint 0x100
aid 0x0201 (SrvDBState)
uint 0x45e
aid 0x0202 (unknown)
uint 0x104
aid 0x0203 (unknown)
uint 0x109
aid 0x0204 (unknown)
bool 0x1
aid 0x0205 (unknown)
uint 0x2
cont 00
< ACL data: handle 6 flags 0x02 dlen 24
L2CAP(d): cid 0x0040 len 20 [psm 1]
SDP SSA Req: tid 0x3 len 0xf
pat uuid-16 0x1124 (HID)
max 65535
aid(s) 0x0000 - 0xffff
cont 00
> ACL data: handle 6 flags 0x02 dlen 52
L2CAP(d): cid 0x0040 len 48 [psm 1]
SDP SSA Rsp: tid 0x3 len 0x2b
count 39
cont 01 2F
< ACL data: handle 6 flags 0x02 dlen 25
L2CAP(d): cid 0x0040 len 21 [psm 1]
SDP SSA Req: tid 0x4 len 0x10
pat uuid-16 0x1124 (HID)
max 65535
aid(s) 0x0000 - 0xffff
cont 01 2F
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 6 packets 7
> ACL data: handle 6 flags 0x02 dlen 52
L2CAP(d): cid 0x0040 len 48 [psm 1]
SDP SSA Rsp: tid 0x4 len 0x2b
count 39
cont 01 30
< ACL data: handle 6 flags 0x02 dlen 25
L2CAP(d): cid 0x0040 len 21 [psm 1]
SDP SSA Req: tid 0x5 len 0x10
pat uuid-16 0x1124 (HID)
max 65535
aid(s) 0x0000 - 0xffff
cont 01 30
> ACL data: handle 6 flags 0x02 dlen 52
L2CAP(d): cid 0x0040 len 48 [psm 1]
SDP SSA Rsp: tid 0x5 len 0x2b
count 39
cont 01 31
< ACL data: handle 6 flags 0x02 dlen 25
L2CAP(d): cid 0x0040 len 21 [psm 1]
SDP SSA Req: tid 0x6 len 0x10
pat uuid-16 0x1124 (HID)
max 65535
aid(s) 0x0000 - 0xffff
cont 01 31
> ACL data: handle 6 flags 0x02 dlen 52
L2CAP(d): cid 0x0040 len 48 [psm 1]
SDP SSA Rsp: tid 0x6 len 0x2b
count 39
cont 01 32
< ACL data: handle 6 flags 0x02 dlen 25
L2CAP(d): cid 0x0040 len 21 [psm 1]
SDP SSA Req: tid 0x7 len 0x10
pat uuid-16 0x1124 (HID)
max 65535
aid(s) 0x0000 - 0xffff
cont 01 32
> ACL data: handle 6 flags 0x02 dlen 52
L2CAP(d): cid 0x0040 len 48 [psm 1]
SDP SSA Rsp: tid 0x7 len 0x2b
count 39
cont 01 33
< ACL data: handle 6 flags 0x02 dlen 25
L2CAP(d): cid 0x0040 len 21 [psm 1]
SDP SSA Req: tid 0x8 len 0x10
pat uuid-16 0x1124 (HID)
max 65535
aid(s) 0x0000 - 0xffff
cont 01 33
> ACL data: handle 6 flags 0x02 dlen 52
L2CAP(d): cid 0x0040 len 48 [psm 1]
SDP SSA Rsp: tid 0x8 len 0x2b
count 39
cont 01 34
< ACL data: handle 6 flags 0x02 dlen 25
L2CAP(d): cid 0x0040 len 21 [psm 1]
SDP SSA Req: tid 0x9 len 0x10
pat uuid-16 0x1124 (HID)
max 65535
aid(s) 0x0000 - 0xffff
cont 01 34
> ACL data: handle 6 flags 0x02 dlen 52
L2CAP(d): cid 0x0040 len 48 [psm 1]
SDP SSA Rsp: tid 0x9 len 0x2b
count 39
cont 01 35
< ACL data: handle 6 flags 0x02 dlen 25
L2CAP(d): cid 0x0040 len 21 [psm 1]
SDP SSA Req: tid 0xa len 0x10
pat uuid-16 0x1124 (HID)
max 65535
aid(s) 0x0000 - 0xffff
cont 01 35
> ACL data: handle 6 flags 0x02 dlen 52
L2CAP(d): cid 0x0040 len 48 [psm 1]
SDP SSA Rsp: tid 0xa len 0x2b
count 39
cont 01 36
< ACL data: handle 6 flags 0x02 dlen 25
L2CAP(d): cid 0x0040 len 21 [psm 1]
SDP SSA Req: tid 0xb len 0x10
pat uuid-16 0x1124 (HID)
max 65535
aid(s) 0x0000 - 0xffff
cont 01 36
> ACL data: handle 6 flags 0x02 dlen 29
L2CAP(d): cid 0x0040 len 25 [psm 1]
SDP SSA Rsp: tid 0xb len 0x14
count 17
record #0
aid 0x0000 (SrvRecHndl)
uint 0x10000
aid 0x0001 (SrvClassIDList)
< uuid-16 0x1124 (HID) >
aid 0x0002 (SrvRecState)
uint 0x0
aid 0x0004 (ProtocolDescList)
< < uuid-16 0x0100 (L2CAP) uint 0x11 > <
uuid-16 0x0011 (HIDP) > >
aid 0x0005 (BrwGrpList)
< uuid-16 0x1002 (PubBrwsGrp) >
aid 0x0006 (LangBaseAttrIDList)
< uint 0x656e uint 0x6a uint 0x100 >
aid 0x0009 (BTProfileDescList)
< < uuid-16 0x1124 (HID) uint 0x130 > >
aid 0x000d (IconURL)
< < < uuid-16 0x0100 (L2CAP) uint 0x13 > < uuid-16 0x0011
(HIDP) > > >
aid 0x0100 (SrvName)
str "HID-Kbd"
aid 0x0101 (SrvDesc)
str "Bluetooth Kbd"
aid 0x0102 (ProviderName)
str " "
aid 0x0200 (VersionNumList)
uint 0x100
aid 0x0201 (SrvDBState)
uint 0x100
aid 0x0202 (unknown)
uint 0x40
aid 0x0203 (unknown)
uint 0x33
aid 0x0204 (unknown)
bool 0x1
aid 0x0205 (unknown)
bool 0x1
aid 0x0206 (unknown)
< < uint 0x22 str 05 01 09 06 a1 01 85 01 05 07 19 e0 29 e7
15 00 25 01 75 01 95 08 81 02 95 01 75 08 81 03 95 05 75 01 05 08 19 01 29
05 91 02 95 01 75 03 91 03 95 06 75 08 15 00 26 ff 00 05 07 19 00 29 ff 81
00 c0 05 0c 09 01 a1 01 85 ff 05 06 95 01 75 02 19 24 29 26 81 02 95 01 75
06 81 01 c0 > >
aid 0x0207 (unknown)
< < uint 0x409 uint 0x100 > >
aid 0x0208 (unknown)
bool 0x0
aid 0x0209 (unknown)
bool 0x1
aid 0x020a (unknown)
bool 0x0
aid 0x020b (unknown)
uint 0x100
aid 0x020c (unknown)
uint 0xfa0
aid 0x020d (unknown)
bool 0x1
aid 0x020e (unknown)
bool 0x1
cont 00
< ACL data: handle 6 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 6 packets 9
> ACL data: handle 6 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
< ACL data: handle 6 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 17 scid 0x0040
> ACL data: handle 6 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
Connection successful
< ACL data: handle 6 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 48
> ACL data: handle 6 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 48
< ACL data: handle 6 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
Success
MTU 48
> ACL data: handle 6 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 1 clen 4
MTU 128
< ACL data: handle 6 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
MTU 48
> ACL data: handle 6 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 1 clen 4
MTU 128
< ACL data: handle 6 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
> ACL data: handle 6 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 6 packets 5
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 6 reason 0x13
Reason: Remote User Terminated Connection
> HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 6 reason 0x16
Reason: Connection Terminated by Local Host



On 4/22/07, CIJOML <[email protected]> wrote:
>
> Hi,
>
> use hidd --server --master and later hidd --connect BDADDR
>
> Michal
>
> Dne ned?le 22 duben 2007 19:38 Philip S. Trasatti Jr. napsal(a):
> > Recently I purchased a Freedom Input Mini Duo keyboard which has both
> the
> > HID and SPP profile. The manufacturer also advertises that it supports
> > Linux! I have tested it under Windows and it connects and functions
> > properly as a HID keyboard.
> >
> > ... manufacturer web page is here...
> >
> http://www.freedominput.com/site/index.php?option=com_content&task=view&id=
> >14&Itemid=29
> >
> > I'm using Gentoo with manually updated bluez-libs-3.9 and
> bluez-tools-3.9
> >
> > I can scan and find the keyboard fine...
> >
> > # hcitool scan
> > Scanning ...
> > 00:0B:0D:6F:7F:88 KEYBOARD
> >
> > and also l2ping it...
> >
> > # l2ping 00:0B:0D:6F:7F:88
> > Ping: 00:0B:0D:6F:7F:88 from 00:10:60:AF:BE:B6 (data size 44) ...
> > 0 bytes from 00:0B:0D:6F:7F:88 id 0 time 56.62ms
> > 0 bytes from 00:0B:0D:6F:7F:88 id 1 time 19.02ms
> > 0 bytes from 00:0B:0D:6F:7F:88 id 2 time 12.02ms
> > 0 bytes from 00:0B:0D:6F:7F:88 id 3 time 9.02ms
> > 4 sent, 4 received, 0% loss
> >
> > but when I try to connect to it nothing happens...
> >
> > # hcitool cc 00:0B:0D:6F:7F:88
> > # hcitool con
> > Connections:
> > #
> >
> > here is a hcidump of when I try to connect...
> >
> > # hcidump -X -V
> > HCI sniffer - Bluetooth packet analyzer ver 1.34
> > device: hci0 snap_len: 1028 filter: 0xffffffff
> > < HCI Command: Create Connection (0x01|0x0005) plen 13
> > bdaddr 00:0B:0D:6F:7F:88 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
> > Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> >
> > > HCI Event: Command Status (0x0f) plen 4
> >
> > Create Connection (0x01|0x0005) status 0x00 ncmd 1
> >
> > > HCI Event: Connect Complete (0x03) plen 11
> >
> > status 0x00 handle 6 bdaddr 00:0B:0D:6F:7F:88 type ACL encrypt 0x00
> > < HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
> > handle 6
> >
> > > HCI Event: Command Status (0x0f) plen 4
> >
> > Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> > < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> > handle 6 policy 0x0f
> > Link policy: RSWITCH HOLD SNIFF PARK
> >
> > > HCI Event: Command Complete (0x0e) plen 6
> >
> > Write Link Policy Settings (0x02|0x000d) ncmd 1
> > status 0x00 handle 6
> > < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> > bdaddr 00:0B:0D:6F:7F:88 mode 2 clkoffset 0x0000
> >
> > > HCI Event: Command Status (0x0f) plen 4
> >
> > Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> >
> > > HCI Event: Max Slots Change (0x1b) plen 3
> >
> > handle 6 slots 5
> >
> > > HCI Event: Read Remote Supported Features (0x0b) plen 11
> >
> > status 0x00 handle 6
> > Features: 0xff 0xff 0x05 0x38 0x18 0x18 0x00 0x00
> >
> > > HCI Event: Remote Name Req Complete (0x07) plen 255
> >
> > status 0x00 bdaddr 00:0B:0D:6F:7F:88 name 'KEYBOARD'
> > < HCI Command: Disconnect (0x01|0x0006) plen 3
> > handle 6 reason 0x13
> > Reason: Remote User Terminated Connection
> >
> > > HCI Event: Command Status (0x0f) plen 4
> >
> > Disconnect (0x01|0x0006) status 0x00 ncmd 1
> >
> > > HCI Event: Disconn Complete (0x05) plen 4
> >
> > status 0x00 handle 6 reason 0x16
> > Reason: Connection Terminated by Local Host
> >
> > Can someone point me in the right direction?
>


Attachments:
(No filename) (15.21 kB)
(No filename) (28.67 kB)
(No filename) (286.00 B)
(No filename) (164.00 B)
Download all attachments

2007-04-22 19:39:42

by CIJOML

[permalink] [raw]
Subject: Re: [Bluez-users] Can't connect to Freedom Input Mini Duo keyboard

Hi,

use hidd --server --master and later hidd --connect BDADDR

Michal

Dne ned=ECle 22 duben 2007 19:38 Philip S. Trasatti Jr. napsal(a):
> Recently I purchased a Freedom Input Mini Duo keyboard which has both the
> HID and SPP profile. The manufacturer also advertises that it supports
> Linux! I have tested it under Windows and it connects and functions
> properly as a HID keyboard.
>
> ... manufacturer web page is here...
> http://www.freedominput.com/site/index.php?option=3Dcom_content&task=3Dvi=
ew&id=3D
>14&Itemid=3D29
>
> I'm using Gentoo with manually updated bluez-libs-3.9 and bluez-tools-3.9
>
> I can scan and find the keyboard fine...
>
> # hcitool scan
> Scanning ...
> 00:0B:0D:6F:7F:88 KEYBOARD
>
> and also l2ping it...
>
> # l2ping 00:0B:0D:6F:7F:88
> Ping: 00:0B:0D:6F:7F:88 from 00:10:60:AF:BE:B6 (data size 44) ...
> 0 bytes from 00:0B:0D:6F:7F:88 id 0 time 56.62ms
> 0 bytes from 00:0B:0D:6F:7F:88 id 1 time 19.02ms
> 0 bytes from 00:0B:0D:6F:7F:88 id 2 time 12.02ms
> 0 bytes from 00:0B:0D:6F:7F:88 id 3 time 9.02ms
> 4 sent, 4 received, 0% loss
>
> but when I try to connect to it nothing happens...
>
> # hcitool cc 00:0B:0D:6F:7F:88
> # hcitool con
> Connections:
> #
>
> here is a hcidump of when I try to connect...
>
> # hcidump -X -V
> HCI sniffer - Bluetooth packet analyzer ver 1.34
> device: hci0 snap_len: 1028 filter: 0xffffffff
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:0B:0D:6F:7F:88 ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5
>
> > HCI Event: Command Status (0x0f) plen 4
>
> Create Connection (0x01|0x0005) status 0x00 ncmd 1
>
> > HCI Event: Connect Complete (0x03) plen 11
>
> status 0x00 handle 6 bdaddr 00:0B:0D:6F:7F:88 type ACL encrypt 0x00
> < HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
> handle 6
>
> > HCI Event: Command Status (0x0f) plen 4
>
> Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> handle 6 policy 0x0f
> Link policy: RSWITCH HOLD SNIFF PARK
>
> > HCI Event: Command Complete (0x0e) plen 6
>
> Write Link Policy Settings (0x02|0x000d) ncmd 1
> status 0x00 handle 6
> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> bdaddr 00:0B:0D:6F:7F:88 mode 2 clkoffset 0x0000
>
> > HCI Event: Command Status (0x0f) plen 4
>
> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
>
> > HCI Event: Max Slots Change (0x1b) plen 3
>
> handle 6 slots 5
>
> > HCI Event: Read Remote Supported Features (0x0b) plen 11
>
> status 0x00 handle 6
> Features: 0xff 0xff 0x05 0x38 0x18 0x18 0x00 0x00
>
> > HCI Event: Remote Name Req Complete (0x07) plen 255
>
> status 0x00 bdaddr 00:0B:0D:6F:7F:88 name 'KEYBOARD'
> < HCI Command: Disconnect (0x01|0x0006) plen 3
> handle 6 reason 0x13
> Reason: Remote User Terminated Connection
>
> > HCI Event: Command Status (0x0f) plen 4
>
> Disconnect (0x01|0x0006) status 0x00 ncmd 1
>
> > HCI Event: Disconn Complete (0x05) plen 4
>
> status 0x00 handle 6 reason 0x16
> Reason: Connection Terminated by Local Host
>
> Can someone point me in the right direction?

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users