2008-05-14 17:34:41

by Dick Marinus

[permalink] [raw]

2008-05-30 05:03:20

by Didier Link

[permalink] [raw]
Subject: Re: [Bluez-devel] bug report: trouble reconnecting keyboard after timeout

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMQ0KDQpMZSBUaHUs
IDE1IE1heSAyMDA4IDE2OjE1OjA0ICswMjAwLA0KTWFyY2VsIEhvbHRtYW5uIDxtYXJjZWxAaG9s
dG1hbm4ub3JnPiBhIMOpY3JpdCA6DQoNCkhpIEJsdWV6IHRlYW0sDQoNCj4gSGkgRGljaywNCj4g
DQo+ID4gSSB1cGdyYWRlZCBibHVlei11dGlscyBhbmQgYmx1ZXotbGlicyAoMy4zMSkgYW5kIGl0
IGRpZG4ndCBoZWxwLg0KPiA+IA0KPiA+IEkndmUgYXR0YWNoZWQgYSBsb2dmaWxlLCBJIGhvcGUg
aXQncyBzdWZmaWNpZW50Lg0KPiA+IA0KPiA+IE15IG1vdXNlIGFuZCBrZXlib2FyZCBjb3VsZG4n
dCBjb25uZWN0LCBJJ3ZlIHJlY29ubmVjdGVkIHRoZW0gYnkNCj4gPiBtYW51YWxseSBkaXNjb25u
ZWN0aW5nIHRoZW0gaW4gYmx1ZXRvb3RoLWFwcGxldC4NCj4gDQo+IGlmIEkgYW0gbm90IG1pc3Rh
a2VuLCB0aGVuIHRoZSBhdHRhY2hlZCBrZXJuZWwgcGF0Y2ggd2lsbCBmaXggdGhpcw0KPiBpc3N1
ZS4NCg0KSSd2ZSB0aGUgc2FtZSBpc3N1ZSB0aGFuIERpY2sgd2l0aCBhIERpbm92byBrZXlib2Fy
ZCttb3VzZSBhbmQgSSd2ZQ0KYXBwbGllZCB5b3VyIHBhdGNoIHNpbmNlIDIgd2Vla3MuIEl0IHdv
cmtzIHBlcmZlY3RseSAhIFNpbmNlIHllYXJzIG9mDQpkZWNvbm5lY3RpbmcgcHJvYmxlbSB3aXRo
IG15IExvZ2l0ZWNoI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z2UubmV0Cmh0dHBzOi8vbGlzdHMuc291cmNlZm9yZ2UubmV0L2xpc3RzL2xpc3RpbmZvL2JsdWV6
LWRldmVsCg==

2008-05-15 15:55:35

by Stefan Seyfried

[permalink] [raw]
Subject: Re: [Bluez-devel] bug report: trouble reconnecting keyboard after timeout

Marcel Holtmann wrote:
> Hi Dick,
> =

>> 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.

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