From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from web34507.mail.mud.yahoo.com ([66.163.178.173]) by speech.braille.uwo.ca with smtp (Exim 3.36 #1 (Debian)) id 1Gho7J-00020r-00 for ; Wed, 08 Nov 2006 09:09:25 -0500 Received: (qmail 19231 invoked by uid 60001); 8 Nov 2006 14:08:53 -0000 Message-ID: <20061108140853.19229.qmail@web34507.mail.mud.yahoo.com> Received: from [66.211.227.197] by web34507.mail.mud.yahoo.com via HTTP; Wed, 08 Nov 2006 06:08:53 PST Date: Wed, 8 Nov 2006 06:08:53 -0800 (PST) From: Radical NetSurfer Subject: Re: Linux Programming To: "Speakup is a screen review system for Linux." In-Reply-To: <20061108010803.GA9070@linden.yelavich.home> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: RadSurfer@yahoo.com X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 14:09:25 -0000 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 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@themuso.com > Jabber: themuso@jabber.org.au > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (GNU/Linux) > > iD8DBQFFUS3zjVefwtBjIM4RAmr1AJ9ITA7I+lxVPBUhxgWeUYRiNIcsCACfRuw1 > oH4gZBcTXeqcfzaHsNDr4ws= > =78nG > -----END PGP SIGNATURE----- > > _______________________________________________ > Speakup mailing list > Speakup@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