X86 platform drivers
 help / color / mirror / Atom feed
From: "Bjørn Mork" <bjorn@mork.no>
To: "Lee, Chun-Yi" <jlee@suse.com>
Cc: platform-driver-x86@vger.kernel.org
Subject: acer-wmi auto-loaded on a Lenovo Thinkpad X1 Carbon 4th gen
Date: Thu, 14 Jul 2016 23:39:31 +0200	[thread overview]
Message-ID: <87vb07lx0s.fsf@miraculix.mork.no> (raw)

I recently got a new laptop.  And now I'm trying to figure out what all
the stuff they put into it actually is :)
.
One thing that doesn't seem quite right is that the acer-wmi driver is
loaded and claims that this laptop has an "Acer BMA150 accelerometer".

It is true that there is a device there matching

  #define AMW0_GUID1            "67C3371D-95A3-4C37-BB61-DD47B491DAAB"

as can be seen:

 bjorn@miraculix:~$ ls -l /sys/devices/virtual/wmi/67C3371D-95A3-4C37-BB61-DD47B491DAAB
 total 0
 -r--r--r-- 1 root root 4096 Jul 14 23:10 modalias
 drwxr-xr-x 2 root root    0 Jul 14 23:10 power
 lrwxrwxrwx 1 root root    0 Jul 14 23:10 subsystem -> ../../../../class/wmi
 -rw-r--r-- 1 root root 4096 Jul 14 23:10 uevent


But I sort of doubt there is an Acer specific device here.  Maybe this
is a generic accelerometer interface?  Or is there something else going
on?

The input device created by the driver just just returns -EPERM when I
try to open it, so I don't think this actually works as-is:

 root@miraculix:/tmp# cat /dev/input/event8
 cat: /dev/input/event8: Operation not permitted


And it does seem a little weird that a Thinkpad should need an Acer
specific platform driver anyway....  thinkpad_acpi is of course handling
all(?) the Thinkpad specifics as expected.


Bjørn

             reply	other threads:[~2016-07-14 21:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-14 21:39 Bjørn Mork [this message]
2016-07-19  4:55 ` acer-wmi auto-loaded on a Lenovo Thinkpad X1 Carbon 4th gen joeyli
2016-08-08 10:09   ` Bjørn Mork
2016-08-21  1:15     ` joeyli
2016-08-21 11:58       ` Bjørn Mork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vb07lx0s.fsf@miraculix.mork.no \
    --to=bjorn@mork.no \
    --cc=jlee@suse.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox