Skip to contentSkip to conversation

bug report: trouble reconnecting keyboard after timeout

Bluez-devel Dick 4 participants 6 messages May 14, 2008 – May 30, 2008

Subsystems (2)
lore
Share & tools
lore

Dick

author
#0 lore raw

Hi,

I upgraded bluez-utils and bluez-libs (3.31) and it didn't help.

I've attached a logfile, I hope it's sufficient.

My mouse and keyboard couldn't connect, I've reconnected them by manually disconnecting them in bluetooth-applet.

gr
Dick

=== hcitool con ===
Connections:

	> ACL 00:07:61:68:CA:3F handle 51 state 1 lm MASTER AUTH ENCRYPT 
	> ACL 00:07:61:69:27:DF handle 47 state 1 lm MASTER 

=== hcitool info 00:07:61:69:27:DF ===
Requesting information ...
BD Address: 00:07:61:69:27:DF
OUI Company: Logitech SA (00-07-61)
Device Name: Logitech MX1000 mouse
LMP Version: 1.2 (0x2) LMP Subversion: 0x545
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xfc 0xff 0x0f 0x00 0x08 0x08 0x00 0x00
<encryption> <slot offset> <timing accuracy> <role switch> <hold mode> <sniff mode> <park state> <RSSI> <channel quality> <SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme> <power control> <transparent SCO> <AFH cap. slave> <AFH cap. master>
=== hcitool info 00:07:61:68:CA:3F ===
Requesting information ...
BD Address: 00:07:61:68:CA:3F
OUI Company: Logitech SA (00-07-61)
Device Name: Logitech diNovo Keyboard
LMP Version: 1.2 (0x2) LMP Subversion: 0x545
Manufacturer: Cambridge Silicon Radio (10)
Features: 0xfc 0xff 0x0f 0x00 0x08 0x08 0x00 0x00
<encryption> <slot offset> <timing accuracy> <role switch> <hold mode> <sniff mode> <park state> <RSSI> <channel quality> <SCO link> <HV2 packets> <HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme> <power control> <transparent SCO> <AFH cap. slave> <AFH cap. master>
=== /usr/sbin/hciconfig -a ===
hci0: Type: USB
BD Address: 00:16:41:92:9E:44 ACL MTU: 384:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN
RX bytes:3653517 acl:212570 sco:0 events:1989 errors:0
TX bytes:2569 acl:49 sco:0 commands:105 errors:0
Features: 0xff 0xff 0x9f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'latitude'
Class: 0x08010c
Service Classes: Capturing
Device Class: Computer, Laptop
HCI Ver: 2.0 (0x3) HCI Rev: 0x976 LMP Ver: 2.0 (0x3) LMP Subver: 0x976
Manufacturer: Cambridge Silicon Radio (10)

=== /sbin/lsusb -d 413c:8103 -v ===

Bus 001 Device 005: ID 413c:8103 Dell Computer Corp. Wireless 350 Bluetooth Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x413c Dell Computer Corp.
idProduct 0x8103 Wireless 350 Bluetooth
bcdDevice 24.22

  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 193
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 254 Application Specific Interface
bInterfaceSubClass 1 Device Firmware Update
bInterfaceProtocol 0
iInterface 0
Device Status: 0x0001
Self Powered
=== conary q bluez-utils ===
bluez-utils=3.31-0.0.1-1
=== modinfo hidp ===

