Ubuntu sometimes sleeps after power state changes
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
Sometimes, when I boot into Ubuntu (I dual boot Windows 10), plugging in or taking out the laptop charger will cause the computer to go to sleep. I tested it out and found that these lines occur in dmesg
when I plug the power in:
[ 9093.169515] atkbd serio0: Spurious ACK on isa0060/serio0. Some program might be trying to access hardware directly.
[ 9093.200810] atkbd serio0: Unknown key pressed (raw set 2, code 0x12b on isa0060/serio0).
[ 9093.200813] atkbd serio0: Use 'setkeycodes 2b <keycode>' to make it known.
When it occurs, it occurs every time I manipulate the charger plug. But if it doesn't occur on a particular boot, it will never happen on that boot, as far as I can tell. Is this something I can fix?
Other info:
I'm running Ubuntu 17.10 on a Razer Blade 2017.
Edit: I have discovered some more dmesg
lines that differ between a "good" boot where the problem doesn't occur, and a "bad" boot where it does:
pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e5(Transmitter ID)
error status/mask=00001000/00002000
Replay Timer Timeout
These lines repeat multiple times per minute, and sometimes multiple times per second, but are never present in a "good" boot.
17.10 suspend power-management laptop
add a comment |Â
up vote
1
down vote
favorite
Sometimes, when I boot into Ubuntu (I dual boot Windows 10), plugging in or taking out the laptop charger will cause the computer to go to sleep. I tested it out and found that these lines occur in dmesg
when I plug the power in:
[ 9093.169515] atkbd serio0: Spurious ACK on isa0060/serio0. Some program might be trying to access hardware directly.
[ 9093.200810] atkbd serio0: Unknown key pressed (raw set 2, code 0x12b on isa0060/serio0).
[ 9093.200813] atkbd serio0: Use 'setkeycodes 2b <keycode>' to make it known.
When it occurs, it occurs every time I manipulate the charger plug. But if it doesn't occur on a particular boot, it will never happen on that boot, as far as I can tell. Is this something I can fix?
Other info:
I'm running Ubuntu 17.10 on a Razer Blade 2017.
Edit: I have discovered some more dmesg
lines that differ between a "good" boot where the problem doesn't occur, and a "bad" boot where it does:
pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e5(Transmitter ID)
error status/mask=00001000/00002000
Replay Timer Timeout
These lines repeat multiple times per minute, and sometimes multiple times per second, but are never present in a "good" boot.
17.10 suspend power-management laptop
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Sometimes, when I boot into Ubuntu (I dual boot Windows 10), plugging in or taking out the laptop charger will cause the computer to go to sleep. I tested it out and found that these lines occur in dmesg
when I plug the power in:
[ 9093.169515] atkbd serio0: Spurious ACK on isa0060/serio0. Some program might be trying to access hardware directly.
[ 9093.200810] atkbd serio0: Unknown key pressed (raw set 2, code 0x12b on isa0060/serio0).
[ 9093.200813] atkbd serio0: Use 'setkeycodes 2b <keycode>' to make it known.
When it occurs, it occurs every time I manipulate the charger plug. But if it doesn't occur on a particular boot, it will never happen on that boot, as far as I can tell. Is this something I can fix?
Other info:
I'm running Ubuntu 17.10 on a Razer Blade 2017.
Edit: I have discovered some more dmesg
lines that differ between a "good" boot where the problem doesn't occur, and a "bad" boot where it does:
pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e5(Transmitter ID)
error status/mask=00001000/00002000
Replay Timer Timeout
These lines repeat multiple times per minute, and sometimes multiple times per second, but are never present in a "good" boot.
17.10 suspend power-management laptop
Sometimes, when I boot into Ubuntu (I dual boot Windows 10), plugging in or taking out the laptop charger will cause the computer to go to sleep. I tested it out and found that these lines occur in dmesg
when I plug the power in:
[ 9093.169515] atkbd serio0: Spurious ACK on isa0060/serio0. Some program might be trying to access hardware directly.
[ 9093.200810] atkbd serio0: Unknown key pressed (raw set 2, code 0x12b on isa0060/serio0).
[ 9093.200813] atkbd serio0: Use 'setkeycodes 2b <keycode>' to make it known.
When it occurs, it occurs every time I manipulate the charger plug. But if it doesn't occur on a particular boot, it will never happen on that boot, as far as I can tell. Is this something I can fix?
Other info:
I'm running Ubuntu 17.10 on a Razer Blade 2017.
Edit: I have discovered some more dmesg
lines that differ between a "good" boot where the problem doesn't occur, and a "bad" boot where it does:
pcieport 0000:00:1c.5: AER: Corrected error received: id=00e5
pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e5(Transmitter ID)
error status/mask=00001000/00002000
Replay Timer Timeout
These lines repeat multiple times per minute, and sometimes multiple times per second, but are never present in a "good" boot.
17.10 suspend power-management laptop
17.10 suspend power-management laptop
edited Mar 15 at 1:49
asked Mar 15 at 1:33
Octavia Togami
1116
1116
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1015035%2fubuntu-sometimes-sleeps-after-power-state-changes%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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