-
Notifications
You must be signed in to change notification settings - Fork 30
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
Implementing on Yoga 11s #17
Comments
It really depends on whether the 11s uses similar hardware. If so, then everything should just work. If not, you may need to add new quirks, or make more drastic changes. |
Hello, I have the same question. I also have a Yoga 11s and would be great to know if anyone already tested this here? Could you provide a hardware list so that we could compare with ours? |
Here is the report that I get from lsusb for the hub controller. You should be able to get this information on any Linux system. yoga> sudo lsusb -v -s 2:3 Bus 002 Device 003: ID 2047:0855 Texas Instruments Invensense Embedded MotionApp HID Sensor |
If you have the IIO system installed, you should be able to |
Thank you, I'll check if it match soon. |
Hi all! Just got an Yoga ideapd 11s. I'm also willing to improve the support for this machine, I'm not a Linux kernel module expert but can program in C. Currently I'm unable to make the screen rotate when it is upside down. If I run: cat /sys/bus/iio/devices/iio:device*/name Hope to hear from you. All the best. |
If the screen is not rotating at all then try running the orientation program with a high debug level, as in |
Dear Peter, Thanks for the prompt reply. If I run: I get only the following: It is apparently stucked. Some more details on the hardware below: Bus 002 Device 003: ID 2047:0855 Texas Instruments |
This is the behaviour if some part of IIO (the I/O system that is used) isn't working right. There are some comments in the docs directory on what can go wrong. I expect that the problem is permissions. Check to see that you can read and write the buffer via |
Dear Peter, I don't believe we have a permission problem here, since I'm running 'orientation' under sudo. The list command you suggested produced the following: I can also cat the contents of some sensors, e.g.: They are all returning -2, irrespective the screen angle or position and sample frequency always return zero for all devices: I've never heard about iio before and am a little confused on how to go further. All the best. |
Dear Peter, Just realized my kernel is 3.13 and I need to install the sensor drivers which I skiped before. Now orientation is working when executed under sudo. All the best. |
Hello rpseng, Could you tell me what works and what does not? Regards, |
Hi Martin (Erwyn), Regarding the tools provided by this project, the orientation script works for me. After reboot the orientation script could accurately determine the position of the screen and rotate it if necessary: The light script is not working: There are still several things missing for a fully functional 2 in 1, like automatically disable keyboard/touchpad when in tablet mode etc... I guess we need to use other sensor for that. I'm looking forward for a response for the onboard project on that: All the best. |
Thanks for all these informations. Shamely I was particularly interested in the light stuff :(. Don't we have such sensors or is it the script not detecting them? |
Hi! I was curious if you'd have any advice on implementing this on a Yoga 11s.
I don't have much experience working with kernel modules but I bet there probably aren't too many modifications needed to get it working on such similar hardware to the Yoga 13, and it'll be good fun to learn a bit more about managing hardware configuration.
The text was updated successfully, but these errors were encountered: