Skip to contentSkip to conversation

Invalid Exchange..

Bluez-users George Tarantilis 3 participants 4 messages Aug 21, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi all,

I'm trying to connect my Logitech MX900 mouse and I'm getting a "Can't create HID control channel: Invalid exchange" message.
Specifically:

[gtaranti@fedora gtaranti]$ /sbin/hciconfig
hci0: Type: USB

        BD Address: 00:10:60:A5:11:3E ACL MTU: 192:8 
SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
        RX bytes:1063 acl:0 sco:0 events:110 errors:0
        TX bytes:828 acl:0 sco:0 commands:55 errors:0

[gtaranti@fedora gtaranti]$ hidd --search
Searching ...

        Connecting to device 00:07:61:05:65:22

Can't create HID control channel: Invalid exchange [gtaranti@fedora gtaranti]$ hidd --connect 00:07:61:05:65:22
Can't create HID control channel: Invalid exchange

The hcidump logs the previous commands as:

HCIDump - HCI packet analyzer ver 1.10
device: hci0 snap_len: 1028 filter: 0xffffffff

Quoted 11 lines

HCI Event: Command Status (0x0f) plen 4 HCI Event: Inquiry Result (0x02) plen 15 HCI Event: Inquiry Complete (0x01) plen 1 HCI Event: Command Status (0x0f) plen 4 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Connect Complete (0x03) plen 11 HCI Event: Command Status (0x0f) plen 4 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Connect Complete (0x03) plen 11

...

It seems that the server can see the device but cannot connect to it.

I'm using the fedora core 2.6.8-1.521smp kernel and the 2.9 bluez-libs and bluez-utils.

What am I doing wrong?

_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw

Look if you have hidp modprobed, also try upgrade to libs and utils 2.10

M.

Dne so 21. srpna 2004 13:24 George Tarantilis napsal(a):

Quoted 60 lines

Hi all,

I'm trying to connect my Logitech MX900 mouse and I'm getting a "Can't create HID control channel: Invalid exchange" message.
Specifically:

[gtaranti@fedora gtaranti]$ /sbin/hciconfig
hci0: Type: USB

        BD Address: 00:10:60:A5:11:3E ACL MTU: 192:8
SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
        RX bytes:1063 acl:0 sco:0 events:110 errors:0
        TX bytes:828 acl:0 sco:0 commands:55 errors:0

[gtaranti@fedora gtaranti]$ hidd --search
Searching ...

        Connecting to device 00:07:61:05:65:22

Can't create HID control channel: Invalid exchange [gtaranti@fedora gtaranti]$ hidd --connect 00:07:61:05:65:22
Can't create HID control channel: Invalid exchange

The hcidump logs the previous commands as:

HCIDump - HCI packet analyzer ver 1.10
device: hci0 snap_len: 1028 filter: 0xffffffff

Quoted 11 lines

HCI Event: Command Status (0x0f) plen 4 HCI Event: Inquiry Result (0x02) plen 15 HCI Event: Inquiry Complete (0x01) plen 1 HCI Event: Command Status (0x0f) plen 4 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Connect Complete (0x03) plen 11 HCI Event: Command Status (0x0f) plen 4 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Connect Complete (0x03) plen 11

...

It seems that the server can see the device but cannot connect to it.

I'm using the fedora core 2.6.8-1.521smp kernel and the 2.9 bluez-libs and bluez-utils.

What am I doing wrong?

_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

Quoted 9 lines

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#2 lore raw
In reply to George Tarantilis

Hi George,

Quoted 36 lines

I'm trying to connect my Logitech MX900 mouse and I'm getting a "Can't create HID control channel: Invalid exchange" message.
Specifically:

[gtaranti@fedora gtaranti]$ /sbin/hciconfig
hci0: Type: USB

        BD Address: 00:10:60:A5:11:3E ACL MTU: 192:8 
SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN AUTH ENCRYPT
        RX bytes:1063 acl:0 sco:0 events:110 errors:0
        TX bytes:828 acl:0 sco:0 commands:55 errors:0

[gtaranti@fedora gtaranti]$ hidd --search Searching ...

        Connecting to device 00:07:61:05:65:22

Can't create HID control channel: Invalid exchange [gtaranti@fedora gtaranti]$ hidd --connect 00:07:61:05:65:22
Can't create HID control channel: Invalid exchange

The hcidump logs the previous commands as:

HCIDump - HCI packet analyzer ver 1.10
device: hci0 snap_len: 1028 filter: 0xffffffff

Quoted 11 lines

HCI Event: Command Status (0x0f) plen 4 HCI Event: Inquiry Result (0x02) plen 15 HCI Event: Inquiry Complete (0x01) plen 1 HCI Event: Command Status (0x0f) plen 4 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Connect Complete (0x03) plen 11 HCI Event: Command Status (0x0f) plen 4 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Connect Complete (0x03) plen 11

Quoted 8 lines

...

It seems that the server can see the device but cannot connect to it.

I'm using the fedora core 2.6.8-1.521smp kernel and the 2.9 bluez-libs and bluez-utils.

run "hcidump -x" as root and lets see what it shows. Do you enabled security mode 3? It won't work with a CSR based mouse.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw

Hello Marcel,

As always I found out what the problem was after posting.
I had a bad link for bluepin in hcifd.conf (/usr/bin/bluepin _vs_ /bin/bluepin).
After creating the required link, all seems to work nicely. Both the MX900 and the Apple BT Keyboard are connected and operating flawlessly.
The only hitch was this message after the succesful connection of both devices:

HID create error 13 (Permission denied)

I don't know what this error means, but it doesn't seem to create any problems.

Thank you.

Quoted 54 lines · --- Marcel Holtmann

Hi George,

Quoted 1 line

I'm trying to connect my Logitech MX900 mouse and

I'm

Quoted 1 line

getting a "Can't create HID control channel:

Invalid

Quoted 6 lines

exchange" message.
Specifically:

[gtaranti@fedora gtaranti]$ /sbin/hciconfig
hci0: Type: USB

        BD Address: 00:10:60:A5:11:3E ACL MTU:

192:8

Quoted 3 lines

SCO MTU: 64:8
UP RUNNING PSCAN ISCAN AUTH ENCRYPT
RX bytes:1063 acl:0 sco:0 events:110

errors:0

Quoted 1 line
        TX bytes:828 acl:0 sco:0 commands:55

errors:0

Quoted 24 lines

[gtaranti@fedora gtaranti]$ hidd --search
Searching ...

        Connecting to device 00:07:61:05:65:22

Can't create HID control channel: Invalid exchange [gtaranti@fedora gtaranti]$ hidd --connect 00:07:61:05:65:22
Can't create HID control channel: Invalid exchange

The hcidump logs the previous commands as:

HCIDump - HCI packet analyzer ver 1.10
device: hci0 snap_len: 1028 filter: 0xffffffff

Quoted 11 lines

HCI Event: Command Status (0x0f) plen 4 HCI Event: Inquiry Result (0x02) plen 15 HCI Event: Inquiry Complete (0x01) plen 1 HCI Event: Command Status (0x0f) plen 4 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Connect Complete (0x03) plen 11 HCI Event: Command Status (0x0f) plen 4 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Command Complete (0x0e) plen 10 HCI Event: Connect Complete (0x03) plen 11

Quoted 4 lines

...

It seems that the server can see the device but

cannot

Quoted 3 lines

connect to it.

I'm using the fedora core 2.6.8-1.521smp kernel

and

Quoted 1 line

the 2.9 bluez-libs and bluez-utils.

Quoted 13 lines

run "hcidump -x" as root and lets see what it shows. Do you enabled
security mode 3? It won't work with a CSR based mouse.

Regards

Marcel

-------------------------------------------------------

Quoted 7 lines

SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.

http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

Quoted 4 lines

_______________________________________________
Bluez-users mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/bluez-users

Quoted 1 line

__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail