Modem problem

Mircea Damian (dmircea@kappa.ro)
Mon, 25 May 1998 21:33:35 +0300


--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hello,

I have a modem on my home computer on com2:

ttyS01 at 0x02f8 (irq =3D 3) is a 16550A

root@md:~# 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, closing_wait2: infinte
Flags: spd_normal skip_test

It works just fine for transferring data. Some info about it:

ATI3 gives:
Copyright (c) 1996 SSC, V3.20 32MHZ - 12/16/96

ATI4 gives:
PARALLEL-16550 * EXT-HYB * V34 * V42bis * TIES * CLASS1 FAX * CLASS2 FAX

This is a Sierra SQ3465 voice modem with a maximum speed of 33600bps for da=
ta and 14400 for fax.

The problem that I encountered was when I tried for the first time to send
a fax. I tried to dial manually and a sequence of commands like:

at+fclass=3D2
atdp7777777

will give me a bunch of strange characters after connect instead of a norma=
l answer
followed by OK. I thought then that I have a problem with my hardware(ie
modem) be than I noticed that the same configuration and the same sequence
of commands has a normal behavior in a MS-DOS application like term95.exe
(from Norton Commander 5.0).

I tried to use a 2.0.33 kernel(compiled with egcs 1.0.2 or with gcc 2.7.2.3=
). The
modem has the same symptoms with 2.1.103 and 2.1.104pre1(compiled with gcc =
2.7.2.3).
The fact that this configuration is working properly in MS-DOS with a
simple program (which doesn't use hardware/software flow control or any
other special features) makes me to believe that there is a bug in kernel or
this modem has something broken.

My configuration is:

root@md:/var/adm# cat /proc/cpuinfo=20
processor : 0
cpu family : 5
model : Pentium MMX
vendor_id : GenuineIntel
stepping : 3
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 mmx
bogomips : 332.60

Intel TX motherboard, 32Mb of SDRAM, IDE Quantum Fireball HDD(with UDMA)
Serial mouse on com1(com4 is enabled on my bios - I'm using it for a serial=
connection with another computer, but right now the cable is unplugged)

Kernel config:
root@md:~# egrep -v '^#|^$' /usr/src/linux/.config
CONFIG_EXPERIMENTAL=3Dy
CONFIG_M586=3Dy
CONFIG_MODULES=3Dy
CONFIG_NET=3Dy
CONFIG_PCI=3Dy
CONFIG_PCI_BIOS=3Dy
CONFIG_PCI_DIRECT=3Dy
CONFIG_PCI_QUIRKS=3Dy
CONFIG_PCI_OLD_PROC=3Dy
CONFIG_SYSVIPC=3Dy
CONFIG_SYSCTL=3Dy
CONFIG_BINFMT_AOUT=3Dm
CONFIG_BINFMT_ELF=3Dy
CONFIG_BINFMT_MISC=3Dy
CONFIG_VIDEO_SELECT=3Dy
CONFIG_BLK_DEV_FD=3Dy
CONFIG_BLK_DEV_IDE=3Dy
CONFIG_BLK_DEV_IDEDISK=3Dy
CONFIG_BLK_DEV_IDECD=3Dy
CONFIG_BLK_DEV_IDEPCI=3Dy
CONFIG_BLK_DEV_IDEDMA=3Dy
CONFIG_BLK_DEV_LOOP=3Dy
CONFIG_BLK_DEV_RAM=3Dy
CONFIG_PARIDE_PARPORT=3Dy
CONFIG_PACKET=3Dy
CONFIG_UNIX=3Dy
CONFIG_INET=3Dy
CONFIG_SYN_COOKIES=3Dy
CONFIG_IP_NOSR=3Dy
CONFIG_SKB_LARGE=3Dy
CONFIG_NETDEVICES=3Dy
CONFIG_DUMMY=3Dm
CONFIG_PPP=3Dy
CONFIG_EXT2_FS=3Dy
CONFIG_ISO9660_FS=3Dy
CONFIG_JOLIET=3Dy
CONFIG_FAT_FS=3Dy
CONFIG_VFAT_FS=3Dy
CONFIG_PROC_FS=3Dy
CONFIG_AUTOFS_FS=3Dy
CONFIG_NLS=3Dy
CONFIG_NLS_CODEPAGE_437=3Dy
CONFIG_NLS_CODEPAGE_852=3Dy
CONFIG_NLS_ISO8859_1=3Dy
CONFIG_NLS_ISO8859_2=3Dy
CONFIG_VT=3Dy
CONFIG_VT_CONSOLE=3Dy
CONFIG_SERIAL=3Dy
CONFIG_SOUND=3Dy
CONFIG_SOUND_SB=3Dy
CONFIG_SB_BASE=3D220
CONFIG_SB_IRQ=3D5
CONFIG_SB_DMA=3D1
CONFIG_SB_DMA2=3D5
CONFIG_SB_MPU_BASE=3D330
CONFIG_SB_MPU_IRQ=3D-1
CONFIG_PROFILE=3Dy
CONFIG_PROFILE_SHIFT=3D2
CONFIG_MAGIC_SYSRQ=3Dy
CONFIG_VGA_CONSOLE=3Dy

PS: The kernel 2.1.104pre1 looks stable to me. I'm running it for 6 hours a=
nd I had no problems 'till now(gcc+netscape+ppp+Xwindows).

--=20
Mircea Damian
System Administrator
dmircea@roedu.net, dmircea@lbi.ro, dmircea@kappa.ro
MD65-RIPE, MD2225

--huq684BweRXVnRxX
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: OBIYC7th7Eiv24vz2NbFtYq9gG4/Q6nm

iQA/AwUBNWm5fE8GeONLrrA2EQJlHgCgrqCZamQuTN7fHpQ4tsdwGjyW6LUAn2wF
jk/gJUiMh8D917l8SzmFhlZM
=tEnI
-----END PGP SIGNATURE-----

--huq684BweRXVnRxX--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu