Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-06 Thread Daniel Drake
On Thu, Sep 5, 2019 at 9:00 PM Bastien Nocera wrote: > Daniel, if you run into many more problems, there's also the > possibility of adding a boot argument to disable the accelerometer (or > maybe its effects?), either in iio-sensor-proxy or gnome-shell. Thanks for the suggestion, manually

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Bastien Nocera
On Thu, 2019-09-05 at 14:36 +0200, Hans de Goede wrote: > Hi, > > On 05-09-19 14:11, Hans de Goede wrote: > > Hi, > > > > On 05-09-19 13:28, Bastien Nocera wrote: > > > On Thu, 2019-09-05 at 13:13 +0200, Hans de Goede wrote: > > > > Hi, > > > > > > > > On 05-09-19 12:49, Bastien Nocera wrote: >

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Hans de Goede
Hi, On 05-09-19 14:11, Hans de Goede wrote: Hi, On 05-09-19 13:28, Bastien Nocera wrote: On Thu, 2019-09-05 at 13:13 +0200, Hans de Goede wrote: Hi, On 05-09-19 12:49, Bastien Nocera wrote: On Thu, 2019-09-05 at 18:38 +0800, Daniel Drake wrote: On Thu, Sep 5, 2019 at 6:07 PM Bastien

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Bastien Nocera
On Thu, 2019-09-05 at 13:13 +0200, Hans de Goede wrote: > Hi, > > On 05-09-19 12:49, Bastien Nocera wrote: > > On Thu, 2019-09-05 at 18:38 +0800, Daniel Drake wrote: > > > On Thu, Sep 5, 2019 at 6:07 PM Bastien Nocera > > > wrote: > > > > I've read through this, and I'm happy blacklisting the

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Hans de Goede
Hi, On 05-09-19 12:49, Bastien Nocera wrote: On Thu, 2019-09-05 at 18:38 +0800, Daniel Drake wrote: On Thu, Sep 5, 2019 at 6:07 PM Bastien Nocera wrote: I've read through this, and I'm happy blacklisting the hp_accel driver in code. For the other devices, I'd rather leave it as-is. That

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Bastien Nocera
On Thu, 2019-09-05 at 18:38 +0800, Daniel Drake wrote: > On Thu, Sep 5, 2019 at 6:07 PM Bastien Nocera > wrote: > > I've read through this, and I'm happy blacklisting the hp_accel > > driver > > in code. For the other devices, I'd rather leave it as-is. > > That would indeed avoid most problem

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Hans de Goede
Hi Daniel, On 05-09-19 11:05, Daniel Drake wrote: Hi, so sometimes we even apply the wrong quirks. Two recent examples: https://bugzilla.redhat.com/show_bug.cgi?id=1717712 (more on this case below) I see the latest development of having the hwdb specify whether the accelerometer is in

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Daniel Drake
On Thu, Sep 5, 2019 at 6:07 PM Bastien Nocera wrote: > I've read through this, and I'm happy blacklisting the hp_accel driver > in code. For the other devices, I'd rather leave it as-is. That would indeed avoid most problem cases that I've seen, and the current case, probably enough to stop me

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Bastien Nocera
Hey, On Thu, 2019-09-05 at 17:05 +0800, Daniel Drake wrote: > Hi, > > Over the years we've seen a bunch of reports of systems that > automatically rotate the display to some incorrect orientation, based > on trusting some accelerometer data values which were not interpreted > correctly. I have

Re: [systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Dave Howorth
On Thu, 5 Sep 2019 17:05:11 +0800 Daniel Drake wrote: > Hi, > > Over the years we've seen a bunch of reports of systems that > automatically rotate the display to some incorrect orientation, based > on trusting some accelerometer data values which were not interpreted > correctly. I have another

[systemd-devel] Bad accelerometer values cause incorrect screen rotation

2019-09-05 Thread Daniel Drake
Hi, Over the years we've seen a bunch of reports of systems that automatically rotate the display to some incorrect orientation, based on trusting some accelerometer data values which were not interpreted correctly. I have another affected system in hand here. When this unfortunate situation