Comment 49 for bug 1366421

Revision history for this message
Ritesh Raj Sarraf (rrs) wrote :

Regarding the SW_TABLET_MODE for Lenovo Yoga series, here's some thought.

In normal mode.

root@learner:/sys/kernel/debug/ideapad# cat status
Backlight max: 16
Backlight now: 3
BL power value: On
=====================
Radio status: Off(0)
Wifi status: Off(0)
BT status: Off(0)
3G status: Off(0)
=====================
Touchpad status:On(1)
Camera status: On(1)

In tablet mode.

root@learner:/sys/kernel/debug/ideapad# cat status
Backlight max: 16
Backlight now: 3
BL power value: On
=====================
Radio status: Off(0)
Wifi status: Off(0)
BT status: Off(0)
3G status: Off(0)
=====================
Touchpad status:Off(0)
Camera status: On(1)

I'll check other drivers on how they are populating SW_TABLET_MODE. In my opinion, leveraging Touchpad status for populating SW_TABLET_MODE should be fine.