Skip to contentSkip to conversation

Apple keyboard problem

Bluez-users Ian Gulliver 2 participants 4 messages Jan 9, 2005 – Jan 10, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I have an Apple bluetooth keyboard and mouse. I can connect to and use the mouse as expected. However, attempting to connect to the keyboard:

sheba% sudo hcitool scan
Scanning ...

	00:0A:95:3A:4E:1C	ian’s keyboard

gives me:

sheba% sudo hidd --search
Bluetooth: HIDP (Human Interface Emulation) ver 1.0 Searching ...

        Connecting to device 00:0A:95:3A:4E:1C

Can't create HID control channel: Function not implemented

I never get a PIN entry request (as I did with the mouse) or any other error. There's a long pause between the "Connecting to device" and the "Can't create". According to lib.c in the kernel, ENOSYS is returned on an unrecognized error code, but I don't know enough about the packet formats to figure out what byte is the error code, or what else it might mean. Attached is an hcidump during the "hidd --search" run.

Any suggestions would be *greatly* appreciated.

Signature · 3 lines
Ian Gulliver
Penguin Hosting
"Failure is not an option; it comes bundled with your Microsoft products."
maintainer
#1 lore raw

Hi Ian,

Quoted 12 lines

I have an Apple bluetooth keyboard and mouse. I can connect to and use the mouse as expected. However, attempting to connect to the keyboard:
=20
sheba% sudo hcitool scan
Scanning ...

	00:0A:95:3A:4E:1C	ian=C3=A2=E2=82=AC=E2=84=A2s keyboard

=20
gives me:
=20
sheba% sudo hidd --search
Bluetooth: HIDP (Human Interface Emulation) ver 1.0 Searching ...

Quoted 8 lines
        Connecting to device 00:0A:95:3A:4E:1C

Can't create HID control channel: Function not implemented =20
I never get a PIN entry request (as I did with the mouse) or any other error. There's a long pause between the "Connecting to device" and the "Can't create". According to lib.c in the kernel, ENOSYS is returned on an unrecognized error code, but I don't know enough about the packet formats to figure out what byte is the error code, or what else it migh=

t

Quoted 1 line

mean. Attached is an hcidump during the "hidd --search" run.

at that pause you should type a numeric PIN on your keyboard and then press return.

Regards

Marcel

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 9 lines
Quoted 6 lines

I never get a PIN entry request (as I did with the mouse) or any other error. There's a long pause between the "Connecting to device" and the "Can't create". According to lib.c in the kernel, ENOSYS is returned on an unrecognized error code, but I don't know enough about the packet formats to figure out what byte is the error code, or what else it might mean. Attached is an hcidump during the "hidd --search" run.

at that pause you should type a numeric PIN on your keyboard and then press return.

Sorry, wasn't clear enough. When I'm running in X, the PIN dialog pops up as expected for the mouse, and not for the keyboard. The blocking call for that pause from hidd, according to strace, is:

bind(4, {sa_family=AF_BLUETOOTH, sa_data="\0\0\212\323\4\241\16\0\0\0\0\0\0\0"}, 10) = 0 setsockopt(4, SOL_TCP, TCP_NODELAY, "0\0000\0\377\377", 6) = 0
connect(4, {sa_family=AF_BLUETOOTH, sa_data="\21\0\34N:\225\n\0\0\0\0\0\0\0"}, 10

(pause is here)

= -1 ENOSYS (Function not implemented)

Typing a PIN in that space simply causes the expected:

sheba% 0000
zsh: command not found: 0000

:)

Signature · 3 lines
Ian Gulliver
Penguin Hosting
"Failure is not an option; it comes bundled with your Microsoft products."
maintainer
#3 lore raw

Hi Ian,

Quoted 18 lines
Quoted 9 lines
Quoted 6 lines

I never get a PIN entry request (as I did with the mouse) or any other error. There's a long pause between the "Connecting to device" and the "Can't create". According to lib.c in the kernel, ENOSYS is returned on an unrecognized error code, but I don't know enough about the packet formats to figure out what byte is the error code, or what else it might mean. Attached is an hcidump during the "hidd --search" run.

at that pause you should type a numeric PIN on your keyboard and then press return.

Sorry, wasn't clear enough. When I'm running in X, the PIN dialog pops up as expected for the mouse, and not for the keyboard. The blocking call for that pause from hidd, according to strace, is:

bind(4, {sa_family=AF_BLUETOOTH, sa_data="\0\0\212\323\4\241\16\0\0\0\0\0\0\0"}, 10) = 0 setsockopt(4, SOL_TCP, TCP_NODELAY, "0\0000\0\377\377", 6) = 0
connect(4, {sa_family=AF_BLUETOOTH, sa_data="\21\0\34N:\225\n\0\0\0\0\0\0\0"}, 10

Quoted 8 lines

(pause is here)

= -1 ENOSYS (Function not implemented)

Typing a PIN in that space simply causes the expected:

sheba% 0000
zsh: command not found: 0000

you should type the PIN on the keypad of the Bluetooth keyboard. After that the PIN dialog should popup and you have to repeat the PIN.

Regards

Marcel

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users