pfps / yoga-laptop

Systems and information to make Lenovo Yoga laptops work better
GNU General Public License v3.0
156 stars 30 forks source link

Hinge detection on Yoga 13 #23

Closed asymingt closed 9 years ago

asymingt commented 9 years ago

I noticed this message repeating continually in my syslog:

Oct 15 01:33:38 ideapad-yoga13 kernel: [ 781.539719] atkbd serio0: Use 'setkeycodes e03e ' to make it known.

I also noticed that the message stops when the yoga is in tablet mode, and resumes when in laptop mode. Is there a way to use this keycode to trigger a touchpad enable/disable automatically?

pfps commented 9 years ago

You might be able to do so.

I think that this behaviour occurs only on the yoga 13. It doesn't occur on the yoga 2 pro.

I did find out that tablet mode is triggered by a magnetic switch, just like lid closure is. I was wondering why my keyboard was not working - it turned out that I had my Yoga on top of my wife's and the magnet in her Yoga was triggering my Yoga to believe that the it was in tablet mode.

asymingt commented 9 years ago

OK -- that makes sense. Thanks!