The officially official Devuan Forum!

You are not logged in.

#27 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-10-05 19:41:47

The XFCE Power Manager default settings were:

  • System Power Saving Never

  • When Laptop Lid is Closed Lock Screen

  • Security Lock screen when System is going to sleep

When re-opening the lid I am presented with the Desktop, the keyboard  does not appear to be working, and the trackpad moves the cursor within a small rectangle in the centre of the screen.

With the above settings I should be presented with the XScreenSaver login dialog.
And that is what happens, only the dialog is invisible.
The cursor is in the invisible dialog's password field. I can unlock the screen by  blind typing the password.

#28 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-10-05 19:30:30

I went down  the wrong trail trying to solve a keyboard issue, which it is not.

I changed the subject of this thread to make the thread more relevant for posterity.
I had previously referred to it as  hibernation, which my system doesn't even support. The problem occurs after lid closure.

#30 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-10-03 20:17:57

Success !

Log in  as root using su - to make sure that /usr/sbin is in the PATH.

I changed  GRUB_CMD_LINUX_DEFAULT in /etc/default/grub:

GRUB_CMD_LINUX_DEFAULT="i8042.reset i8042.nomux i8042.nopnp i8042.noloop"

Then I ran the following command:

update-grub

#31 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-10-03 20:07:32

Élisabeth wrote:
Marjorie wrote:

Did you do this as root / using sudo (...) or as yourself as user?

grub-mkconfig won't be found is you run /usr/sbin/update-grub as a regular user.

As root.

Sorry.
PATH wasn't set because I didn't use su -

#32 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-10-03 19:11:07

Marjorie wrote:

Did you do this as root / using sudo (...) or as yourself as user?

grub-mkconfig won't be found is you run /usr/sbin/update-grub as a regular user.

As root.

#33 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-10-03 10:19:24

I found someone on the Ubuntu forum with  the same symptoms:

He changed GRUB_CMD_LINUX_DEFAULT in /etc/default/grub, adding i8042.reset i8042.nomux i8042.nopnp i8042.noloop to the options.

Following this post, I tried to update-grub, but it fails:

/usr/sbin/update-grub: 3: exec: grub-mkconfig: not found

#34 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-10-03 09:32:49

Élisabeth wrote:

When I run synclient I get:

Couldn't find synaptics properties. No synaptics driver loaded? 

The synaptic Xorg driver in being superseded by the newer libinput driver in Debian 9 "Stretch".

#35 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-10-03 09:30:21

devadmin wrote:

Do you really need to hibernate? It writes down quite a lot to ssd or hard drive. May be you can disable hibernate and use suspend?
I had other problem with touchpad. Installed synclient added one command line " synclient..." in rc.local and it works. Probaly it"s not the best solution but it works.

When I wrote the original post I didn't know the terminology.
I presume the laptop suspends when I close the lid.

When I run synclient I get:

Couldn't find synaptics properties. No synaptics driver loaded? 

#36 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-10-02 13:01:39

ralph.ronnquist wrote:

You may well be right to focus on the screen and display side of things, then the X configuration for the input devices, and then the device adapters themselves... but I'd do the opposite order.

As I understood it, the display shows up fine but the mouse and keyboard play up.

You are absolutely right! The screen is displayed correctly at 1920x1080.
But the mouse moves within a (I guess) 320x180 or rectangle and the keyboard is dead.

I haven't given up yet, I'm not one to throw the towel quickly.

But if I fail to solve this problem, I wonder whether I could set up the PC to shut down on closure of the lid. It's a bit severe.
At the moment I do a manual shutdown.

#37 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-10-01 19:33:21

ralph.ronnquist wrote:

Generally the issue is likely to be that some module fails to reset/restart properly on resume. if that is the case and you can isolate which one, adding that module to the SUSPEND_MODULES list (see man pm-suspend) for unloading and re-loading might solve the issue.

pm-utils are not installed, hence no log files.

I found this on Debian : A very common issue found after the computer resumes is corrupted video ... Fixing corrupted video on resume

And I found a hack to restore the resolution Screen resolution wrong after suspend, which I presume requires pm-utils.

#38 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-09-30 20:31:54

ralph.ronnquist wrote:

Is there anything spectacular in /var/log/syslog or /var/log/Xorg.0.log ? or perhaps som /var/log/pm-* log file?

Nothing in /var/log/Xorg.0.log  or /var/log/pm-*

Nothing on wake-p in  /var/log/syslog, just while booting.

I don't know whether this is related:

EXT4 (sda2) errors=remount-ro

That's the / root partition.

#39 Re: Desktop and Multimedia » How to change locale for user ? » 2021-09-30 12:42:39

Camtaf wrote:

I think, on XFCE, it is,

Settings > Keyboard > Layout

That's for the keyboard layout, which worked out of the box since installation.

#40 Re: Desktop and Multimedia » How to change locale for user ? » 2021-09-30 09:01:34

steve_v wrote:

I don't know what DE or other graphical stuff you're running, so I can't really comment on that.

At the moment just the basic installation.

I thought application pick it up from the locale setting.

What happens to folder names such as Download, etc. ?

#41 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-09-29 23:00:16

Camtaf wrote:

Ctrl+L might redraw the screen for you.

Neither keyboard nor trackpad clicks work.

Only the trackpad moves the curser within a little rectangle in the centre of the screen.

This happens after I close the lid.

#42 Desktop and Multimedia » How to change locale for user ? » 2021-09-29 20:45:38

Élisabeth
Replies: 5

During the installation process, I installed two locales:
en_GB.UTF-8 (default)
fr_FR.UTF-8

I'd like to make French the default for my user account.

How do I do this?

#43 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-09-29 20:41:10

Kelsoo wrote:

16GB swap seems mightily excessive considering many people will large amounts of RAM like yourself don't use any swap.

I'm not using any at the moment.
If I ever run out of disk space, maybe I can downsize the swap partition.

#44 Re: Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-09-29 12:22:38

PedroReina wrote:
Élisabeth wrote:

Any ideas?

Please check the size of your swap partition. It should be as big as your RAM o bigger.

I have 16GB RAM and a 16GB swap partition.

#45 Desktop and Multimedia » incorrect screen size and keyboard not working after lid closure » 2021-09-28 20:06:37

Élisabeth
Replies: 25

When my laptop has not been used for a while it goes into hibernate (is that the right word?)

When I wake it up, the cursor is confined to a small rectangle in the centre. I
The keyboard isn't working. At least I haven't found any keystrokes that work.

All I can do is power off and back on.

Any ideas?

#46 Re: Installation » [SOLVED] USB image - Access Denied error » 2021-09-27 13:37:32

Camtaf wrote:

I agree, it must be computer BIOS/UEFI firmware at fault - remind me never to buy one of those! sad

I've had positive experiences with previous Lenovos. But predecessor rmodels didn't have secure boot nor were they password protected.

I'm just wondering how the Debian USB stick was created. Why did it start no problem.

But I have to move on to complete my set-up.
I'll need a bit more assistance with a few niggles - but they're just due to lack of experience on my side.

#47 Re: Installation » [SOLVED] USB image - Access Denied error » 2021-09-27 13:27:43

golinux wrote:

@Élisabeth . . . your tenacity is quite extraordinary!  Congratulations!

Thank you! It's often been remarked upon by co-workers, and saved a couple of projects.

I could have had Debian on day one and to be honest it probably wouldn't have made an iota of a difference to my life as the end user that I am now.
But it became a matter of principle
a) not to give up b) to support free software

#48 Re: Installation » [SOLVED] USB image - Access Denied error » 2021-09-21 18:27:39

Camtaf wrote:

Just noticed, you were putting the image file onto sdb1 - it should be sdb - the disk, not a partition!

creating the output on sdb caused Secure Boot Access Denied error
creating the output on sdb1 caused the boot request to be ignored

I tried all three USB ports.

Anyway, Devuan is running on the PC.

Thanks to everyone who helped me get there!

#49 Re: Installation » How to partition my disk ? » 2021-09-21 16:28:31

Magnus wrote:
Élisabeth wrote:

I used to have a highly customised Debian system on my previous laptop, which died a year ago. I'll have lots to figure out and install to get back what I had before.

If you still have the disk with the system you can copy the old system to the new computer. Use the "cp -a" command. Then change /etc/fstab and /etc/initramfs-tools/conf.d/resume to the new computers partitions. Then you may have to install some drivers to. That's it.

The old disk died. Hence the new laptop. I just have an old backup.
I wish I could get just one file off that disk but I have been told it's unrecoverable.

#50 Re: Installation » [SOLVED] USB image - Access Denied error » 2021-09-21 14:56:12

Just to conclude this saga:

I was able to boot from my Devuan USB stick as described in this post - if and if only the Debian USB stick was present in another USB port.

I was able to install Devuan without problems using an EFI partitioning scheme.

As a matter of curiosity, I just created a USB installation drive with  dd under Devuan.

dd if=/home/elisabeth/Downloads/devuan_chimaera_4.0.beta-20210913_amd64_netinstall.iso of=/dev/sdb1 bs=1M 

But just like with all the USB tools I had created on Windows,  my PC couldn't boot from this either.

Board footer

Forum Software