public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] diNovo/MX900 problem with hidd
@ 2005-07-08 23:38 Patrick W. Healy
  2005-07-09  7:49 ` Marcel Holtmann
  2005-07-09  9:48 ` [Bluez-users] " Dick
  0 siblings, 2 replies; 10+ messages in thread
From: Patrick W. Healy @ 2005-07-08 23:38 UTC (permalink / raw)
  To: bluez-users

Greetings, everyone. I'm having some issues with getting my bluetooth 
keyboard and mouse to work, and they're getting rather frustrating. 
Perhaps someone can help me.

I have a Logitech diNovo media desktop and the matching MX900 mouse, 
which I am attempting to pair with the internal bluetooth on my Dell 
Inspiron 8500. I can get them to pair successfully, and even move and 
type, but the mouse movement is extremely jerky and useless, while the 
keyboard types erratically and quite often repeats keystrokes.

I'm using a 2.6.12 kernel and the latest bluez in debian unstable (hcid 
2.15) along with all the bluetooth modules compiled and ready.

I also usually receive a message saying "Can't create HID control 
channel: Invalid exchange", along with input output errors and errors 
about the file descriptor being in a bad state. Sometimes the pin auth 
system comes up, sometimes it doesn't.

Any help? I'd be happy to provide any additional information needed.


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] diNovo/MX900 problem with hidd
  2005-07-08 23:38 [Bluez-users] diNovo/MX900 problem with hidd Patrick W. Healy
@ 2005-07-09  7:49 ` Marcel Holtmann
  2005-07-09  9:48 ` [Bluez-users] " Dick
  1 sibling, 0 replies; 10+ messages in thread
From: Marcel Holtmann @ 2005-07-09  7:49 UTC (permalink / raw)
  To: bluez-users

Hi Patrick,

> Greetings, everyone. I'm having some issues with getting my bluetooth 
> keyboard and mouse to work, and they're getting rather frustrating. 
> Perhaps someone can help me.
> 
> I have a Logitech diNovo media desktop and the matching MX900 mouse, 
> which I am attempting to pair with the internal bluetooth on my Dell 
> Inspiron 8500. I can get them to pair successfully, and even move and 
> type, but the mouse movement is extremely jerky and useless, while the 
> keyboard types erratically and quite often repeats keystrokes.
> 
> I'm using a 2.6.12 kernel and the latest bluez in debian unstable (hcid 
> 2.15) along with all the bluetooth modules compiled and ready.
> 
> I also usually receive a message saying "Can't create HID control 
> channel: Invalid exchange", along with input output errors and errors 
> about the file descriptor being in a bad state. Sometimes the pin auth 
> system comes up, sometimes it doesn't.

show us the output of "hciconfig -a".

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] Re: diNovo/MX900 problem with hidd
  2005-07-08 23:38 [Bluez-users] diNovo/MX900 problem with hidd Patrick W. Healy
  2005-07-09  7:49 ` Marcel Holtmann
@ 2005-07-09  9:48 ` Dick
  2005-07-09 13:26   ` Patrick W. Healy
  1 sibling, 1 reply; 10+ messages in thread
From: Dick @ 2005-07-09  9:48 UTC (permalink / raw)
  To: bluez-users

Patrick W. Healy <phealy <at> phealy.com> writes:   
> Greetings, everyone. I'm having some issues with getting my bluetooth    
> keyboard and mouse to work, and they're getting rather frustrating.    
> Perhaps someone can help me.   
>    
> I have a Logitech diNovo media desktop and the matching MX900 mouse,    
> which I am attempting to pair with the internal bluetooth on my Dell    
> Inspiron 8500. I can get them to pair successfully, and even move and    
> type, but the mouse movement is extremely jerky and useless, while the    
> keyboard types erratically and quite often repeats keystrokes.   
>    
> I'm using a 2.6.12 kernel and the latest bluez in debian unstable (hcid    
> 2.15) along with all the bluetooth modules compiled and ready.   
>    
> I also usually receive a message saying "Can't create HID control    
> channel: Invalid exchange", along with input output errors and errors    
> about the file descriptor being in a bad state. Sometimes the pin auth    
> system comes up, sometimes it doesn't.   
>    
> Any help? I'd be happy to provide any additional information needed.   
   
I've got a Logitech dinovo and it works like a charm on my Dell Latitude D800,   
I've had some bad experience with an external sitecom dongle (laggy mouse)   
   
You should enable auth and encrypt in hcid.conf, or enable it manually with   
hciconfig hci0 auth encrypt   
   
If your keyboard / mouse are already associated you should move the mouse   
around for a while to reconnect and keep pressing enter on the keyboard until   
it connects. If that failes you should press the connect buttons and start   
scanning with hidd --search. I'm using kbluepin as pin helper, so I must have a  
running X server for the association. Your error messages might be related to  
that (a failing pin helper).  
  
I'm really happy with my dinovo and bluez, it's way better than the  
apple/widcomm/microsoft bluetooth stacks and I hope this helps. 
 
greetings, 
Dick 



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: diNovo/MX900 problem with hidd
  2005-07-09  9:48 ` [Bluez-users] " Dick
@ 2005-07-09 13:26   ` Patrick W. Healy
  2005-07-09 20:25     ` Patrick W. Healy
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick W. Healy @ 2005-07-09 13:26 UTC (permalink / raw)
  To: bluez-users

You know, one thing I just realized I forgot to mention...

When I do get it to pair (which I apparently can't right now), hidd 
--show lists it as a "boot mode device" even though /var/log/daemon.log 
shows it as a Logitech MX900.

I have tried it with auth/encrypt on, although I don't think they're on 
as of the hciconfig -a I just sent.

--
Patrick Healy

Dick wrote:

>Patrick W. Healy <phealy <at> phealy.com> writes:   
>  
>
>>Greetings, everyone. I'm having some issues with getting my bluetooth    
>>keyboard and mouse to work, and they're getting rather frustrating.    
>>Perhaps someone can help me.   
>>   
>>I have a Logitech diNovo media desktop and the matching MX900 mouse,    
>>which I am attempting to pair with the internal bluetooth on my Dell    
>>Inspiron 8500. I can get them to pair successfully, and even move and    
>>type, but the mouse movement is extremely jerky and useless, while the    
>>keyboard types erratically and quite often repeats keystrokes.   
>>   
>>I'm using a 2.6.12 kernel and the latest bluez in debian unstable (hcid    
>>2.15) along with all the bluetooth modules compiled and ready.   
>>   
>>I also usually receive a message saying "Can't create HID control    
>>channel: Invalid exchange", along with input output errors and errors    
>>about the file descriptor being in a bad state. Sometimes the pin auth    
>>system comes up, sometimes it doesn't.   
>>   
>>Any help? I'd be happy to provide any additional information needed.   
>>    
>>
>   
>I've got a Logitech dinovo and it works like a charm on my Dell Latitude D800,   
>I've had some bad experience with an external sitecom dongle (laggy mouse)   
>   
>You should enable auth and encrypt in hcid.conf, or enable it manually with   
>hciconfig hci0 auth encrypt   
>   
>If your keyboard / mouse are already associated you should move the mouse   
>around for a while to reconnect and keep pressing enter on the keyboard until   
>it connects. If that failes you should press the connect buttons and start   
>scanning with hidd --search. I'm using kbluepin as pin helper, so I must have a  
>running X server for the association. Your error messages might be related to  
>that (a failing pin helper).  
>  
>I'm really happy with my dinovo and bluez, it's way better than the  
>apple/widcomm/microsoft bluetooth stacks and I hope this helps. 
> 
>greetings, 
>Dick 
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
>July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
>core and dual graphics technology at this free one hour event hosted by HP, 
>AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>  
>



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: diNovo/MX900 problem with hidd
  2005-07-09 13:26   ` Patrick W. Healy
@ 2005-07-09 20:25     ` Patrick W. Healy
  2005-07-09 20:30       ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick W. Healy @ 2005-07-09 20:25 UTC (permalink / raw)
  To: bluez-users

Hmm. Noticed this on boot:
hci_usb: Unknown symbol hci_free_dev
hci_usb: Unknown symbol hci_alloc_dev
hci_usb: Unknown symbol hci_unregister_dev
hci_usb: Unknown symbol hci_register_dev
hci_usb: Unknown symbol hci_free_dev
hci_usb: Unknown symbol hci_alloc_dev
hci_usb: Unknown symbol hci_unregister_dev
hci_usb: Unknown symbol hci_register_dev

Interesting, anyone?

Patrick W. Healy wrote:

> You know, one thing I just realized I forgot to mention...
>
> When I do get it to pair (which I apparently can't right now), hidd 
> --show lists it as a "boot mode device" even though 
> /var/log/daemon.log shows it as a Logitech MX900.
>
> I have tried it with auth/encrypt on, although I don't think they're 
> on as of the hciconfig -a I just sent.
>
> -- 
> Patrick Healy
>
> Dick wrote:
>
>> Patrick W. Healy <phealy <at> phealy.com> writes:    
>>
>>> Greetings, everyone. I'm having some issues with getting my 
>>> bluetooth    keyboard and mouse to work, and they're getting rather 
>>> frustrating.    Perhaps someone can help me.     I have a Logitech 
>>> diNovo media desktop and the matching MX900 mouse,    which I am 
>>> attempting to pair with the internal bluetooth on my Dell    
>>> Inspiron 8500. I can get them to pair successfully, and even move 
>>> and    type, but the mouse movement is extremely jerky and useless, 
>>> while the    keyboard types erratically and quite often repeats 
>>> keystrokes.     I'm using a 2.6.12 kernel and the latest bluez in 
>>> debian unstable (hcid    2.15) along with all the bluetooth modules 
>>> compiled and ready.     I also usually receive a message saying 
>>> "Can't create HID control    channel: Invalid exchange", along with 
>>> input output errors and errors    about the file descriptor being in 
>>> a bad state. Sometimes the pin auth    system comes up, sometimes it 
>>> doesn't.     Any help? I'd be happy to provide any additional 
>>> information needed.     
>>
>>   I've got a Logitech dinovo and it works like a charm on my Dell 
>> Latitude D800,   I've had some bad experience with an external 
>> sitecom dongle (laggy mouse)     You should enable auth and encrypt 
>> in hcid.conf, or enable it manually with   hciconfig hci0 auth 
>> encrypt     If your keyboard / mouse are already associated you 
>> should move the mouse   around for a while to reconnect and keep 
>> pressing enter on the keyboard until   it connects. If that failes 
>> you should press the connect buttons and start   scanning with hidd 
>> --search. I'm using kbluepin as pin helper, so I must have a  running 
>> X server for the association. Your error messages might be related 
>> to  that (a failing pin helper).   
>> I'm really happy with my dinovo and bluez, it's way better than the  
>> apple/widcomm/microsoft bluetooth stacks and I hope this helps.
>> greetings, Dick
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by the 'Do More With Dual!' webinar 
>> happening
>> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
>> core and dual graphics technology at this free one hour event hosted 
>> by HP, AMD, and NVIDIA.  To register visit 
>> http://www.hp.com/go/dualwebinar
>> _______________________________________________
>> Bluez-users mailing list
>> Bluez-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bluez-users
>>  
>>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar 
> happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
> core and dual graphics technology at this free one hour event hosted 
> by HP, AMD, and NVIDIA.  To register visit 
> http://www.hp.com/go/dualwebinar
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: diNovo/MX900 problem with hidd
  2005-07-09 20:25     ` Patrick W. Healy
@ 2005-07-09 20:30       ` Marcel Holtmann
  2005-07-09 22:22         ` Patrick W. Healy
  0 siblings, 1 reply; 10+ messages in thread
From: Marcel Holtmann @ 2005-07-09 20:30 UTC (permalink / raw)
  To: bluez-users

Hi Patrick,

> Hmm. Noticed this on boot:
> hci_usb: Unknown symbol hci_free_dev
> hci_usb: Unknown symbol hci_alloc_dev
> hci_usb: Unknown symbol hci_unregister_dev
> hci_usb: Unknown symbol hci_register_dev
> hci_usb: Unknown symbol hci_free_dev
> hci_usb: Unknown symbol hci_alloc_dev
> hci_usb: Unknown symbol hci_unregister_dev
> hci_usb: Unknown symbol hci_register_dev
> 
> Interesting, anyone?

this happens sometimes and some not. I have no idea why.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: diNovo/MX900 problem with hidd
  2005-07-09 20:30       ` Marcel Holtmann
@ 2005-07-09 22:22         ` Patrick W. Healy
  2005-07-10  8:00           ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick W. Healy @ 2005-07-09 22:22 UTC (permalink / raw)
  To: bluez-users

Here's a really weird one:

Used hcitool cc to connect to my mediapad, authed it, got a valid link key:
Jul  9 17:09:07 localhost hcid[7758]: link_key_request 
(sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
Jul  9 17:09:07 localhost hcid[7758]: pin_code_request 
(sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
Jul  9 17:09:13 localhost hcid[7758]: link_key_notify 
(sba=00:10:C6:3B:0B:95)
Jul  9 17:09:13 localhost hcid[7758]: Saving link key 00:10:C6:3B:0B:95 
00:07:61:12:60:11

hciconfig -a shows:
hci0:   Type: USB
        BD Address: 00:10:C6:3B:0B:95 ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
        RX bytes:5867 acl:236 sco:0 events:195 errors:0
        TX bytes:2150 acl:47 sco:0 commands:47 errors:0
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'nimitz-0'
        Class: 0x3e0100
        Service Classes: Networking, Rendering, Capturing
        Device Class: Computer, Uncategorized
        HCI Ver: 1.1 (0x1) HCI Rev: 0x235 LMP Ver: 1.1 (0x1) LMP Subver: 
0x235
        Manufacturer: Cambridge Silicon Radio (10)

hcitool con shows:
Connections:
        < ACL 00:07:61:12:60:11 handle 41 state 1 lm MASTER AUTH ENCRYPT

Immediately after all this, hidd --search returns "No devices in range 
or visible"... yet my mediapad lets me type WHILE it is searching.
As soon as it's done searching, it quits. After three more searches, 
hidd --search returns "Can't create HID control channel: Connection refused"

hidd --show then returns:
00:07:61:12:60:11 HID Boot Device [046d:b3e1] connected [boot-protocol]

and the keyboard works, albeit with horrendous (15 seconds) lag between 
my typing and it appearing on screen, along with fairly frequent key 
repeats (key acts like I'm just holding it down for 15 seconds or so).

If I push the connect button and then do hidd --search, hidd displays 
the following:
Searching ...
        Connecting to device 00:07:61:12:60:11
then the pin request window comes up... I put in 1234 on the computer, 
then am prompted for a pin by the mediapad. I put in 1234, get the 
'connected' light, and see the following in /var/log/daemon.log:
Jul  9 17:18:34 localhost hcid[7758]: link_key_request 
(sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
Jul  9 17:18:34 localhost hcid[7758]: pin_code_request 
(sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
Jul  9 17:18:40 localhost hcid[7758]: link_key_notify 
(sba=00:10:C6:3B:0B:95)
Jul  9 17:18:40 localhost hcid[7758]: Replacing link key 
00:10:C6:3B:0B:95 00:07:61:12:60:11

after about another 30 seconds or so, hidd --search returns with "HID 
create error 110 (Connection timed out)"

Hope this is enough information for someone to assist me on this. It's 
getting really frustrating, because using my laptop's internal keyboard 
hurts my wrists. If I can't get it working in the next few days I'll 
have to go back to windows on this system (and that would make me very sad).

Thanks!

Patrick Healy


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: diNovo/MX900 problem with hidd
  2005-07-09 22:22         ` Patrick W. Healy
@ 2005-07-10  8:00           ` Marcel Holtmann
  2005-07-10 14:07             ` Patrick W. Healy
  0 siblings, 1 reply; 10+ messages in thread
From: Marcel Holtmann @ 2005-07-10  8:00 UTC (permalink / raw)
  To: bluez-users

Hi Patrick,

> Used hcitool cc to connect to my mediapad, authed it, got a valid link key:
> Jul  9 17:09:07 localhost hcid[7758]: link_key_request 
> (sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
> Jul  9 17:09:07 localhost hcid[7758]: pin_code_request 
> (sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
> Jul  9 17:09:13 localhost hcid[7758]: link_key_notify 
> (sba=00:10:C6:3B:0B:95)
> Jul  9 17:09:13 localhost hcid[7758]: Saving link key 00:10:C6:3B:0B:95 
> 00:07:61:12:60:11

don't use "hcitool cc" for creating a connection. This is a testing
command only and the kernel will create the low-level ACL connections if
needed.

> hciconfig -a shows:
> hci0:   Type: USB
>         BD Address: 00:10:C6:3B:0B:95 ACL MTU: 192:8 SCO MTU: 64:8
>         UP RUNNING PSCAN ISCAN AUTH ENCRYPT
>         RX bytes:5867 acl:236 sco:0 events:195 errors:0
>         TX bytes:2150 acl:47 sco:0 commands:47 errors:0
>         Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
>         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
>         Link policy: RSWITCH HOLD SNIFF PARK
>         Link mode: SLAVE ACCEPT
>         Name: 'nimitz-0'
>         Class: 0x3e0100
>         Service Classes: Networking, Rendering, Capturing
>         Device Class: Computer, Uncategorized
>         HCI Ver: 1.1 (0x1) HCI Rev: 0x235 LMP Ver: 1.1 (0x1) LMP Subver: 
> 0x235
>         Manufacturer: Cambridge Silicon Radio (10)

If you enable AUTH and ENCRYPT you set your local device into security
mode 3. Do this only if you really know what you are doing.

> hcitool con shows:
> Connections:
>         < ACL 00:07:61:12:60:11 handle 41 state 1 lm MASTER AUTH ENCRYPT
> 
> Immediately after all this, hidd --search returns "No devices in range 
> or visible"... yet my mediapad lets me type WHILE it is searching.
> As soon as it's done searching, it quits. After three more searches, 
> hidd --search returns "Can't create HID control channel: Connection refused"

What do you expect to find if you are already connected?

> If I push the connect button and then do hidd --search, hidd displays 
> the following:
> Searching ...
>         Connecting to device 00:07:61:12:60:11
> then the pin request window comes up... I put in 1234 on the computer, 
> then am prompted for a pin by the mediapad. I put in 1234, get the 
> 'connected' light, and see the following in /var/log/daemon.log:
> Jul  9 17:18:34 localhost hcid[7758]: link_key_request 
> (sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
> Jul  9 17:18:34 localhost hcid[7758]: pin_code_request 
> (sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
> Jul  9 17:18:40 localhost hcid[7758]: link_key_notify 
> (sba=00:10:C6:3B:0B:95)
> Jul  9 17:18:40 localhost hcid[7758]: Replacing link key 
> 00:10:C6:3B:0B:95 00:07:61:12:60:11
> 
> after about another 30 seconds or so, hidd --search returns with "HID 
> create error 110 (Connection timed out)"

For what reason are you always searching? If you are connected once then
you never have to worry about it again. All further re-connects will be
handles by a running "hidd --server".

Use "hcidump -X -V" to see if something strange happens when the
keyboard acts weird.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: diNovo/MX900 problem with hidd
  2005-07-10  8:00           ` Marcel Holtmann
@ 2005-07-10 14:07             ` Patrick W. Healy
  2005-07-11 17:21               ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Patrick W. Healy @ 2005-07-10 14:07 UTC (permalink / raw)
  To: bluez-users

Sorry, I wasn't clear. I can make a connection, once, for a short time. 
After I've done so, the connection gets "lost"; it doesn't work until I 
pull the batteries on the device and reconnect with hidd --search. Could 
you possibly direct me somewhere to an exact set of steps to try so that 
I can try exactly what you know should work?

Thanks,

Patrick

Marcel Holtmann wrote:

>Hi Patrick,
>
>  
>
>>Used hcitool cc to connect to my mediapad, authed it, got a valid link key:
>>Jul  9 17:09:07 localhost hcid[7758]: link_key_request 
>>(sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
>>Jul  9 17:09:07 localhost hcid[7758]: pin_code_request 
>>(sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
>>Jul  9 17:09:13 localhost hcid[7758]: link_key_notify 
>>(sba=00:10:C6:3B:0B:95)
>>Jul  9 17:09:13 localhost hcid[7758]: Saving link key 00:10:C6:3B:0B:95 
>>00:07:61:12:60:11
>>    
>>
>
>don't use "hcitool cc" for creating a connection. This is a testing
>command only and the kernel will create the low-level ACL connections if
>needed.
>
>  
>
>>hciconfig -a shows:
>>hci0:   Type: USB
>>        BD Address: 00:10:C6:3B:0B:95 ACL MTU: 192:8 SCO MTU: 64:8
>>        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
>>        RX bytes:5867 acl:236 sco:0 events:195 errors:0
>>        TX bytes:2150 acl:47 sco:0 commands:47 errors:0
>>        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
>>        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
>>        Link policy: RSWITCH HOLD SNIFF PARK
>>        Link mode: SLAVE ACCEPT
>>        Name: 'nimitz-0'
>>        Class: 0x3e0100
>>        Service Classes: Networking, Rendering, Capturing
>>        Device Class: Computer, Uncategorized
>>        HCI Ver: 1.1 (0x1) HCI Rev: 0x235 LMP Ver: 1.1 (0x1) LMP Subver: 
>>0x235
>>        Manufacturer: Cambridge Silicon Radio (10)
>>    
>>
>
>If you enable AUTH and ENCRYPT you set your local device into security
>mode 3. Do this only if you really know what you are doing.
>
>  
>
>>hcitool con shows:
>>Connections:
>>        < ACL 00:07:61:12:60:11 handle 41 state 1 lm MASTER AUTH ENCRYPT
>>
>>Immediately after all this, hidd --search returns "No devices in range 
>>or visible"... yet my mediapad lets me type WHILE it is searching.
>>As soon as it's done searching, it quits. After three more searches, 
>>hidd --search returns "Can't create HID control channel: Connection refused"
>>    
>>
>
>What do you expect to find if you are already connected?
>
>  
>
>>If I push the connect button and then do hidd --search, hidd displays 
>>the following:
>>Searching ...
>>        Connecting to device 00:07:61:12:60:11
>>then the pin request window comes up... I put in 1234 on the computer, 
>>then am prompted for a pin by the mediapad. I put in 1234, get the 
>>'connected' light, and see the following in /var/log/daemon.log:
>>Jul  9 17:18:34 localhost hcid[7758]: link_key_request 
>>(sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
>>Jul  9 17:18:34 localhost hcid[7758]: pin_code_request 
>>(sba=00:10:C6:3B:0B:95, dba=00:07:61:12:60:11)
>>Jul  9 17:18:40 localhost hcid[7758]: link_key_notify 
>>(sba=00:10:C6:3B:0B:95)
>>Jul  9 17:18:40 localhost hcid[7758]: Replacing link key 
>>00:10:C6:3B:0B:95 00:07:61:12:60:11
>>
>>after about another 30 seconds or so, hidd --search returns with "HID 
>>create error 110 (Connection timed out)"
>>    
>>
>
>For what reason are you always searching? If you are connected once then
>you never have to worry about it again. All further re-connects will be
>handles by a running "hidd --server".
>
>Use "hcidump -X -V" to see if something strange happens when the
>keyboard acts weird.
>
>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
>July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
>core and dual graphics technology at this free one hour event hosted by HP, 
>AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
>  
>



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: diNovo/MX900 problem with hidd
  2005-07-10 14:07             ` Patrick W. Healy
@ 2005-07-11 17:21               ` Marcel Holtmann
  0 siblings, 0 replies; 10+ messages in thread
From: Marcel Holtmann @ 2005-07-11 17:21 UTC (permalink / raw)
  To: bluez-users

Hi Patrick,

> Sorry, I wasn't clear. I can make a connection, once, for a short time. 
> After I've done so, the connection gets "lost"; it doesn't work until I 
> pull the batteries on the device and reconnect with hidd --search. Could 
> you possibly direct me somewhere to an exact set of steps to try so that 
> I can try exactly what you know should work?

do you have a "hidd --server" running as root? Provide "hcidump -X -V"
output for your problem.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2005-07-11 17:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-08 23:38 [Bluez-users] diNovo/MX900 problem with hidd Patrick W. Healy
2005-07-09  7:49 ` Marcel Holtmann
2005-07-09  9:48 ` [Bluez-users] " Dick
2005-07-09 13:26   ` Patrick W. Healy
2005-07-09 20:25     ` Patrick W. Healy
2005-07-09 20:30       ` Marcel Holtmann
2005-07-09 22:22         ` Patrick W. Healy
2005-07-10  8:00           ` Marcel Holtmann
2005-07-10 14:07             ` Patrick W. Healy
2005-07-11 17:21               ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox