Re: Part of the dmesg log

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

 



Tapan,

Is your Silicon 537 [Winmodem] board port actually connected to a hone
line ??? Here is what I get on my side using a 536EP Intel phone modem
which is indeed connected to the phone line.

[philippe@victor efax]$ ls
0223182858.001  PATCHES      efaxio.c        efaxmsg.c       efix.1
COPYING         README       efaxio.c.orig   efaxmsg.c.orig  efix.c
Makefile        efax.1       efaxio.h        efaxmsg.h       efix.c.orig
Makefile.am     efax.c       efaxlib.c       efaxos.c        fax
Makefile.in     efax.c.orig  efaxlib.c.orig  efaxos.c.orig
Makefile.orig   efaxfont     efaxlib.h       efaxos.h

[philippe@victor efax]$ make -f Makefile.orig
gcc -O3 -D__USE_MISC -fshort-wchar  -c efax.c
gcc -O3 -D__USE_MISC -fshort-wchar  -c efaxlib.c
gcc -O3 -D__USE_MISC -fshort-wchar  -c efaxio.c
gcc -O3 -D__USE_MISC -fshort-wchar  -c efaxos.c
gcc -O3 -D__USE_MISC -fshort-wchar  -c efaxmsg.c
gcc -o efax  efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
gcc -O3 -D__USE_MISC -fshort-wchar  -c efix.c
gcc -o efix  efix.o efaxlib.o efaxmsg.o

