Re: acer-wmi auto-loaded on a Lenovo Thinkpad X1 Carbon 4th gen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bjørn,

On Thu, Jul 14, 2016 at 11:39:31PM +0200, Bjørn Mork wrote:
> 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

Could you please check that what does the _HID of HKEY device in your DSDT?

or please attached your acpidump data to me:
 # acpidump > acpidump.raw

Then I want to add HID to the norfkill_ids list in acer-wmi to avoid that
it loaded on your Lenovo machine like LEN0068.

Then, thinkpad_acpi needs to support this _HID.


Thanks a lot!
Joey Lee
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux