On Fri, 16 Dec 2016 13:12:37 +0100
Post by Michal ÄihaÅHi
You probably need to add yourself to dialout group (or similar, depends
https://wammu.eu/docs/manual/config/index.html#option-Device
I read in that page (although my user was already added to plugdev and dialout groups while getting those previously quoted error messages) as following:
"On Linux systems, you might lack permissions for some device nodes. You might need to be member of some group (eg. plugdev or dialout) or or add special udev rules to enable you access these devices as non-root."
Nevertheless, I've launched wammu also with root permissions (by 'PYTHONPATH=/opt/wammu/lib/python2.7/site-packages sudo /opt/wammu/bin/wammu' command) and when I get to 'Connection test' screen in 'Wammu Phone Configuration Wizard', an error message says:
"Failed to connect to phone
Timeout while trying to communicate with phone. Maybe phone is not connected (for cable) or out of range (for bluetooth or IrDA)."
If I look at wammu log (located into /tmp directory), I can see:
"Fri 2016/12/16 21:13:34: Serial device: DTR is up, RTS is up, CAR is down, CTS is up
Fri 2016/12/16 21:13:34: Setting speed to 115200
Fri 2016/12/16 21:13:34: [Module - "auto"]
Fri 2016/12/16 21:13:34: Escaping SMS mode
Fri 2016/12/16 21:13:34: SENDING frame type 0x00/length 0x02/2
Fri 2016/12/16 21:13:34: 1B |0D ..
Fri 2016/12/16 21:13:35: Sending simple AT command to wake up some devices
Fri 2016/12/16 21:13:35: SENDING frame type 0x00/length 0x03/3
Fri 2016/12/16 21:13:35: 41A|54T|0D AT.
Fri 2016/12/16 21:13:55: Enabling echo
Fri 2016/12/16 21:13:55: SENDING frame type 0x00/length 0x05/5
Fri 2016/12/16 21:13:55: 41A|54T|45E|311|0D ATE1.
Fri 2016/12/16 21:14:05: Phone does not support enabled echo, it can not work with Gammu!
Fri 2016/12/16 21:14:05: Init:GSM_TryGetModel failed with error TIMEOUT[14]: Nessuna risposta nel tempo specificato. Probabilmente il telefono non è connesso.
Fri 2016/12/16 21:14:05: Entering GSM_SetIncomingSMS
Fri 2016/12/16 21:14:05: Getting available SMS memories
Fri 2016/12/16 21:14:05: SENDING frame type 0x00/length 0x0A/10
Fri 2016/12/16 21:14:05: 41A|54T|2B+|43C|50P|4DM|53S|3D=|3F?|0D AT+CPMS=?.
Fri 2016/12/16 21:17:25: Setting SMS memory type to ME
Fri 2016/12/16 21:17:25: SENDING frame type 0x00/length 0x0D/13
Fri 2016/12/16 21:17:25: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|0D AT+CPMS="ME".
Fri 2016/12/16 21:20:45: GSM_SetIncomingSMS failed with error TIMEOUT[14]: Nessuna risposta nel tempo specificato. Probabilmente il telefono non è connesso.
Fri 2016/12/16 21:20:45: Leaving GSM_SetIncomingSMS
Fri 2016/12/16 21:20:45: Entering GSM_SetIncomingCall
Fri 2016/12/16 21:20:45: SENDING frame type 0x00/length 0x0A/10
Fri 2016/12/16 21:20:45: 41A|54T|2B+|43C|43C|57W|41A|3D=|300|0D AT+CCWA=0.
Fri 2016/12/16 21:20:55: Disabling incoming call notification
Fri 2016/12/16 21:20:55: Leaving GSM_SetIncomingCall
Fri 2016/12/16 21:20:55: Entering GSM_SetIncomingCB
Fri 2016/12/16 21:20:55: SENDING frame type 0x00/length 0x0A/10
Fri 2016/12/16 21:20:55: 41A|54T|2B+|43C|4EN|4DM|49I|3D=|3F?|0D AT+CNMI=?.
Fri 2016/12/16 21:22:15: GSM_SetIncomingCB failed with error TIMEOUT[14]: Nessuna risposta nel tempo specificato. Probabilmente il telefono non è connesso.
Fri 2016/12/16 21:22:15: Leaving GSM_SetIncomingCB
Fri 2016/12/16 21:22:15: Entering GSM_SetIncomingUSSD
Fri 2016/12/16 21:22:15: SENDING frame type 0x00/length 0x09/9
Fri 2016/12/16 21:22:15: 41A|54T|2B+|43C|53S|43C|53S|3F?|0D AT+CSCS?.
Fri 2016/12/16 21:22:25: GSM_SetIncomingUSSD failed with error TIMEOUT[14]: Nessuna risposta nel tempo specificato. Probabilmente il telefono non è connesso.
Fri 2016/12/16 21:22:25: Leaving GSM_SetIncomingUSSD
Fri 2016/12/16 21:22:25: [Terminating]
Fri 2016/12/16 21:22:25: [Closing]"
Waiting for a reply,
Thanks.