Linux Programming

Radical NetSurfer radsurfer at yahoo.com
Wed Nov 8 09:08:53 EST 2006


This is what I have discovered so far:

ISA slot #1: 56k Modem
ISA slot #2: DoubleTalk
PCI sound/network/etc.

Activate a terminal.
Become super-user.
type:
/sbin/modprobe dtlk
and immediately I hear these words coming out of the
doubletalk card:
"Doubletalk Found."

Ok. So far so good you would think.
echo 'Hello World!' >/dev/dtlk
echo 'Hello World!' 1>/dev/dtlk
result in nothing being heard.

If I exit super-user, I get Permission Denied.
I know one has to be very careful as super user and
where you redirect things.

I wrote me a little gcc program that attempts to
dtlk = open('/dev/dtlk',O_RDWR);
and dtlk is always -1, meaning it couldn't find and/or
open the device
so that stops me cold.

On the one hand, apparently Fedora see's my Doubletalk
card,
on the other hand, I find no way to access it.
I do not want to be in super-user mode all the time
just to access the card, and that should not be
necessary.

I did also discover the, as yet not too helpful, 
C header file located here:
/usr/include/linux/dtlk.h

and the modproble module is located where it should
be:
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/char/dtlk.ko

What I would greatly appreciate is a gcc code snippet
I could compile that would cause any string I send to
a function to simply goto the card...

I am working on downloading what source I get.

Thanks for the assist.

//Rich//

--- Luke Yelavich <themuso at themuso.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wed, Nov 08, 2006 at 11:34:19AM EST, Radical
> NetSurfer wrote:
> > I have tried all by myself to create a plugin for
> > Xchat for Linux that would send all the chat text
> to
> > an appropriate card. Lets concentrate with
> Doubletalk
> > ISA.
> > 
> > I am using an inline assembly block. It compiles
> > perfectly fine. The plugin is accepted and appears
> to
> > work only until I initialized the Doubletalk ISA
> card,
> > the Xchat abruptly closes.
> 
> How about you just use the dtlk module in the
> kernel, make the /dev/dtlk 
> device, and send your text to that?
> 
> I think that would be a lot easier.
> - -- 
> Luke Yelavich
> GPG key: 0xD06320CE 
> 	 (http://www.themuso.com/themuso-gpg-key.txt)
> Email & MSN: themuso at themuso.com
> Jabber: themuso at jabber.org.au
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> 
>
iD8DBQFFUS3zjVefwtBjIM4RAmr1AJ9ITA7I+lxVPBUhxgWeUYRiNIcsCACfRuw1
> oH4gZBcTXeqcfzaHsNDr4ws=
> =78nG
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
>
http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 




 
____________________________________________________________________________________
Sponsored Link

Get an Online or Campus degree
Associate's, Bachelor's, or Master's - in less than one year.
http://www.findtherightschool.com




More information about the Speakup mailing list