Skip to content

asus-laptop: Pegatron Lucid (WeTab/ExoPC) support

Andy Ross platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4asus-laptop: Platform detection for Pegatron Luciddrivers/platform/x86/Kconfig drivers/platform/x86/asus-laptop.c+28 -80 replies
2/4asus-laptop: Pegatron Lucid ALS sensordrivers/platform/x86/asus-laptop.c+65 -51 reply
3/4asus-laptop: Pegatron Lucid accelerometerdrivers/platform/x86/Kconfig drivers/platform/x86/asus-laptop.c+141 -58 replies
4/4asus-laptop: allow boot time control of Pegatron ALS sensordrivers/platform/x86/asus-laptop.c+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] asus-laptop: Pegatron Lucid (WeTab/ExoPC) support

Accelerometer and ambient light sensor drivers for the Pegatron Lucid (sold as WeTab and ExoPC) tablet PC.

This was submitted a while back, but got dropped before merge as we were distracted by other projects. The last change requested was to fold the accelerometer driver into asus-laptop, which has been done here.

Unfortunately there is one new wart: doing so causes initialization to occur earlier, and we were seeing common panics underneath ACPI initialization. So I moved the accelerometer initialization out of the ACPI startup call tree and into a separate platform driver (as it was earlier when it was a separate module), which helped some. But occasional panics persisted, which I eventually tracked down to the very first accelerometer reads.

Faking this initial report (which I *think* is being requested out of the input polldev layer, not userspace) resulted in stable behavior. This code has been running on a bunch of development systems for several months now, so I feel as comfortable with the voodoo as I think I can.