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

RE: [Sheflug] Modem Stuff



I had problems with a serial port the other week showing up in setserial as
all correct, but I could not talk to it.

try using cu -l ttyS0

this will do one of the following

if the modem is available respond with a connected message at which you can
type AT commands. (to exit type ~.)

if the port is not available (does not exist) then it will report connected
then disconnect immediately (on a normal PC this will happen from ttyS2
upwards, or ttyS1 if only one com port fitted)

If you get line in use returned something else is using the port. try 
	lsof /dev/ttyS0
or
	fuser /dev/ttyS0

these will both report what is using the port. If like in my case nothing is
shown have a look in /proc/interrupts

I ended up having a problem with the network card using the same interupt as
ttyS0, reconfiguring the network card to use a different IRQ solved the
problem.

Hope this may be of some use.

Alastair

> -----Original Message-----
> From:	Steve Brown [SMTP:steve.brown [at] racalinst.co.uk]
> Sent:	Wednesday, March 07, 2001 3:18 PM
> To:	Sheflug
> Subject:	Re: [Sheflug] Modem Stuff
> 
> Richard said:
> > > The hardware in question is an external US Robotics 3 com 56K
> 
> José Luis Gómez Dans wrote:
> >         Well, it looks as if you have forgotten to set the serial port
> > settings for the modem. You have to find out which IRQ and IO address
> 
> Actually, he did say it was an external USR modem, so that's going to
> use an existing serial port.
> 
> The only one listed in the setserial * list was:
> > > /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
> 
> Which would be COM1 in DOS terms. Looks sensible to me.
> 
> So, minicom should be able to talk to the modem using device ttyS0, and
> I'd try 38400 baud first. It might be worth a check of /etc/inittab to
> make sure the system hasn't been reconfigured to have a getty running on
> the serial port - that might prevent minicom from opening the port.
> 
> Steve
> -- 
> 
>       Steve Brown,  Senior Engineer      
> Thales Instruments Ltd, Slough, Berks, UK.
> 
> 
> **************************************************************************
> *****************************
> The information contained in this e-mail is confidential. It may also be
> legally privileged.
> It is intended only for the stated addressee(s) and access to it by any
> other person
> is unauthorised. If you are not an addressee, you must not disclose, copy,
> circulate or
> in any other way use or rely on the information contained in this e-mail.
> Such unauthorised use may be unlawful.
> 
> If you have received this e-mail in error, please inform us immediately on
> +44 (0)1628 604455 (ask for the I.T. dept) and delete it and all copies
> from your system.
> **************************************************************************
> *****************************
> ---------------------------------------------------------------------
> Sheffield Linux User's Group - http://www.sheflug.co.uk
> To unsubscribe from this list send mail to
> - <sheflug-request [at] vuw.ac.nz> - with the word 
>  "unsubscribe" in the body of the message. 
> 
>   GNU the choice of a complete generation.
> 


*******************************************************************************************************
The information contained in this e-mail is confidential. It may also be legally privileged.
It is intended only for the stated addressee(s) and access to it by any other person
is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or
in any other way use or rely on the information contained in this e-mail.
Such unauthorised use may be unlawful.

If you have received this e-mail in error, please inform us immediately on
+44 (0)1628 604455 (ask for the I.T. dept) and delete it and all copies from your system.
*******************************************************************************************************
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.