use setpci to restart ubuntu server after power failure on macbook
I installed ubuntu server 11.10 on my macbook 1,1.
In order to reboot after power failure I have to set a specific "AFTERG3" bit using setpci.
The solution for a macMini can be found here:
https://serverfault.com/questions/203522/reboot-after-power-failure-for-mac-running-ubuntu-server
Does anybody have an idea how to find out the corresponding command for my hardware?
David
server reboot bios power-management
add a comment |
I installed ubuntu server 11.10 on my macbook 1,1.
In order to reboot after power failure I have to set a specific "AFTERG3" bit using setpci.
The solution for a macMini can be found here:
https://serverfault.com/questions/203522/reboot-after-power-failure-for-mac-running-ubuntu-server
Does anybody have an idea how to find out the corresponding command for my hardware?
David
server reboot bios power-management
add a comment |
I installed ubuntu server 11.10 on my macbook 1,1.
In order to reboot after power failure I have to set a specific "AFTERG3" bit using setpci.
The solution for a macMini can be found here:
https://serverfault.com/questions/203522/reboot-after-power-failure-for-mac-running-ubuntu-server
Does anybody have an idea how to find out the corresponding command for my hardware?
David
server reboot bios power-management
I installed ubuntu server 11.10 on my macbook 1,1.
In order to reboot after power failure I have to set a specific "AFTERG3" bit using setpci.
The solution for a macMini can be found here:
https://serverfault.com/questions/203522/reboot-after-power-failure-for-mac-running-ubuntu-server
Does anybody have an idea how to find out the corresponding command for my hardware?
David
server reboot bios power-management
server reboot bios power-management
edited Apr 13 '17 at 12:14
Community♦
1
1
asked Jan 28 '12 at 12:55
David Nathan
1468
1468
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
I finally found the solution:
setpci -s 00:1f.0 0xa4.b=0
The poster in my linked question just forgot one 0.
1
Great work on figuring this out yourself. You should accept your own answer here (by clicking the tick on the left) so people in the future will know to read this one.
– Chris Wilson
Nov 12 '12 at 8:27
add a comment |
The technical reason for using the setpci -s 0:1f.0 0xa4.b=0
magic is described here:
http://smackerelofopinion.blogspot.co.uk/2011/09/mac-mini-rebooting-tweaks-setpci-s-01f0.html
add a comment |
Just a minor correction:
After checking the setpci command, it would be more appropriate to use
setpci -s 0:1f.0 0xa4.b=0:1
as this will only set bit zero to zero (0 = value : 1 = masq ).
It does not matter in this case since all the other 7 bits of pci 0:1f.0
address 0xa4
are already zero, but that might not be the case for other hardware.
Use the sudo lspci -vvvxxx
command to see what your 0:1f.0
pci device initial configuration is before making any mods.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f99263%2fuse-setpci-to-restart-ubuntu-server-after-power-failure-on-macbook%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I finally found the solution:
setpci -s 00:1f.0 0xa4.b=0
The poster in my linked question just forgot one 0.
1
Great work on figuring this out yourself. You should accept your own answer here (by clicking the tick on the left) so people in the future will know to read this one.
– Chris Wilson
Nov 12 '12 at 8:27
add a comment |
I finally found the solution:
setpci -s 00:1f.0 0xa4.b=0
The poster in my linked question just forgot one 0.
1
Great work on figuring this out yourself. You should accept your own answer here (by clicking the tick on the left) so people in the future will know to read this one.
– Chris Wilson
Nov 12 '12 at 8:27
add a comment |
I finally found the solution:
setpci -s 00:1f.0 0xa4.b=0
The poster in my linked question just forgot one 0.
I finally found the solution:
setpci -s 00:1f.0 0xa4.b=0
The poster in my linked question just forgot one 0.
answered May 28 '12 at 14:46
David Nathan
1468
1468
1
Great work on figuring this out yourself. You should accept your own answer here (by clicking the tick on the left) so people in the future will know to read this one.
– Chris Wilson
Nov 12 '12 at 8:27
add a comment |
1
Great work on figuring this out yourself. You should accept your own answer here (by clicking the tick on the left) so people in the future will know to read this one.
– Chris Wilson
Nov 12 '12 at 8:27
1
1
Great work on figuring this out yourself. You should accept your own answer here (by clicking the tick on the left) so people in the future will know to read this one.
– Chris Wilson
Nov 12 '12 at 8:27
Great work on figuring this out yourself. You should accept your own answer here (by clicking the tick on the left) so people in the future will know to read this one.
– Chris Wilson
Nov 12 '12 at 8:27
add a comment |
The technical reason for using the setpci -s 0:1f.0 0xa4.b=0
magic is described here:
http://smackerelofopinion.blogspot.co.uk/2011/09/mac-mini-rebooting-tweaks-setpci-s-01f0.html
add a comment |
The technical reason for using the setpci -s 0:1f.0 0xa4.b=0
magic is described here:
http://smackerelofopinion.blogspot.co.uk/2011/09/mac-mini-rebooting-tweaks-setpci-s-01f0.html
add a comment |
The technical reason for using the setpci -s 0:1f.0 0xa4.b=0
magic is described here:
http://smackerelofopinion.blogspot.co.uk/2011/09/mac-mini-rebooting-tweaks-setpci-s-01f0.html
The technical reason for using the setpci -s 0:1f.0 0xa4.b=0
magic is described here:
http://smackerelofopinion.blogspot.co.uk/2011/09/mac-mini-rebooting-tweaks-setpci-s-01f0.html
answered Sep 6 '12 at 14:20
Colin Ian King
12k13647
12k13647
add a comment |
add a comment |
Just a minor correction:
After checking the setpci command, it would be more appropriate to use
setpci -s 0:1f.0 0xa4.b=0:1
as this will only set bit zero to zero (0 = value : 1 = masq ).
It does not matter in this case since all the other 7 bits of pci 0:1f.0
address 0xa4
are already zero, but that might not be the case for other hardware.
Use the sudo lspci -vvvxxx
command to see what your 0:1f.0
pci device initial configuration is before making any mods.
add a comment |
Just a minor correction:
After checking the setpci command, it would be more appropriate to use
setpci -s 0:1f.0 0xa4.b=0:1
as this will only set bit zero to zero (0 = value : 1 = masq ).
It does not matter in this case since all the other 7 bits of pci 0:1f.0
address 0xa4
are already zero, but that might not be the case for other hardware.
Use the sudo lspci -vvvxxx
command to see what your 0:1f.0
pci device initial configuration is before making any mods.
add a comment |
Just a minor correction:
After checking the setpci command, it would be more appropriate to use
setpci -s 0:1f.0 0xa4.b=0:1
as this will only set bit zero to zero (0 = value : 1 = masq ).
It does not matter in this case since all the other 7 bits of pci 0:1f.0
address 0xa4
are already zero, but that might not be the case for other hardware.
Use the sudo lspci -vvvxxx
command to see what your 0:1f.0
pci device initial configuration is before making any mods.
Just a minor correction:
After checking the setpci command, it would be more appropriate to use
setpci -s 0:1f.0 0xa4.b=0:1
as this will only set bit zero to zero (0 = value : 1 = masq ).
It does not matter in this case since all the other 7 bits of pci 0:1f.0
address 0xa4
are already zero, but that might not be the case for other hardware.
Use the sudo lspci -vvvxxx
command to see what your 0:1f.0
pci device initial configuration is before making any mods.
edited Dec 13 at 8:54
Zanna
50k13131238
50k13131238
answered Dec 13 at 7:41
Jeanrocco
111
111
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f99263%2fuse-setpci-to-restart-ubuntu-server-after-power-failure-on-macbook%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown