From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753870AbbL0NK7 (ORCPT ); Sun, 27 Dec 2015 08:10:59 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38780 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751621AbbL0NK5 (ORCPT ); Sun, 27 Dec 2015 08:10:57 -0500 Subject: Re: [PATCH 0/2] Fixes for dell-wmi To: =?UTF-8?Q?Pali_Roh=c3=a1r?= References: <1450991926-20937-1-git-send-email-pali.rohar@gmail.com> <567FE0CD.6080107@gmail.com> <201512271407.47844@pali> Cc: Matthew Garrett , Darren Hart , =?UTF-8?B?TWljaGHFgiBLxJlwaWXFhA==?= , Andy Lutomirski , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org From: Gabriele Mazzotta Message-ID: <567FE35F.9060101@gmail.com> Date: Sun, 27 Dec 2015 14:10:55 +0100 MIME-Version: 1.0 In-Reply-To: <201512271407.47844@pali> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/12/2015 14:07, Pali Rohár wrote: > On Sunday 27 December 2015 13:59:57 Gabriele Mazzotta wrote: >> On 24/12/2015 22:18, Pali Rohár wrote: >>> This patch series adds check if Dell WMI descriptor structure is >>> valid and fixes processing WMI events on devices with WMI >>> interface version 0. >>> >>> After testing, second patch is good candidate for backporting into >>> stable kernels, but problem is that it cannot be used without >>> first patch. So I let decision to other people. >>> >>> Gabriele and Michał, this patch series should fix processing events >>> on yours Dell laptops (you have in DSDT defined version 0). Can >>> you test it? >> >> Hi, >> >> I tested the patches and all the function keys work, but I can see >> that there are some differences in the dmesg. >> >> Here a before and after comparison. >> >> The radio button seems to generate longer messages when compared to >> the others. > > Hi! Thanks for testing. Can you please recompile driver with line > #define DEBUG at beginning of dell-wmi.c file and send dmesg output > again? I want to see processing buffer debug lines in dmesg. Here we > should see that after this patch series garbage will not be parsed. I had to define DEBUG to get those lines. dell_new_hk_type is false, so that's all I can get.