[hcflinux] Can't dial outbound,
and a NO CARRIER result breaks RING reporting on subsequent inbound calls.
Linuxant modem support
modem.support at linuxant.com
Mon Jun 30 14:09:35 EDT 2003
Hi,
the outbound dialing problem might be related to the RELAYS/FLAGS settings
in the modem INF file. Usually, the easiest way to fix this is to import the
setting from the Windows driver.
If your modem works under Windows, please look for a ".cty" or ".inf" file
with your driver and then find the RELAYS and FLAGS settings in that file.
You will need to import these settings in the appropriate INF file under
Linux.
For the HCF PCI driver, the file to edit is "/etc/hcfpci/current.cty".
You have to import the settings under the correct country section (CANADA
settings start with "HKR,Country\20,"). Also, the RELAYS settings under
Linux are 32 bits, but they are 16 bits under Windows so you have to pad
each line with ",00,00" (eg. 6F,80 becomes 6F,80,00,00).
After saving the new "current.cty" file, run "hcfpcistop" to unload the
modules before testing again.
For the RING problem, I added an entry to our bug list. Thank you for your
tests.
Please let us know about your results.
Jean-Simon Durand
Technical specialist / Linuxant
www.linuxant.com
modem.support at linuxant.com
----- Original Message -----
From: "Darren Nickerson" <darren.nickerson at ifax.com>
To: <hcflinux at lists.mbsi.ca>
Sent: Thursday, June 26, 2003 6:58 PM
Subject: [hcflinux] Can't dial outbound, and a NO CARRIER result breaks RING
reporting on subsequent inbound calls.
Folks,
I'm new to the world of the linmodem (but not to the land of linux) so
forgive me if this problem report lacks sufficient detail. I'm using
hcfpcimodem-0.99lnxtbeta03042700k2.4.18_3 on a RedHat-7.3 box, and the
following modem (as identified by ./listmodem.sh):
=============================================================
= RESULT OF MODEM QUERY =
=============================================================
MODEM #1:
PCI CONFIGURATION INFORMATION READ:
Vendor Id : 14F1
Device Id : 1036
Revision Id : 1
Sub Vendor Id : 13E0
Sub Device Id : 0260
DEDUCED INFORMATION:
Vendor Name : CONEXANT
Device Name : HCF P85 Data/Fax/RemoteTam/Speakerphone
Modem Type : HCF
Download Site : http://www.mbsi.ca/cnxtlindrv/
When the driver loads, syslog reports:
Jun 26 16:58:42 neofax insmod: Module hcfpciengine loaded, with warnings
Jun 26 16:58:42 neofax insmod: Module hcfpciserial loaded, with warnings
Jun 26 17:35:35 neofax kernel: PCI: Found IRQ 5 for device 01:09.0
Jun 26 17:35:35 neofax kernel: PCI: Sharing IRQ 5 with 00:1f.3
Jun 26 17:35:35 neofax kernel: PCI: Sharing IRQ 5 with 01:05.0
Jun 26 17:35:35 neofax kernel: HCF ASIC ID: 85
Jun 26 17:35:35 neofax kernel: HCF DATAPUMP PART: '74' REV: 'BA'
I'm brave^H^H^H^H^Hstupid enough to want to try to use this for fax, and my
first stumbling block is that I can't seem to make dialout work. The server
is remote so I can't "listen" to what it does, but I'm 100% certain the
line's plugged in cuz I can dial it (more on that in a moment) but even
though I'm sure I'm using the right dialing rules (it needs a 9 at the
beginning) it don't work. The problem is, when I tell it to dial my fax
machine, it never
rings here! I know the modem's operating, and it DOES seem to know the
difference between a fast busy (without the 9 that's what you get) and a
real call ... :
(note - number deliberately obscured below)
ATDT12155551212
BUSY
ATDT912155551212
NO CARRIER
ATDT9,12155551212
NO CARRIER
Also, if I dial into the modem, and then try to place an outbound call from
the modem, the inbound call stops ringing in my ear & the modem reports:
ATDT9,12155551212
NO DIALTONE
Getting a little more clever, if I dial into the modem and do the following
on the modem:
ATX3DT9,12155551212
then it will blindly pick up the line and begin dialing. So when it goes
off-hook while I'm calling it, I actually hear it dial the DTMF numbers,
first 9, then a pause, then 12155551212. Encouraging.
I'm not 100% sure what it's doing, but it does NOT seem to be dialing as far
as the telco is concerned ... at least the call never rings on the other
end. Any
suggestions on what might be wrong? The setup program correctly guessed a
profile of CANADA, so this is not the problem reported by folks in Australia
(from the recent archives), I don't think. I'm still investigating this from
the telco side concurrently, but wanted to know if perhaps anyone is aware
of
any problems getting outbound dialing to work in Canada.
The second problem is that the modem doesn't seem to report RINGs
consistently. When I connect to the modem with minicom, and do ATZ to get
to a known state, then check with AT&V I see:
ATZ
OK
AT&V
ACTIVE PROFILE:
E1 L1 M1 Q0 T V1 X4 W0 &C1 &D2
S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:050 S08:002
S10:014 S12:050 S16:000 S18:000 S29:070
then within the same session I dial into the line, and I see ... absolutely
nothing. Nada. Zip. No RING RING. That's going to be a problem for receiving
faxes! ;-)
The odd thing is that later in the same minicom session it starts reporting
RINGs correctly. I had to dig into this more deeply, but I think I have a
reproducible
test case.
Remember my test above? Well after the ATX3DT timed out, we got NO CARRIER:
ATX3DT9,12155551212
NO CARRIER
When I dial in now, RINGS are NOT reported. I tried issuing ATZ, but this
did not help. What did help, however, was ATH0 (hang up). After that, the
RINGs were reported. I've tested this sequence repeatedly ... an outbound
dial that results in NO CARRIER stops RINGS from bering reported on inbound
calls, and an ATH0 seems to reset this switch and RINGs are reported
correctly again.
Interesting, issuing an ATA (answer) out of the blue without there being an
inbound call (which will result in NO CARRIER):
ATA
NO CARRIER
Also resets the RING detection, resulting in:
RING
RING
Looks like some cleanup's being missed after NO CARRIER on outbound dials?
-Darren
--
Darren Nickerson
Senior Sales & Support Engineer
iFax Solutions, Inc. www.ifax.com
darren.nickerson at ifax.com
+1.215.438.4638
More information about the hcflinux
mailing list