Re: Please!! Help me to help us to use WinModems in Linux

Richard B. Johnson (root@chaos.analogic.com)
Fri, 9 Apr 1999 08:49:39 -0400 (EDT)


On Thu, 8 Apr 1999, Richard Reynolds wrote:

> A brief Introduction
> I am a Windoze user, programmer, system administrator. compitent in C/C++,
> Delphi, Visual Basic and more. I also am a little more than a newbe to linux
> with several computers running Windows version x and Linux mostlly using
> Lucent Viking modems.
>
> I have been trying to make these work in linux and have been reading all of
> the topics from several mailing lists with very little help until I found
> someone saying that this modem was all software driven (duh I knew that) and
> that the drivers were somekind of seceret (did not know that can't even see
> how, sence i found them?) and that they were not available. Well as of now i
> have the technology (drivers source code) to make the drivers required to
> run my modem. I can recreate the drivers for windozs make new ones for DOS
> (also not "supported" by the vendor) but i have no ability to program in
> Linux and don't even know where to start. The drivers would need to do 3
> major things
>
> 1. initialize the device maybee at a very early stage the ports are turned
> off until initialize is complete and successful.
> 2. process every 32bit word before being sent to the modem.
> 3. process every 32bit word after being recieved by the modem.
>
> I think this might be slightly off topic but am not sure I know that i have
> seen this and simalar topics on this and a few other mailing lists. sorry
> for any inconvience.please feel free to respond even if you don't know how
> to do this as I learn from every comment
> Thank you
> Richard.Reynolds@usa.net
>

All you need to do is make an installable driver. Installable drivers are
easy in Linux. One of my co-workers has a good working generic template
that he might volunteer to send you. At the application level, the
driver will look like a serial device. Your Winmodem driver should
probably handle many of the de-facto standard 'AT' commands. If you
are successful, you will be rewarded with much rich praise.

Incidentally, Installable drivers in Linux can be installed and
uninstalled from a running machine. You never have to reboot during
development unless you accidentally poke a hole in the kernel.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.2.5 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/