[philippe@victor efax]$ ./efax -vewinchmart -d /dev/modem
./efax: Tue Jun 30 09:54:27 2009 efax v 0.9a-001114 Copyright 1999 Ed
Casas
./efax: Tue Jun 30 09:54:27 2009 efax v 0.9a-001114 Copyright 1999 Ed
Casas
efax: 54:27 compiled Jun 30 2009 09:53:41
efax: 54:27 argv[0]=./efax
efax: 54:27 argv[1]=-vewinchmart
efax: 54:27 argv[2]=-d
efax: 54:27 argv[3]=/dev/modem
efax: 54:27 using built-in 128x0 font
efax: 54:27 opened /dev/modem
efax: 54:27 command  "Q0V1"
efax: 54:27 waiting 2.0 s
efax: 54:28 .987 [ATQ0V1<CR><CR><LF>]
efax: 54:29 .047 [OK<CR><LF>]
efax: 54:29 response "OK"
efax: 54:29 command  "E0"
efax: 54:29 waiting 5.0 s
efax: 54:29 .067 [ATE0<CR><CR><LF>]
efax: 54:29 .117 [OK<CR><LF>]
efax: 54:29 response "OK"
efax: 54:29 command  "I3"
efax: 54:29 waiting 5.0 s
efax: 54:29 .167 [<CR><LF>536EP<CR><LF>]
efax: 54:29 .187 [<CR><LF>OK<CR><LF>]
efax: 54:29 response "OK"
efax: 54:29 command  "+FCLASS=?"
efax: 54:29 waiting 5.0 s
efax: 54:29 .237 [<CR><LF>0,1,8<CR><LF>]
efax: 54:29 .257 [<CR><LF>OK<CR><LF>]
efax: 54:29 response "OK"
efax: 54:29 command  "+FCLASS=1"
efax: 54:29 waiting 5.0 s
efax: 54:29 .327 [<CR><LF>OK<CR><LF>]
efax: 54:29 response "OK"
efax: 54:29 using 536EP in class 1
efax: 54:29 command  "+FRM=?"
efax: 54:29 waiting 5.0 s
efax: 54:29 .377
[<CR><LF>24,48,72,73,74,96,97,98,121,122,145,146<CR><LF>]
efax: 54:29 .397 [<CR><LF>OK<CR><LF>]
efax: 54:29 response "OK"
efax: 54:29 command  "A"
efax: 54:29 waiting 120.0 s
efax: 54:34 .307 [<CR><LF>CONNECT<CR><LF>]
efax: 54:34 response "CONNECT"
efax: 54:34 fax call answered
efax: 54:34 sent 23 bytes:
efax: 54:34  ff c0 02 04 04 04 04 04 04 04 04 04 04 04 04 04
efax: 54:34  04 04 04 04 04 04 04
efax: 54:34 sent CSI - answering ID
efax: 54:34 waiting 13.6 s
efax: 54:36 .037 [<CR><LF>CONNECT<CR><LF>]
efax: 54:36 response "CONNECT"
efax: 54:36 sent 6 bytes: ff c8 01 00 76 1e
efax: 54:36 sent DIS - answering capabilities
efax: 54:36 waiting 13.6 s
efax: 54:36 .397 [<CR><LF>OK<CR><LF>]
efax: 54:36 response "OK"
efax: 54:36 command  "+FRH=3"
efax: 54:36 waiting 3.0 s
efax: 54:39 waiting 2.0 s
efax: 54:39 .427 [<CR><LF>OK<CR><LF>]
efax: 54:39 response "OK"
efax: 54:39 received 0 bytes:
efax: 54:39 received DIS - answering capabilities
efax: 54:39 command  "+FTH=3"
efax: 54:39 waiting 3.1 s
efax: 54:39 .497 [<CR><LF>CONNECT<CR><LF>]
efax: 54:39 response "CONNECT"
efax: 54:39 sent 23 bytes:
efax: 54:39  ff c0 02 04 04 04 04 04 04 04 04 04 04 04 04 04
efax: 54:39  04 04 04 04 04 04 04
efax: 54:39 sent CSI - answering ID
efax: 54:39 waiting 13.6 s
efax: 54:41 .227 [<CR><LF>CONNECT<CR><LF>]
efax: 54:41 response "CONNECT"
efax: 54:41 sent 6 bytes: ff c8 01 00 76 1e
efax: 54:41 sent DIS - answering capabilities
efax: 54:41 waiting 13.6 s
efax: 54:41 .587 [<CR><LF>OK<CR><LF>]
efax: 54:41 response "OK"
efax: 54:41 command  "+FRH=3"
efax: 54:41 waiting 3.0 s
efax: 54:44 waiting 2.0 s
efax: 54:44 .617 [<CR><LF>OK<CR><LF>]
efax: 54:44 response "OK"
efax: 54:44 received 0 bytes:
efax: 54:44 received DIS - answering capabilities
efax: 54:44 command  "+FTH=3"
efax: 54:44 waiting 3.1 s
efax: 54:44 .687 [<CR><LF>CONNECT<CR><LF>]
efax: 54:44 response "CONNECT"
efax: 54:44 sent 23 bytes:
efax: 54:44  ff c0 02 04 04 04 04 04 04 04 04 04 04 04 04 04
efax: 54:44  04 04 04 04 04 04 04
efax: 54:44 sent CSI - answering ID
efax: 54:44 waiting 13.6 s
efax: 54:46 .417 [<CR><LF>CONNECT<CR><LF>]
efax: 54:46 response "CONNECT"
efax: 54:46 sent 6 bytes: ff c8 01 00 76 1e
efax: 54:46 sent DIS - answering capabilities
efax: 54:46 waiting 13.6 s
efax: 54:46 .777 [<CR><LF>OK<CR><LF>]
efax: 54:46 response "OK"
efax: 54:46 command  "+FRH=3"
efax: 54:46 waiting 3.0 s
efax: 54:49 waiting 2.0 s
efax: 54:49 .807 [<CR><LF>OK<CR><LF>]
efax: 54:49 response "OK"
efax: 54:49 received 0 bytes:
efax: 54:49 received DIS - answering capabilities
efax: 54:49 command  "+FTH=3"
efax: 54:49 waiting 3.1 s
efax: 54:49 .877 [<CR><LF>CONNECT<CR><LF>]
efax: 54:49 response "CONNECT"
efax: 54:49 sent 23 bytes:
efax: 54:49  ff c0 02 04 04 04 04 04 04 04 04 04 04 04 04 04
efax: 54:49  04 04 04 04 04 04 04
efax: 54:49 sent CSI - answering ID
efax: 54:49 waiting 13.6 s
efax: 54:51 .607 [<CR><LF>CONNECT<CR><LF>]
efax: 54:51 response "CONNECT"
efax: 54:51 sent 6 bytes: ff c8 01 00 76 1e
efax: 54:51 sent DIS - answering capabilities
efax: 54:51 waiting 13.6 s
efax: 54:51 .967 [<CR><LF>OK<CR><LF>]
efax: 54:51 response "OK"
efax: 54:51 command  "+FRH=3"
efax: 54:51 waiting 3.0 s
efax: 54:54 waiting 2.0 s
efax: 54:54 .997 [<CR><LF>OK<CR><LF>]
efax: 54:54 response "OK"
efax: 54:54 received 0 bytes:
efax: 54:54 received DIS - answering capabilities
efax: 54:54 command  "+FTH=3"
efax: 54:54 waiting 3.1 s
efax: 54:55 .067 [<CR><LF>CONNECT<CR><LF>]
efax: 54:55 response "CONNECT"
efax: 54:55 sent 23 bytes:
efax: 54:55  ff c0 02 04 04 04 04 04 04 04 04 04 04 04 04 04
efax: 54:55  04 04 04 04 04 04 04
efax: 54:55 sent CSI - answering ID
efax: 54:55 waiting 13.6 s
efax: 54:56 .797 [<CR><LF>CONNECT<CR><LF>]
efax: 54:56 response "CONNECT"
efax: 54:56 sent 6 bytes: ff c8 01 00 76 1e
efax: 54:56 sent DIS - answering capabilities
efax: 54:56 waiting 13.6 s
efax: 54:57 .157 [<CR><LF>OK<CR><LF>]
efax: 54:57 response "OK"
efax: 54:57 command  "+FRH=3"
efax: 54:57 waiting 3.0 s
efax: 55:00 waiting 2.0 s
efax: 55:00 .187 [<CR><LF>OK<CR><LF>]
efax: 55:00 response "OK"
efax: 55:00 received 0 bytes:
efax: 55:00 received DIS - answering capabilities
efax: 55:00 Error: no command/response from remote
efax: 55:00 command  "+FTH=3"
efax: 55:00 waiting 3.1 s
efax: 55:00 .257 [<CR><LF>CONNECT<CR><LF>]
efax: 55:00 response "CONNECT"
efax: 55:00 sent 3 bytes: ff c8 5f
efax: 55:00 sent DCN - disconnect
efax: 55:00 waiting 13.6 s
efax: 55:01 .497 [<CR><LF>OK<CR><LF>]
efax: 55:01 response "OK"
efax: 55:01 command  "H"
efax: 55:01 waiting 5.0 s
efax: 55:01 .947 [<CR><LF>OK<CR><LF>]
efax: 55:01 response "OK"
efax: 55:01 command  "Q0V1"
efax: 55:01 waiting 2.0 s
efax: 55:02 .027 [<CR><LF>OK<CR><LF>]
efax: 55:02 response "OK"
efax: 55:02 command  "H"
efax: 55:02 waiting 5.0 s
efax: 55:02 .567 [<CR><LF>OK<CR><LF>]
efax: 55:02 response "OK"
efax: 55:02 done, returning 3 (invalid modem response)
[philippe@victor efax]$ 

-  
http://vouters.dyndns.org:8080/
Philippe Vouters (Fontainebleau/France)


Le mardi 30 juin 2009 à 13:14 +0530, Tapan Chugh a écrit :
> 
> 
> On Tue, Jun 30, 2009 at 1:06 PM, Philippe Vouters
> <Philippe.Vouters@xxxxxxxxxxx> wrote:
>         Tapan,
>         
>         Can you :
>         $ efax -vewinchmart -d /dev/ttyS1
>         ???
>         You let efax run to completion and you send me its output.
>         Thank you in advance.
>         -
>         http://vouters.dyndns.org:8080/
>         Philippe Vouters (Fontainebleau/France)
>         
>         
>         
>         Le mardi 30 juin 2009 à 12:59 +0530, Tapan Chugh a écrit :
>         
>         >
>         >
>         > On Tue, Jun 30, 2009 at 12:51 PM, Philippe Vouters
>         > <Philippe.Vouters@xxxxxxxxxxx> wrote:
>         >         Tapan,
>         >
>         >         With the 537EP driver uninstalled, can you send me
>         the output
>         >         of (ttyS1
>         >         ought to be the serial line handled by the 8250_pci
>         (aka
>         >         serial)
>         >         driver):
>         >         $ stty -F /dev/ttyS1 -a
>         >         $ efax -d /dev/ttyS1
>         >         Thank you in advance.
>         >         -
>         >         http://vouters.dyndns.org:8080/
>         >         Philippe Vouters (Fontainebleau/France)
>         >
>         >
>         >         >
>         >
>         >
>         >         > It also does work with stty and efax. However efax
>         gives a
>         >         modem not
>         >         > responding after some time
>         >
>         >
>         >
>         > $ stty -F /dev/ttyS1 -a
>         >
>         > speed 9600 baud; rows 0; columns 0; line = 0;
>         > intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol =
>         <undef>;
>         > eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp
>         = ^Z;
>         > rprnt = ^R;
>         > werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
>         > -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
>         > -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr
>         icrnl
>         > ixon -ixoff
>         > -iuclc -ixany -imaxbel -iutf8
>         > opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0
>         cr0 tab0
>         > bs0 vt0 ff0
>         > isig icanon iexten echo echoe echok -echonl -noflsh -xcase
>         -tostop
>         > -echoprt
>         > echoctl echoke
>         >
>         > $  efax -d /dev/ttyS1
>         > efax: Tue Jun 30 13:03:20 2009 efax v 0.9a-001114 Copyright
>         1999 Ed
>         > Casas
>         > efax: Tue Jun 30 13:03:20 2009 efax v 0.9a-001114 Copyright
>         1999 Ed
>         > Casas
>         > efax: 03:20 compiled Feb 24 2009 09:27:00
>         > efax: 03:20 opened /dev/ttyS1
>         >
>         >  the output is the same for all other ports(ttyS2,ttyS3)
>         
>         
>         
> 
> efax: Tue Jun 30 13:16:34 2009 efax v 0.9a-001114 Copyright 1999 Ed
> Casas
> efax: Tue Jun 30 13:16:34 2009 efax v 0.9a-001114 Copyright 1999 Ed
> Casas
> efax: 16:34 compiled Feb 24 2009 09:27:00
> efax: 16:34 argv[0]=efax
> efax: 16:34 argv[1]=-vewinchmart
> efax: 16:34 argv[2]=-d
> efax: 16:34 argv[3]=/dev/ttyS1
> efax: 16:34 opened /dev/ttyS1
> 
> it is just sitting there probably because i have a phone line
> installed



[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux