Closed dehuszar closed 9 years ago
Yes, you need the libXrandr development package libXrandr-devel
On 07/20/2014 02:59 PM, dehuszar wrote:
I've got my Yoga 2 Pro mostly running the way I want, I'm primarily just trying to figure out how to get the auto-rotation in place.
I've tried cloning this repo and running make programs as advised in the docs. I'm getting the following output:
|cd sensors && make all make[1]: Entering directory `/home/dehuszar/Downloads/yoga-laptop/sensors' cc orientation.c -o orientation In file included from orientation.c:29:0: libs/common.h:32:35: fatal error: X11/extensions/Xrandr.h: No such file or directory
include <X11/extensions/Xrandr.h>
^
compilation terminated. make[1]: [orientation] Error 1 make[1]: Leaving directory`/home/dehuszar/Downloads/yoga-laptop/sensors' make: \ [programs] Error 2 |
I did a sudo find / -iname for the Xrandr.h file, but there were no hits, so I'm not sure what my next steps should be. The docs made it sound like I wouldn't have to compile the drivers as the 3.15+ kernel should have them. Perhaps there are other dependencies I need to address? If I'm misunderstanding, let me know.
Thanks in advance.
— Reply to this email directly or view it on GitHub https://github.com/pfps/yoga-laptop/issues/14.
I just tried on a 3.16 kernel and nothing has changed for me. With the right libraries in place all that is needed is to compile and install the orientation program. If you are still trying on 3.16 and not succeeding, then there is likely something missing from your setup. (This could even be parts of the IIO system, I guess.)
I've got my Yoga 2 Pro mostly running the way I want, I'm primarily just trying to figure out how to get the auto-rotation in place.
I've tried cloning this repo and running make programs as advised in the docs. I'm getting the following output:
I did a sudo find / -iname for the Xrandr.h file, but there were no hits, so I'm not sure what my next steps should be. The docs made it sound like I wouldn't have to compile the drivers as the 3.15+ kernel should have them. Perhaps there are other dependencies I need to address? If I'm misunderstanding, let me know.
Thanks in advance.