filename:       /lib/modules/2.6.23.17-0.0.1.smp.gcc4.1.x86.i686/kernel/net/bluetooth/hidp/hidp.ko
alias:          bt-proto-6
license:        GPL
version:        1.2
description:    Bluetooth HIDP ver 1.2
author:         Marcel Holtmann <[email protected]>
srcversion:     6B60B501497B81398FDFEF5
depends:        bluetooth,l2cap
vermagic:       2.6.23.17-0.0.1.smp.gcc4.1.x86.i686 SMP mod_unload 686 
=== modinfo hci_usb ===
filename:       /lib/modules/2.6.23.17-0.0.1.smp.gcc4.1.x86.i686/kernel/drivers/bluetooth/hci_usb.ko
license:        GPL
version:        2.9
description:    Bluetooth HCI USB driver ver 2.9
author:         Maxim Krasnyansky <[email protected]>, Marcel Holtmann <[email protected]>
srcversion:     45A049889B0B161CC6D42E7
alias:          usb:v0C10p0000d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v0BDBp1002d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v044Ep3002d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v044Ep3001d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v04BFp030Ad*dc*dsc*dp*ic*isc*ip*
alias:          usb:v057Cp3800d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v*p*d*dcE0dsc01dp01ic*isc*ip*
depends:        bluetooth
vermagic:       2.6.23.17-0.0.1.smp.gcc4.1.x86.i686 SMP mod_unload 686 
parm:           ignore:Ignore devices from the matching table (bool)
parm:           ignore_dga:Ignore devices with id 08fd:0001 (bool)
parm:           ignore_csr:Ignore devices with id 0a12:0001 (bool)
parm:           ignore_sniffer:Ignore devices with id 0a12:0002 (bool)
parm:           disable_scofix:Disable fixup of wrong SCO buffer size (bool)
parm:           force_scofix:Force fixup of wrong SCO buffers size (bool)
parm:           reset:Send HCI reset command on initialization (bool)
parm:           isoc:Set isochronous transfers for SCO over HCI support (int)

=== dmesg|egrep "diNovo|MX1000" ===
input: Logitech MX1000 mouse as /class/input/input9
input: Logitech MX1000 mouse as /class/input/input10
input: Logitech diNovo Keyboard as /class/input/input11
=== uname -a ===
Linux latitude 2.6.23.17-0.0.1.smp.gcc4.1.x86.i686 #1 SMP Fri Mar 14 14:19:36 EDT 2008 i686 GNU/Linux === hidd --show ===
=== cat /sys/class/bluetooth/l2cap ===
44:9E:92:41:16:00 3F:CA:68:61:07:00 1 19 0x0041 0x0041 672 48 0x0
44:9E:92:41:16:00 3F:CA:68:61:07:00 1 17 0x0040 0x0040 672 48 0x0
44:9E:92:41:16:00 DF:27:69:61:07:00 1 19 0x0041 0x0045 672 48 0x0
44:9E:92:41:16:00 DF:27:69:61:07:00 1 17 0x0040 0x0044 672 48 0x0
44:9E:92:41:16:00 DF:27:69:61:07:00 9 17 0x0040 0x0040 672 48 0x0
44:9E:92:41:16:00 3F:CA:68:61:07:00 9 17 0x0040 0x0042 672 48 0x0
44:9E:92:41:16:00 3F:CA:68:61:07:00 9 17 0x0040 0x0040 672 48 0x0
00:00:00:00:00:00 00:00:00:00:00:00 4 15 0x0000 0x0000 1691 1691 0x20 00:00:00:00:00:00 00:00:00:00:00:00 4 23 0x0000 0x0000 672 0 0x20
00:00:00:00:00:00 00:00:00:00:00:00 4 25 0x0000 0x0000 672 0 0x20
00:00:00:00:00:00 00:00:00:00:00:00 4 19 0x0000 0x0000 672 0 0x0
00:00:00:00:00:00 00:00:00:00:00:00 4 17 0x0000 0x0000 672 0 0x0
00:00:00:00:00:00 00:00:00:00:00:00 4 3 0x0000 0x0000 1013 0 0x0
00:00:00:00:00:00 00:00:00:00:00:00 4 1 0x0000 0x0000 672 0 0x0
=== cat /sys/class/bluetooth/hci0/idle_timeout ===
0
=== hcidump -X -V ===
HCI sniffer - Bluetooth packet analyzer ver 1.41
device: hci0 snap_len: 1028 filter: 0xffffffff

Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 28 00 00 00  00 00                    ....(.....
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 28 00 00 00  00 00                    ....(.....
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

    status 0x00 handle 51 mode 0x00 interval 0
    Mode: Active
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 00 00 00 00  00 00                    ..........
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

    status 0x00 handle 51 mode 0x02 interval 32
    Mode: Sniff
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 28 00 00 00  00 00                    ....(.....
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 28 00 00 00  00 00                    ....(.....
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 01 10 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 04 20 00 00 00  00                       .... ....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 0a 10 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 0d c0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 14 80 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 09 b0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 01 00 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 ff 0f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 ff 0f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 ff 3f 00 00 00  00                       ....?....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 04 30 00 00 00  00                       ....0....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 0e 30 00 00 00  00                       ....0....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 1a 00 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 24 f0 ff 00 00  00                       ...$.....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 20 c0 ff 00 00  00                       ... .....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 17 90 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 07 e0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 f8 0f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 e3 6f 00 00 00  00                       ....o....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 dd 9f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 db af 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 dd 8f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 de 7f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 fa 1f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 07 00 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 17 d0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 23 90 ff 00 00  00                       ...#.....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 27 90 ff 00 00  00                       ...'.....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 23 a0 ff 00 00  00                       ...#.....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 14 b0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 02 f0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 f1 1f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 db 7f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 d7 8f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 d9 7f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 e3 7f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 f5 3f 00 00 00  00                       ....?....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 03 00 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 12 f0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 1d b0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 24 a0 ff 00 00  00                       ...$.....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 1f 90 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 10 b0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 ff ff ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 f3 0f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 e4 1f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 db 4f 00 00 00  00                       ....O....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 e0 5f 00 00 00  00                       ...._....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 e9 6f 00 00 00  00                       ....o....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 f8 3f 00 00 00  00                       ....?....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 04 00 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 0d f0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 17 b0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 1e 80 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 22 50 ff 00 00  00                       ..."P....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 1e 60 ff 00 00  00                       ....`....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 13 90 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 01 f0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 f2 0f 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 ed 2f 00 00 00  00                       ..../....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 ea 6f 00 00 00  00                       ....o....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 ec 5f 00 00 00  00                       ...._....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 f3 4f 00 00 00  00                       ....O....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 fa 2f 00 00 00  00                       ..../....
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 01 00 00 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 01 f0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 04 e0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 05 c0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 06 c0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 07 b0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 06 c0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 06 d0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 07 e0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 04 e0 ff 00 00  00                       .........
Quoted 1 line

ACL data: handle 47 flags 0x02 dlen 13

    L2CAP(d): cid 0x0041 len 9 [psm 0]
      0000: a1 02 00 02 00 00 00 00  00                       .........
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

    status 0x00 handle 51 mode 0x00 interval 0
    Mode: Active
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

    status 0x00 handle 51 mode 0x02 interval 162
    Mode: Sniff
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 00 00 00 00  00 00                    ..........
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

    status 0x00 handle 51 mode 0x00 interval 0
    Mode: Active
Quoted 1 line

HCI Event: Mode Change (0x14) plen 6

    status 0x00 handle 51 mode 0x02 interval 32
    Mode: Sniff
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 06 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 06 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 06 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 06 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 06 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 01 00 00 00 00 00  00 00                    ..........
Quoted 1 line

ACL data: handle 51 flags 0x02 dlen 14

    L2CAP(d): cid 0x0041 len 10 [psm 0]
      0000: a1 01 00 00 00 00 00 00  00 00                    ..........

===
Mouse and Keyboard not connected
Disconnect mouse/keyboard in bluetooth-applet

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Dick,

Quoted 6 lines

I upgraded bluez-utils and bluez-libs (3.31) and it didn't help.

I've attached a logfile, I hope it's sufficient.

My mouse and keyboard couldn't connect, I've reconnected them by manually disconnecting them in bluetooth-applet.

if I am not mistaken, then the attached kernel patch will fix this issue.

Regards

Marcel

net/bluetooth/hidp/core.c +10 -0
index 519cdb9..96434d7 100644
@@ -581,6 +581,12 @@ static int hidp_session(void *arg)
 		hid_free_device(session->hid);
 	}
 
+	/* Wakeup user-space polling for socket errors */
+	session->intr_sock->sk->sk_err = EUNATCH;
+	session->ctrl_sock->sk->sk_err = EUNATCH;
+
+	hidp_schedule(session);
+
 	fput(session->intr_sock->file);
 
 	wait_event_timeout(*(ctrl_sk->sk_sleep),
@@ -879,6 +885,10 @@ int hidp_del_connection(struct hidp_conndel_req *req)
 			skb_queue_purge(&session->ctrl_transmit);
 			skb_queue_purge(&session->intr_transmit);
 
+			/* Wakeup user-space polling for socket errors */
+			session->intr_sock->sk->sk_err = EUNATCH;
+			session->ctrl_sock->sk->sk_err = EUNATCH;
+
 			/* Kill session thread */
 			atomic_inc(&session->terminate);
 			hidp_schedule(session);

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw
Quoted 5 lines · Marcel Holtmann

Hi Dick,
=

Quoted 2 lines

I upgraded bluez-utils and bluez-libs (3.31) and it didn't help.

Quoted 8 lines
Quoted 4 lines

I've attached a logfile, I hope it's sufficient.

My mouse and keyboard couldn't connect, I've reconnected them by manually disconnecting them in bluetooth-applet.

=

if I am not mistaken, then the attached kernel patch will fix this issue.

Partly. It works fine with my mouse, but my keyboard, that was happy before now after some "roundtrips" gets unhappy and does no longer reconnect. (i changed the idle timeout to 30 seconds to test).

I got stuff like that in hcidump:

2008-05-15 17:23:44.288599 > ACL data: handle 11 flags 0x02 dlen 12
   L2CAP(s): Connect req: psm 19 scid 0x005c
2008-05-15 17:23:44.288640 < ACL data: handle 11 flags 0x02 dlen 16
   L2CAP(s): Connect rsp: dcid 0x0000 scid 0x005c result 4 status 0
     Connection refused - no resources available

And then my dongle spontaneously disconnected itself from the USB bus and reconnected.

I have not seen this again since then, but maybe it is something to watch o= ut for.
-- =

Stefan Seyfried
R&D Team Mobile Devices | "Any ideas, John?"
SUSE LINUX Products GmbH, N=FCrnberg | "Well, surrounding them's out."

This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG N=FCrnberg)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft =

Defy all challenges. Microsoft(R) Visual Studio 2008. =

http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

author
#3 lore raw
In reply to Marcel Holtmann
Quoted 2 lines · Marcel Holtmann <marcel <at> holtmann.org> writes:

if I am not mistaken, then the attached kernel patch will fix this issue.

Thanks, I've applied the patch and I'll post a mail when I get an error. If it's permanently fixed I'll post next week.

gr
Dick

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw
In reply to Marcel Holtmann

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMQ0KDQpMZSBUaHUs IDE1IE1heSAyMDA4IDE2OjE1OjA0ICswMjAwLA0KTWFyY2VsIEhvbHRtYW5uIDxtYXJjZWxAaG9s dG1hbm4ub3JnPiBhIMOpY3JpdCA6DQoNCkhpIEJsdWV6IHRlYW0sDQoNCj4gSGkgRGljaywNCj4g DQo+ID4gSSB1cGdyYWRlZCBibHVlei11dGlscyBhbmQgYmx1ZXotbGlicyAoMy4zMSkgYW5kIGl0 IGRpZG4ndCBoZWxwLg0KPiA+IA0KPiA+IEkndmUgYXR0YWNoZWQgYSBsb2dmaWxlLCBJIGhvcGUg aXQncyBzdWZmaWNpZW50Lg0KPiA+IA0KPiA+IE15IG1vdXNlIGFuZCBrZXlib2FyZCBjb3VsZG4n dCBjb25uZWN0LCBJJ3ZlIHJlY29ubmVjdGVkIHRoZW0gYnkNCj4gPiBtYW51YWxseSBkaXNjb25u ZWN0aW5nIHRoZW0gaW4gYmx1ZXRvb3RoLWFwcGxldC4NCj4gDQo+IGlmIEkgYW0gbm90IG1pc3Rh a2VuLCB0aGVuIHRoZSBhdHRhY2hlZCBrZXJuZWwgcGF0Y2ggd2lsbCBmaXggdGhpcw0KPiBpc3N1 ZS4NCg0KSSd2ZSB0aGUgc2FtZSBpc3N1ZSB0aGFuIERpY2sgd2l0aCBhIERpbm92byBrZXlib2Fy ZCttb3VzZSBhbmQgSSd2ZQ0KYXBwbGllZCB5b3VyIHBhdGNoIHNpbmNlIDIgd2Vla3MuIEl0IHdv cmtzIHBlcmZlY3RseSAhIFNpbmNlIHllYXJzIG9mDQpkZWNvbm5lY3RpbmcgcHJvYmxlbSB3aXRo IG15IExvZ2l0ZWNoIHByb2R1Y3RzIGl0J3Mgbm93IGEgcGxlYXN1cmUgdG8NCnVzZSBpdCB3aXRo IGJsdWV6IHN0YWNrICEgVGhhbmtzIGEgbG90ICEhIDopDQoNClJlZ2FyZHMuDQoNCkRpZGllcg0K DQotIC0tIA0KRGlkaWVyIExpbmsgPGRpZGllckBmYW1pbGxlLWxpbmsuZnI+DQpKYWJiZXIgOiBk aWRpZXJfbGlua0BqYWJiZXIuZnINCk1TTiA6IHphbmZpYkBob3RtYWlsLmZyDQpTSVAgOiBaYW5m aWJAZWtpZ2EubmV0DQoNCkNsw6kgR1BHIDogNzVCQUM5RUUNCi0tLS0tQkVHSU4gUEdQIFNJR05B VFVSRS0tLS0tDQpWZXJzaW9uOiBHbnVQRyB2Mi4wLjkgKEdOVS9MaW51eCkNCg0KaUVZRUFSRUNB QVlGQWtnL2lwd0FDZ2tRa3lQd2luVzZ5ZTdiVndDYkJxMEtwc29tUmJNY1EzOW1tV215R2tYSQ0K blN3QW4zd2pvOUg4TDZIUGNLMFlyTUltNXJlejErUVMNCj1VNFVSDQotLS0tLUVORCBQR1AgU0lH TkFUVVJFLS0tLS0NCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KVGhpcyBTRi5uZXQgZW1haWwgaXMgc3BvbnNv cmVkIGJ5OiBNaWNyb3NvZnQKRGVmeSBhbGwgY2hhbGxlbmdlcy4gTWljcm9zb2Z0KFIpIFZpc3Vh bCBTdHVkaW8gMjAwOC4KaHR0cDovL2Nsay5hdGRtdC5jb20vTVJUL2dvL3ZzZTAxMjAwMDAwNzBt cnQvZGlyZWN0LzAxLwpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fXwpCbHVlei1kZXZlbCBtYWlsaW5nIGxpc3QKQmx1ZXotZGV2ZWxAbGlzdHMuc291cmNlZm9y Z2UubmV0Cmh0dHBzOi8vbGlzdHMuc291cmNlZm9yZ2UubmV0L2xpc3RzL2xpc3RpbmZvL2JsdWV6 LWRldmVsCg==

author
#5 lore raw

Ahem, sorry for the late response ;-)

It improved a lot, but it doesn't work perfectly yet. I'm suspecting the cause is low batteries, I'll keep you posted!

Thank you very much

Dick

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel