Forum › Forums › New users › New Users and General Questions › Reconfigure Laptop Suspend
- This topic has 10 replies, 4 voices, and was last updated Jan 21-10:05 pm by Xecure.
-
AuthorPosts
-
January 19, 2021 at 12:07 am #50117Member
slosion
When I close my laptop lid, it completely shuts down.
Is there any way to make it just turn off the screen or hibernate?I saw some posts on the old forum, but they talk about config files that don’t exist.
Creating the files they talk about doesn’t change anything.Old forums:
https://antixlinux.com/forum-archive/laptop-suspend-solved-t5071.html
https://forum.mxlinux.org/viewtopic.php?t=48875Extra info:
I’m using a Sony laptop from 2009.Slim doesn’t work at startup.
It goes to a black screen for a few seconds before going to a tty login.
From there I have to start it as root.Pressing the power button also triggers a hard shutdown.
January 19, 2021 at 8:39 pm #50171Member
Xecure
::Hello.
You first need to start giving us you system information. Just saying “I’m using a Sony laptop from 2009” doesn’t tell us anything about what is inside your computer, only that the sony put it all together and sold it. Please, launch a terminal and give us the output of
inxi -Fxz
This will first tell us what version of antiX you installed (if the newest 19.3 or an older one, if 32 or 64 bits, if the BASE edition or the FULL edition, which is important to know), the kernel version you are using, and also give us some more info related to your model and CPU, and also the GPU, which will help figure out why Xorg doesn’t start at boot.
Also, you should tell us if this is installed or running on Live USB. If installed, did you install using the whole disk, manual partitioning (and if so, did you reuse a home partition or is this only one / (root) partition).You should also separate the issues. This time, I will do it for you.
1. Closing the lid shuts down the computer. What the user wants is to have the computer suspend when closing the lid (you mention hibernate, but that is not set up by default in antiX, so suspend will be what I recommend).
2. Pressing the power button shuts down the computer. The user wants it to suspend instead (I assume).
3. Slim (or Xorg) doesn’t start when the system boots up.For 1 (close lid makes it so it suspends), there are two possibilities:
A. Suspend doesn’t work (for reasons to still be investigated), so when the system tries to suspend instead it shutsdown. Try using the Suspend option in the Exit Session menu and check if suspend/wake works.
B. Misconfiguration in acpi-support. If you are running antiX 19.3 base or full, then you can try configuring acpi-support and enable (if not already) LID_SLEEP.
sudo xdg-open /etc/default/acpi-support
Previously to antiX 19.3, the other 19.X base editions didn’t include acpi-support, so this needs to be installed on these cases. That is why it is important to give us more information, as some things may not be there (for space reasons, so the ISO was CD size).
More cases related to LID_SLEEP=true (https://www.antixforum.com/forums/search/LID_SLEEP=true/)For 2 (Powerbutton shuts down the computer). May be related to option A from above or a acpi event not being recognized properly. We will need more information on your system to investigate the issue.
For 3 (Xorg not starting at boot), we will also need more information. Maybe there was a regression in Debian 10, and maybe this doesn’t happen with antiX 17. We may need to check how different the live experience was to the installed one.
EXTRA INFORMATION: Did you check the integrity of the ISO used or the live media? Did you install from CD or USB? Did you select a specific boot option (like Safe Video Mode or Failsafe mode)? Did you check the HD health?
With computers, there are so many different factors that are involved and may be responsible for something going wrong (including both software and hardware) that diagnosing may not be as strait forward as people think. It is similar to a medical issue. We may have some symptoms, but those can be related to many different causes (including physical and mental problems). That is why we go to physicians so, with different tests and observations, they try to discover the cause of our problems and, if it is possible, also a solution.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.January 20, 2021 at 4:57 am #50182Memberslosion
::inxi -Fxz output:
System:
Host: vaio-antix Kernel: 4.9.235-antix.1-amd64-smp x86_64 bits: 64
compiler: gcc v: 8.3.0 Desktop: IceWM 2.0.1
Distro: antiX-19.3_x64-base Manolis Glezos 14 October 2020
base: Debian GNU/Linux 10 (buster)
Machine:
Type: Laptop System: Sony product: VGNFW590FFT v: R5779802
serial: <filter>
Mobo: Sony model: VAIO serial: <filter> BIOS: American Megatrends
v: R4070Y0 date: 09/04/2009
Battery:
ID-1: BAT0 charge: 39.5 Wh condition: 41.1/41.1 Wh (100%)
model: Sony Corp. status: Charging
CPU:
Topology: Dual Core model: Intel Core2 Duo T9600 bits: 64 type: MCP
arch: Penryn rev: A L2 cache: 6144 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 11168
Speed: 1600 MHz min/max: 800/2801 MHz Core speeds (MHz): 1: 1600 2: 800
Graphics:
Device-1: AMD RV730/M96 [Mobility Radeon HD 4650/5165] vendor: Sony
driver: radeon v: kernel bus ID: 01:00.0
Display: server: X.Org 1.20.4 driver: ati,radeon
unloaded: fbdev,modesetting,vesa resolution: 1920×1080~60Hz
Message: No advanced graphics data found on this system.
Audio:
Device-1: Intel 82801I HD Audio vendor: Sony driver: snd_hda_intel
v: kernel bus ID: 00:1b.0
Device-2: AMD RV710/730 HDMI Audio [Radeon HD 4000 series] vendor: Sony
driver: snd_hda_intel v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k4.9.235-antix.1-amd64-smp
Network:
Device-1: Intel WiFi Link 5100 driver: iwlwifi v: kernel port: d000
bus ID: 06:00.0
IF: wlan0 state: up mac: <filter>
Device-2: Marvell 88E8055 PCI-E Gigabit Ethernet vendor: Sony driver: sky2
v: 1.30 port: 9000 bus ID: 08:00.0
IF: eth0 state: down mac: <filter>
Drives:
Local Storage: total: 465.76 GiB used: 6.71 GiB (1.4%)
ID-1: /dev/sda vendor: Hitachi model: HTS725050A9A360 size: 465.76 GiB
Partition:
ID-1: / size: 195.09 GiB used: 6.71 GiB (3.4%) fs: ext4 dev: /dev/sda4
Sensors:
System Temperatures: cpu: 58.0 C mobo: 58.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 156 Uptime: 1h 45m Memory: 5.80 GiB used: 951.6 MiB (16.0%)
Init: SysVinit runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3
inxi: 3.0.36I installed it from a live DVD of antiX base.
I got the ISO from an official mirror listed on the website.
I haven’t checked the integrity.When pressing suspend from the logout menu it shuts down.
Pressing keys makes it start up to the GRUB menu.I ran a scan of the linux partition and it didn’t find any errors.
The acpi-support file didn’t exist.
I installed acpi-support from the repository.
Doing this created the file.
After uncommenting LID_SLEEP=true, closing the lid still shuts it down.
This might mean it is suspending, since as I said suspend just shuts it down.It started slim fine for the first few boots, but then it started requiring root to manually start it.
It seems like this could be the cause of all the other issues.- This reply was modified 2 years, 3 months ago by slosion.
- This reply was modified 2 years, 3 months ago by slosion.
January 20, 2021 at 5:14 am #50185Memberslosion
::inxi -Fxz output:
System:
Host: vaio-antix Kernel: 4.9.235-antix.1-amd64-smp x86_64 bits: 64
compiler: gcc v: 8.3.0 Desktop: IceWM 2.0.1
Distro: antiX-19.3_x64-base Manolis Glezos 14 October 2020
base: Debian GNU/Linux 10 (buster)
Machine:
Type: Laptop System: Sony product: VGNFW590FFT v: R5779802
serial: <filter>
Mobo: Sony model: VAIO serial: <filter> BIOS: American Megatrends
v: R4070Y0 date: 09/04/2009
Battery:
ID-1: BAT0 charge: 39.5 Wh condition: 41.1/41.1 Wh (100%)
model: Sony Corp. status: Charging
CPU:
Topology: Dual Core model: Intel Core2 Duo T9600 bits: 64 type: MCP
arch: Penryn rev: A L2 cache: 6144 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 11168
Speed: 1600 MHz min/max: 800/2801 MHz Core speeds (MHz): 1: 1600 2: 800
Graphics:
Device-1: AMD RV730/M96 [Mobility Radeon HD 4650/5165] vendor: Sony
driver: radeon v: kernel bus ID: 01:00.0
Display: server: X.Org 1.20.4 driver: ati,radeon
unloaded: fbdev,modesetting,vesa resolution: 1920×1080~60Hz
Message: No advanced graphics data found on this system.
Audio:
Device-1: Intel 82801I HD Audio vendor: Sony driver: snd_hda_intel
v: kernel bus ID: 00:1b.0
Device-2: AMD RV710/730 HDMI Audio [Radeon HD 4000 series] vendor: Sony
driver: snd_hda_intel v: kernel bus ID: 01:00.1
Sound Server: ALSA v: k4.9.235-antix.1-amd64-smp
Network:
Device-1: Intel WiFi Link 5100 driver: iwlwifi v: kernel port: d000
bus ID: 06:00.0
IF: wlan0 state: up mac: <filter>
Device-2: Marvell 88E8055 PCI-E Gigabit Ethernet vendor: Sony driver: sky2
v: 1.30 port: 9000 bus ID: 08:00.0
IF: eth0 state: down mac: <filter>
Drives:
Local Storage: total: 465.76 GiB used: 6.71 GiB (1.4%)
ID-1: /dev/sda vendor: Hitachi model: HTS725050A9A360 size: 465.76 GiB
Partition:
ID-1: / size: 195.09 GiB used: 6.71 GiB (3.4%) fs: ext4 dev: /dev/sda4
Sensors:
System Temperatures: cpu: 58.0 C mobo: 58.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 156 Uptime: 1h 45m Memory: 5.80 GiB used: 951.6 MiB (16.0%)
Init: SysVinit runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3
inxi: 3.0.36I installed antiX base from a live DVD.
I got the ISO from an official mirror given by the website.
I haven’t checked its integrity.Suspending from the logout menu shuts down the laptop.
After that pressing keys makes it boot to the GRUB menu.I scanned the linux partition and it didn’t return any errors.
I downloaded acpi-support from the repository, which created the acpi-support file.
After uncommenting LID_SLEEP=true, it still shuts down.
It probably is suspending, since as I said suspend just shuts it down.It seems like these issues could stem from slim not starting.
January 20, 2021 at 10:25 am #50187Member
Xecure
::Thanks for providing the system information. The issue with suspending option not working is probably the cause for all your problems (and is related to slim not starting up at boot up). Something must have gone wrong after the installation or maybe after an update.
I installed antiX base from a live DVD.
Could you test the live DVD again and select the boot option checkmd5 (if on Legacy BIOS boot, it is inside the F4 options, if in UEFI boot, it is one of the cascading options).
If it passes, try from the live media to suspend and wake, to see if at least on the live media suspend works properly.It seems like these issues could stem from slim not starting.
Did this happen after installation (first boot didn’t work) or after updating the system? We it is the former (and suspend also didn’t work on the live media), then we can test if a different kernel can help. When you log in to your installed system, Launch the package installer (white icon on the panel), in the kernel category, select the LTS antiX kernel spectre patch (it should state in the description that it is version 4.19.XXX). Then reboot and see if the issue persists.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.January 21, 2021 at 7:08 pm #50376Memberslosion
::I ran check md5 on the DVD and it passed all three tests.
I tried suspend on the DVD too and it didn’t work.
The DVD didn’t have problems starting x.This means slim might not be related.
I thought it was because I noticed these issues all at once.I installed the system last Sunday.
I haven’t had to update versions, but I ran apt update and upgrade the day I installed it.
On the first few boots it started slim fine.
I tried installing unnecessary radeon drivers so I might have messed up x config files.Trying to open the package installer says it failed to load libGL.1.so shared libraries.
The libGL problem started at the same time as the slim problem.I don’t have anything important on the system since it’s so new, so it might be worth a re-installation.
January 21, 2021 at 7:18 pm #50377Forum Admin
anticapitalista
::I tried installing unnecessary radeon drivers so I might have messed up x config files.
This is almost certainly the cause.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
January 21, 2021 at 7:30 pm #50378Anonymous
::> I tried installing unnecessary radeon drivers so I might have messed up x config files.
Yeah… that was probably an important detail to mention when seeking troubleshooting assistance.
@Xecure
At this juncture, still unknown whether the affected system has been configured to use stable, or testing, repos eh?(and I’m reminded why I chose to mention the -r option, in forum signature)
January 21, 2021 at 8:15 pm #50381Memberslosion
::I reinstalled the system and everything works.
I’ll try to be more careful this time.Thanks a lot for the help.
January 21, 2021 at 10:05 pm #50385Member
Xecure
::tried suspend on the DVD too and it didn’t work.
So, the suspension problem is still there on the new install?
antiX Live system enthusiast.
General Live Boot Parameters for antiX. -
AuthorPosts
- You must be logged in to reply to this topic.