* [Bluez-users] Apple keyboard problem
@ 2005-01-09 21:23 Ian Gulliver
2005-01-10 2:36 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Ian Gulliver @ 2005-01-09 21:23 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1.1: Type: text/plain, Size: 1036 bytes --]
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.
--
Ian Gulliver
Penguin Hosting
"Failure is not an option; it comes bundled with your Microsoft products."
[-- Attachment #1.2: keyboard-problem.dump --]
[-- Type: application/octet-stream, Size: 160 bytes --]
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Apple keyboard problem
2005-01-10 2:36 ` Marcel Holtmann
@ 2005-01-09 23:58 ` Ian Gulliver
2005-01-10 4:05 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Ian Gulliver @ 2005-01-09 23:58 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]
> > 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
:)
--
Ian Gulliver
Penguin Hosting
"Failure is not an option; it comes bundled with your Microsoft products."
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Apple keyboard problem
2005-01-09 21:23 [Bluez-users] Apple keyboard problem Ian Gulliver
@ 2005-01-10 2:36 ` Marcel Holtmann
2005-01-09 23:58 ` Ian Gulliver
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2005-01-10 2:36 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Ian,
> 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 ...
> 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
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Apple keyboard problem
2005-01-09 23:58 ` Ian Gulliver
@ 2005-01-10 4:05 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2005-01-10 4:05 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Ian,
> > > 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
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-01-10 4:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-09 21:23 [Bluez-users] Apple keyboard problem Ian Gulliver
2005-01-10 2:36 ` Marcel Holtmann
2005-01-09 23:58 ` Ian Gulliver
2005-01-10 4:05 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox