Modem gives error

Gert Doering (gert@greenie.muc.de)
Wed, 24 Sep 1997 16:47:05 +0200


Hi,

Robert J. Brown wrote:
> Correct me if I am wrong, but in my understanding, most of these users
> who want to run an el-cheapo class-1 fax modem are probably on Linux.
> There is nothing wrong with that; I am on Linux much of the time also.
> Since Linux is free, they want to be able to use the cheapest hardware
> and free fax modem support. 
> 
> Given that Linux is the most likely target for class-1 fax support,
> wouldn't it be possible to write a kernel driver as a loadable Linux
> module to support class-1 fax modems? 

This would be definitely possible.

I'll help debugging it (while it's an interesting project, I have no
time to start doing it myself).

> How could mgetty interface to such a driver in a standard way so that
> compatible drivers could be written for different Unix OS's? 

Provide a class 2.0 "tty" device, say /dev/ttyFAX01, which parses AT
commands and drives a "real" modem on /dev/ttyS1, or so.

> I
> realize the worms are already crawling out of the can, but if it is OK
> to write different modem drivers to handle different modems, it should
> be equally OK to write different kernel drivers to handle class-1
> faxing under different versions of Unix.

Much work. Kernel interface varies vastly between different unix
versions. Many unix variants do not have loadable modules, so this
means "recompiling all day" (adding some small hacks to a serial
device driver under SCO Unix took me nearly two days...)

gert
-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-3545980     gert.doering@physik.tu-muenchen.de
.