From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f181.google.com (mail-dy1-f181.google.com [74.125.82.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A1CA5A79B for ; Mon, 12 Oct 2026 04:03:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791777834; cv=none; b=qlYBLrUeNrrXQXW2+sfVfoi2+5yx87JNJ2cMz0he4SgIQSj6VSJJHI/Ja4SB7zI0D4UVljl9pdRAOotwYCtU66uYcFdmPnyafA4/qpW9p5pBGUiBYliOg8p6yugonildHBmrCBCjEgRnbT2CHKh0C2xJe4NvEnfsEbMsI9W0Pic= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791777834; c=relaxed/simple; bh=FAil7OtxKTXvJbTvgGlszJiV2VHkZULg/wq6sGEenPI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pa01pfJ2iFj5Z2X2nNbLo+xcsE7DxPb5N2FfiGeyi8I+wRdTaNMA6gBSi09MCaaGp2gNbOhM9CMo01tz8pjAOSkYBCv73yMA2Ia0LQ/z7Yj03KIiKcEpsK6yerWEFvM4nLJOkZI0rZzSI+GvbAJNAKlgzIJw8HUl53j80IZnb6o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VvjjXgQa; arc=none smtp.client-ip=74.125.82.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VvjjXgQa" Received: by mail-dy1-f181.google.com with SMTP id 5a478bee46e88-35b2c599f43so393694eec.0 for ; Sun, 11 Oct 2026 21:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791777832; x=1792382632; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=Td54Itf2pNbuD++sK6cqexZnB1UToN3nPCQFL5wlNVE=; b=VvjjXgQaBiu3lG3EhOrptVGqTpcqIC0c5zRPr/1eOaoZd3+4DFEYe1JlqomVEpyq+u Abj1jOF0UPNpVaz3A4amvV11NDuie/2QfWXbxsZCRc9fmteH3Q8bBJujyHPmyHVwb7XF 0vXf6Bvz4cyQAOFQI343O9gVbY3KSSYYY/1eFkHPMbdEkyTZJ7z3SwKvu5+pld5dlSr/ GCDW31/f5BASM+1PqdSRGK+qrhxGcSrWVr6qEDhGTz6WeWcGbHfIfjusYG8fUSHzTlh8 DA/KK1DH3RX8SAwZiUpR0aLrz2eZrzKvJnpwdqdvuC0GozYPJNN0iWZjzXPL5XCmJtyU RANw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791777832; x=1792382632; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Td54Itf2pNbuD++sK6cqexZnB1UToN3nPCQFL5wlNVE=; b=ZdMXKEqPuL39G0gvDh2AbMvYYQGj0MVZpZNFUiE+dYo3aHC04qdy6xtf96yYOA64GQ Yu5MUnjE6mqe2+MT2oX8kY11RV1Dwj45njyBT6sUfaAucPeYJpsZelsyhppf95iVlIGJ kDz8IQ5u3ixcGehvxBMGArRS5+QlmWzBFf+YxIRhfv3ZjNDgPxfc23DjB+9OEBrbOzni TshIaeocfyXceWsosD/z2Y/Mt0+UcVwg+tM7SwkK3rZzMqVYSmiun2hUM/gK0z/Blfpx H+H9PhXi6B4dPA5mRm1zuM5rJ+z+OTHjr8ROu2/lQOk7jgPxjHI6zU3qAP70WWZ9gbF9 5JjA== X-Forwarded-Encrypted: i=1; AKwUvByEnf+6bl2/QlclGDREVKXLIc0QHw2MdTOps794jQN4zVzLiLDo520ka5TEDH3xmFDOxiIRJls9woWU@vger.kernel.org X-Gm-Message-State: AFq9FYLxsqCompyqpv0C2/sycjZsVvPnyVZRzjo/o/DZJOMTRtU3JBne GRglanqB7xoPdR8Ft2i4IQ7jTFVJd0OzSp67rvbjJIsKUe6pGF8PE6v0 X-Gm-Gg: AYBFou0YBrQEMNf41WXCvrTxl6pdu/NACmw0Iyzxomwx4CqG4Q4BwyYDGfbSYx+M4E5 Rc+DMAV8xzq4J57EJf7dP4nXeexkhll0F7qAEq/qi4ueq4UKtNwbEtmgOxE6UzKaBELL+SulOGk SKyEop662MCUW9VoX1389qo57oZUrbyTd+zz8DXrfSYcSp69kd4mh/7B1gazhyO1kcaBv2X7PWS d9av2DmZoavm9GLRE27Qpw3Uh8TDqSU4d7a7ixHWn0zpM9D7aAFgOSaW3j7mQB2pvWBjT6h2Z/X uqDRviFvRuWZiVA/MobGIECeDczx1uQS4gaSCYr1NS3QNjkZDc1WgYJjC5WoGUpOqLklPXUGP0Q rcUuugfEaAoyJ9GezpVFByQhk3VRqFvYDWlNSM2F6EjugaDpn/jgOpYQLUxTn1Og1wFJrIAi2zY dXUrzY0V227/NkU/cAQmzi2pX6WYunApgAMWO7PaFBpclBeRqBE7pXkzg2uHYup9QLELp7w/vFe OTwCEuZnse/zUttO+cy01C52cG2+ioNbvk11WvGcAfj4JuADN7Oj4NxDZllf39pqQRwlQ== X-Received: by 2002:a05:7301:fd84:b0:359:8540:19d3 with SMTP id 5a478bee46e88-35985401cfcmr4645193eec.14.1791777832154; Sun, 11 Oct 2026 21:03:52 -0700 (PDT) Received: from archlinux ([2405:201:1b:20ef:8b08:15c4:66f2:a984]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3537c841648sm32226476eec.3.2026.10.11.21.03.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Oct 2026 21:03:51 -0700 (PDT) Date: Mon, 12 Oct 2026 09:33:46 +0530 From: Krishna Chomal To: Lorenzo Collevecchio Cc: platform-driver-x86@vger.kernel.org, linux-acpi@vger.kernel.org, linux-hwmon@vger.kernel.org, W_Armin@gmx.de Subject: Re: hp-wmi: WHCM AE_AML_OPERAND_TYPE and fan init -22 on HP OmniBook 5 16-ag1xxx (board 8DF4) Message-ID: References: Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: +Armin Wolf On Sun, Oct 11, 2026 at 06:03:25PM +0200, Lorenzo Collevecchio wrote: >Hello, > >I am seeing hp-wmi fan interface failures on an HP OmniBook 5 >16-ag1xxx. This is not a gaming model. Hi Lorenzo, Thanks for reporting. >Hardware: > product_name: HP OmniBook 5 Laptop 16-ag1xxx (16-AG1002SL) > board_name: 8DF4 > BIOS: F.12, 04/10/2026 (no newer firmware listed on LVFS for >this machine) > Kernel: 7.2.9-2-cachyos (also tested 6.18.55-2-cachyos-lts; >ACPICA 20250807 vs 20260408) > >Symptoms: >1. At boot, \_SB.WMID.WHCM (called via WMAA) fails three times with > "AE_AML_OPERAND_TYPE: Needed [Buffer/String/Package], found >[Integer]" while resolving operands for [Index]. This is likely due to hp-bioscfg instead of hp-wmi. >2. Immediately afterwards: "hp-wmi hp-wmi: Failed to apply initial fan >settings: -22". Ah yes! This is because we are currently enabling fan control for ALL devices. If you share your acpidump, I can check if we should use the HPWMI_FAN_COUNT_GET_QUERY to decide whether to allow pwm1_enable or not. >3. Later: "Attempt to CreateField of length zero" in \_SB.WMID.WQBC >and WQBE (AE_AML_OPERAND_VALUE). This is also likely due to hp-bioscfg. Try booting with kernel cmdline parameter "modprobe.blacklist=hp_bioscfg" and see if these disappear. That will help us narrow down the scope. But in any case, I think Armin Wolf will have to help here since I am not familiar with bioscfg anyway. >4. hp_wmi still registers as a platform profile handler (quiet >balanced performance). This is because 8DF4 is not present in any whitelists, so it takes a fallback path and uses legacy WMI queries. Honestly, I am not sure if platform profile should be registered for OmniBook devices. Could you let me know if Omen Gaming Hub on Windows allows you to switch performance modes or there is no option for this? >5. /sys/devices/platform/hp-wmi/hwmon/*/ contains only pwm1_enable >(rw); there is no pwm1 and no fan1_input. Intended. * pwm1_enable - As said, this is because we are currently (incorrectly) enabling fan control for all devices. * pwm1 - Absent because manual fan control must be unavailable on this board. * fan1_input - Absent because get fan speed query must be failing. >6. On the LTS kernel the same WHCM error repeats about every 2.2 s >while something polls the hp hwmon device (277 times between 551 s and >1165 s uptime). >7. ACPI thermal: "Invalid critical threshold (-274000)" and "No valid >trip points!" for thermal zone TSZ0. > >Fan behaviour: >- acpi_fan (acpi-fan PNP0C0B, "Using Microsoft fan extensions") >exposes fan1_input. It sometimes shows about 2400 RPM and sometimes 0 >RPM. >- The fan works normally under Windows on the same machine. >- I once saw the CPU around 95 C with the fan apparently stopped on >Linux; I have not been able to reproduce it yet and am collecting a >temperature/RPM log. > >I suspect the WMI query path the driver uses for fan settings is not >implemented by this firmware, so hp-wmi should probably not attempt it >on board 8DF4. I would be glad to test patches or provide acpidump >output, WMI GUID listings or any other data. acpidump would be helpful. Thanks, Krishna >Thanks, >Lorenzo