#489240 gnome-phone-manager: Application will not reconnect if bluetooth is used

Package:
gnome-phone-manager
Source:
gnome-phone-manager
Description:
control aspects of your mobile phone from your GNOME 2 desktop
Submitter:
Florian Reitmeir
Date:
2022-07-16 18:15:16 UTC
Severity:
normal
#489240#5
Date:
2008-07-04 11:15:18 UTC
From:
To:
Hi,

SMS sending/receiving is working fine. And the Applet now show the
correct state of connection.

But if the connection the bluetooth device is lost (and i believe the
bluetooth serial device timed out) the applet will no reconnect.

If it gets into the state of "no connect" it will not recover. Only
stopping/restarting helps.

Here the debugging output:
--------------------------------------------------
Message sent: 0x09 / 0x0007
41 54 2b 43 42 43 0d                            | AT+CBC
write: [AT+CBC<cr>]
** Message: driver or phone doesn't support getting the power source
** Message: emitting battery
Message sent: 0x58 / 0x0008
41 54 2b 43 50 41 53 0d                         | AT+CPAS
write: [AT+CPAS<cr>]
gnokii I/O error: Transport endpoint is not connected
Message sent: 0x09 / 0x0007
41 54 2b 43 42 43 0d                            | AT+CBC
write: [AT+CBC<cr>]
gnokii I/O error: Transport endpoint is not connected
** Message: Status 3
** Message: Closing serial port connection
Serial device: closing device
** Message: Status 0
** Message: Disconnect complete
** Message: Auto-retrying the connection
** Message: New connection device is 00:1E:DC:BD:91:C5 (not changed)
** Message: New connection device is 00:1E:DC:BD:91:C5 (not changed)
** Message: Connecting...
** Message: Status 1
** Message: Making serial port connection
conn_complete:	status 0x04
conn_complete:	status 0x04
** Message: Using serial channel -1 for device 00:1E:DC:BD:91:C5
** Message: Failed connection to device on 00:1E:DC:BD:91:C5
** Message: Exiting connect thread
--------------------------------------------------

if i go the preferences menu and try to change the connection to USB ..
i get messages like this:
--------------------------------------------------
** Message: New connection device is 00:1E:DC:BD:91:C5 (not changed)
** Message: Can't connect twice
** Message: New connection device is /dev/ttyACM0 (changed)
** Message: Can't connect twice
** Message: New connection device is /dev/ttyACM0 (not changed)
** Message: Can't connect twice
--------------------------------------------------

#489240#10
Date:
2008-07-04 11:28:30 UTC
From:
To:
usb connection isn't working too.

looks like a problem for that the usb device is deleted after removal of
the phone by udev.


here the debug output
-------------------------------
Message received: 0x09 / 0x001c
02 41 54 2b 43 42 43 0d 0d 0a 2b 43 42 43 3a 20 |  AT+CBC   +CBC:
31 2c 20 39 30 0d 0a 0d 0a 4f 4b 0d             | 1, 90    OK
Received message type 09
Message sent: 0x58 / 0x0008
41 54 2b 43 50 41 53 0d                         | AT+CPAS
write: [AT+CPAS<cr>]
Serial write: write error 5
gnokii I/O error: Input/output error
Message sent: 0x09 / 0x0007
41 54 2b 43 42 43 0d                            | AT+CBC
write: [AT+CBC<cr>]
Serial write: write error 5
gnokii I/O error: Input/output error
** Message: Status 3
** Message: Closing serial port connection
Serial device: closing device
** Message: Status 0
** Message: Disconnect complete



** Message: Auto-retrying the connection
** Message: New connection device is /dev/ttyACM0 (not changed)
** Message: New connection device is /dev/ttyACM0 (not changed)
** Message: Connecting...
** Message: Status 1
** Message: Making serial port connection
Opened configuration file from memory
Added new section global
Adding key/value port//dev/ttyACM0
Adding key/value model/6510
Adding key/value connection/dku2libusb
Added new section logging
Adding key/value debug/on
LOG: debug mask is 0x1
phone instance config:
model = 6510
port = /dev/ttyACM0
connection = dku2libusb
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 1
sm_retry = 0
Connecting
Serial device: opening device USB
Couldn't open PHONET device: Permission denied
Error in link initialisation: 1

** (gnome-phone-manager:27134): WARNING **: gn_gsm_initialise: Command
failed
** Message: Failed connection to device on /dev/ttyACM0
** Message: Exiting connect thread
** Message: New connection device is /dev/ttyACM0 (not changed)
** Message: Can't connect twice
---------------------------

#489240#15
Date:
2008-07-07 18:37:04 UTC
From:
To:
severity 489240 normal
thanks

Followup-For: Bug #489240
Package: gnome-phone-manager

Hi Florian,

I've tested this behavior you are right, the bug is present, I seen that
it is reported to the upstream author:

http://bugzilla.gnome.org/show_bug.cgi?id=495278

I try to make others tests, in the meantime I'm downgrading the severity
of this bug, I know that is an annoying problem, but the important
severity is too high. The program is working, the functionality is
marginally compromised...

PS
in my tests, the debug output stops after the second or third try of
reconnection... It's like the timeout of 20 second before a new attemp
of connection is never reached, can you confirm this to me?

Best Regards,
and thanks very much for your report...

francesco

Il giorno ven, 04/07/2008 alle 13.28 +0200, Florian Reitmeir ha scritto:

#489240#22
Date:
2008-07-08 08:16:12 UTC
From:
To:
No here its the first time. Or in other words. I remove the phone, and
it never reconnects. Same for Bluetooth.

If i start the program without the phone connected, it never starts
connecting.
--------------- cat `--> gnome-phone-manager -d ** Message: bdaddr 00:1E:DC:BD:91:C5 ** Message: New connection device is /dev/ttyACM0 (changed) ** Message: New connection device is /dev/ttyACM0 (not changed) ** Message: Connecting... ** Message: Status 1 ** Message: Making serial port connection LOG: debug mask is 0x1 phone instance config: model = 6510 port = /dev/ttyACM0 connection = dku2libusb initlength = default serial_baudrate = 19200 serial_write_usleep = -1 handshake = software require_dcd = 0 smsc_timeout = 10 rfcomm_channel = 1 sm_retry = 0 Connecting Serial device: opening device USB Couldn't open PHONET device: Permission denied Error in link initialisation: 1 ** (gnome-phone-manager:8468): WARNING **: gn_gsm_initialise: Command failed ** Message: Failed connection to device on /dev/ttyACM0 ** Message: Exiting connect thread --------------- cat
#489240#27
Date:
2022-07-16 18:14:22 UTC
From:
To:
Dear submitter,

as the package gnome-phone-manager has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1014063

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)