lkml.org 
[lkml]   [1998]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectPC Speaker

Okay, i check the lkml faq, libc info and man pages, KHG and the LPG. I
cannot find out what device to be using the ioctl(,KDMKTONE,); fucntion
'against'. I tried creating the /dev/beep as described in
/usr/src/linux/Documentation/devices.txt using

mknod -m a+rw /dev/beep c 10 128

And i get errors using open("/dev/beep", O_WRONLY); (trying to get a file
descriptor to use with ioctl.

Can someone help me out here? Have an example code maybe or know where one
is at? Or even what device I shoudl be trying to access here becasue teh LPG
does not cover that part... aamof most of teh lpg is quite vague about
specifics.

Thanks in advance.

----------------------------------------------------
ely <plexus@ionet.net>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.026 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site