public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* Making Device Fiiles
@  John J. Boyer
   ` Rafael
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: John J. Boyer @  UTC (permalink / raw)
  To: blinux-list

Hello,
I'm trying to set up minicom to work with a special modem for
communicating with the deaf relay service and with deaf friends and
customers. The modem is in serial port 2. The parameters are 300 baud, 8
data bits, 1 stop bit, no parity, half duplex. The 300 baud speed is
standard for this application, since people are just typing. When I do
minicom -s
as root, I get the message that it cannot find /dev/modem. So how do I
make this file? I am using Redhat 7.1.
Thanks.
John


-- 
Computers to Help People, Inc.
http://www.chpi.org
825 East Johnson; Madison, WI 53703





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
   Making Device Fiiles John J. Boyer
@  ` Rafael
   ` Janina Sajka
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 13+ messages in thread
From: Rafael @  UTC (permalink / raw)
  To: blinux-list

You can make a link like this
cd /dev
ln -s ttyS1 modem

that's assuming your second serial port is on ttyS1

or you could reconfigure minicom to talk to /dev/ttyS1 instead of modem. 
There are other params you need to change in minicom anyway and changing 
modem device won't be hard.

On Tue, Jan 29, 2002 at 12:44:29PM -0600, John J. Boyer wrote:
> Hello,
> I'm trying to set up minicom to work with a special modem for
> communicating with the deaf relay service and with deaf friends and
> customers. The modem is in serial port 2. The parameters are 300 baud, 8
> data bits, 1 stop bit, no parity, half duplex. The 300 baud speed is
> standard for this application, since people are just typing. When I do
> minicom -s
> as root, I get the message that it cannot find /dev/modem. So how do I
> make this file? I am using Redhat 7.1.
> Thanks.
> John
> 
> 
> -- 
> Computers to Help People, Inc.
> http://www.chpi.org
> 825 East Johnson; Madison, WI 53703

-- 
Rafael




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
   Making Device Fiiles John J. Boyer
   ` Rafael
@  ` Janina Sajka
     ` John J. Boyer
   ` Cheryl Homiak
   ` Nicolas Pitre
  3 siblings, 1 reply; 13+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: blinux-list

John:

Can you use the source available at:

http://www.zapatatelephony.org/

On Tue, 29 Jan 2002, John J. Boyer wrote:

> Hello,
> I'm trying to set up minicom to work with a special modem for
> communicating with the deaf relay service and with deaf friends and
> customers. The modem is in serial port 2. The parameters are 300 baud, 8
> data bits, 1 stop bit, no parity, half duplex. The 300 baud speed is
> standard for this application, since people are just typing. When I do
> minicom -s
> as root, I get the message that it cannot find /dev/modem. So how do I
> make this file? I am using Redhat 7.1.
> Thanks.
> John
> 
> 
> 

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
   ` Janina Sajka
@    ` John J. Boyer
       ` Rafael
       ` Janina Sajka
  0 siblings, 2 replies; 13+ messages in thread
From: John J. Boyer @  UTC (permalink / raw)
  To: blinux-list

Janina,
This site appears to be mostly about a special card which they
developed, and the software appears to be designed to work with this
card. I'm just looking for a program that will work with the modem I
already have hooked up. Minicom keeps complaining about one thing and
another. There is no global minicomrc.dfl file, and if I try minicom -s
it won't do anything. I tried making a link to ttys1, but that doesn't
help. It just gives a different error message.
John
On Tue, 29 Jan 2002, Janina
Sajka wrote:

> John:
>
> Can you use the source available at:
>
> http://www.zapatatelephony.org/
>
> On Tue, 29 Jan 2002, John J. Boyer wrote:
>
> > Hello,
> > I'm trying to set up minicom to work with a special modem for
> > communicating with the deaf relay service and with deaf friends and
> > customers. The modem is in serial port 2. The parameters are 300 baud, 8
> > data bits, 1 stop bit, no parity, half duplex. The 300 baud speed is
> > standard for this application, since people are just typing. When I do
> > minicom -s
> > as root, I get the message that it cannot find /dev/modem. So how do I
> > make this file? I am using Redhat 7.1.
> > Thanks.
> > John
> >
> >
> >
>
>

-- 
Computers to Help People, Inc.
http://www.chpi.org
825 East Johnson; Madison, WI 53703





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
   Making Device Fiiles John J. Boyer
   ` Rafael
   ` Janina Sajka
@  ` Cheryl Homiak
   ` Nicolas Pitre
  3 siblings, 0 replies; 13+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: blinux-list

I am wondering about this problem from a different angle. I am wondering
why John has to make a /dev/modem. I am using debian, if that makes a
difference. I have no /dev/modem, and minicom has never complained about
my not having one. What would cause minicom to need a /dev/modem?

-- 
				Cheryl





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
   Making Device Fiiles John J. Boyer
                   ` (2 preceding siblings ...)
   ` Cheryl Homiak
@  ` Nicolas Pitre
     ` A. R. Vener
  3 siblings, 1 reply; 13+ messages in thread
From: Nicolas Pitre @  UTC (permalink / raw)
  To: John J. Boyer; +Cc: blinux-list

On Tue, 29 Jan 2002, John J. Boyer wrote:

> The modem is in serial port 2.
>
> When I do minicom -s as root, I get the message that it cannot find
> /dev/modem. So how do I make this file?

As root:

	ln -s /dev/ttyS1 /dev/modem

Note that ttyS0 = COM1 and ttyS1 = COM2.


Nicolas




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
     ` John J. Boyer
@      ` Rafael
         ` John J. Boyer
       ` Janina Sajka
  1 sibling, 1 reply; 13+ messages in thread
From: Rafael @  UTC (permalink / raw)
  To: blinux-list

On Tue, Jan 29, 2002 at 03:45:28PM -0600, John J. Boyer wrote:
> Janina,
> This site appears to be mostly about a special card which they
> developed, and the software appears to be designed to work with this
> card. I'm just looking for a program that will work with the modem I
> already have hooked up. Minicom keeps complaining about one thing and
> another. There is no global minicomrc.dfl file, and if I try minicom -s
> it won't do anything. I tried making a link to ttys1, but that doesn't
> help. It just gives a different error message.

You quoted ttys1, note it should be ttyS0 that's capital S.

I just tested minicom on y system as root. The sequence to change the 
parameters is
Ctrl-A z p a q

Ctrl-A o (scrol down 2 lines for serial port configuration) where you can 
make changes. Under A is Serial Device : /dev/ttyS0 (on my system)
E -    Bps/Par/Bits       : 9600 8N1
F - Hardware Flow Control : Yes
G - Software Flow Control : No

As root you should be able to create minicomrc.dfl. If you want to use 
minicom program you might need to change the ownership of /dev/ttyS0 to 
other user or chmod 666 it.

If minicom doesn't work you may try program kermit. I used both to connect
PC with linux to serial ports on Sun servers.


> John
> On Tue, 29 Jan 2002, Janina
> Sajka wrote:
> 
> > John:
> >
> > Can you use the source available at:
> >
> > http://www.zapatatelephony.org/
> >
> > On Tue, 29 Jan 2002, John J. Boyer wrote:
> >
> > > Hello,
> > > I'm trying to set up minicom to work with a special modem for
> > > communicating with the deaf relay service and with deaf friends and
> > > customers. The modem is in serial port 2. The parameters are 300 baud, 8
> > > data bits, 1 stop bit, no parity, half duplex. The 300 baud speed is
> > > standard for this application, since people are just typing. When I do
> > > minicom -s
> > > as root, I get the message that it cannot find /dev/modem. So how do I
> > > make this file? I am using Redhat 7.1.
> > > Thanks.
> > > John
> > >
> > >
> > >
> >
> >
> 
> -- 
> Computers to Help People, Inc.
> http://www.chpi.org
> 825 East Johnson; Madison, WI 53703
> 

-- 
Rafael




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
   ` Nicolas Pitre
@    ` A. R. Vener
  0 siblings, 0 replies; 13+ messages in thread
From: A. R. Vener @  UTC (permalink / raw)
  To: blinux-list

My /dev/modem is a symbolic link to /dev/ttyS0





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
       ` Rafael
@        ` John J. Boyer
           ` Nicolas Pitre
                           ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: John J. Boyer @  UTC (permalink / raw)
  To: blinux-list

Rafael,
When I changed the link at /dov/modem to point to /dev/ttyS1 Minicom
showed a sort of menu with the instruction to press CRTl-a and z for
help. So I dod that, pressed p for parameters, set them to 300n81.
However, minicom still won't create the /etc/minicomrc.dfl file.
Incidentally, it has an attrocious interface. Instead of just using a
plain text interface it is doing something fancy. Anyway, it is
accessing the modem, because the modem is sending back instructions and
error messages that I'm familiar with.
So how do I get this beast to create its configuration file?
John
On Tue, 29 Jan
2002, Rafael wrote:

> On Tue, Jan 29, 2002 at 03:45:28PM -0600, John J. Boyer wrote:
> > Janina,
> > This site appears to be mostly about a special card which they
> > developed, and the software appears to be designed to work with this
> > card. I'm just looking for a program that will work with the modem I
> > already have hooked up. Minicom keeps complaining about one thing and
> > another. There is no global minicomrc.dfl file, and if I try minicom -s
> > it won't do anything. I tried making a link to ttys1, but that doesn't
> > help. It just gives a different error message.
>
> You quoted ttys1, note it should be ttyS0 that's capital S.
>
> I just tested minicom on y system as root. The sequence to change the
> parameters is
> Ctrl-A z p a q
>
> Ctrl-A o (scrol down 2 lines for serial port configuration) where you can
> make changes. Under A is Serial Device : /dev/ttyS0 (on my system)
> E -    Bps/Par/Bits       : 9600 8N1
> F - Hardware Flow Control : Yes
> G - Software Flow Control : No
>
> As root you should be able to create minicomrc.dfl. If you want to use
> minicom program you might need to change the ownership of /dev/ttyS0 to
> other user or chmod 666 it.
>
> If minicom doesn't work you may try program kermit. I used both to connect
> PC with linux to serial ports on Sun servers.
>
>
> > John
> > On Tue, 29 Jan 2002, Janina
> > Sajka wrote:
> >
> > > John:
> > >
> > > Can you use the source available at:
> > >
> > > http://www.zapatatelephony.org/
> > >
> > > On Tue, 29 Jan 2002, John J. Boyer wrote:
> > >
> > > > Hello,
> > > > I'm trying to set up minicom to work with a special modem for
> > > > communicating with the deaf relay service and with deaf friends and
> > > > customers. The modem is in serial port 2. The parameters are 300 baud, 8
> > > > data bits, 1 stop bit, no parity, half duplex. The 300 baud speed is
> > > > standard for this application, since people are just typing. When I do
> > > > minicom -s
> > > > as root, I get the message that it cannot find /dev/modem. So how do I
> > > > make this file? I am using Redhat 7.1.
> > > > Thanks.
> > > > John
> > > >
> > > >
> > > >
> > >
> > >
> >
> > --
> > Computers to Help People, Inc.
> > http://www.chpi.org
> > 825 East Johnson; Madison, WI 53703
> >
>
>

-- 
Computers to Help People, Inc.
http://www.chpi.org
825 East Johnson; Madison, WI 53703





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
         ` John J. Boyer
