From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wsip-24-249-27-228.ri.ri.cox.net ([24.249.27.228] helo=lava-net.com) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1Ghq41-0003T9-00 for ; Wed, 08 Nov 2006 11:14:09 -0500 Received: by lava-net.com (Postfix, from userid 1020) id C431A278009; Wed, 8 Nov 2006 11:14:37 -0500 (EST) Date: Wed, 8 Nov 2006 11:14:37 -0500 From: Igor Gueths To: "Speakup is a screen review system for Linux." Subject: Re: Linux Programming Message-ID: <20061108161437.GD15037@lava-net.com> References: <20061108010803.GA9070@linden.yelavich.home> <20061108140853.19229.qmail@web34507.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; x-action=pgp-signed; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061108140853.19229.qmail@web34507.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2i X-Lava-net-MailScanner-Information: X-Lava-net-MailScanner: Found to be clean X-Lava-net-MailScanner-From: igueths@lava-net.com X-Spam-Status: No 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 16:14:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Sorry I forgot to mention how you should attempt creating the device. Use mknod (man mknod) for more info. On Wed, Nov 08, 2006 at 06:08:53AM -0800, Radical NetSurfer wrote: > 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 > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > - -- For an IRC experience without all the clutter, check out BOFHNet at irc.bofhnet.us. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iQIVAwUBRVICbae2pgKIdGq4AQo0TQ/+MOCkdcHJE6ALhI+zhxLi+Vndo49OzaJI KiGvjKeeF2SD4knYyMHxGf2boMP4nATqfybvE/AyztCqjgaqWV1Z+LzLBcRfjayC rvRIM0eWeqGu8m/c3n14K9a2tEVGK25YeTxubBZSFYbgcEh/ENv0lP4wMbwy2HiQ gfEMpZkqEz+w9gw3oeIJudzqAM9Fp2fZ0jwcYG6srHPewgTDvFYKgABy79hXWZjz vxyOAKNKUZ2FlqRweO+kHGw6WtvtO+me8XE55rKmvAXKn/IpJrnigfJhI1XnFXiN H0+e08m21Fh6e+JW5RC1Qam3rFhbPCNp09B9xVKm2jnKoKx7hfbR0F09Zbwv0DZi VNzTU7VuHlCtMfpx+tplczIfKu9LSnIz/O7jN0L8JO/uSeq8QF/WTW3PTugU/jzE r7clZ7ByoXayUCR1Yd031qs+2Ckv8SEFdY5XrLd82hb2Gd2NWqSXCYmNlLgOL3ZU z6RFtqNC4mvTgyitPg3g6czsl+zah1i8RSlCL1NtyV8e0e2p0x4rVkblx6P09QQu utncInz4tDiXOLut1VUyJykm0CsJDS4cW1hpiyOLrEyeljZAG/APzFlTUyfQm6D6 RiOg/klNGBdgAx4ERWG8R4CD6rA1O5mVPwCBpvbFbhYcMpBPH5NoDmWqSC+cLFP+ 4zwkJKX/mIg= =yAmy -----END PGP SIGNATURE----- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.