[Solved]hp pavilion, Stretch, display rotates spontaneously

Everything about X, Gnome, KDE, ... and everything running on it

[Solved]hp pavilion, Stretch, display rotates spontaneously

Postby amorales » 2017-12-27 06:21

Hi:
In a hp pavilion 15 Notebook PC with Debian Stretch, display rotates spontaneously from time to time.
Some body knows a solution to this Problem?
Thanks.
Last edited by amorales on 2017-12-30 04:11, edited 1 time in total.
amorales
 
Posts: 26
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby debiman » 2017-12-27 07:49

full hardware specs please, exact model etc.
does this have screen rotating sensors?
and a better problem description would be good.
User avatar
debiman
 
Posts: 2253
Joined: 2013-03-12 07:18

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby amorales » 2017-12-27 09:49

Hi:
Complete specifications are: HP Pavilion model 15-p001la.
No touchscreen, no screen rotating sensors.
AMD Quad-Core A10-5745M, AMD Radeon R7 M260
Description of the problem: Some minutes after login without any action of the user, display begins rotating with a rotation each ~5 minutes. The display remains ~5 minutes with rotation 90° and then ~5 minutes with rotation -90°, and so for.
I will provide more information as demanded.
Thanks.
amorales
 
Posts: 26
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby Wheelerof4te » 2017-12-27 10:11

Do you have firmware-amd-graphics installed?
Why Debian isn't user-friendly?
HOWTO: Install ES3 Morrowind on Debian Sid and Stable
"My computer is a few electrical transistors I flip manually with registers made out of salt water and lemon juice in some cups." - some guy on Reddit
User avatar
Wheelerof4te
 
Posts: 892
Joined: 2015-08-30 20:14

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby amorales » 2017-12-27 10:22

Dear Wheelerof4te:
Yes, have installed firmware-amd-graphics.
What to do?
Thanks
amorales
 
Posts: 26
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby Wheelerof4te » 2017-12-27 10:27

Try a newer kernel from backports.
Why Debian isn't user-friendly?
HOWTO: Install ES3 Morrowind on Debian Sid and Stable
"My computer is a few electrical transistors I flip manually with registers made out of salt water and lemon juice in some cups." - some guy on Reddit
User avatar
Wheelerof4te
 
Posts: 892
Joined: 2015-08-30 20:14

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby amorales » 2017-12-27 11:27

Dear Wheelerof4te:
I have installed kernel 4.13.0-0.bpo.1-amd64 but unfortunately the problem remains the same.
Do you have another suggestion?
Thanks
amorales
 
Posts: 26
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby debiman » 2017-12-27 18:23

anything in the logs? that would be Xorg log, dmesg and journalctl.

oh, and a general
Code: Select all
lspci -k | grep -iEA5 'vga|3d|display'
xrandr
cannot hurt.
User avatar
debiman
 
Posts: 2253
Joined: 2013-03-12 07:18

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby Wheelerof4te » 2017-12-27 19:07

Does the same problem occur when you select GNOME on Wayland from GDM on login? Plus what debiman said.
Why Debian isn't user-friendly?
HOWTO: Install ES3 Morrowind on Debian Sid and Stable
"My computer is a few electrical transistors I flip manually with registers made out of salt water and lemon juice in some cups." - some guy on Reddit
User avatar
Wheelerof4te
 
Posts: 892
Joined: 2015-08-30 20:14

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby amorales » 2017-12-28 02:32

Hi:
Yes the problem is the same in GNOME on Wayland.
In a first view, I don't find anything useful in Xorg log, dmesg, journalctl and lspci, but probably is because I don't know what look for.
In the mean time I have discovered a surprising behaviour: When display rotates, I can restore the right display by rotating all the laptop some 45° and coming back!
That means that the laptop has an acceleration sensor? I said before that there was not a rotation sensor. For what is it a rotation sensor in a laptop?
Anyway, looks that the laptop has a rotation sensor and now I know that I can recover the verticality each time the display rotates by rotating the laptop.
I have to do that each 5 minutes or so. Still a problem.
Anybody knows how to solve this problem?
Thanks.
amorales
 
Posts: 26
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby 4D696B65 » 2017-12-28 02:54

In dconf editor, navigate to
Code: Select all
/org/gnome/settings-daemon/peripherals/touchscreen/

Check if it is set to on.
User avatar
4D696B65
 
Posts: 2146
Joined: 2009-06-28 06:09

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby amorales » 2017-12-28 03:45

hi 4D696B65:
The result of the search is: orientation-lock false
I tried to change to true, but I could not. The reply mesagge is: failed to commit changes to dconf
Do you have some instruction?
Thanks.
amorales
 
Posts: 26
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby dotlj » 2017-12-28 04:07

I don't have a touch screen, but suspect the touchpad may be involved.
Do you, or have you, disabled the touchpad?
If not the touchpad, something in the touch screen settings should solve this.

https://wiki.debian.org/TabletAndTouchScreen
suggests that not everything may work.
Xorg logs, as others have said may give more clues.
User avatar
dotlj
 
Posts: 591
Joined: 2009-12-25 17:21

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby amorales » 2017-12-28 05:34

Hi 4D696B65:
I could not change orientation-lock to true because I tried to do it as root, but as normal user I have succeded doing it and now the display is no more rotating. Great!
I would like to do the same as root because the initial login display also rotates. I assume that doing the same as root the login display will be fixed. dconf-editor does not allow me make changes as root. Is there another way to do that?
Would be very good to have everything fixed.
Thanks.
amorales
 
Posts: 26
Joined: 2013-12-29 07:53

Re: In a hp pavilion with Stretch, display rotates spontaneo

Postby 4D696B65 » 2017-12-28 06:11

amorales wrote:Hi 4D696B65:
I could not change orientation-lock to true because I tried to do it as root, but as normal user I have succeded doing it and now the display is no more rotating. Great!

Glad to hear it worked.
amorales wrote:I would like to do the same as root because the initial login display also rotates. I assume that doing the same as root the login display will be fixed.

I don't think that would solve the greeter problem. We will need to look deeper into this.
amorales wrote: dconf-editor does not allow me make changes as root. Is there another way to do that?

As I said, I dont think you should do that.
amorales wrote:Thanks.

You're welcome.
User avatar
4D696B65
 
Posts: 2146
Joined: 2009-06-28 06:09

Next

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable