12-20-2010
Yes, UNIX is like that - you have the power, but not to do it accidentally!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
when i d/l files from net
"/usr/port/editor/koffice then make" i don't know what excactly have to do after
when it finnished d/l it and configure i guess what its done downloading file it configures :confused: the file
what do i have to do next
I use FREEBSD 4.5 (3 Replies)
Discussion started by: challenger
3 Replies
2. UNIX Desktop Questions & Answers
Hello,
I recently downloaded and installed fedora core 3, and I am triyng to install other software like movie players and so on, when ever I download software for this operating system, I recieve with the software a text file explaining how to install it. The installation instrucions are allways... (1 Reply)
Discussion started by: st_matan
1 Replies
3. SuSE
hi,
i have installed suse linux (10) at my home.
can anyone tell me how do i install the softwares like players , messengers etc.
i am new to linux ,i am learning now.
can anyone suggest or post any material so that i can easily go through and learn.
thanks in advance.
vishwa. (6 Replies)
Discussion started by: viswareddy.32
6 Replies
4. UNIX for Dummies Questions & Answers
Hello everyone,
I want to install a software on an external hard disk. I used Fedora core 6 whose default shell is bash. As user I have changed to sh shell because in order to install I have to use the sh shell. I had changed permission on all the files using
sh-3.1$ chmod +x... (6 Replies)
Discussion started by: sitij109
6 Replies
5. High Performance Computing
So I have been struggling for the past few days to install a simulation package lammps (http://lammps.sandia.gov/) on my Mac OS X. I am well aware that this is a Ubuntu forum, but you guys seem to know a lot of UNIX stuff, so I was hoping someone might have a solution to my problem...
To run... (1 Reply)
Discussion started by: oscar78
1 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
So I remotly log on to one of the unix boxes we have at work. I want to use a software that is not installed on the server. What's better? to install it locally in my home folder and use it, or to ask the system admin to install it on the server? and what's the main difference? I asuume... (1 Reply)
Discussion started by: Rachel Ross
1 Replies
7. Solaris
Estou tentando instalar o software de HDLM ( Hitachi Dynamic Link Manager ) e está apresentando a seguinte mensagem:
-bash-3.00# ./installhdlm
KAPL09187-W No parameter is specified.
Não sei que parameter é esse ? (1 Reply)
Discussion started by: to.brunoaugusto
1 Replies
8. Solaris
I'm trying to install the software HDLM (Hitachi Dynamic Link Manager) and is presenting the following message:
-Bash-3.00 #./Installhdlm
In KAPL09187-W parameter is specified.
I do not know which parameter is that? (3 Replies)
Discussion started by: to.brunoaugusto
3 Replies
9. Solaris
hi all,
i am configure zone according to this steps
and i face this error
could you please help to solv it
poolcfg -c 'create pset weblogic1-pset (uint pset.min=1; uint pset.max=1)'
poolcfg -c 'create pool weblogic1-pool'
poolcfg -c 'associate pool weblogic1-pool (pset weblogic1-pset)'
... (5 Replies)
Discussion started by: jamisux
5 Replies
10. Solaris
Dear experts,
I am using solaris 10 OS.I am installing CF engine software in the server while doing so ,i am getting following error
checking for BerkeleyDB location in default... configure: error:
>> Cannot find BerkeleyDB
I am installing the Berkely DB 5.3.I am strugging... (1 Reply)
Discussion started by: muraliinfy04
1 Replies
power(9E) Driver Entry Points power(9E)
NAME
power - power a device attached to the system
SYNOPSIS
#include <sys/ddi.h>
#include <sys/sunddi.h>
int prefixpower(dev_info_t *dip, int component, int level);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). This entry point is required. If the driver writer does not supply this entry point, the value NULL
must be used in the cb_ops(9S) structure instead.
PARAMETERS
dip Pointer to the device's dev_info structure.
component Component of the driver to be managed.
level Desired component power level.
DESCRIPTION
The power(9E) function is the device-specific Power Management entry point. This function is called when the system wants the driver to set
the power level of component to level.
The level argument is the driver-defined power level to which the component needs to be set. Except for power level 0, which is inter-
preted by the framework to mean "powered off," the interpretation of level is entirely up to the driver.
The component argument is the component of the device to be power-managed. The interpretation of component is entirely up to the driver.
When a requested power transition would cause the device to lose state, the driver must save the state of the device in memory. When a
requested power transition requires state to be restored, the driver must restore that state.
If a requested power transition for one component requires another component to change power state before it can be completed, the driver
must call pm_raise_power(9F) to get the other component changed, and the power(9E) entry point must support being re-entered.
If the system requests an inappropriate power transition for the device (for example, a request to power down a device which has just
become busy), then the power level should not be changed and power should return DDI_FAILURE.
RETURN VALUES
The power() function returns:
DDI_SUCCESS Successfully set the power to the requested level.
DDI_FAILURE Failed to set the power to the requested level.
CONTEXT
The power() function is called from user or kernel context only.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
attach(9E), detach(9E), pm_busy_component(9F), pm_idle_component(9F), pm_raise_power(9F), cb_ops(9S)
Writing Device Drivers
Using Power Management
SunOS 5.10 12 Dec 2003 power(9E)