LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2003, 02:28 AM   #1
dummyagain
Member
 
Registered: Sep 2003
Posts: 74

Rep: Reputation: 15
Question control


i use
int fd = open("?? /kd.h", O_RDONLY);
ioctl(fd, ?????);

anybody can tell me how to find ?? and ????? so as to make the keyboard LED bright when the program is run?

thanks
 
Old 10-04-2003, 07:09 AM   #2
Mohsen
Member
 
Registered: Feb 2003
Location: Iran
Distribution: Solaris 10
Posts: 201

Rep: Reputation: 30
I don't know the answer of your question, so if man pages of ioctl() and fcntl() does not help, you can find it reading `setleds' source code.

Last edited by Mohsen; 10-04-2003 at 07:15 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Control amount of time a user may be logged in. (Parental Control) darrensnospam Mandriva 13 02-18-2006 05:01 PM
Bandwidth control nOw Linux - Networking 3 09-16-2004 05:11 PM
control uplink Sjaaksken Linux - Wireless Networking 0 02-11-2004 05:20 AM
X out of control! erickFis Linux - Hardware 13 01-23-2004 11:41 AM
Can't launch redhat-network-control after updating gnome-control-center fedetxf Red Hat 0 12-12-2003 07:12 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration