GNOME Bugzilla – Bug 513491
Sony Ericsson phones return value encoding problems
Last modified: 2008-12-25 14:21:19 UTC
Hi, I'm running Hardy Heron Alpha 3 up-to-date, and I recently installed GPM in its 0.40 version, I successfuly connect my v630i SE Phone with Bluetooth, but sending SMS fails (nothing happens, no reception). Launching in terminal prints : steph@steph-desktop:~$ gnome-phone-manager ** Message: bdaddr 00:1B:59:AD:6F:0C ** Message: New connection device is 00:1B:59:AD:6F:0C (changed) ** Message: New connection device is 00:1B:59:AD:6F:0C (not changed) ** Message: Connecting... ** Message: Status 1 ** Message: Making serial port connection conn_complete: status 0x00 ** Message: Model AAD-3022042-BV not supported natively ** Message: Using driver 'AT' ** Message: Status 2 ** Message: Serial port connected ** Message: Connecté au périphérique sur 00:1B:59:AD:6F:0C ** Message: Exiting connect thread ** Message: Couldn't get our own phone number ** Message: driver and phone support sms notifications ** Message: emitting battery I'm joining the log with the --debug option. Thanks.
Created attachment 104115 [details] Debug log
The debug log is truncated and doesn't show you trying to send any messages.
I truncated it cause after it's always the same thing. I'm joining a "long" debug log.
Created attachment 104123 [details] This is the longer debug log, but not entire (cause never stops) The debug log
There's no AT+CMGS commands in the list, so you didn't try to send any messages. Did you mean that you don't _receive_ new messages?
*** Bug 515288 has been marked as a duplicate of this bug. ***
output with --debug option ( just the part when sending a message because the output is constant ): eceived message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 0, 54<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x09 / 0x001c 02 41 54 2b 43 42 43 0d 0d 0a 2b 43 42 43 3a 20 | AT+CBC +CBC: 30 2c 20 35 34 0d 0a 0d 0a 4f 4b 0d | 0, 54 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 0, 54<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x09 / 0x001c 02 41 54 2b 43 42 43 0d 0d 0a 2b 43 42 43 3a 20 | AT+CBC +CBC: 30 2c 20 35 34 0d 0a 0d 0a 4f 4b 0d | 0, 54 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 0, 54<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x09 / 0x001c 02 41 54 2b 43 42 43 0d 0d 0a 2b 43 42 43 3a 20 | AT+CBC +CBC: 30 2c 20 35 34 0d 0a 0d 0a 4f 4b 0d | 0, 54 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 0, 54<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x09 / 0x001c 02 41 54 2b 43 42 43 0d 0d 0a 2b 43 42 43 3a 20 | AT+CBC +CBC: 30 2c 20 35 34 0d 0a 0d 0a 4f 4b 0d | 0, 54 OK Received message type 09 Message sent: 0x23 / 0x0009 41 54 2b 43 53 43 41 3f 0d | AT+CSCA? write: [AT+CSCA?<cr>] read : [AT+CSCA?<cr><cr><lf>+CSCA: "002B003300380035003900310030003400300031",145<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x23 / 0x0048 02 41 54 2b 43 53 43 41 3f 0d 0d 0a 2b 43 53 43 | AT+CSCA? +CSC 41 3a 20 22 30 30 32 42 30 30 33 33 30 30 33 38 | A: "002B00330038 30 30 33 35 30 30 33 39 30 30 33 31 30 30 33 30 | 0035003900310030 30 30 33 34 30 30 33 30 30 30 33 31 22 2c 31 34 | 003400300031",14 35 0d 0a 0d 0a 4f 4b 0d | 5 OK Received message type 23 General Data Coding dcs: 0x0 Length: 0x11 user_data_length: 0xf ValidityIndicator: 2 user_data: F4F29C0E6A97E7F3F0B90C72CB4132 Sending Message sent: 0x63 / 0x000a 41 54 2b 43 4d 47 46 3d 30 0d | AT+CMGF=0 write: [AT+CMGF=0<cr>] read : [AT+CMGF=0<cr><cr><lf>+CMGF: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x63 / 0x001c 02 41 54 2b 43 4d 47 46 3d 30 0d 0d 0a 2b 43 4d | AT+CMGF=0 +CM 47 46 3a 20 30 0d 0a 0d 0a 4f 4b 0d | GF: 0 OK Received message type 63 PDU mode set Sending initial sequence Message sent: 0x64 / 0x000b 41 54 2b 43 4d 47 53 3d 32 38 0d | AT+CMGS=28 write: [AT+CMGS=28<cr>] read : [AT+CMGS=28<cr><cr><lf>> ] Message received: 0x64 / 0x000f 01 41 54 2b 43 4d 47 53 3d 32 38 0d 0d 0a 3e | AT+CMGS=28 > Received message type 64 Got response 0 Sending frame: 15910022003300830053009300130003004300030A8111000A8190315397730000AA11F4F29C0E6A97E7F3F0B90C72CB4132 Message sent: 0x21 / 0x0065 31 35 39 31 30 30 32 32 30 30 33 33 30 30 38 33 | 1591002200330083 30 30 35 33 30 30 39 33 30 30 31 33 30 30 30 33 | 0053009300130003 30 30 34 33 30 30 30 33 30 41 38 31 31 31 30 30 | 004300030A811100 30 41 38 31 39 30 33 31 35 33 39 37 37 33 30 30 | 0A81903153977300 30 30 41 41 31 31 46 34 46 32 39 43 30 45 36 41 | 00AA11F4F29C0E6A 39 37 45 37 46 33 46 30 42 39 30 43 37 32 43 42 | 97E7F3F0B90C72CB 34 31 33 32 1a | 4132 write: [15910022003300830053009300130003004300030A8111000A8190315397730000AA11F4F29C0E6A97E7F3F0B90C72CB4132^Z] read : [^A0910022003300830053009300130003004300030A8111000A8190315397730000AA11F4F29C0E6A97E7F3F0B90C72CB4132^Z<cr><lf>+CMS ERROR: 304<cr><lf>] Message received: 0x21 / 0x0078 04 01 30 39 31 30 30 32 32 30 30 33 33 30 30 38 | 09100220033008 33 30 30 35 33 30 30 39 33 30 30 31 33 30 30 30 | 3005300930013000 33 30 30 34 33 30 30 30 33 30 41 38 31 31 31 30 | 3004300030A81110 30 30 41 38 31 39 30 33 31 35 33 39 37 37 33 30 | 00A8190315397730 30 30 30 41 41 31 31 46 34 46 32 39 43 30 45 36 | 000AA11F4F29C0E6 41 39 37 45 37 46 33 46 30 42 39 30 43 37 32 43 | A97E7F3F0B90C72C 42 34 31 33 32 1a 0d 0a 2b 43 4d 53 20 45 52 52 | B4132 +CMS ERR 4f 52 3a 20 33 30 34 0d | OR: 304 Received message type 21 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 0, 54<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x09 / 0x001c 02 41 54 2b 43 42 43 0d 0d 0a 2b 43 42 43 3a 20 | AT+CBC +CBC: 30 2c 20 35 34 0d 0a 0d 0a 4f 4b 0d | 0, 54 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 0, 54<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x09 / 0x001c 02 41 54 2b 43 42 43 0d 0d 0a 2b 43 42 43 3a 20 | AT+CBC +CBC: 30 2c 20 35 34 0d 0a 0d 0a 4f 4b 0d | 0, 54 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] hope this helps: device: SE w880i OS: Ubuntu Hardy Heron with latest updates ( 64 bit) gpm v0.40
maybe this link wil help a bit: http://developer.sonyericsson.com/thread.jspa?messageID=49575솧
Pawel, does that sound like a plausible cause for the error message?
I can confirm this with similar output on my k750i with g-p-m 0.40-3 In addition, I get a complete flood of messages like this: read : [AT+CBC<cr><cr><lf>+CBC: 1, 83<cr><lf><cr><lf>OK<cr><lf>] 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 38 33 0d 0a 0d 0a 4f 4b 0d | 1, 83 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 1, 83<cr><lf><cr><lf>OK<cr><lf>] 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 38 33 0d 0a 0d 0a 4f 4b 0d | 1, 83 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 1, 83<cr><lf><cr><lf>OK<cr><lf>] 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 38 33 0d 0a 0d 0a 4f 4b 0d | 1, 83 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 1, 83<cr><lf><cr><lf>OK<cr><lf>] 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 38 33 0d 0a 0d 0a 4f 4b 0d | 1, 83 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 1, 83<cr><lf><cr><lf>OK<cr><lf>] 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 38 33 0d 0a 0d 0a 4f 4b 0d | 1, 83 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 1, 83<cr><lf><cr><lf>OK<cr><lf>] 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 38 33 0d 0a 0d 0a 4f 4b 0d | 1, 83 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS write: [AT+CPAS<cr>] read : [AT+CPAS<cr><cr><lf>+CPAS: 0<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x58 / 0x001a 02 41 54 2b 43 50 41 53 0d 0d 0a 2b 43 50 41 53 | AT+CPAS +CPAS 3a 20 30 0d 0a 0d 0a 4f 4b 0d | : 0 OK Received message type 58 Message sent: 0x09 / 0x0007 41 54 2b 43 42 43 0d | AT+CBC write: [AT+CBC<cr>] read : [AT+CBC<cr><cr><lf>+CBC: 1, 83<cr><lf><cr><lf>OK<cr><lf>] 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 38 33 0d 0a 0d 0a 4f 4b 0d | 1, 83 OK Received message type 09 Message sent: 0x58 / 0x0008 41 54 2b 43 50 41 53 0d | AT+CPAS
This is actually a gnokii problem. Some functions on the Sony Ericsson phone will return values that should be in ASCII using whatever the current charset is. For example (thanks Daniele): ---8<--- at+cscs? +CSCS: "GSM" OK at+cpms=? +CPMS: ("ME","SM"),("ME","SM"),("ME","SM") OK at+cscs=? +CSCS: ("GSM","IRA","8859-1","UTF-8","UCS2") OK at+cscs="UCS2" OK at+cpms=? +CPMS: ("004D0045","0053004D"),("004D0045","0053004D"),("004D0045","0053004D") OK at+cpms="ME" ERROR ---8<---
Created attachment 107543 [details] [review] gnokii-use-gsm-charset.patch This might fix the problems encountered. I just wonder if would have any side-effects...
Created attachment 107558 [details] [review] gnokii-use-gsm-charset-2.patch Patch tested as working with a Sony Ericsson phone, please test.
Created attachment 107562 [details] [review] gnokii-use-gsm-charset-3.patch Updated with comments from Pawel.
Committed in gnokii CVS. See bug 523213 for the problem getting the phone's own number.
*** Bug 519479 has been marked as a duplicate of this bug. ***
*** Bug 526548 has been marked as a duplicate of this bug. ***
The patch works for me. Output is still flooded with the same messages, but I cand send SMS. Thanks !
Could some maintainer update the gnome-phone-manager package (gnokii package also) in Jaunty? Thanks.
(In reply to comment #20) > Could some maintainer update the gnome-phone-manager package (gnokii package > also) in Jaunty? Thanks. This isn't an Ubuntu bug tracker, ask on Launchpad and restrain from adding distribution-specific information in upstream bug trackers.