Re: RFI: Tablet mode support on HP Pro x360 435 G9 w/ AMD Ryzen 7 5825U

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

 



Hi Carsten,

On 2/13/23 11:43, Carsten Hatger wrote:
> Dear all,
> 
> I'd like to have tablet mode support on my system, probably by means
> an linux input device such as implemented in the intel platform
> specific driver drivers/platform/x86/intel/vbtn.c [0]
> 
> In the end I hope GNOME eventually to rotate the systems display and
> to show some virtual keyboard (upon users request), cf. for [3]
> 
> It appears there has already been a patch proposed  by the chromium
> team to support device PNP0C60 [1] but not merged to [5].
> 
> Since the system of interest is a HP Probook, there is already a
> driver providing virtual buttons,namely hp-wmi [6]. However, the
> driver loads probes and loads successfully but doesn't provide any
> additional functionality plus some non critical errors on incorrect
> ACPI method calls.
> 
> I've noticed AMD has started to provide platform specific driver(s)
> such as pmf [2]. To my knowledge there is no support for CEZANNE/green
> sardine based systems (yet).
> 
> What would be recommended practice and subsystem/folder to provide
> such capability by means of a (platform specific) driver? At least the
> CID PNP0C60 seems to be held by Microsoft [4] and thus be common to
> both amd and intel platforms [4]. However, HID INT33D6 is held by
> Intel and HID AMDI0081 by AMD. Yet I'm not quite sure if
> iio-sensor-proxy [7] needs to be involved, too.

The first thing to do here is to figure out which (ACPI) device
is the right device to get the SW_TABLET_MODE events from on this
device.

Maybe Jorge (added to the Cc) can help with this ?

Regards,

Hans




> [0] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/intel/vbtn.c?h=v6.2-rc8
> [1] https://lore.kernel.org/lkml/1472628817-3145-1-git-send-email-wnhuang@xxxxxxxxxx/
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/amd/pmf?h=v6.2-rc8
> [3] https://gitlab.gnome.org/GNOME/mutter/-/issues/1760
> [4] https://learn.microsoft.com/en-us/windows-hardware/drivers/gpiobtn/button-implementation
> [5] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/acpi/button.c?h=v6.2-rc8
> [6] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/platform/x86/hp/hp-wmi.c?h=v6.2-rc8
> [7] https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/
> 




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux