gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnokii --getsms doesn?t work - Unsupported memory type ??


From: Michael H. Warfield
Subject: Re: gnokii --getsms doesn?t work - Unsupported memory type ??
Date: Thu, 9 Oct 2003 17:26:53 -0400
User-agent: Mutt/1.4i

Hello all...

        I'm having a similar problem (almost) to what's below but it's
not consistent.

        My phone is a 6610 on T*Mobile in the US.  Laptop is a Toshiba
9100 running RedHat 7.3 w/ gnokii 0.5.5.  Connection is IrDA (I would
love to get USB going - anyone got specs).  I've run sminit and got IrDA
running.  I've set the max_baud to 115200.  IrDA is finding the critter:

21:00:46.931790 xid:cmd b6c4f097 > ffffffff S=6 s=0 (14) 
21:00:47.021786 xid:cmd b6c4f097 > ffffffff S=6 s=1 (14) 
21:00:47.111787 xid:cmd b6c4f097 > ffffffff S=6 s=2 (14) 
21:00:47.201789 xid:cmd b6c4f097 > ffffffff S=6 s=3 (14) 
21:00:47.291791 xid:cmd b6c4f097 > ffffffff S=6 s=4 (14) 
21:00:47.369158 xid:rsp b6c4f097 < 00002470 S=6 s=4 Nokia 6610 hint=b125 [ PnP 
Modem Fax Telephony IrCOMM IrOBEX ] (27) 
21:00:47.381794 xid:cmd b6c4f097 > ffffffff S=6 s=5 (14) 
21:00:47.471797 xid:cmd b6c4f097 > ffffffff S=6 s=* canyon hint=4400 [ Computer 
LAN Access ] (22) 

        I can go into monitor mode and get info dumped.

address@hidden mhw]# gnokii --monitor
GNOKII Version 0.5.5
Entering monitor mode...
RFLevel: 63
Battery: 100
SIM: Used 1, Free 249
Phone: Used 0, Free 300
DC: Used 6, Free 250
EN: Used 0, Free 12544
FD: Used 0, Free 12544
MC: Used 0, Free 512
ON: Used 0, Free 5
RC: Used 3, Free 765
SMS Messages: Unread 0, Number 25
Network: VOICESTREAM (Papua New Guinea), LAC: 0995, CellID: 0840
CALL0: IDLE
CALL1: IDLE
Leaving monitor mode...

        I can run identify...

address@hidden mhw]# gnokii --identify
GNOKII Version 0.5.5
IMEI         : 350894309445106
Manufacturer : Nokia
Model        : NHL-4
Revision     : V 4.74

        I can send sms.  :-)

address@hidden mhw]# gnokii --sendsms ********** -r 
GNOKII Version 0.5.5
Please enter SMS text. End your input with <cr><control-D>:Testing from Nokia
Send succeeded!
address@hidden mhw]# 

        (My other phone on another network then goes off shortly there after.)

        But MOST of the time, --getsms fails with "Invalid type of memory".

address@hidden mhw]# gnokii --getsms IN 1
GNOKII Version 0.5.5
GetSMS IN 1 failed! (Invalid type of memory.)
See the gnokii manual page for the supported memory types with the phone
you use.

        But (and this is what's REALLY weird) not always...

address@hidden mhw]# gnokii --getsms IN 1
GNOKII Version 0.5.5
1. Delivery Report (read)
Sending date/time: 09/10/2003 17:08:26 +0300
Response date/time: 09/10/2003 17:08:26 +0300
Receiver: +16784630932 Msg Center: +12063130004
Text: Delivered

        And immediately after that, I ran the same command again.

address@hidden mhw]# gnokii --getsms IN 1
GNOKII Version 0.5.5
GetSMS IN 1 failed! (Invalid type of memory.)
See the gnokii manual page for the supported memory types with the phone
you use.

        The last time I just now tested, I sent a message, and then checked
message 1 and I got an error twice, could read it 4 times, then got errors
then after (tried a dozen or so times).  Sending a message before hand
seems to have no bearing and it fails way more often than not.

        Here is the irdadump of a failed transaction (if it helps):

21:16:10.336880 i:cmd  > ca=a8 pf=1 nr=0 ns=0 LM slsap=69 dlsap=00 CONN_CMD (6) 
21:16:10.347251 i:rsp  < ca=a8 pf=1 nr=1 ns=0 LM slsap=00 dlsap=69 CONN_RSP (6) 
21:16:10.347271 i:cmd  > ca=a8 pf=1 nr=1 ns=1 LM slsap=69 dlsap=00 
GET_VALUE_BY_CLASS: "Nokia:PhoNet" "IrDA:TinyTP:LsapSel" (38) 
21:16:10.363069 i:rsp  < ca=a8 pf=1 nr=2 ns=1 LM slsap=00 dlsap=69 
GET_VALUE_BY_CLASS: Success Integer: 05 (15) 
21:16:10.363095 i:cmd  > ca=a8 pf=1 nr=2 ns=2 LM slsap=69 dlsap=00 DISC (6) 
21:16:10.371863 rr:rsp < ca=a8 pf=1 nr=3 (2) 
21:16:10.371877 i:cmd  > ca=a8 pf=1 nr=2 ns=3 LM slsap=6a dlsap=05 CONN_CMD TTP 
credits=0(7) 
21:16:10.382354 i:rsp  < ca=a8 pf=1 nr=4 ns=2 LM slsap=05 dlsap=6a CONN_RSP TTP 
credits=0(7) 
21:16:10.382371 rr:cmd > ca=a8 pf=1 nr=3 (2) 
21:16:10.391851 rr:rsp < ca=a8 pf=1 nr=4 (2) 
21:16:10.391865 i:cmd  > ca=a8 pf=1 nr=3 ns=4 LM slsap=6a dlsap=05 TTP 
credits=0 (17) 
21:16:10.407161 i:rsp  < ca=a8 pf=1 nr=5 ns=3 LM slsap=05 dlsap=6a TTP 
credits=1 (5) 
21:16:10.407176 rr:cmd > ca=a8 pf=1 nr=4 (2) 
21:16:10.422025 i:rsp  < ca=a8 pf=1 nr=5 ns=4 LM slsap=05 dlsap=6a TTP 
credits=0 (57) 
21:16:10.422040 rr:cmd > ca=a8 pf=1 nr=5 (2) 
21:16:10.431863 rr:rsp < ca=a8 pf=1 nr=5 (2) 
21:16:10.431879 i:cmd  > ca=a8 pf=1 nr=5 ns=5 LM slsap=6a dlsap=05 TTP 
credits=1 (17) 
21:16:10.442146 i:rsp  < ca=a8 pf=1 nr=6 ns=5 LM slsap=05 dlsap=6a TTP 
credits=1 (5) 
21:16:10.442162 rr:cmd > ca=a8 pf=1 nr=6 (2) 
21:16:10.494560 i:rsp  < ca=a8 pf=1 nr=6 ns=6 LM slsap=05 dlsap=6a TTP 
credits=0 (457) 
21:16:10.494577 rr:cmd > ca=a8 pf=1 nr=7 (2) 
21:16:10.506945 rr:rsp < ca=a8 pf=1 nr=6 (2) 
21:16:10.506964 i:cmd  > ca=a8 pf=1 nr=7 ns=6 LM slsap=6a dlsap=05 DISC (6) 
21:16:10.516831 rr:rsp < ca=a8 pf=1 nr=7 (2) 


        Here's one that worked.

21:20:47.906697 rr:rsp < ca=a8 pf=1 nr=0 (2) 
21:20:47.906715 i:cmd  > ca=a8 pf=1 nr=0 ns=0 LM slsap=1e dlsap=00 CONN_CMD (6) 
21:20:47.917123 i:rsp  < ca=a8 pf=1 nr=1 ns=0 LM slsap=00 dlsap=1e CONN_RSP (6) 
21:20:47.917144 i:cmd  > ca=a8 pf=1 nr=1 ns=1 LM slsap=1e dlsap=00 
GET_VALUE_BY_CLASS: "Nokia:PhoNet" "IrDA:TinyTP:LsapSel" (38) 
21:20:47.932917 i:rsp  < ca=a8 pf=1 nr=2 ns=1 LM slsap=00 dlsap=1e 
GET_VALUE_BY_CLASS: Success Integer: 05 (15) 
21:20:47.932942 i:cmd  > ca=a8 pf=1 nr=2 ns=2 LM slsap=1e dlsap=00 DISC (6) 
21:20:47.941688 rr:rsp < ca=a8 pf=1 nr=3 (2) 
21:20:47.941723 i:cmd  > ca=a8 pf=1 nr=2 ns=3 LM slsap=1f dlsap=05 CONN_CMD TTP 
credits=0(7) 
21:20:47.952202 i:rsp  < ca=a8 pf=1 nr=4 ns=2 LM slsap=05 dlsap=1f CONN_RSP TTP 
credits=0(7) 
21:20:47.952224 rr:cmd > ca=a8 pf=1 nr=3 (2) 
21:20:47.961680 rr:rsp < ca=a8 pf=1 nr=4 (2) 
21:20:47.961693 i:cmd  > ca=a8 pf=1 nr=3 ns=4 LM slsap=1f dlsap=05 TTP 
credits=0 (17) 
21:20:47.976990 i:rsp  < ca=a8 pf=1 nr=5 ns=3 LM slsap=05 dlsap=1f TTP 
credits=1 (5) 
21:20:47.977007 rr:cmd > ca=a8 pf=1 nr=4 (2) 
21:20:47.991841 i:rsp  < ca=a8 pf=1 nr=5 ns=4 LM slsap=05 dlsap=1f TTP 
credits=0 (57) 
21:20:47.991858 rr:cmd > ca=a8 pf=1 nr=5 (2) 
21:20:48.001693 rr:rsp < ca=a8 pf=1 nr=5 (2) 
21:20:48.001708 i:cmd  > ca=a8 pf=1 nr=5 ns=5 LM slsap=1f dlsap=05 TTP 
credits=1 (17) 
21:20:48.011993 i:rsp  < ca=a8 pf=1 nr=6 ns=5 LM slsap=05 dlsap=1f TTP 
credits=1 (5) 
21:20:48.012009 rr:cmd > ca=a8 pf=1 nr=6 (2) 
21:20:48.064249 i:rsp  < ca=a8 pf=1 nr=6 ns=6 LM slsap=05 dlsap=1f TTP 
credits=0 (457) 
21:20:48.064270 rr:cmd > ca=a8 pf=1 nr=7 (2) 
21:20:48.076773 rr:rsp < ca=a8 pf=1 nr=6 (2) 
21:20:48.076790 i:cmd  > ca=a8 pf=1 nr=7 ns=6 LM slsap=1f dlsap=05 TTP 
credits=1 (21) 
21:20:48.086970 i:rsp  < ca=a8 pf=1 nr=7 ns=7 LM slsap=05 dlsap=1f TTP 
credits=1 (5) 
21:20:48.086987 rr:cmd > ca=a8 pf=1 nr=0 (2) 
21:20:48.144532 i:rsp  < ca=a8 pf=1 nr=7 ns=0 LM slsap=05 dlsap=1f TTP 
credits=0 (514) 
21:20:48.144551 rr:cmd > ca=a8 pf=1 nr=1 (2) 
21:20:48.186692 i:rsp  < ca=a8 pf=1 nr=7 ns=1 LM slsap=05 dlsap=1f TTP 
credits=0 (322) 
21:20:48.186708 rr:cmd > ca=a8 pf=1 nr=2 (2) 
21:20:48.196674 rr:rsp < ca=a8 pf=1 nr=7 (2) 
21:20:48.196686 i:cmd  > ca=a8 pf=1 nr=2 ns=7 LM slsap=1f dlsap=05 TTP 
credits=2 (21) 
21:20:48.207092 i:rsp  < ca=a8 pf=1 nr=0 ns=2 LM slsap=05 dlsap=1f TTP 
credits=1 (5) 
21:20:48.207106 rr:cmd > ca=a8 pf=1 nr=3 (2) 
21:20:48.264877 i:rsp  < ca=a8 pf=1 nr=0 ns=3 LM slsap=05 dlsap=1f TTP 
credits=0 (514) 
21:20:48.264894 rr:cmd > ca=a8 pf=1 nr=4 (2) 
21:20:48.306775 i:rsp  < ca=a8 pf=1 nr=0 ns=4 LM slsap=05 dlsap=1f TTP 
credits=0 (322) 
21:20:48.306791 rr:cmd > ca=a8 pf=1 nr=5 (2) 
21:20:48.316702 rr:rsp < ca=a8 pf=1 nr=0 (2) 
21:20:48.316716 i:cmd  > ca=a8 pf=1 nr=5 ns=0 LM slsap=1f dlsap=05 TTP 
credits=2 (21) 
21:20:48.326996 i:rsp  < ca=a8 pf=1 nr=1 ns=5 LM slsap=05 dlsap=1f TTP 
credits=1 (5) 
21:20:48.327011 rr:cmd > ca=a8 pf=1 nr=6 (2) 
21:20:48.336711 rr:rsp < ca=a8 pf=1 nr=1 (2) 
21:20:48.384213 rr:cmd > ca=a8 pf=1 nr=6 (2) 
21:20:48.410490 i:rsp  < ca=a8 pf=1 nr=1 ns=6 LM slsap=05 dlsap=1f TTP 
credits=0 (149) 
21:20:48.410506 rr:cmd > ca=a8 pf=1 nr=7 (2) 
21:20:48.421717 rr:rsp < ca=a8 pf=1 nr=1 (2) 
21:20:48.421731 i:cmd  > ca=a8 pf=1 nr=7 ns=1 LM slsap=1f dlsap=05 TTP 
credits=1 (21) 
21:20:48.431983 i:rsp  < ca=a8 pf=1 nr=2 ns=7 LM slsap=05 dlsap=1f TTP 
credits=1 (5) 
21:20:48.431998 rr:cmd > ca=a8 pf=1 nr=0 (2) 
21:20:48.441746 rr:rsp < ca=a8 pf=1 nr=2 (2) 
21:20:48.484216 rr:cmd > ca=a8 pf=1 nr=0 (2) 
21:20:48.503074 i:rsp  < ca=a8 pf=1 nr=2 ns=0 LM slsap=05 dlsap=1f TTP 
credits=0 (69) 
21:20:48.503090 rr:cmd > ca=a8 pf=1 nr=1 (2) 
21:20:48.511751 rr:rsp < ca=a8 pf=1 nr=2 (2) 
21:20:48.511771 i:cmd  > ca=a8 pf=1 nr=1 ns=2 LM slsap=1f dlsap=05 DISC (6) 
21:20:48.521711 rr:rsp < ca=a8 pf=1 nr=3 (2) 

        Oh...  And what really sucks is that xgnokii and smsd both HANG
trying to talk to this thing.  xgnokii hangs when it tries read sms
messages and it appears that's where smsd gets hung as well.

        Anyone with suggestions how I might debug this further?

        (No I haven't compiled debugging into gnokii, yet.  About to
do that now.)

        Regards,
        Mike

On Thu, Sep 18, 2003 at 04:18:28PM +0200, Stefan Denker wrote:
> On Tue, Sep 16, 2003 at 15:26:53 +0200, address@hidden wrote:
> > i have a problem with gnokii and my 6310i.

> me too, but a different kind:

> I trying to use gnokii on a IBM Thinkpad R32 running Debian Linux
> (sarge) with the gnokii-Package from Sid.
> My phone is a 6310i, connected using IrDA.

> irdadump recognizes the Phone:

> ,--
> |address@hidden:~$ su -c irdadump
> |10:31:57.498191 xid:cmd 8bf32e05 > ffffffff S=6 s=0 (14)
> |...
> |10:31:57.858187 xid:rsp 8bf32e05 < 00006481 S=6 s=3 Nokia 6310i 
> |+hint=b125 [ PnP Modem Fax Telephony IrCOMM IrOBEX ] (28)
> |...
> `---
> 
> > gnokii identify my phone as follows:
> >>GNOKII Version 0.5.2
> >>IMEI         : 3514*************** // ;-)
> >>Manufacturer : Nokia
> >>Model        : NPL-1
> >>Revision     : V 5.50
> 
> Mine is identified as follows:
> 
> ,--
> |address@hidden:~$ gnokii --identify
> |GNOKII Version 0.5.2
> |IMEI         : (unknown)
> |Manufacturer : Nokia
> |Model        : (unknown)
> |Revision     : (unknown)  
> `--
> 
> Which i guess is the source of my problem: gnokii refuses to do
> anything. E.g.: 
> 
> ,--
> |address@hidden:~$ gnokii --getsms IN 0
> |GNOKII Version 0.5.2
> |GetSMS IN 0 failed! (Device not ready.)
> `--
> 
> I get similar errors when executing other commands.
> I know it is possible to get phonebook &sms messages out of the phone,
> xgsm does not have any problems reading them in my current
> configuration.
> 
> Some hints what to do about it? Some mistake in my setup, propably?
> 
> Thanks for your help in advance
> 
> Stefan
> 
> 
> my .gnokiirc:
> 
> ,--
> |address@hidden:~$ less .gnokiirc |grep -v ^#
> |[global]
> |
> |port = /dev/ircomm0
> |model = 6310i
> |initlength = default
> |connection = infrared
> |bindir = /usr/sbin/
> `--
> -- 
>             Secret hacker rule #11: hackers read manuals.



> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/gnokii-users


-- 
 Michael H. Warfield    |  (770) 985-6132   |  address@hidden
  /\/\|=mhw=|\/\/       |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!

Attachment: pgpKWchJCYTDv.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]