All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] MS keyboard and mouse problem
@ 2003-10-27 18:58 Michal Semler (volny.cz)
  2003-10-27 20:00 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Semler (volny.cz) @ 2003-10-27 18:58 UTC (permalink / raw)
  To: bluez-users

Hi,

today I bought in Germany - hi Marcel :) Microsoft wireless Opticcal desktop 
for bluetooth, but I can't connect it... :(

tata:/home/cijoml# hcitool scan
Scanning ...
        00:50:F2:7F:3A:4C       Microsoft Mouse
        00:50:F2:80:73:92       Microsoft Keyboard
        00:A0:96:1F:B0:0C       Linux

Mouse:
tata:/home/cijoml# hcitool info 00:50:F2:7F:3A:4C
Requesting information ...
Can't create connection: Input/output error

tata:/home/cijoml# hcidump
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection(0x01|0x0005) plen 13
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Link Key Request(0x17) plen 6
< HCI Command: Link Key Request Negative Reply(0x01|0x000c) plen 6
> HCI Event: Command Complete(0x0e) plen 10
> HCI Event: PIN Code Request(0x16) plen 6
< HCI Command: PIN Code Request Negative Reply(0x01|0x000e) plen 6
> HCI Event: Command Complete(0x0e) plen 10
> HCI Event: Connect Complete(0x03) plen 11

Keyboard:
tata:/home/cijoml# hcidump
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection(0x01|0x0005) plen 13
> HCI Event: Command Status(0x0f) plen 4
> HCI Event: Link Key Request(0x17) plen 6
< HCI Command: Link Key Request Negative Reply(0x01|0x000c) plen 6
> HCI Event: Command Complete(0x0e) plen 10
> HCI Event: PIN Code Request(0x16) plen 6
< HCI Command: PIN Code Request Negative Reply(0x01|0x000e) plen 6
> HCI Event: Command Complete(0x0e) plen 10
> HCI Event: Connect Complete(0x03) plen 11

tata:/home/cijoml# hcitool info 00:50:F2:80:73:92
Requesting information ...
Can't create connection: Input/output error

Config files:
hcid:
# HCId options
options {
        # Automatically initialize new devices
        autoinit yes;

        # Security Manager mode
        #   none - Security manager disabled
        #   auto - Use local PIN for incoming connections
        #   user - Always ask user for a PIN
        #
        security auto;

        # Pairing mode
        #   none  - Pairing disabled
        #   multi - Allow pairing with already paired devices
        #   once  - Pair once and deny successive attempts
        pairing multi;

        # PIN helper
        pin_helper /bin/bluepin;
}

# Default settings for HCI devices
device {
        # Local device name
        #   %d - device id
        #   %h - host name
        #name "BlueZ (%d)";
        name "Linux";

        # Local device class
        #class 0x10c;
        class 0x100100;

        # Default packet type
        pkt_type DH1,DM1,HV1;

        # Inquiry and Page scan
        iscan enable; pscan enable;

        # Default link mode
        #   none   - no specific policy
        #   accept - always accept incoming connections
        #   master - become master on incoming connections,
        #            deny role switch on outgoing connections
        #
        #lm accept,master;
        #
        lm accept,master;

        # Default link policy
        #   none    - no specific policy
        #   rswitch - allow role switch
        #   hold    - allow hold mode
        #   sniff   - allow sniff mode
        #   park    - allow park mode
        #
        #lp hold,sniff;
        #
        lp hold,sniff,park,rswitch;

        # Authentication and Encryption
        auth enable;
        encrypt enable;
}
----

My opinion - bad pairing key - but I never found it - in box there it was'nt 
and Windows tools I can't use because of another language version of  WinXP.

Thanks a lot for reply - pairing key

Michal



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
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] MS keyboard and mouse problem
  2003-10-27 18:58 [Bluez-users] MS keyboard and mouse problem Michal Semler (volny.cz)
@ 2003-10-27 20:00 ` Marcel Holtmann
  2003-10-27 20:20   ` Michal Semler (volny.cz)
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2003-10-27 20:00 UTC (permalink / raw)
  To: cijoml; +Cc: BlueZ Mailing List

Hi Michal,

>         # Authentication and Encryption
>         auth enable;
>         encrypt enable;

don't do this, because the mouse didn't support auth or encrypt. And the
keyboard also works without it. It is the job of the HID service daemon
to enable encryption after the L2CAP channels are established.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
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] MS keyboard and mouse problem
  2003-10-27 20:00 ` Marcel Holtmann
@ 2003-10-27 20:20   ` Michal Semler (volny.cz)
  2003-10-27 20:37     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Semler (volny.cz) @ 2003-10-27 20:20 UTC (permalink / raw)
  To: Marcel Holtmann; +Cc: bluez-users

Marcel,

YES! That helped! And now please tell me where and how could I download
your HID implementation.

I don't want use bthid when official HID exists for BlueZ..is somewhere any=
=20
howto too for this implementation?

Thanks

Michal

Dne po 27. =F8=EDjna 2003 21:00 jste napsal(a):
> Hi Michal,
>
> >         # Authentication and Encryption
> >         auth enable;
> >         encrypt enable;
>
> don't do this, because the mouse didn't support auth or encrypt. And the
> keyboard also works without it. It is the job of the HID service daemon
> to enable encryption after the L2CAP channels are established.
>
> Regards
>
> Marcel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] MS keyboard and mouse problem
  2003-10-27 20:20   ` Michal Semler (volny.cz)
@ 2003-10-27 20:37     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2003-10-27 20:37 UTC (permalink / raw)
  To: cijoml; +Cc: BlueZ Mailing List

Hi Michal,

> YES! That helped! And now please tell me where and how could I download
> your HID implementation.
> 
> I don't want use bthid when official HID exists for BlueZ..is somewhere any 
> howto too for this implementation?

start using the code from Peter, because my code is far from ready for
mainstream use. The userspace part is mostly finished, but it depends on
a kernel HID parser. My basic intention was to reuse the USB HID parser
for Bluetooth, but at the moment the hid.o kernel module is hardly bound
to the USB subsystem. I thought it was easier to seperate it from the
USB transport layer, but now I know that it takes longer as expected.

My modification of the USB HID parser will result in a general access to
the HID parser from userspace. I will post a design document when I get
some more time to write my stuff down. Keep a look a my page for new
information.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
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:[~2003-10-27 20:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-27 18:58 [Bluez-users] MS keyboard and mouse problem Michal Semler (volny.cz)
2003-10-27 20:00 ` Marcel Holtmann
2003-10-27 20:20   ` Michal Semler (volny.cz)
2003-10-27 20:37     ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.