Re: /dev/ttyS1 already in use
On Fri, 14 May 1999, David Wright wrote:
> Quoting Robert King (king@mailbox.gu.edu.au):
> > Hi,
> > I'm having trouble getting my serial line to work on a 486 at home. It
> > has a working slackware install on one disk and I'm endeavouring to
> > install hamm on a new disk. Whenever I try anything with ttyS1, I'm told
> > its already in use. How do I work out what's causing this?
> > I've checked that it is the modem and not the mouse, and the mouse works
> > OK (tested using gpm, I don't have X up and running either).
>
> Difficult to know what you mean by "try anything", or what packages
> you've installed to use it. In the first instance, fuser /dev/ttyS1
> will tell you the PID of any process using it. Secondly, check it's
> crw-rw---- 1 root dialout 4, 65 Mar 3 17:20 /dev/ttyS1
> and that you're in dialout (type groups). Then try it out with
> minicom and see if you can dial.
Check in /var/lock and see if there is a stale lockfile that got left
lying around.
Reply to: