Re: [PATCH 2/2] dell-wmi: Process only one event on devices with interface version 0
On Monday 28 December 2015 14:40:56 Michał Kępień wrote: > > BIOS/ACPI on devices with WMI interface version 0 does not clear > > buffer before filling it. So next time when BIOS/ACPI send WMI > > event which is smaller as previous then it contains garbage in > > buffer from previous event. > > > > BIOS/ACPI on devices with WMI interface version 1 clears buffer and > > sometimes send more events in buffer at one call. > > Are the explanations above based on your observations or perhaps some > documentation? Just observation from all DSDT files which I have seen. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.
Re: [PATCH 2/2] dell-wmi: Process only one event on devices with interface version 0
> BIOS/ACPI on devices with WMI interface version 0 does not clear buffer > before filling it. So next time when BIOS/ACPI send WMI event which is > smaller as previous then it contains garbage in buffer from previous event. > > BIOS/ACPI on devices with WMI interface version 1 clears buffer and > sometimes send more events in buffer at one call. Are the explanations above based on your observations or perhaps some documentation? -- Best regards, Michał Kępień -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 2/2] dell-wmi: Process only one event on devices with interface version 0
> BIOS/ACPI on devices with WMI interface version 0 does not clear buffer > before filling it. So next time when BIOS/ACPI send WMI event which is > smaller as previous then it contains garbage in buffer from previous event. > > BIOS/ACPI on devices with WMI interface version 1 clears buffer and > sometimes send more events in buffer at one call. Are the explanations above based on your observations or perhaps some documentation? -- Best regards, Michał Kępień -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 2/2] dell-wmi: Process only one event on devices with interface version 0
On Monday 28 December 2015 14:40:56 Michał Kępień wrote: > > BIOS/ACPI on devices with WMI interface version 0 does not clear > > buffer before filling it. So next time when BIOS/ACPI send WMI > > event which is smaller as previous then it contains garbage in > > buffer from previous event. > > > > BIOS/ACPI on devices with WMI interface version 1 clears buffer and > > sometimes send more events in buffer at one call. > > Are the explanations above based on your observations or perhaps some > documentation? Just observation from all DSDT files which I have seen. -- Pali Rohár pali.ro...@gmail.com signature.asc Description: This is a digitally signed message part.