Re: Dell Latitude E6510: `dell_wmi: Dell descriptor buffer has invalid buffer length (128)`

From: Pali RohÃr
Date: Thu Feb 16 2017 - 10:32:27 EST


On Thursday 16 February 2017 16:15:08 Paul Menzel wrote:
> Dear Matthews, dear Pali,
>
>
> Installing Debian 9 (Stretch/testing) with Linux 4.9.6 on the Dell Latitude
> E6510, the warnings below are shown.
>
> ```
> $ more /proc/version
> Linux version 4.9.0-1-amd64 (debian-kernel@xxxxxxxxxxxxxxxx) (gcc version
> 6.3.0 20170124 (Debian 6.3.0-5) ) #1 SMP Debian 4.9.6-3 (2017-01-28)
> $ sudo journalctl -k
> [â]
> Feb 16 12:19:13 e6510 kernel: DMI: Dell Inc. Latitude E6510/XXXXX, BIOS A03
> 05/28/2010
> [â]
> Feb 16 12:19:14 e6510 kernel: input: HDA Intel MID HDMI/DP,pcm=7 as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
> Feb 16 12:19:14 e6510 kernel: input: HDA Intel MID HDMI/DP,pcm=8 as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
> Feb 16 12:19:14 e6510 kernel: ppdev: user-space parallel port driver
> Feb 16 12:19:14 e6510 kernel: fbcon: inteldrmfb (fb0) is primary device
> Feb 16 12:19:15 e6510 kernel: logitech-djreceiver 0003:046D:C52B.0003:
> hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on
> usb-0000:00:1d.0-1.3/input2
> Feb 16 12:19:15 e6510 kernel: dell_wmi: Dell descriptor buffer has invalid
> buffer length (128)
> Feb 16 12:19:15 e6510 kernel: dell_wmi: Detected Dell WMI interface version
> 1
> Feb 16 12:19:15 e6510 kernel: input: Dell WMI hotkeys as
> /devices/virtual/input/input18
> Feb 16 12:19:15 e6510 kernel: pcmcia_socket pcmcia_socket0: cs: memory probe
> 0x0c0000-0x0fffff:
> Feb 16 12:19:15 e6510 kernel: excluding 0xc0000-0xfffff
> Feb 16 12:19:15 e6510 kernel: pcmcia_socket pcmcia_socket0: cs: memory probe
> 0xa0000000-0xa0ffffff:
> Feb 16 12:19:15 e6510 kernel: excluding 0xa0000000-0xa0ffffff
> Feb 16 12:19:15 e6510 kernel: pcmcia_socket pcmcia_socket0: cs: memory probe
> 0x60000000-0x60ffffff:
> Feb 16 12:19:15 e6510 kernel: excluding 0x60000000-0x60ffffff
> Feb 16 12:19:15 e6510 kernel: clocksource: Switched to clocksource tsc
> [â]
> ```
>
> Reading the commit description [1], it sounds like, that this model just has
> a ACPI DSDT table, that wasnât known when writing the patch [1].
>
> Itâd be great to get rid of the warning. Please tell me what you need.
>
>
> Kind regards,
>
> Paul
>
>
> [1] https://patchwork.kernel.org/patch/7951281/

Hi! In future please try to avoid wrapping dmesg log lines as they are
harder to read if they are wrapped.

About that warning on buffer size. That check was added based on
ACPI-WMI documentation IIRC dated back to 2009. Info is here:
https://www.spinics.net/lists/platform-driver-x86/msg07220.html

So now there is some machine which has different buffer size as
specified in that documentation. This is first time I saw such report
since introduction of that change.

But it is only check that WMI interface (which dell-wmi driver is using)
is behaving correctly according to that documentation. Warning is non
fatal and only informative.

I will think about this.

Maybe somebody from Dell could comment this?

--
Pali RohÃr
pali.rohar@xxxxxxxxx