Re: Turning lucent winmodem into soundcard

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Fri, 17 Sep 1999 20:11:16 +0200


Thomas Sailer wrote:
> Put your driver into the kernel. I'd suggest an interface similar
> to the current soundcard interface, plus ioctl's to handle
> phone line specifics, like hangup etc.

I plan to do something much like that. An auxiliary streaming channel
is required for things like dial/busy tone detection, because I've found
(non-RT) user space scheduling isn't fine grained enough for simple "is
there a tone now?" questions to distinguish different patterns. At
least, according to certain country-specific parameters.

> The realtime guarantees should be ok when using what the kernel
> already provides (mlock, sched_setscheduler), as long as it
> can control when exactly a waveform gets transmitted. It
> can do this by sending the right amount of zero samples
> to the soundcard aka modem :)

Of course ;-)

-- Jamie

-
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/