LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2016, 06:02 AM   #1
sir89
LQ Newbie
 
Registered: Oct 2016
Posts: 12

Rep: Reputation: Disabled
create commands to new driver.


Hello,

I'm making a module kernel for a device, and I would like 4 commands for obtain some values.
For example a command "getpower" and it return the value of the power.

I would have to use IOCTLs or others methods to do that.
 
Old 11-22-2016, 06:59 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by sir89 View Post
Hello,

I'm making a module kernel for a device, and I would like 4 commands for obtain some values.
For example a command "getpower" and it return the value of the power.

I would have to use IOCTLs or others methods to do that.
I see no question in your post but, thank you for sharing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Console: Can i create keyshortcuts for specific personal commands (e.g. ctr+3) esgol Linux - Newbie 3 07-30-2012 02:54 AM
Create file using tar and ls commands Ejdaha Linux - Newbie 2 02-16-2009 08:55 AM
Terminal commands: how to create a directory in ext2 partition on flash drive gordon__1 Linux - Newbie 6 01-14-2008 10:57 PM
how to create execute file for linux telnet commands siva karthik Programming 7 03-10-2006 12:50 AM
Help to create a script to open a terminal and run commands in it. Brian1 Linux - Software 6 02-07-2005 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:30 PM.

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