AT+CSCS=? sent to the N9 via Bluetooth DUN times out and completely breaks the connection attempt; the default 3s timeout isn't enough. A test with a 20s timeout worked properly, though, so we should try to update that in the Nokia plugin. See NM bug for more info: https://bugzilla.gnome.org/show_bug.cgi?id=741813
Created attachment 111322 [details] [review] Patch
Hi, I just did a more careful check. Seems it's not this patch fixed my problem, but some other commit betwen master and 1.4.0. So I wonder if this patch is not necessary anymore. commit b8cd5ae838b1a17ce1bb6f01e6491c7b887e8474 Author: Lubomir Rintel <lkundrak@v3.sk> Date: Wed Oct 1 12:02:36 2014 +0200 device: Keep track of devices as they are move across sysfs For certain devices the name changes with their status. Notably, RFCOMM devices move from /devices/virtual/ to underneath the HCI that is used for the connection as the session is estabilished, and return back when it's torn down.
The commit above is found by git bisect.
(In reply to Weng Xuetian from comment #3) > The commit above is found by git bisect. Ah, good to know. I'll cherry pick that patch for mm-1-4; thanks.
(In reply to Weng Xuetian from comment #2) > Hi, I just did a more careful check. > > Seems it's not this patch fixed my problem, but some other commit betwen > master and 1.4.0. > > So I wonder if this patch is not necessary anymore. The AT+CSCS issue happened at least once. I checked the last logs you sent me (when you tried the change to 20s) and the AT+CSCS issue didn't happen there. So don't know, if this patch works I'd merge it anyway, as it should fix a real issue, even if it wasn't the one breaking your connection attempts all the time. Can you send me anyway logs of the connection attempt with this patch on, to see if it works?
Patch was merged to git master.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.