-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It stopped working after a while #9
Comments
Here is the output when I run auto rotate via bash -x
|
Hello, I have an HP Spectre x360 with the same tablet mode and orientation. On a fresh install of auto-rotate I got similar errors as you, but I also received one indicating that the screen it was attempting to update didn't exist like this: » ./auto-rotate awk: option I believe something must have happened with the 'awk -W interactive' option as well as the command to modify the backlight at some point as that seems to be the issue. Looking at your output I saw that my 'MAIN_SCREEN' variable was different and that I was also getting the errors about awk not recoginized. I ultimately hard coded my screen name and commented out the lines about modifying the backlight (I'll worry about that later). After that I restarted and all seems to be working fine. Still getting the awk errors, but they aren't affecting the rotating. Hope this helps you somehow. Regardless, thank you for helping me! |
I found out the issue. It seems that the service would start too early and then the script couldn't load properly the service. This caused the script to not found the screen. Adding a little bit of delay on the start of the service seems to resolve this issue, will propose a merge after a little bit of testing. |
The issue caused the script to not work after a restart or shutdown, because it was called to early. All has been resolved by adding a start delay on the service, by using ExecStartPre=/usr/local/sleep 10. Don't know if add a little more delay for older system.
Sorry for unscientific title but I installed this one 2 days ago, it was working when first installed and now it does nothing when I physically rotate the device (hp pavilion 13" x360).
I got some system log entries which seem related (taken when I rotated the device)
Kas 06 23:51:23 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: warning: output not found; ignoring
Kas 06 23:51:23 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: awk: option
-W interactive' unrecognized, ignored Kas 06 23:51:23 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: rotate -- pointers: <<11 Kas 06 23:51:23 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: 12 Kas 06 23:51:23 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: 15>> matrix: <<-1 0 1 0 -1 1 0 0 1>> Kas 06 23:51:30 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: normal Kas 06 23:51:30 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: Error org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.UPower.KbdBacklight” on object at path /org/freedesktop/UPower/KbdBacklight Kas 06 23:51:30 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: warning: output not found; ignoring Kas 06 23:51:30 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: awk: option
-W interactive' unrecognized, ignoredKas 06 23:51:30 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: rotate -- pointers: <<11
Kas 06 23:51:30 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: 12
Kas 06 23:51:30 ilgaz-HP-Pavilion-13-x360-PC auto-rotate[2409]: 15>> matrix: <<1 0 0 0 1 0 0 0 1>>
Ubuntu 19.10 here with "kubuntu-desktop" installed. I already have issues so I stay away from anything advanced (hacks etc), I just have the "kde backports ppa" installed which seems to update kde to current stable version.
The text was updated successfully, but these errors were encountered: