Linux Programming

Igor Gueths igueths at lava-net.com
Wed Nov 8 11:14:37 EST 2006


-----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 <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
> 
> _______________________________________________
> Speakup mailing list
> Speakup at 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.





More information about the Speakup mailing list