HylaFAX The world's most advanced open source fax server

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

[hylafax-users] I need help configuring my fax modem.



Hello.
Sorry for the long email.
 
I'm new to HylaFax and a Linux newbie.
My system is a P4 running Debian etch 4.0.
 
I'm trying to configure my fax modem using faxaddmodem and I'm not having much luck.
I've called faxmodem on ttyS0 - ttyS3.
faxaddmodem tries to communicate with my modem at various baud rates without success.
 
I actually have two fax modems installed. One is Intel and the other is Best Data.
My BIOS Stats tells me that there is a communication device on slot 2 with IRQ10
and one on slot 3 with IRQ5. The Intel is in slot 2 and Best Data in slot 3. Ethernet card is in slot 1.
 
Here is the diagnostics from Best Data fax modem:
ATQ0V1E0 - OK
AT+GMM - +GMM: HCF 56K Modem
AT+FCLASS=? - 0,1
AT#CLS=? - COMMAND NOT SUPPORTED
AT+GCI? - +GCI: B5
AT+GCI=? - +GCI: (00,04,07,09,0A,0F,16,20,26,2E,31,3C,3D,46,50,51,52,53,54,57,58,59,61,69,6C,73,7B,7E,82,89,8A,8B,9C,9F,A0,A5,A6,A9,AE,B3,B4,B5,B8,FC,FE)
ATI1 - 255
ATI2 - OK
ATI3 - 2.1.2.171.021.003
ATI4 - HCF 56K Modem
ATI5 - 181
ATI6 - DP Rev BA
V90 SPX RAM Ver 08
V90 CTL RAM Ver 08
K56FLEX SPX RAM Ver 47
K56FLEX CTL RAM Ver 47
ATI7 - 255
 
I cannot remember how I obtained this diagnostics. I wish I could reproduce it.
 
I've tried to communicate with my fax modems using cu and picocom. Here are the outputs.
 
EfaxServ:/proc# cu -l /dev/ttyS0
cu: Stale lock /var/lock/LCK..ttyS0 held by process 4037 created 2008-09-23 20:56:57
cu: remove (/var/lock/LCK..ttyS0): Operation not permitted
cu: /dev/ttyS0: Line in use
EfaxServ:/proc# cu -l /dev/ttyS1
cu: open (/dev/ttyS1): Permission denied
cu: /dev/ttyS1: Line in use
EfaxServ:/proc# cu -l /dev/ttyS2
cu: open (/dev/ttyS2): Permission denied
cu: /dev/ttyS2: Line in use
EfaxServ:/proc# cu -l /dev/ttyS3
cu: open (/dev/ttyS3): Permission denied
cu: /dev/ttyS3: Line in use
EfaxServ:/proc#
 
 
EfaxServ:/proc# fuser -u /dev/ttyS0
EfaxServ:/proc# fuser -um /dev/ttyS0
/dev/ttyS0:              1(root)  1081(root)  1942(daemon)  2193(root)  2265(hplip)  2352(root)  2370(root)  2378(messagebus)  2386(haldaemon)  2387(root)  2393(haldaemon)  2400(haldaemon)  2411(root)  2422(root)  2429(root)  2444(avahi)  2445(avahi)  2452(root)  2516(Debian-exim)  2790(root)  3537(uucp)  3549(root)  3559(root)  3616(root)  3617(root)  3625m(root)  3628(statd)  3654(daemon)  3679(root)  3727(root)  3749c(root)  3750c(root)  3751c(root)  3752c(root)  3753c(root)  3754c(root)  3765(www-data)  3766(www-data)  3767(www-data)  3768(www-data)  3769(www-data)  3775(gdm)  3776(root)
I get the same exact output for /dev/ttyS1-3.

EfaxServ:/proc# picocom -b 115200 -l /dev/ttyS0
picocom v1.4
 
port is        : /dev/ttyS0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : yes
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv
 
Terminal ready
 
The command line just hangs. I have to kill the terminal to quit. '~.'won't work.
 
 
Here is all the available information on my serial devices:
EfaxServ:/proc# setserial -a /dev/ttyS0
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
        Baud_base: 115200, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal skip_test
 
EfaxServ:/proc# setserial -a /dev/ttyS1
/dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3
        Baud_base: 115200, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal skip_test
 
EfaxServ:/proc# setserial -a /dev/ttyS2
/dev/ttyS2, Line 2, UART: 16450, Port: 0xe808, IRQ: 169
        Baud_base: 115200, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal skip_test
 
EfaxServ:/proc# setserial -a /dev/ttyS3
/dev/ttyS3, Line 3, UART: 8250, Port: 0xe810, IRQ: 169
        Baud_base: 115200, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal skip_test
 
EfaxServ:/proc#
 
 
What can I do to configure my fax modems?
John

 



Project hosted by iFAX Solutions