[hcflinux] Redhat 9, dial tone remains during dialing

John Spray jcs116 at york.ac.uk
Sun Jul 6 12:33:45 EDT 2003


Jean-Simon,

Unfortunately, altering the FLAGS/RELAYS settings has made no difference 
to the behaviour of the modem.  I do not own Windows, however I did have 
the windows driver disc that came with the hardware.  It contained 
configurations for a number of models, all apparently referring to the 
same PCI ID.  The settings that I obtained from the driver disc are 
below (grep output):

"""
sup2380.inf:HKR,Oem,FLAGS, 1, 00,36,00,00 ; digital speaker, PME, legacy 
AT commands,
sup2390.inf:HKR,Oem,FLAGS, 1, 82,36,00,00 ; analog speaker, spkmute, 
PME, legacy AT, none response in country tab.
sup2560.inf:HKR,Oem,FLAGS, 1, 84,36,00,00 ; digital speaker, D/F/TAM, 
PME, spkmute, legacy AT

sup2380.cty:HKR,Country\002A,RELAYS,1,7F,80,FF,00,FE,00,FE,00,FD,00,FF,00,F8,00,FA,00,BA,00,BB,00,BA,00,BA,00
sup2390.cty:HKR,Country\002A,RELAYS,1,7F,80,FF,00,FE,00,FE,00,FD,00,FF,00,F8,00,FA,00,BA,00,BB,00,BA,00,BA,00
sup2560.cty:HKR,Country\002A,RELAYS,1,7F,80,FF,00,FE,00,FE,00,FD,00,FF,00,F8,00,FA,00,BA,00,BB,00,BA,00,BA,00

sup2380.cty:HKR,Country\002A,FLAGS,1,00,00,1C,00
sup2390.cty:HKR,Country\002A,FLAGS,1,00,00,1C,00
sup2560.cty:HKR,Country\002A,FLAGS,1,00,00,1C,00
"""

You may notice that the country code is not the 00B4 reported by 
hcfpciconfig (below).  These drivers appeared to refer to the UK 
settings with code 002A.  I believe this to correspond to the same area 
because of the T35CODE line in the windows driver - containing the value 
B4.  The windows driver contains no other reference to a country code of 
00B4.

 From the win32 drivers:
"""
HKR,Country\002A,T35CODE,1,B4,00
HKR,Country\002A,NAME,,"UK"
"""

$ hcfpciconfig --info
"""
Linux HCF controllerless modem drivers, version 0.99lnxtbeta03042700

Current HCF configuration:

    Country name: "UK", T.35 code: 00B4
    PCI Modem vendor-id: 127A, device-id: 1002
    PCI Modem subvendor-id: 1092, subdevice-id: 0A00

Driver inf filename: /etc/hcfpci/inf/hcfv90_linux.inf
"""

The settings that I put into the current.cty file:

"""
HKR,Country\B4,RELAYS,1,\
7F,80,00,00,\
FF,00,00,00,\
FE,00,00,00,\
FE,00,00,00,\
FD,00,00,00,\
FF,00,00,00,\
F8,00,00,00,\
FA,00,00,00,\
BA,00,00,00,\
BB,00,00,00,\
BA,00,00,00,\
BA,00,00,00

HKR,Country\B4,FLAGS,1,00,00,00,00,1C,00,00,00
"""

The settings that I put into the current.inf file:

"""
; 3rd try:
HKR,Oem,FLAGS, 1, 00,36,00,00 ; digital speaker, PME, legacy AT commands,

; 1st try:
; HKR,OEM,FLAGS, 1, 82,36,00,00 ; analog speaker, spkmute, PME, legacy 
AT, none response in country tab.

; 2nd try:
; HKR,Oem,FLAGS, 1, 84,36,00,00 ; digital speaker, D/F/TAM, PME, 
spkmute, legacy AT
"""

The comments refer to my sequential experimentation with the three 
different configurations present in the windows drivers (I was unable to 
determine which corresponded to my hardware).  I attempted to dial up 
using all three, running hcfpcistop in between, with no success.  In 
case it's of interest, the '1st try' line caused the modem to produce no 
speaker output, although it could be heard dialling using an external 
handset.  (ah, I just noticed 'spkmute' in the comments for the line :-)).

Any further assistance would be very much appreciated.

John Spray



Linuxant modem support wrote:

>Hi,
>
>This might be a FLAGS/RELAYS problem. If your modem work correctly under
>Windows, you can usually import the settings from the Windows driver. I will
>give you the procedure.
>
>Please find a ".cty" or ".inf" file included with your Windows modem driver
>(you might have both) and then look for the lines starting with:
>
>"HKR,OEM,FLAGS,1,"
>"HKR,Country\XX,RELAYS,1,"
>"HKR,Country\XX,FLAGS,1,"
>
>"XX" has to be replaced with your specific country code (the code is shown
>when you run "hcfpciconfig --info"; it's 2 characters under Linux, but it
>might be 4 under Windows).
>
>Once you found the settings, you need to import them in the INF files under
>Linux. You are not adding anything; you need to replace the existing
>settings. There are two files to edit.
>
>The "OEM FLAGS" settings go in the file "/etc/hcfpci/current.inf".
>
>The other settings (those with the country codes) go in the file
>"/etc/hcfpci/current.cty".
>
>Please note that 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.inf" and "current.cty" files, run "hcfpcistop"
>to unload the modules before testing again.
>
>Please tell us about your results.
>
>Regards,
>
>Jean-Simon Durand
>Technical specialist / Linuxant
>www.linuxant.com
>modem.support at linuxant.com
>
>
>----- Original Message ----- 
>From: "John Spray" <jcs116 at york.ac.uk>
>To: <hcflinux at lists.mbsi.ca>
>Sent: Monday, June 30, 2003 8:37 PM
>Subject: [hcflinux] Redhat 9, dial tone remains during dialing
>
>
>Hello,
>
>Before I start:
>-Red Hat 9, kernel 2.4.20-8
>-HCF modem 127a:1002
>-Driver package hcfpcimodem-0.99lnxtbeta03042700k2.4.20_8-1rh.athlon.rpm
>-Country: UK
>
>I am unable to successfully establish a connection.  The dialtone is heard
>to persist as the modem tries to dial out.  When the number has finished
>being dialed, I hear the dialtone continue, and a perioding beeping sound.
>This problem is also present using the generic tarball on a kernel.org
>2.4.19 kernel in RH7.2 on the same hardware.
>
>Interestingly, if I use the USA settings (in the UK), the dialtone is
>banished during dialing, but the following handshakish sounds are very
>distorted, and this does not complete successfully.
>
>This modem has been functional to some extent in the past using the
>hcfpcimodem driver, however I unfortunately do not have the relevant
>information about the setup used - the hardware has been out of use for a
>while.
>
>hcfpciconfig --dumpdiag is attached.
>
>Thanks in advance for any assistance.
>
>John Spray
>
>  
>





More information about the hcflinux mailing list