patch #0 updated to detect DSI-1 displays [release 20180914git-3mamba;Tue Mar 05 2019]
This commit is contained in:
parent
4bfa5f1674
commit
be34a6e373
@ -52,7 +52,7 @@ diff -Nru surface-tools-20180914git.orig/autorotate/autorotate surface-tools-201
|
|||||||
+XRANDR_INFO = run_shell_cmd('xrandr --verbose')
|
+XRANDR_INFO = run_shell_cmd('xrandr --verbose')
|
||||||
+
|
+
|
||||||
+# Find the display we are interested to move (= the laptop panel)
|
+# Find the display we are interested to move (= the laptop panel)
|
||||||
+POSSIBLE_OUTPUT = [ "DSI1", "eDP1", "LVDS", "LVDS1" ]
|
+POSSIBLE_OUTPUT = [ "DSI1", "DSI-1", "eDP1", "LVDS", "LVDS1" ]
|
||||||
+for out in POSSIBLE_OUTPUT:
|
+for out in POSSIBLE_OUTPUT:
|
||||||
+ match = re.search("^" + out + r" connected .* \(.*\) (?P<rotation>.*) \(",
|
+ match = re.search("^" + out + r" connected .* \(.*\) (?P<rotation>.*) \(",
|
||||||
+ XRANDR_INFO,
|
+ XRANDR_INFO,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: surface-tools
|
Name: surface-tools
|
||||||
Version: 20180914git
|
Version: 20180914git
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: Tools for using the Microsoft Surface with Linux
|
Summary: Tools for using the Microsoft Surface with Linux
|
||||||
Group: System/Kernel and Hardware
|
Group: System/Kernel and Hardware
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -59,6 +59,9 @@ install -D -m0755 penmon/penmon %{buildroot}%{_datadir}/penmon/penmon
|
|||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20180914git-3mamba
|
||||||
|
- patch #0 updated to detect DSI-1 displays
|
||||||
|
|
||||||
* Sat Sep 15 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 20180914git-2mamba
|
* Sat Sep 15 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 20180914git-2mamba
|
||||||
- autorotate: apply patch to check rotation at startup and fork
|
- autorotate: apply patch to check rotation at startup and fork
|
||||||
- penmon: initial patch to support devices autodetection
|
- penmon: initial patch to support devices autodetection
|
||||||
|
Loading…
Reference in New Issue
Block a user