1 Jun 2009 19:23
4 Jun 2009 06:36
SMSD is sending each message twice
Shoaib Khan <shoaibahmedkhan <at> gmail.com>
2009-06-04 04:36:37 GMT
2009-06-04 04:36:37 GMT
Dear all, i have been facing a really strange problem from last two days, when ever i put some rows in my mysql outbox table and runs smsd command, it sends each message twice times. i am also pasting the log for your convenience,
4 Jun 2009 09:55:48: Sending to 03037659097 unsuccessful. Error Command timed out.what i have noticed is that it is sending message first time when it logs for unsucessful. Error Command timed out.
4 Jun 2009 09:56:07: Sending to 03037659097 successful.
4 Jun 2009 09:56:19: Sending to 03214172848 unsuccessful. Error Command timed out.
4 Jun 2009 09:56:37: Sending to 03214172848 successful.
4 Jun 2009 09:56:49: Sending to 03008634494 unsuccessful. Error Command timed out.
4 Jun 2009 09:57:08: Sending to 03008634494 successful.
[root <at> ahlwebportal ~]#
and second time when it logs it successful.
any kind of help is highly appreciated
Thanks,
Shoaib
_______________________________________________ gnokii-users mailing list gnokii-users <at> nongnu.org http://lists.nongnu.org/mailman/listinfo/gnokii-users
4 Jun 2009 23:36
Re: SMSD is sending each message twice
Daniele Forsi <dforsi <at> gmail.com>
2009-06-04 21:36:31 GMT
2009-06-04 21:36:31 GMT
2009/6/4 Shoaib Khan wrote: > when ever i put some rows in my mysql outbox table and runs smsd command, it > sends each message twice times. i am also pasting the log for your > convenience, > >> 4 Jun 2009 09:55:48: Sending to 03037659097 unsuccessful. Error Command >> timed out. >> 4 Jun 2009 09:56:07: Sending to 03037659097 successful. you can try to increase smsc_timeout in your gnokiirc this is from the sample gnokiirc: # When sending SMS you can experience timeouts. This is the feature of the # overloaded SMSCs. The phones waits for the response from the SMSC confirming # that it received the short message. When the SMSC is DoSed with many requests # it will take more time to get the response. Adjust it to your needs. The # value is given in seconds to wait. Defaults to 10 seconds. Set to 0 to wait # forever. smsc_timeout = 10 -- -- Daniele Forsi
3 Jun 2009 01:32
SMS reading from Nokia 3120 Classic
John Doe <bf8461 <at> gmail.com>
2009-06-02 23:32:40 GMT
2009-06-02 23:32:40 GMT
Hi! After a little experimentation, Ubuntu 8.10 and Nokia 3120 classic started to partially acknowledge each other, but something is still not right when trying to read an SMS from the phone. Connection is made by original Nokia CA-126 cable, which, although it seems to not be mentioned on the Wiki page (http://wiki.gnokii.org/index.php/Cables), appears to be quite similar to CA-101. Only difference could be that 126 has the small charger plug, since 3120 Classic will not apparently charge via its USB connector. So, when plugged in, the corresponding device appears and, as can be seen, that connects us to the phone. There are messages in phone, one multimedia (or such, am not totally sure about those), one normal SMS and even one unread SMS. Plenty to choose from, but when trying to read, nothing works. Have tried memories ME and SM, locations 0 and 1 (are those the right ones to try? have not seen any documentation about memory enumeration practices - only that something should replace 'start'). I think the problems start from --showsmsfolderstatus, which seems not to find any folders. Am I on right track? Here we go with the session logs; updating to CVS version was easy, so went with that - thanks for the CVS upgrade page! -- J. gnokdir$ grep -v '^#' ~/.gnokiirc | grep -v '^$' [global] port = /dev/ttyACM0 model = AT initlength = default connection = serial use_locking = yes serial_baudrate = 19200 smsc_timeout = 10 [xgnokii] allow_breakage = 0 [gnokiid] bindir = /usr/local/sbin/ [connect_script] TELEPHONE = 12345678 [disconnect_script] [logging] debug = on rlpdebug = off xdebug = off gnokdir$ ./gnokii --version GNOKII Version 0.6.28cvs Copyright (C) Hugh Blemings <hugh <at> blemings.org>, 1999, 2000 Copyright (C) Pavel Janik ml. <Pavel.Janik <at> suse.cz>, 1999, 2000 Copyright (C) Pavel Machek <pavel <at> ucw.cz>, 2001 Copyright (C) Pawel Kot <gnokii <at> gmail.com>, 2001-2009 Copyright (C) BORBELY Zoltan <bozo <at> andrews.hu>, 2002 Copyright (C) Daniele Forsi <daniele <at> forsi.it>, 2004-2009 gnokii is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for gnokii. See GPL for details. Built 23:15:37 May 29 2009 gnokdir$ ./gnokii --identify GNOKII Version 0.6.28cvs LOG: debug mask is 0x1 Config read from file /home/___/.gnokiirc. phone instance config: model = AT port = /dev/ttyACM0 connection = serial initlength = default serial_baudrate = 19200 serial_write_usleep = -1 handshake = software require_dcd = 0 smsc_timeout = 10 rfcomm_channel = 0 sm_retry = 0 Initializing AT capable mobile phone ... Serial device: opening device /dev/ttyACM0 Serial device: setting RTS to high and DTR to high Message sent: 0x00 / 0x0004 41 54 5a 0d | ATZ write: [ATZ<cr>] read : [ATZ<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x000a 02 41 54 5a 0d 0d 0a 4f 4b 0d | ATZ OK Received message type 00 Message sent: 0x00 / 0x0005 41 54 45 31 0d | ATE1 write: [ATE1<cr>] read : [ATE1<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x000b 02 41 54 45 31 0d 0d 0a 4f 4b 0d | ATE1 OK Received message type 00 Message sent: 0x00 / 0x000a 41 54 2b 43 4d 45 45 3d 31 0d | AT+CMEE=1 write: [AT+CMEE=1<cr>] read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x0010 02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d | AT+CMEE=1 OK Received message type 00 Message sent: 0x06 / 0x0007 41 54 2b 47 4d 4d 0d | AT+GMM write: [AT+GMM<cr>] read : [AT+GMM<cr><cr><lf>Nokia 3120 classic<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0023 02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 20 | AT+GMM Nokia 33 31 32 30 20 63 6c 61 73 73 69 63 0d 0a 0d 0a | 3120 classic 4f 4b 0d | OK Received message type 06 Message sent: 0x06 / 0x0008 41 54 2b 43 47 4d 49 0d | AT+CGMI write: [AT+CGMI<cr>] read : [AT+CGMI<cr><cr><lf>Nokia<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0017 02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMI Nokia 0d 0a 0d 0a 4f 4b 0d | OK Received message type 06 Message sent: 0x63 / 0x0009 41 54 2b 43 53 43 53 3f 0d | AT+CSCS? write: [AT+CSCS?<cr>] read : [AT+CSCS?<cr><cr><lf>+CSCS: "PCCP437"<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x63 / 0x0023 02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 | AT+CSCS? +CSC 53 3a 20 22 50 43 43 50 34 33 37 22 0d 0a 0d 0a | S: "PCCP437" 4f 4b 0d | OK Received message type 63 Initialisation completed Message sent: 0x06 / 0x0007 41 54 2b 47 4d 4d 0d | AT+GMM write: [AT+GMM<cr>] read : [AT+GMM<cr><cr><lf>Nokia 3120 classic<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0023 02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 20 | AT+GMM Nokia 33 31 32 30 20 63 6c 61 73 73 69 63 0d 0a 0d 0a | 3120 classic 4f 4b 0d | OK Received message type 06 Message sent: 0x06 / 0x0008 41 54 2b 43 47 4d 49 0d | AT+CGMI write: [AT+CGMI<cr>] read : [AT+CGMI<cr><cr><lf>Nokia<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0017 02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMI Nokia 0d 0a 0d 0a 4f 4b 0d | OK Received message type 06 Message sent: 0x06 / 0x0008 41 54 2b 43 47 4d 52 0d | AT+CGMR write: [AT+CGMR<cr>] read : [AT+CGMR<cr><cr><lf>V 09.41<cr><lf>06-11-08<cr><lf>RM-365<cr><lf>(c) Nokia <cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0042 02 41 54 2b 43 47 4d 52 0d 0d 0a 56 20 30 39 2e | AT+CGMR V 09. 34 31 0d 0a 30 36 2d 31 31 2d 30 38 0d 0a 52 4d | 41 06-11-08 RM 2d 33 36 35 0d 0a 28 63 29 20 4e 6f 6b 69 61 20 | -365 (c) Nokia 20 20 20 20 20 20 20 20 20 20 20 0d 0a 0d 0a 4f | O 4b 0d | K Received message type 06 Message sent: 0x06 / 0x0008 41 54 2b 43 47 53 4e 0d | AT+CGSN write: [AT+CGSN<cr>] read : [AT+CGSN<cr><cr><lf>355723026815595<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0021 02 41 54 2b 43 47 53 4e 0d 0d 0a __ __ __ __ __ | AT+CGSN _____ __ __ __ __ __ __ __ __ __ __ 0d 0a 0d 0a 4f 4b | __________ OK 0d | Received message type 06 IMEI : _______________ Manufacturer : Nokia Model : Nokia 3120 classic Product name : Nokia 3120 classic Revision : V 09.41 Serial device: closing device gnokdir$ ./gnokii --showsmsfolderstatus GNOKII Version 0.6.28cvs LOG: debug mask is 0x1 Config read from file /home/___/.gnokiirc. phone instance config: model = AT port = /dev/ttyACM0 connection = serial initlength = default serial_baudrate = 19200 serial_write_usleep = -1 handshake = software require_dcd = 0 smsc_timeout = 10 rfcomm_channel = 0 sm_retry = 0 Initializing AT capable mobile phone ... Serial device: opening device /dev/ttyACM0 Serial device: setting RTS to high and DTR to high Message sent: 0x00 / 0x0004 41 54 5a 0d | ATZ write: [ATZ<cr>] read : [ATZ<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x000a 02 41 54 5a 0d 0d 0a 4f 4b 0d | ATZ OK Received message type 00 Message sent: 0x00 / 0x0005 41 54 45 31 0d | ATE1 write: [ATE1<cr>] read : [ATE1<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x000b 02 41 54 45 31 0d 0d 0a 4f 4b 0d | ATE1 OK Received message type 00 Message sent: 0x00 / 0x000a 41 54 2b 43 4d 45 45 3d 31 0d | AT+CMEE=1 write: [AT+CMEE=1<cr>] read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x0010 02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d | AT+CMEE=1 OK Received message type 00 Message sent: 0x06 / 0x0007 41 54 2b 47 4d 4d 0d | AT+GMM write: [AT+GMM<cr>] read : [AT+GMM<cr><cr><lf>Nokia 3120 classic<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0023 02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 20 | AT+GMM Nokia 33 31 32 30 20 63 6c 61 73 73 69 63 0d 0a 0d 0a | 3120 classic 4f 4b 0d | OK Received message type 06 Message sent: 0x06 / 0x0008 41 54 2b 43 47 4d 49 0d | AT+CGMI write: [AT+CGMI<cr>] read : [AT+CGMI<cr><cr><lf>Nokia<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0017 02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMI Nokia 0d 0a 0d 0a 4f 4b 0d | OK Received message type 06 Message sent: 0x63 / 0x0009 41 54 2b 43 53 43 53 3f 0d | AT+CSCS? write: [AT+CSCS?<cr>] read : [AT+CSCS?<cr><cr><lf>+CSCS: "PCCP437"<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x63 / 0x0023 02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 | AT+CSCS? +CSC 53 3a 20 22 50 43 43 50 34 33 37 22 0d 0a 0d 0a | S: "PCCP437" 4f 4b 0d | OK Received message type 63 Initialisation completed Message sent: 0x1a / 0x000a 41 54 2b 43 50 4d 53 3d 3f 0d | AT+CPMS=? write: [AT+CPMS=?<cr>] read : [AT+CPMS=?<cr><cr><lf>+CPMS: (),(),()<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x1a / 0x0023 02 41 54 2b 43 50 4d 53 3d 3f 0d 0d 0a 2b 43 50 | AT+CPMS=? +CP 4d 53 3a 20 28 29 2c 28 29 2c 28 29 0d 0a 0d 0a | MS: (),(),() 4f 4b 0d | OK Received message type 1a strings[0] = strings[1] = (null) strings[2] = (null) strings[3] = (null) Ignoring unknown memory type "". No. Name Id #Msg ======================================================== Serial device: closing device gnokdir$ ./gnokii --getsms ME 1 GNOKII Version 0.6.28cvs LOG: debug mask is 0x1 Config read from file /home/___/.gnokiirc. phone instance config: model = AT port = /dev/ttyACM0 connection = serial initlength = default serial_baudrate = 19200 serial_write_usleep = -1 handshake = software require_dcd = 0 smsc_timeout = 10 rfcomm_channel = 0 sm_retry = 0 Initializing AT capable mobile phone ... Serial device: opening device /dev/ttyACM0 Serial device: setting RTS to high and DTR to high Message sent: 0x00 / 0x0004 41 54 5a 0d | ATZ write: [ATZ<cr>] read : [ATZ<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x000a 02 41 54 5a 0d 0d 0a 4f 4b 0d | ATZ OK Received message type 00 Message sent: 0x00 / 0x0005 41 54 45 31 0d | ATE1 write: [ATE1<cr>] read : [ATE1<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x000b 02 41 54 45 31 0d 0d 0a 4f 4b 0d | ATE1 OK Received message type 00 Message sent: 0x00 / 0x000a 41 54 2b 43 4d 45 45 3d 31 0d | AT+CMEE=1 write: [AT+CMEE=1<cr>] read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x0010 02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d | AT+CMEE=1 OK Received message type 00 Message sent: 0x06 / 0x0007 41 54 2b 47 4d 4d 0d | AT+GMM write: [AT+GMM<cr>] read : [AT+GMM<cr><cr><lf>Nokia 3120 classic<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0023 02 41 54 2b 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 20 | AT+GMM Nokia 33 31 32 30 20 63 6c 61 73 73 69 63 0d 0a 0d 0a | 3120 classic 4f 4b 0d | OK Received message type 06 Message sent: 0x06 / 0x0008 41 54 2b 43 47 4d 49 0d | AT+CGMI write: [AT+CGMI<cr>] read : [AT+CGMI<cr><cr><lf>Nokia<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x06 / 0x0017 02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMI Nokia 0d 0a 0d 0a 4f 4b 0d | OK Received message type 06 Message sent: 0x63 / 0x0009 41 54 2b 43 53 43 53 3f 0d | AT+CSCS? write: [AT+CSCS?<cr>] read : [AT+CSCS?<cr><cr><lf>+CSCS: "PCCP437"<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x63 / 0x0023 02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 | AT+CSCS? +CSC 53 3a 20 22 50 43 43 50 34 33 37 22 0d 0a 0d 0a | S: "PCCP437" 4f 4b 0d | OK Received message type 63 Initialisation completed Getting message #1 from ME Message sent: 0x63 / 0x000a 41 54 2b 43 53 43 53 3d 3f 0d | AT+CSCS=? write: [AT+CSCS=?<cr>] read : [AT+CSCS=?<cr><cr><lf>+CSCS: ("UCS2","GSM","PCCP437","PCDN","IRA","8859-1","HEX")<cr><lf><cr><lf>OK<cr><lf>] Message received: 0x63 / 0x004f 02 41 54 2b 43 53 43 53 3d 3f 0d 0d 0a 2b 43 53 | AT+CSCS=? +CS 43 53 3a 20 28 22 55 43 53 32 22 2c 22 47 53 4d | CS: ("UCS2","GSM 22 2c 22 50 43 43 50 34 33 37 22 2c 22 50 43 44 | ","PCCP437","PCD 4e 22 2c 22 49 52 41 22 2c 22 38 38 35 39 2d 31 | N","IRA","8859-1 22 2c 22 48 45 58 22 29 0d 0a 0d 0a 4f 4b 0d | ","HEX") OK Received message type 63 Message sent: 0x00 / 0x000e 41 54 2b 43 53 43 53 3d 22 47 53 4d 22 0d | AT+CSCS="GSM" write: [AT+CSCS="GSM"<cr>] read : [AT+CSCS="GSM"<cr><cr><lf>OK<cr><lf>] Message received: 0x00 / 0x0014 02 41 54 2b 43 53 43 53 3d 22 47 53 4d 22 0d 0d | AT+CSCS="GSM" 0a 4f 4b 0d | OK Received message type 00 Message sent: 0x00 / 0x000d 41 54 2b 43 50 4d 53 3d 22 4d 45 22 0d | AT+CPMS="ME" write: [AT+CPMS="ME"<cr>] read : [AT+CPMS="ME"<cr><cr><lf>ERROR<cr><lf>] Message received: 0x00 / 0x0016 03 41 54 2b 43 50 4d 53 3d 22 4d 45 22 0d 0d 0a | AT+CPMS="ME" 45 52 52 4f 52 0d | ERROR Received message type 00 GetSMS ME 1 failed! (Unknown error - well better than nothing!!) Serial device: closing device
3 Jun 2009 15:02
rpm cvs versions
teppisti-xpla <xpla <at> teppisti.it>
2009-06-03 13:02:14 GMT
2009-06-03 13:02:14 GMT
before I took the rpm for my suse 64 here: http://cvs.savannah.nongnu.org/viewcvs/?root=gnokii now and three days ago it give me error, An Exception Has Occurred The root "gnokii" is unknown. If you believe the value is correct, then please double-check your configuration. HTTP Response Status 404 Repository not found is there any problem? or something is changed? Bye![]()
4 Jun 2009 21:33
get-/writephonebook functionality
Rüdiger Härtel <r_haertel <at> gmx.de>
2009-06-04 19:33:18 GMT
2009-06-04 19:33:18 GMT
Hello, I have a nokia 2630. It has bluetooth and works with the drivers: AT and 6510. My use of the phonebook is not restricted to phonenumbers only. I also want address information. But neither supports writing the address. Is there a list in the wiki that describes which driver supports which function that I haven't found yet? Rüdiger
5 Jun 2009 15:47
Re: rpm cvs versions
Jari Turkia <jmjt <at> lut.fi>
2009-06-05 13:47:49 GMT
2009-06-05 13:47:49 GMT
teppisti-xpla wrote: > before I took the rpm for my suse 64 here: > http://cvs.savannah.nongnu.org/viewcvs/?root=gnokii > now and three days ago it give me error, ... > is there any problem? or something is changed? Savannah had a major crash. Feel free to try any of these: http://opensource.contentbakery.fi/gnokii/SuSE11.1/ Regards, Jari Turkia
5 Jun 2009 15:59
Re: SMS reading from Nokia 3120 Classic
Daniele Forsi <dforsi <at> gmail.com>
2009-06-05 13:59:36 GMT
2009-06-05 13:59:36 GMT
2009/6/3 John Doe: > Connection is made > by original Nokia CA-126 cable, which, although it seems to not be > mentioned on the Wiki page (http://wiki.gnokii.org/index.php/Cables), thanks, added to wiki > I think the problems start from --showsmsfolderstatus, which > seems not to find any folders. Am I on right track? yes > [global] > port = /dev/ttyACM0 > model = AT > initlength = default > connection = serial the cause is that Nokia didn't implement the AT commands that --showsmsfolderstatus and --getsms need try the FBUS driver (you need to have run ./configure with libusb developer package installed): port = 1 model = series40 connection = dku2libusb -- -- Daniele Forsi
6 Jun 2009 23:40
Re: SMS reading from Nokia 3120 Classic
John Doe <bf8461 <at> gmail.com>
2009-06-06 21:40:33 GMT
2009-06-06 21:40:33 GMT
2009/6/5 Daniele Forsi: > the cause is that Nokia didn't implement the AT commands ... Ok, the limited implementation (once again) verified.> try the FBUS driver (you need to have run ./configure with libusb > developer package installed): Checked and found a package called libusb-dev, version 2:0.1.12-12 installed. Since no new packages have been installed after the last session, this must have been around when the cvs version was configured and compiled. I am not too familiar with things going on under the hood inside these modern Linux systems, but is this how it should be? > port = 1 > model = series40 > connection = dku2libusb .gnokiirc, as modified: [global] port = 1 model = series40 initlength = default connection = dku2libusb use_locking = yes serial_baudrate = 19200 smsc_timeout = 10 [xgnokii] allow_breakage = 0 [gnokiid] bindir = /usr/local/sbin/ [connect_script] TELEPHONE = 12345678 [disconnect_script] [logging] debug = on rlpdebug = off xdebug = off gnokdir$ ./gnokii --identify GNOKII Version 0.6.28cvs LOG: debug mask is 0x1 Config read from file /home/___/.gnokiirc. phone instance config: model = series40 port = 1 connection = dku2libusb initlength = default serial_baudrate = 19200 serial_write_usleep = -1 handshake = software require_dcd = 0 smsc_timeout = 10 rfcomm_channel = 0 sm_retry = 0 Connecting Serial device: opening device USB Ignoring extra header, type 171, length 5 Found FBUS interface Couldn't open PHONET device: Operation not permitted Error in link initialisation: 1 Telephone interface init failed: Command failed. Quitting. Command failed. Not yet there. But why was I trying with the AT model in the first place? When plugged in, a device called /dev/ttyACM0 got automatically created. Default .gnokiirc comments that: > # port = /dev/ttyACM0 > # the last one will work only with AT driver. Of course there is a little bit of a controversy between this logic and what FAQ tells us: "model = series40, if you have Nokia non-Symbian Series60 phone". (By the way, this led to ponderance of the possibilities for a Series60, but nonetheless non-Symbian phones to exist.) And, as we can see, the AT model got the phone to identify in the first place. So far 1 partial success and 1 better failure. Not bad - we are proceeding and I still have an operational phone in my possession. What should or could be done next? -- J.
7 Jun 2009 00:14
Re: SMS reading from Nokia 3120 Classic
Daniele Forsi <dforsi <at> gmail.com>
2009-06-06 22:14:03 GMT
2009-06-06 22:14:03 GMT
2009/6/6 John Doe: > Couldn't open PHONET device: Operation not permitted one way this can be fixed is copying as root Docs/sample/45-nokiadku2.rules in /etc/udev/rules.d/ and replugging the phone I guess this isn't in the docs yet > But why was I trying with the AT model in the > first place? When plugged in, a device called /dev/ttyACM0 got > automatically created. Default .gnokiirc comments that: > >> # port = /dev/ttyACM0 >> # the last one will work only with AT driver. this means that you can use it only with model=at other model=* values won't work, not that you must use it if it exists > Of course there is a little bit of a controversy between this logic > and what FAQ tells us: "model = series40, if you have Nokia > non-Symbian Series60 phone". (By the way, this led to ponderance > of the possibilities for a Series60, but nonetheless non-Symbian > phones to exist.) I don't think they exist but there are Symbians which aren't Nokia Series60 (they're UIQ) if you're talking about grammar we're open to suggestions -- -- Daniele Forsi
> try the FBUS driver (you need to have run ./configure with libusb
> developer package installed):
Checked and found a package called libusb-dev, version 2:0.1.12-12
installed. Since no new packages have been installed after the last
session, this must have been around when the cvs version was
configured and compiled. I am not too familiar with things going on
under the hood inside these modern Linux systems, but is this how
it should be?
> port = 1
> model = series40
> connection = dku2libusb
.gnokiirc, as modified:
[global]
port = 1
model = series40
initlength = default
connection = dku2libusb
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10
[xgnokii]
allow_breakage = 0
[gnokiid]
bindir = /usr/local/sbin/
[connect_script]
TELEPHONE = 12345678
[disconnect_script]
[logging]
debug = on
rlpdebug = off
xdebug = off
gnokdir$ ./gnokii --identify
GNOKII Version 0.6.28cvs
LOG: debug mask is 0x1
Config read from file /home/___/.gnokiirc.
phone instance config:
model = series40
port = 1
connection = dku2libusb
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Connecting
Serial device: opening device USB
Ignoring extra header, type 171, length 5
Found FBUS interface
Couldn't open PHONET device: Operation not permitted
Error in link initialisation: 1
Telephone interface init failed: Command failed.
Quitting.
Command failed.
Not yet there. But why was I trying with the AT model in the
first place? When plugged in, a device called /dev/ttyACM0 got
automatically created. Default .gnokiirc comments that:
> # port = /dev/ttyACM0
> # the last one will work only with AT driver.
Of course there is a little bit of a controversy between this logic
and what FAQ tells us: "model = series40, if you have Nokia
non-Symbian Series60 phone". (By the way, this led to ponderance
of the possibilities for a Series60, but nonetheless non-Symbian
phones to exist.) And, as we can see, the AT model got the phone
to identify in the first place.
So far 1 partial success and 1 better failure. Not bad - we are
proceeding and I still have an operational phone in my possession.
What should or could be done next?
-- J.
RSS Feed