LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-11-2019, 11:40 AM   #406
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66

Hi

Re: computer restarting after power down.

I've seen this on a Leonovo forum where someone was having similar problems with a couple of Leonovo's
Enter your firmware settings and..
Quote:
Fix was:
Load BIOS defaults and then bios settings changed where:

Security\Secure boot\Secure boot --> disabled

Restart\Load setup defaults - Os optimized defaults --> disabled
Bodge99

Last edited by bodge99; 08-11-2019 at 11:41 AM.
 
Old 08-12-2019, 12:06 AM   #407
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by bodge99 View Post
Hi

Re: computer restarting after power down.

I've seen this on a Leonovo forum where someone was having similar problems with a couple of Leonovo's
Enter your firmware settings and..
Bodge99
Thanks for this. I disabled the Secure Boot before I installed Antix, and it has remained disabled ever since.
The other setting, or similar, does not feature.
 
Old 08-12-2019, 02:51 AM   #408
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

It's still worth loading Bios defaults...

Bodge99
 
Old 08-12-2019, 03:00 AM   #409
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

Klaas:
Try this

Create a file called testsuspend. Place the following into it and save it in your home directory.
Code:
#!/bin/bash
dm-tool lock
sudo echo -n mem | sudo tee /sys/power/state
sleep 5
sudo service network-manager restart
Right click on the desktop and select "Create Launcher"
In "Name", call it Sleep .
To the right of "Command", click on the icon and browse to your home directoy. Click on "testsuspend" and then the "Open" button.
Now click on the "Create" button.

Double click on the new desktop icon named "Sleep" and click on the "Mark Executable" button in the "Untrusted application launcher"

Bodge99
 
Old 08-12-2019, 04:20 AM   #410
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by bodge99 View Post
Hi,

Klaas:
Try this

Create a file called testsuspend. Place the following into it and save it in your home directory.
Code:
#!/bin/bash
dm-tool lock
sudo echo -n mem | sudo tee /sys/power/state
sleep 5
sudo service network-manager restart
Right click on the desktop and select "Create Launcher"
In "Name", call it Sleep .
To the right of "Command", click on the icon and browse to your home directoy. Click on "testsuspend" and then the "Open" button.
Now click on the "Create" button.

Double click on the new desktop icon named "Sleep" and click on the "Mark Executable" button in the "Untrusted application launcher"

Bodge99
Hey Bodge, that is exactly the sort of thing I was thinking bout in the absence of a button- telepathy ;-) This script works in that clicking on it makes the screen go black, but immediately afterwards it goes back to the desktop, this time with a prompt for the password.
 
Old 08-12-2019, 04:26 AM   #411
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

I've been looking at power states and suspend functionality on some of the kit I've got here or otherwise got access to.

Most of the time, it works flawlessly (different computers are using systemd suspend, pm-suspend or pm-suspend-hybrid).
What I did find, on two Linx 10 tablets (identical Mint 19.2 installations and firmware revisions) is that one worked with systemd suspend and the other didn't.
The only difference is the mainboard revision (one is rev 1.1 and the other rev. 1.2).

I cannot get the rev 1.2 Linx 10 to suspend by any mechanism in Mint 19.2 Xfce4. I'll retry later with Devuan and see if that works.

Bodge99
 
Old 08-12-2019, 04:30 AM   #412
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

Klaas: That's the exact behaviour I'm seeing with the Linx 10 tablet (Bay Trail SOC).

I'll look further..

Bodge99
 
Old 08-12-2019, 04:40 AM   #413
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi

Klaas:

dm-tool lock forces a login screen on return from suspend. If you want to, place a '#' at the beginning of the line to disable this part.

sudo echo -n mem | sudo tee /sys/power/state This is the effective "working part" of suspend. Other "stuff" is done by systemd.

Bodge99
 
Old 08-12-2019, 04:54 AM   #414
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by bodge99 View Post
Hi,

I've been looking at power states and suspend functionality on some of the kit I've got here or otherwise got access to.

Most of the time, it works flawlessly (different computers are using systemd suspend, pm-suspend or pm-suspend-hybrid).
What I did find, on two Linx 10 tablets (identical Mint 19.2 installations and firmware revisions) is that one worked with systemd suspend and the other didn't.
The only difference is the mainboard revision (one is rev 1.1 and the other rev. 1.2).

I cannot get the rev 1.2 Linx 10 to suspend by any mechanism in Mint 19.2 Xfce4. I'll retry later with Devuan and see if that works.

Bodge99
Thanks for all that work !!
 
Old 08-12-2019, 04:58 AM   #415
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by bodge99 View Post
Hi

Klaas:

dm-tool lock forces a login screen on return from suspend. If you want to, place a '#' at the beginning of the line to disable this part.

sudo echo -n mem | sudo tee /sys/power/state This is the effective "working part" of suspend. Other "stuff" is done by systemd.

Bodge99
No, that does not do the trick, it still comes up with that prompt. I even deleted the "old" desktop shortcut and created a new one following the addition of the #, but to no avail, the password prompt reappears all the same.
 
Old 08-12-2019, 05:31 AM   #416
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,408

Rep: Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598
what kernel parameters do you currently have in /etc/default/grub?
 
Old 08-12-2019, 05:33 AM   #417
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by colorpurple21859 View Post
what kernel parameters do you currently have in /etc/default/grub?
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.nomux=1 i8042.reset=1 i8042.nopnp=1 rootdelay=5 acpi=force"
 
Old 08-12-2019, 05:55 AM   #418
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,408

Rep: Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598Reputation: 1598
Quote:
resume=/dev/gpt3 resumewait
I think the reason this caused so much problems is the resume= was wrong.
add this to /etc/default/grub and rerun update-grub
Code:
resume=/dev/mmcblk0p3 resumewait
another thought is maybe there is a bad configuration file in the home folder.
create a new user with adduser log into the new user and give it try.
 
Old 08-12-2019, 06:06 AM   #419
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

I'm looking at acpi interactions with various power managers.. Memory unloading is performed slightly differently on the Bay Trail kit.

Bodge99
 
Old 08-12-2019, 06:08 AM   #420
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by bodge99 View Post
Hi,

I'm looking at acpi interactions with various power managers.. Memory unloading is performed slightly differently on the Bay Trail kit.

Bodge99
Is Bay Trail relevant to my set-up?
 
  


Reply



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
Antix best distro for netbook? nejnej25 Linux - Laptop and Netbook 4 01-21-2018 09:02 PM
[SOLVED] Conky display gets corrupted since updating Antix-16 to Antix-17 hazel Linux - Distributions 3 12-18-2017 08:55 AM
LXer: Debian-Based antiX MX-16.1 Distro Introduces Experimental Encrypted Home Folders LXer Syndicated Linux News 0 06-11-2017 08:37 AM
LXer: antiX M12 test 2 : A light-weight and fast Linux distro for older systems LXer Syndicated Linux News 0 03-07-2012 11:41 PM
LXer: New AntiX distro makes older hardware usable LXer Syndicated Linux News 0 06-26-2007 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 05:01 AM.

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