@          ` Nicolas Pitre
           ` Rafael
           ` L. C. Robinson
  2 siblings, 0 replies; 13+ messages in thread
From: Nicolas Pitre @  UTC (permalink / raw)
  To: John J. Boyer; +Cc: blinux-list

On Tue, 29 Jan 2002, John J. Boyer wrote:

> However, minicom still won't create the /etc/minicomrc.dfl file.

Use CTRL-A o then arrow up and down until you hit the "Save setup as dfl" 
menu option.  Then press ENTER.


Nicolas




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
         ` John J. Boyer
           ` Nicolas Pitre
@          ` Rafael
           ` L. C. Robinson
  2 siblings, 0 replies; 13+ messages in thread
From: Rafael @  UTC (permalink / raw)
  To: blinux-list

On Tue, Jan 29, 2002 at 05:51:58PM -0600, John J. Boyer wrote:
> Rafael,
> When I changed the link at /dov/modem to point to /dev/ttyS1 Minicom
> showed a sort of menu with the instruction to press CRTl-a and z for
> help. So I dod that, pressed p for parameters, set them to 300n81.

Good, that means your program is running.

> However, minicom still won't create the /etc/minicomrc.dfl file.
> Incidentally, it has an attrocious interface. Instead of just using a

That interface is "block graphics", i.e. there is a frame around the text
that pops up on top of the basic text. That's OK for people with good
vision but I don't know if you can turn that off or not.

> plain text interface it is doing something fancy. Anyway, it is
> accessing the modem, because the modem is sending back instructions and
> error messages that I'm familiar with.
> So how do I get this beast to create its configuration file?

Is your root partition mounter read write? I see no reason for root not to 
be able to write to /etc or any other partition for that matter.

What happens if you try
touch /etc/minicomrc.dfl

That should create an empty file. Don't know what else could be a problem.

> John
> On Tue, 29 Jan
> 2002, Rafael wrote:
> 
> > On Tue, Jan 29, 2002 at 03:45:28PM -0600, John J. Boyer wrote:
> > > Janina,
> > > This site appears to be mostly about a special card which they
> > > developed, and the software appears to be designed to work with this
> > > card. I'm just looking for a program that will work with the modem I
> > > already have hooked up. Minicom keeps complaining about one thing and
> > > another. There is no global minicomrc.dfl file, and if I try minicom -s
> > > it won't do anything. I tried making a link to ttys1, but that doesn't
> > > help. It just gives a different error message.
> >
> > You quoted ttys1, note it should be ttyS0 that's capital S.
> >
> > I just tested minicom on y system as root. The sequence to change the
> > parameters is
> > Ctrl-A z p a q
> >
> > Ctrl-A o (scrol down 2 lines for serial port configuration) where you can
> > make changes. Under A is Serial Device : /dev/ttyS0 (on my system)
> > E -    Bps/Par/Bits       : 9600 8N1
> > F - Hardware Flow Control : Yes
> > G - Software Flow Control : No
> >
> > As root you should be able to create minicomrc.dfl. If you want to use
> > minicom program you might need to change the ownership of /dev/ttyS0 to
> > other user or chmod 666 it.
> >
> > If minicom doesn't work you may try program kermit. I used both to connect
> > PC with linux to serial ports on Sun servers.
> >
> >
> > > John
> > > On Tue, 29 Jan 2002, Janina
> > > Sajka wrote:
> > >
> > > > John:
> > > >
> > > > Can you use the source available at:
> > > >
> > > > http://www.zapatatelephony.org/
> > > >
> > > > On Tue, 29 Jan 2002, John J. Boyer wrote:
> > > >
> > > > > Hello,
> > > > > I'm trying to set up minicom to work with a special modem for
> > > > > communicating with the deaf relay service and with deaf friends and
> > > > > customers. The modem is in serial port 2. The parameters are 300 baud, 8
> > > > > data bits, 1 stop bit, no parity, half duplex. The 300 baud speed is
> > > > > standard for this application, since people are just typing. When I do
> > > > > minicom -s
> > > > > as root, I get the message that it cannot find /dev/modem. So how do I
> > > > > make this file? I am using Redhat 7.1.
> > > > > Thanks.
> > > > > John
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Computers to Help People, Inc.
> > > http://www.chpi.org
> > > 825 East Johnson; Madison, WI 53703
> > >
> >
> >
> 
> -- 
> Computers to Help People, Inc.
> http://www.chpi.org
> 825 East Johnson; Madison, WI 53703
> 
> 
> 
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list

-- 
Rafael




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
     ` John J. Boyer
       ` Rafael
@      ` Janina Sajka
  1 sibling, 0 replies; 13+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: blinux-list

You have to run minicom -s as root. Are you doing that?

Also, you can iteratively work through your serial ports--to be sure you 
have the right one with 'echo ata >ttyS0' etc on up through whatever -- 
ttyS3, I suppose. I don't know whether you have any hearing to get benefit 
from this, but it should sound like a modem answering the phone. Shut it 
off with 'echo ath >ttyS?' of course.

The website I gave you has source, I think, for generating baudot. Don't 
know how device specific that code is for their board, but I thought it 
was fairly general when I looked at it some time ago. 
 On Tue, 29 Jan 
2002, John J. Boyer wrote:

> Janina,
> This site appears to be mostly about a special card which they
> developed, and the software appears to be designed to work with this
> card. I'm just looking for a program that will work with the modem I
> already have hooked up. Minicom keeps complaining about one thing and
> another. There is no global minicomrc.dfl file, and if I try minicom -s
> it won't do anything. I tried making a link to ttys1, but that doesn't
> help. It just gives a different error message.
> John
> On Tue, 29 Jan 2002, Janina
> Sajka wrote:
> 
> > John:
> >
> > Can you use the source available at:
> >
> > http://www.zapatatelephony.org/
> >
> > On Tue, 29 Jan 2002, John J. Boyer wrote:
> >
> > > Hello,
> > > I'm trying to set up minicom to work with a special modem for
> > > communicating with the deaf relay service and with deaf friends and
> > > customers. The modem is in serial port 2. The parameters are 300 baud, 8
> > > data bits, 1 stop bit, no parity, half duplex. The 300 baud speed is
> > > standard for this application, since people are just typing. When I do
> > > minicom -s
> > > as root, I get the message that it cannot find /dev/modem. So how do I
> > > make this file? I am using Redhat 7.1.
> > > Thanks.
> > > John
> > >
> > >
> > >
> >
> >
> 
> 

-- 
	
				Janina Sajka, Director
				Technology Research and Development
				Governmental Relations Group
				American Foundation for the Blind (AFB)

Email: janina@afb.net		Phone: (202) 408-8175

Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Making Device Fiiles
         ` John J. Boyer
           ` Nicolas Pitre
           ` Rafael
@          ` L. C. Robinson
  2 siblings, 0 replies; 13+ messages in thread
From: L. C. Robinson @  UTC (permalink / raw)
  To: blinux-list

On Tue, 29 Jan 2002, John J. Boyer wrote:

> ...  However, minicom still won't create the /etc/minicomrc.dfl
> file.  Incidentally, it has an attrocious interface. Instead of
> just using a plain text interface it is doing something fancy. 

Yes, minicom uses a text windowing interface library known as
ncurses, with line drawing characters around sub windows, and
cursor placement escape codes, and the like.  For a more basic
text interface you might like to try:

ftp://mirrors.kernel.org/ibiblio/apps/serialcomm/dialout/xc-4.3.2.tar.gz
This is on an ibiblio (formerly metalab) mirror.

Short description at:
ftp://mirrors.kernel.org/ibiblio/apps/serialcomm/dialout/xc-4.3.2.lsm

I don't use the thing much anymore as a terminal program (ppp
internet access trumps that easily), but I constantly use the
included voice "call" script (highly modified by me), to
automatically look up voice phone numbers numbers I have typed
into a text file, and dial them for me, then drop the line so I
can talk by voice.  This is a pure text interface that accepts a
search string (key) on the command line.

LCR

-- 
L. C. Robinson
reply to no_spam+munged_lcr@onewest.net.invalid

People buy MicroShaft for compatibility, but get incompatibility and
instability instead.  This is award winning "innovation".  Find
out how MS holds your data hostage with "The *Lens*"; see
"CyberSnare" at http://www.netaction.org/msoft/cybersnare.html




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Making Device Fiiles John J. Boyer
 ` Rafael
 ` Janina Sajka
   ` John J. Boyer
     ` Rafael
       ` John J. Boyer
         ` Nicolas Pitre
         ` Rafael
         ` L. C. Robinson
     ` Janina Sajka
 ` Cheryl Homiak
 ` Nicolas Pitre
   ` A. R. Vener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).