Description of problem: Installing F30 from a DVD to a HP probook 4535s the installer screen is rotated 180 degrees. The mouse is also rotated This happens when the screen to choose live or install mode appears. Using the same DVD on a workstation, no problem. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.boot from DVD 2.wait 3. Actual results: rotated screen Expected results: normal screen Additional info:
Created attachment 1578127 [details] screen photo
It seems to be a problem with drivers. Reassigning to kernel.
I believe the problem you are seeing is caused by an accelerometer in the base of the laptop which is intended for some sort of harddisk crash protection. This accelerometer is picked by iio-sensor-proxy, which thinks it is in the display and for some reason the accelerometer is reporting the laptop is being held upside-down and therefor iio-sensor-proxy tells GNOME that the screen needs to be flipped. To confirm this theory, please run "monitor-sensor" and copy and paste the output here. If this output indeed shows that iio-sensor-proxy thinks the laptop is upside-down then as a workaround, after installing you can do: sudo systemctl mask iio-sensor-proxy.service Also please as a regular user do: grep . /sys/class/dmi/id/* 2> /dev/null And copy and paste the generated output here. This info will help adding a quirk for the accelerometer in your model laptop to be automatically ignored, once you've confirmed with the monitor-sensor output that this is indeed the problem.
Can you please also do: ls /sys/bus/iio/devices And also copy and paste the output here? We also need that for the quirk.
[jeb2131@ool-2f115b83 ~]$ monitor-sensor Waiting for iio-sensor-proxy to appear +++ iio-sensor-proxy appeared === Has accelerometer (orientation: bottom-up) === No ambient light sensor [jeb2131@ool-2f115b83 ~]$ sudo grep . /sys/class/dmi/id/* /sys/class/dmi/id/bios_date:03/11/2015 /sys/class/dmi/id/bios_vendor:Hewlett-Packard /sys/class/dmi/id/bios_version:68CPC Ver. F.60 /sys/class/dmi/id/board_asset_tag:Base Board Asset Tag /sys/class/dmi/id/board_name:168B /sys/class/dmi/id/board_serial:00000000000000 /sys/class/dmi/id/board_vendor:Hewlett-Packard /sys/class/dmi/id/board_version:KBC Version 32.1D /sys/class/dmi/id/chassis_asset_tag:CNU2072GWN /sys/class/dmi/id/chassis_serial:CNU2072GWN /sys/class/dmi/id/chassis_type:10 /sys/class/dmi/id/chassis_vendor:Hewlett-Packard /sys/class/dmi/id/modalias:dmi:bvnHewlett-Packard:bvr68CPCVer.F.60:bd03/11/2015:svnHewlett-Packard:pnHPProBook4535s(A7K36UT):pvrA0001C02:rvnHewlett-Packard:rn168B:rvrKBCVersion32.1D:cvnHewlett-Packard:ct10:cvr: grep: /sys/class/dmi/id/power: Is a directory /sys/class/dmi/id/product_family:103C_5336AN /sys/class/dmi/id/product_name:HP ProBook 4535s (A7K36UT) /sys/class/dmi/id/product_serial:CNU2072GWN /sys/class/dmi/id/product_sku:A7K36UT /sys/class/dmi/id/product_uuid:38988908-a1bf-11e0-9744-39107f191859 /sys/class/dmi/id/product_version:A0001C02 grep: /sys/class/dmi/id/subsystem: Is a directory /sys/class/dmi/id/sys_vendor:Hewlett-Packard /sys/class/dmi/id/uevent:MODALIAS=dmi:bvnHewlett-Packard:bvr68CPCVer.F.60:bd03/11/2015:svnHewlett-Packard:pnHPProBook4535s(A7K36UT):pvrA0001C02:rvnHewlett-Packard:rn168B:rvrKBCVersion32.1D:cvnHewlett-Packard:ct10:cvr: [jeb2131@ool-2f115b83 ~]$ ls /sys/bus/iio/devices ls: cannot access '/sys/bus/iio/devices': No such file or directory [jeb2131@ool-2f115b83 ~]$ ls /sys/bus/io/devices ls: cannot access '/sys/bus/io/devices': No such file or directory Note that it's not just the install screen. Fedora is also upside down. A workaround is to orient the device so that the display is where is belongs and then lock it there. The login screen is still inverted but Fedora is locked right side up. cheers Jim
*********** MASS BUG UPDATE ************** We apologize for the inconvenience. There are a large number of bugs to go through and several of them have gone stale. Due to this, we are doing a mass bug update across all of the Fedora 30 kernel bugs. Fedora 30 has now been rebased to 5.2.9-200.fc30. Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel. If you have moved on to Fedora 31, and are still experiencing this issue, please change the version to Fedora 31. If you experience different issues, please open a new bug report for those.
Jim, Thank you for providing the info I requested and sorry that I missed your reply earlier. Starting with iio-sensor-proxy version 2.7 it is possible to mark an accelerometer as being in the base of the laptop so that iio-sensor-proxy will ignore it. This is done through an entry in the hwdb, which is part of systemd, so I'm changing the component to systemd. I've prepared a hwdb entry which should fix this, I will attach it here. To test do the following: 1) Run monitor-sensor move the laptop this should at this point still show out like this: [root@localhost ~]# monitor-sensor Waiting for iio-sensor-proxy to appear +++ iio-sensor-proxy appeared === Has accelerometer (orientation: right-up) === No ambient light sensor Accelerometer orientation changed: normal Accelerometer orientation changed: right-up 3) copy 61-sensor.hwdb to /etc/udev/hwdb.d/ 4) "sudo systemd-hwdb update" 5) "sudo udevadm trigger" 5) "sudo systemctl restart iio-sensor-proxy.service" 6) Run monitor-sensor again This should now just say: [root@localhost ~]# monitor-sensor Waiting for iio-sensor-proxy to appear Note iio-sensor-proxy is not running it will exit on startup since it has nothing todo with the sensor being in the base. And without iio-sensr-proxy running your unwanted rotation problems should be gone. Please let me know if the 61-sensor.hwdb file helps, if it does then I will submit the changes upstream.
Created attachment 1606278 [details] hwdb drop in config file hopefully fixing this Here is the promised 61-sensor.hwdb file. Also please make sure you are using iio-sensor-proxy 2.7 or newer, do: "rpm -q iio-sensor-proxy" to see your current version, if it is older doing "sudo dnf update iio-sensor-proxy" should get you 2.7 or newer.
I did all in your posts and everything worked. Then I unlocked the screen and restarted. Everything now seems normal. Turning the laptop has no effect. However this is based on having the OS running. The original problem was with the install boot from DVD. I will try that and get back. Jim
I booted from the install DVD. The "Welcome to Fedora" install screen is still inverted. Jim
Submitted as https://github.com/systemd/systemd/pull/13378.
(In reply to Jim Bean from comment #10) > I booted from the install DVD. > The "Welcome to Fedora" install screen is still inverted. Yes, that is expected, the fix will only work on an already installed system. I expect / hope the fix will make it into the F31 install DVD and then things should work there too.
FEDORA-2020-f8e267d6d0 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f8e267d6d0
systemd-241-14.git18dd3fb.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f8e267d6d0
systemd-241-14.git18dd3fb.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.