Linux Programming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi. Just a suggestion; try doing ls /dev/dtlk and see what you get. It's entirely possible that the device node doesn't exist, in which case you will have to manually create it.
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)

iQIVAwUBRVICM6e2pgKIdGq4AQpMlQ/+J7762BsZxpj34tVZEfV1EaOoE/e2Wvod
9iF07q+97QNbS//GJcnF+L5tAFswEO3x9q4VO7zkgTgo6GLJJPTwtvJGjDq+Hmw4
N3QQzxouE2YBOVe5vmoHcZiT+Ih3/GqZUIThahfHKxNBUen5Ky6Wzv6p0+AXkSx7
lA4PijW4zmwvr7GmLmcZzOIVEyvPzVNTNhUNCruS233g1vw+/MZ+xxE69laFea30
XVJggmtzN06kM05lvtXTfc+7hD1ooFFX1F2lv6HuoVsvx7t+UFwqlHWzqjIdK+Sb
/XrIHElsCXIbmNGJtBH0ROe0ojC7pC8KkM+LUYiDcxqnELA5GkiS3P/X2/RBrAMB
OLddH4KrrBvZ+e6HsE+LXL1Im36dx1yOX3oYPgHr7qrEwqeqne9F+UO/p2UgV6mL
LvlC4lXpvvDoPxeewqHy3R5ArZ2dHsdi+f0hvJLRprdSNw64h08Cpssltoe2LTab
qHEFLwVmklBj17QeCmyoOuOeTXtbrTmDc/Q0YB1T2WPXjXFhNfYi2WqMk6L3fbR3
skil7jlynWy964OzT10x3LFz1bWXA62aGpQzC7cZZ4xqfAoBgQAB18IBFAFOWkLT
SrrWcwUxhKXrLEmA4FNFfQiLXltOWK05NmT8nZn04o4L1oRByFWcxbv6fE3f4fgE
SUsAIKjgBc8=
=AGyH
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux