Help: Linux won't recognize my modem

Help: Linux won't recognize my modem

Post by Zhongxia YU » Sun, 12 Oct 1997 04:00:00



Hi,

I'm having problems to make linux recognize my modem. I'm using RedHat
4.2 (kernel 2.0.30). My modem is Compaq 336-VSC (internal) with irq=3
and address=0x2f8 (it's on COM2 at Win95). When starting kermit in
linux and doing a "set line /dev/cua1", the following message was
displayed:
               /dev/cua1 is not a terminal device
               Sorry, can't open connection: /dev/cua1

This happens even when I made sure that the /dev/cua1 is set with
correct parameters, i.e. "setserial /dev/cua1 irq 3 addr 0x2f8 uart
16550A".  Doing an "ls -l /dev/cua*" gives following infomation:

        crw-rw----  1 root    uucp     5, 64 Oct 11 13:37 cua0
        crw-rw----  1 root    uucp     5, 65 Dec 31  1979 cua1
        crw-rw----  1 root    uucp     5, 66 Dec 31  1979 cua2
        crw-rw----  1 root    uucp     5, 67 Dec 31  1979 cua3

Any ideas? I've already been tweaking this for quite along time and almost
give up... ;-(  Any hint will be greatly appreciated.

Thanks.

--

School of Computer Science     WWW: http://www.cs.mcgill.ca/~zxyuan
McGill University              Phone(home):   (514)845-4293
Montreal, QC                   Phone(office): (514)398-7086

 
 
 

Help: Linux won't recognize my modem

Post by Sid Boyc » Mon, 13 Oct 1997 04:00:00



> Hi,

> I'm having problems to make linux recognize my modem. I'm using RedHat
> 4.2 (kernel 2.0.30). My modem is Compaq 336-VSC (internal) with irq=3
> and address=0x2f8 (it's on COM2 at Win95). When starting kermit in
> linux and doing a "set line /dev/cua1", the following message was
> displayed:
>                /dev/cua1 is not a terminal device
>                Sorry, can't open connection: /dev/cua1

> This happens even when I made sure that the /dev/cua1 is set with
> correct parameters, i.e. "setserial /dev/cua1 irq 3 addr 0x2f8 uart
> 16550A".  Doing an "ls -l /dev/cua*" gives following infomation:

        Most of the vendors assume you don't need half the machine you have so
they set up devices for the people who get confused beyond COM3. What
you have here is a direct conflict between the on-board COM port and
your modem, so here goes, I'm assuming it is Plug and Play.
Get isapnptools from sunsite.unc.edu in the debian distribution, or you
may have it on CD, alternatively you could use your dos/windows disk to
set it to a different IRQ and port address.
        With isapnptools, you use "pnpdump >/etc/isapnp.conf", then edit
/etc/isapnp.conf and uncomment the lines you want to use ...........
(IO 0 (BASE 0x03e8))
#       IRQ 4.
#             Low true, edge sensitive interrupt
(INT 0 (IRQ 5 (MODE -E)))
......................................
#     End dependent functions
(ACT Y)
))
# End tag... Checksum 0x12 (BAD)
......................................
        The above examples are from my Hayes Accura 56K. Next run ......
"isapnp /etc/isapnp.conf", followed by your setserial e.g ....
"/bin/setserial /dev/cua2 port 0x3e8 irq 5 uart 16550A skip_test
spd_vhi"
        I would suggest you place those 2 commands in a startup script like
/etc/rc.d/rc.serial so they are executed at boot time.
        Hope this gets the job done, it's helped others get PNP modems going.
Regards

--
... Sid Boyce...Amdahl(UK)...44-121 422 0375
                   -----------------------------------
Any opinions expressed above are mine and do not necessarily represent
 the opinions or policies of Amdahl Corporation.

 
 
 

Help: Linux won't recognize my modem

Post by M. Buchenried » Wed, 15 Oct 1997 04:00:00



>Hi,
>I'm having problems to make linux recognize my modem. I'm using RedHat
>4.2 (kernel 2.0.30). My modem is Compaq 336-VSC (internal) with irq=3

                                   ^^^^^^^^^^^^^
[...]

This is a WinModem. Sorry, but you can't use this device outside
of MS Windows at all. It's an utterly worthless piece of crap.
Sell it to a Compaq Win95-only user, or ask your Compaq reseller
for an exchange.

Michael
--

**************************************************************************
Satellite Safety Tip #4:
                If you see a bright streak in the sky coming at you, duck.

 
 
 

Help: Linux won't recognize my modem

Post by Matt Kirsc » Wed, 15 Oct 1997 04:00:00


 > I'm having problems to make linux recognize my modem. I'm using
RedHat
 > 4.2 (kernel 2.0.30). My modem is Compaq 336-VSC (internal) with irq=3
 > and address=0x2f8 (it's on COM2 at Win95). When starting kermit in
 > linux and doing a "set line /dev/cua1", the following message was
 > displayed:
 >                /dev/cua1 is not a terminal device
 >                Sorry, can't open connection: /dev/cua1

 > This happens even when I made sure that the /dev/cua1 is set with
 > correct parameters, i.e. "setserial /dev/cua1 irq 3 addr 0x2f8 uart
 > 16550A".  Doing an "ls -l /dev/cua*" gives following infomation:

So you've verified that the software end of things is correct. Now it is
time to look at the hardware end of things...

Look at the boot messages with dmesg, and see what serial ports are
detected by Linux on bootup. If you don't see /dev/cua1, the following
applies:

In all likelihood, the modem is a Plug-and-Play modem, meaning that it
requires a special program to set its "jumpers" EVERY TIME YOU BOOT.
Without being initialized, the modem is at IRQ=null and address=null, so
the Linux serial driver won't be able to find it.

The program you need in Linux is called isapnptools, and it may already
be installed on your RedHat system. Read the included documentation and
give it a whirl.

Another possibility is that this modem is a crippled "Winmodem" included
in some systems. These modems are not the normal "serial port plus
external modem on a card" internal modems. Instead, they're specialized
hardware that requires a specialized Windows 95-only driver that does
all the normal things modems normally do on the system's CPU. They're
not supported by Linux because the manufacturers won't release
specifications for the drivers, they're junk, and they wouldn't work
reliably in a multitasking OS like Linux even if there were a driver. In
that case, the only choice is to buy a new, REGULAR, modem.

 
 
 

1. Help: Linux won't recognize my modem

Hi,

I'm having problems to make linux recognize my modem. I'm using RedHat
4.2 (kernel 2.0.30). My modem is Compaq 336-VSC (internal) with irq=3
and address=0x2f8 (it's on COM2 at Win95). When starting kermit in
linux and doing a "set line /dev/cua1", the following message was
displayed:
               /dev/cua1 is not a terminal device
               Sorry, can't open connection: /dev/cua1

This happens even when I made sure that the /dev/cua1 is set with
correct parameters, i.e. "setserial /dev/cua1 irq 3 addr 0x2f8 uart
16550A".  Doing an "ls -l /dev/cua*" gives following infomation:

        crw-rw----  1 root    uucp     5, 64 Oct 11 13:37 cua0
        crw-rw----  1 root    uucp     5, 65 Dec 31  1979 cua1
        crw-rw----  1 root    uucp     5, 66 Dec 31  1979 cua2
        crw-rw----  1 root    uucp     5, 67 Dec 31  1979 cua3

Any ideas? I've already been tweaking this for quite along time and almost
give up... ;-(  Any hint will be greatly appreciated.

Thanks.

--

School of Computer Science     WWW: http://www.cs.mcgill.ca/~zxyuan
McGill University              Phone(home):   (514)845-4293
Montreal, QC                   Phone(office): (514)398-7086

2. Dual-boot

3. SoundChip of Notebook VirageII?

4. HELP: Yggdrasil fall 94 won't recognise my modem

5. Register linux host with static IP dynamically in Windows DNS

6. HELP: Yggdrasil fall 94 won't recognised my modem

7. Mouse pointer problem on SuSE Linux 7.2

8. Linux won't recognize my modem

9. Linux won't recognise my internal modem.

10. HELP: pppd won't talk to modem, and won't link up with ISP

11. 'Toolkit for Linux' won't recognize CDROM

12. HELP: Linux instal won't recognize adaptec SCSI card