Messages in this thread | | | Date | Wed, 4 Nov 1998 04:19:52 -0700 (MST) | From | Ely Wilson <> | Subject | PC 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/
| |