2005-04-19 05:59:24

by Andre Baron

[permalink] [raw]
Subject: [Bluez-users] Apple BT Keyboard and Ubuntu Linux

Ok, this is probably something this list deals with on a regular basis;
I tried searching online, even on Marcel's site but I can't seem to find
the solution to my problem.

First off, some specs:

Ubuntu Linux
2.6.11 Kernel w/mh2 patch
Latest BlueZ Utiles (that available from the ubuntu sources)
Generic USB Bluetooth Adapter
Apple Bluetooth Keyboard

This setup works just fine to syncronize my T68 through Multisync but
when I try to connect to my keyboard here's what happens:

lampshade:/home/andre# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Function not implemented
lampshade:/home/andre# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Connection timed out
lampshade:/home/andre# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Device or resource busy

and if I try to search for my keyboard:

lampshade:/home/andre# hidd --search
Searching ...
Connecting to device 00:0A:95:3E:CC:74
Can't create HID control channel: Function not implemented

Now, I'm sure there is something that I forgot to do or don't know to do.

I'd appreciate any help, even one pointing me to a how to (I have a
feeling this keyboard may be a little special, so I'd love a specific
howto) If you need any more information I'll be glad to provide it.

TIA

Andre



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2005-04-20 06:32:36

by Andre Baron

[permalink] [raw]
Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux

Marcel Holtmann wrote:

>Hi Andre,
>
>
>now you have to fix this problem above. The hcid is not getting the
>correct PIN code from the PIN helper program. Check the mailing list
>archive for a solution or workaround for this problem.
>
>Regards
>
>Marcel
>
>
>
Thanks Marcel,

I got it working, turns out when I updated the bluez utils it overwrote
my old hcid.conf file, and disregarded the pin help program specified.
The one it put in it's place (bluepin) doesn't work, for whatever reason
(probably missing components to display it on my system). Whe I changed
it to bluez-pin it prmpted me just like it was sopposed to. Everything
is working great now.

Andre
--This email written on an Apple BT Keboard!


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-04-19 19:04:57

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux

Hi Andre,

> lampshade:/# hcidump -X -V
> HCI sniffer - Bluetooth packet analyzer ver 1.19
> device: hci0 snap_len: 1028 filter: 0xffffffff
> < HCI Command: Write Authentication Enable (0x03|0x0020) plen 1
> 0000: 01 .
> > HCI Event: Command Complete (0x0e) plen 4
> Write Authentication Enable (0x03|0x0020) ncmd 1
> 0000: 00 .
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:0A:95:3E:CC:74 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: Link Key Request (0x17) plen 6
> bdaddr 00:0A:95:3E:CC:74
> < HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
> bdaddr 00:0A:95:3E:CC:74
> > HCI Event: Command Complete (0x0e) plen 10
> Link Key Request Negative Reply (0x01|0x000c) ncmd 1
> status 0x00 bdaddr 00:0A:95:3E:CC:74
> > HCI Event: PIN Code Request (0x16) plen 6
> bdaddr 00:0A:95:3E:CC:74
> < HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6
> bdaddr 00:0A:95:3E:CC:74

now you have to fix this problem above. The hcid is not getting the
correct PIN code from the PIN helper program. Check the mailing list
archive for a solution or workaround for this problem.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-04-19 18:55:54

by Andre Baron

[permalink] [raw]
Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux

Marcel Holtmann wrote:

>check if hcid is running, because nobody is answering the pin code and
>link key requests.
>
>Regards
>
>Marcel
>
>
>
Ok Marcel, looks like it's running now:

hcidump:

lampshade:/# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.19
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Write Authentication Enable (0x03|0x0020) plen 1
0000: 01 .
> HCI Event: Command Complete (0x0e) plen 4
Write Authentication Enable (0x03|0x0020) ncmd 1
0000: 00 .
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:0A:95:3E:CC:74 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: Link Key Request (0x17) plen 6
bdaddr 00:0A:95:3E:CC:74
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
bdaddr 00:0A:95:3E:CC:74
> HCI Event: Command Complete (0x0e) plen 10
Link Key Request Negative Reply (0x01|0x000c) ncmd 1
status 0x00 bdaddr 00:0A:95:3E:CC:74
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:0A:95:3E:CC:74
< HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6
bdaddr 00:0A:95:3E:CC:74
> HCI Event: Command Complete (0x0e) plen 10
PIN Code Request Negative Reply (0x01|0x000e) ncmd 1
status 0x00 bdaddr 00:0A:95:3E:CC:74
> HCI Event: Connect Complete (0x03) plen 11
status 0x06 handle 41 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt 0x00
Error: PIN or Key Missing
< HCI Command: Inquiry (0x01|0x0001) plen 5
lap 0x9e8b33 len 8 num 0
> HCI Event: Command Status (0x0f) plen 4
Inquiry (0x01|0x0001) status 0x00 ncmd 1
> HCI Event: Inquiry Complete (0x01) plen 1
status 0x00
< HCI Command: Inquiry (0x01|0x0001) plen 5
lap 0x9e8b33 len 8 num 0
> HCI Event: Command Status (0x0f) plen 4
Inquiry (0x01|0x0001) status 0x00 ncmd 1
> HCI Event: Inquiry Complete (0x01) plen 1
status 0x00
< HCI Command: Inquiry (0x01|0x0001) plen 5
lap 0x9e8b33 len 8 num 0
> HCI Event: Command Status (0x0f) plen 4
Inquiry (0x01|0x0001) status 0x00 ncmd 1
> HCI Event: Inquiry Result (0x02) plen 15
bdaddr 00:0A:95:3E:CC:74 mode 1 clkoffset 0x16e8 class 0x002540
> HCI Event: Inquiry Complete (0x01) plen 1
status 0x00
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset 0x16e8
(valid)
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: Link Key Request (0x17) plen 6
bdaddr 00:0A:95:3E:CC:74
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
bdaddr 00:0A:95:3E:CC:74
> HCI Event: Command Complete (0x0e) plen 10
Link Key Request Negative Reply (0x01|0x000c) ncmd 1
status 0x00 bdaddr 00:0A:95:3E:CC:74
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:0A:95:3E:CC:74
< HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6
bdaddr 00:0A:95:3E:CC:74
> HCI Event: Command Complete (0x0e) plen 10
PIN Code Request Negative Reply (0x01|0x000e) ncmd 1
status 0x00 bdaddr 00:0A:95:3E:CC:74
> HCI Event: Connect Complete (0x03) plen 11
status 0x06 handle 41 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt 0x00
Error: PIN or Key Missing
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset 0x16e8
(valid)
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: Link Key Request (0x17) plen 6
bdaddr 00:0A:95:3E:CC:74
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6
bdaddr 00:0A:95:3E:CC:74
> HCI Event: Command Complete (0x0e) plen 10
Link Key Request Negative Reply (0x01|0x000c) ncmd 1
status 0x00 bdaddr 00:0A:95:3E:CC:74
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:0A:95:3E:CC:74
< HCI Command: PIN Code Request Negative Reply (0x01|0x000e) plen 6
bdaddr 00:0A:95:3E:CC:74
> HCI Event: Command Complete (0x0e) plen 10
PIN Code Request Negative Reply (0x01|0x000e) ncmd 1
status 0x00 bdaddr 00:0A:95:3E:CC:74
> HCI Event: Connect Complete (0x03) plen 11
status 0x06 handle 42 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt 0x00
Error: PIN or Key Missing

and commands:

lampshade:/etc/network# hidd --search
Searching ...
Connecting to device 00:0A:95:3E:CC:74
Can't create HID control channel: Connection timed out
lampshade:/etc/network# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Connection timed out
lampshade:/etc/network# hciconfig hic0 auth
lampshade:/etc/network# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Invalid exchange
lampshade:/etc/network# hidd --search
Searching ...
No devices in range or visible
lampshade:/etc/network# hidd --search
Searching ...
No devices in range or visible
lampshade:/etc/network# hidd --search
Searching ...
Connecting to device 00:0A:95:3E:CC:74
Can't create HID control channel: Invalid exchange
lampshade:/etc/network# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Invalid exchange


Now I have a feeling we're getting closer... I'm also curious about the
No Devices in range or visible message, there shouldn't be any sort of
range problems, I'm within about 50cm of the transmitter. I'm wondering
if the keyboard just isn't responding appropriatly.

Thanks again

Andre


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-04-19 18:45:50

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux

Hi Andre,

> Understood, I made sure I grabbed the latest libs and utils as well.
> hcidump:
>
> lampshade:/# hcidump -X -V
> HCI sniffer - Bluetooth packet analyzer ver 1.19
> device: hci0 snap_len: 1028 filter: 0xffffffff
> < HCI Command: Write Authentication Enable (0x03|0x0020) plen 1
> 0000: 01 .
> > HCI Event: Command Complete (0x0e) plen 4
> Write Authentication Enable (0x03|0x0020) ncmd 1
> 0000: 00 .
> < HCI Command: Inquiry (0x01|0x0001) plen 5
> lap 0x9e8b33 len 8 num 0
> > HCI Event: Command Status (0x0f) plen 4
> Inquiry (0x01|0x0001) status 0x00 ncmd 1
> > HCI Event: Inquiry Result (0x02) plen 15
> bdaddr 00:0A:95:3E:CC:74 mode 1 clkoffset 0x705c class 0x002540
> > HCI Event: Inquiry Complete (0x01) plen 1
> status 0x00
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset
> 0x705c (valid)
> 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: Link Key Request (0x17) plen 6
> bdaddr 00:0A:95:3E:CC:74
> > HCI Event: PIN Code Request (0x16) plen 6
> bdaddr 00:0A:95:3E:CC:74
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x10 handle 41 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt
> 0x00
> Error: Connection Accept Timeout Exceeded
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset
> 0x705c (valid)
> 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: Link Key Request (0x17) plen 6
> bdaddr 00:0A:95:3E:CC:74
> > HCI Event: PIN Code Request (0x16) plen 6
> bdaddr 00:0A:95:3E:CC:74
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x10 handle 42 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt
> 0x00
> Error: Connection Accept Timeout Exceeded

check if hcid is running, because nobody is answering the pin code and
link key requests.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-04-19 18:39:51

by Andre Baron

[permalink] [raw]
Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux

Marcel Holtmann wrote:

>Hi Andre,
>
>
>
>>hcidump -X -V gave me an error message that -V was an invalid option.
>>However I ran it without that option and here's the output.
>>
>>
>
>install the latest version, because I am not going to decode the HCI
>parts by myself anytime again.
>
>Regards
>
>Marcel
>
>
Understood, I made sure I grabbed the latest libs and utils as well.
hcidump:

lampshade:/# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.19
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Write Authentication Enable (0x03|0x0020) plen 1
0000: 01 .
> HCI Event: Command Complete (0x0e) plen 4
Write Authentication Enable (0x03|0x0020) ncmd 1
0000: 00 .
< HCI Command: Inquiry (0x01|0x0001) plen 5
lap 0x9e8b33 len 8 num 0
> HCI Event: Command Status (0x0f) plen 4
Inquiry (0x01|0x0001) status 0x00 ncmd 1
> HCI Event: Inquiry Result (0x02) plen 15
bdaddr 00:0A:95:3E:CC:74 mode 1 clkoffset 0x705c class 0x002540
> HCI Event: Inquiry Complete (0x01) plen 1
status 0x00
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset 0x705c
(valid)
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: Link Key Request (0x17) plen 6
bdaddr 00:0A:95:3E:CC:74
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:0A:95:3E:CC:74
> HCI Event: Connect Complete (0x03) plen 11
status 0x10 handle 41 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt 0x00
Error: Connection Accept Timeout Exceeded
< HCI Command: Create Connection (0x01|0x0005) plen 13
bdaddr 00:0A:95:3E:CC:74 ptype 0xcc18 rswitch 0x01 clkoffset 0x705c
(valid)
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: Link Key Request (0x17) plen 6
bdaddr 00:0A:95:3E:CC:74
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:0A:95:3E:CC:74
> HCI Event: Connect Complete (0x03) plen 11
status 0x10 handle 42 bdaddr 00:0A:95:3E:CC:74 type ACL encrypt 0x00
Error: Connection Accept Timeout Exceeded

Commands:
lampshade:/etc/network# hciconfig hic0 auth
lampshade:/etc/network# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Host is down
lampshade:/etc/network# hciconfig hic0 auth
You have new mail in /var/mail/andre
lampshade:/etc/network# hidd --search
Searching ...
Connecting to device 00:0A:95:3E:CC:74
Can't create HID control channel: Connection timed out
lampshade:/etc/network# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Connection timed out
lampshade:/etc/network#

Andre
(Hmm... should watch StarTrek TNG while composing emails, thier speach
infultrates the email)

2005-04-19 18:09:01

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux

Hi Andre,

> hcidump -X -V gave me an error message that -V was an invalid option.
> However I ran it without that option and here's the output.

install the latest version, because I am not going to decode the HCI
parts by myself anytime again.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-04-19 17:48:33

by Andre Baron

[permalink] [raw]
Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux

Marcel Holtmann wrote:

>Run "hcidump -X -V" as root and show us the dump while you are trying to
>connect. Try to input "0000" on your numeric pad and then press enter or
>call "hciconfig hci0 auth" before you connect for the first time.
>
>Regards
>
>Marcel
>
Hi Marcel

Thanks for the quick response.

Trust Apple to almost conform to standard, but now quite :P.

hcidump -X -V gave me an error message that -V was an invalid option.
However I ran it without that option and here's the output.

lampshade:/home/andre# hcidump -X
HCIDump - HCI packet analyzer ver 1.12
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Write Authentication Enable (0x03|0x0020) plen 1
0000: 01 .
> HCI Event: Command Complete (0x0e) plen 4
0000: 01 20 0c 00 . ..
< HCI Command: Inquiry (0x01|0x0001) plen 5
0000: 33 8b 9e 08 c8 3....
> HCI Event: Command Status (0x0f) plen 4
0000: 00 01 01 04 ....
> HCI Event: Inquiry Result (0x02) plen 15
0000: 01 74 cc 3e 95 0a 00 01 00 00 40 25 00 fb 58 .t.>......@%..X
> HCI Event: Inquiry Complete (0x01) plen 1
0000: 00 .
< HCI Command: Create Connection (0x01|0x0005) plen 13
0000: 74 cc 3e 95 0a 00 18 cc 01 00 fb d8 01 t.>..........
> HCI Event: Command Status (0x0f) plen 4
0000: 00 01 05 04 ....
> HCI Event: Link Key Request (0x17) plen 6
0000: 74 cc 3e 95 0a 00 t.>...
> HCI Event: PIN Code Request (0x16) plen 6
0000: 74 cc 3e 95 0a 00 t.>...
> HCI Event: Connect Complete (0x03) plen 11
0000: 10 29 00 74 cc 3e 95 0a 00 01 00 .).t.>.....
< HCI Command: Write Authentication Enable (0x03|0x0020) plen 1
0000: 01 .
> HCI Event: Command Complete (0x0e) plen 4
0000: 01 20 0c 00 . ..
< HCI Command: Create Connection (0x01|0x0005) plen 13
0000: 74 cc 3e 95 0a 00 18 cc 02 00 00 00 01 t.>..........
> HCI Event: Command Status (0x0f) plen 4
0000: 00 01 05 04 ....
> HCI Event: Connect Complete (0x03) plen 11
0000: 04 00 00 74 cc 3e 95 0a 00 01 00 ...t.>.....

during which I ran these commands:

lampshade:/etc/network# hciconfig hic0 auth
You have new mail in /var/mail/andre
lampshade:/etc/network# hidd --search
Searching ...
Connecting to device 00:0A:95:3E:CC:74
Can't create HID control channel: Connection timed out
lampshade:/etc/network# hciconfig hic0 auth
lampshade:/etc/network# hidd --conn 00:0A:95:3E:CC:74
Can't create HID control channel: Host is down

During this time I tried inputting 0000 and hit enter on the Apple keyboard.

Is this an expierence that most people encounter with one of these
keyboards? I'm just wondering if I should start thinking of trying my
hand at my first howto describing how to get this up and working.

Thanks Again

Andre


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-04-19 10:43:33

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] Apple BT Keyboard and Ubuntu Linux

Hi Andre,

> Ok, this is probably something this list deals with on a regular basis;
> I tried searching online, even on Marcel's site but I can't seem to find
> the solution to my problem.
>
> First off, some specs:
>
> Ubuntu Linux
> 2.6.11 Kernel w/mh2 patch
> Latest BlueZ Utiles (that available from the ubuntu sources)
> Generic USB Bluetooth Adapter
> Apple Bluetooth Keyboard
>
> This setup works just fine to syncronize my T68 through Multisync but
> when I try to connect to my keyboard here's what happens:
>
> lampshade:/home/andre# hidd --conn 00:0A:95:3E:CC:74
> Can't create HID control channel: Function not implemented
> lampshade:/home/andre# hidd --conn 00:0A:95:3E:CC:74
> Can't create HID control channel: Connection timed out
> lampshade:/home/andre# hidd --conn 00:0A:95:3E:CC:74
> Can't create HID control channel: Device or resource busy
>
> and if I try to search for my keyboard:
>
> lampshade:/home/andre# hidd --search
> Searching ...
> Connecting to device 00:0A:95:3E:CC:74
> Can't create HID control channel: Function not implemented
>
> Now, I'm sure there is something that I forgot to do or don't know to do.
>
> I'd appreciate any help, even one pointing me to a how to (I have a
> feeling this keyboard may be a little special, so I'd love a specific
> howto) If you need any more information I'll be glad to provide it.

the Apple keeping is using security mode 3, which it should not, but ...

Run "hcidump -X -V" as root and show us the dump while you are trying to
connect. Try to input "0000" on your numeric pad and then press enter or
call "hciconfig hci0 auth" before you connect for the first time.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users