08-18-2018
It would be helpful if you could post some data. Anything logged to screen after you press the power button? Any sequence of beeps? Is the POST (power on self test) executed correctly? Is the operating system boot sequence started? Is the system operating for a few seconds? Can you enter the BIOS to test for e.g. thermal problems?
With your vague description above, the only thing I could advise is go see the local wizard, buy some magic potion and pour it slowly but constanly into the power supply of your PC, murmuring some holy curses.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am running Solaris 9 and wanted the CDE stopped when my users login. Can this be done by adding something to the .profile? Basically when they login they should be at the command line and have to start the CDE themselves.
Thanks (11 Replies)
Discussion started by: meyersp
11 Replies
2. Shell Programming and Scripting
How can i convert this case statement that i made to an if statement? Do not write script, just give a hint on how to do something below.
#!/bin/sh
hi="$1"
case "$hi"
in
) exit 0;;
* ) exit 1;;
esac
echo "$hi"
Here is what i got so far for... (2 Replies)
Discussion started by: brentdeback
2 Replies
3. Gentoo
Hi all,
I'm trying to write a script that will turn off the network interface eth0 on a linux Gentoo machine and then turn it back on, any help?
Thanks,
Neked (1 Reply)
Discussion started by: neked
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Is there any way like in dos to turn the echo off in a script? i have some lines popping up that i dont wish to be viewed when i am unziping a file it brings up the message updating: log.txt (deflated 72%) and extracting: log.txt i dont want these be viewed.
Andy (4 Replies)
Discussion started by: chapmana
4 Replies
5. Solaris
For two straight days someone was running in.ftpd in my server (apparently looking to break in) and when I would do "top" almost every line would read "in.ftpd". I had a unix sysadmin friend of mine shut it down and then start it back up in a day and a half and all seems OK for now.
Here's what I... (1 Reply)
Discussion started by: thomi39
1 Replies
6. SCO
OSR 5.0.7 patched with MP 5
The syslog is flooded with messages:
May 9 13:42:12 asiwc bootpd: IP address not found: 192.168.230.215
May 9 13:42:13 asiwc bootpd: IP address not found: 192.168.230.142
May 9 13:42:50 asiwc bootpd: IP address not found: 192.168.230.202
The system... (4 Replies)
Discussion started by: migurus
4 Replies
7. Shell Programming and Scripting
i can probably script this in bash, but, i was wondering, does anyone know of a simple way to translate a given time to epoch?
date -d@"29/Oct/2013:17:53:11"
the user would specify the date: 29/Oct/2013:17:53:11
and the script will simply interpret that to epoch: 1348838383 (this is just... (4 Replies)
Discussion started by: SkySmart
4 Replies
8. Hardware
I wasn't sure where to post this. Please move this as is fitting.
My 10yr old laptop's (Dell, Latitude E5530, 4G ram, 2.5Ghz x 2 CPU) spin drive has died (currently running TinyCore Linux on USB in ram).
I would be running Linux, compiling the kernel, and programming in C++. I do not do... (0 Replies)
Discussion started by: bedtime
0 Replies
9. Red Hat
Hi All,
I've been looking at various options at administering several servers remotely like:
- VNC (don't like the lax security of 8 characters max for a password) and
- NX (awesome piece of kit but still limited to a per desktop viewer)...
What I'm looking for is a GUI that... (7 Replies)
Discussion started by: ASGR
7 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)