I have a 2-in-1 laptop. I am booting in BIOS legacy mode.
I’ve installed Slowroll and Gnome wayland desktop.
The laptop is from 2018. Kernel version is 6.9.9.
Strange that some hardware of a 2-in-1 device are detected e.g. stylus and tablet mode switch. But others are not detected: touchscreen and accelerometer [for screen autorotate].
Here some output about the touchscreen:
ed@dell-tw:~> dmesg | grep elants
[ 7.186672] [ T43] elants_i2c i2c-ELAN0001:00: supply vcc33 not found, using dummy regulator
[ 7.195921] [ T43] elants_i2c i2c-ELAN0001:00: supply vccio not found, using dummy regulator
[ 8.252980] [ T43] elants_i2c i2c-ELAN0001:00: nothing at this address
[ 13.836450] [ T1527] btintel snd_soc_core iTCO_vendor_support cfg80211 nls_cp437 snd_hda_core mtd btbcm snd_compress coretemp processor_thermal_device_pci_legacy btmtk i2c_i801 snd_hwdep snd_pcm_dmaengine processor_thermal_device videobuf2_common cros_usbpd_charger cros_ec_sensorhub cros_ec_debugfs cros_ec_sysfs bluetooth snd_pcm intel_xhci_usb_role_switch processor_thermal_wt_hint spi_intel_pci cros_usbpd_logger cros_ec_chardev kvm_intel snd_timer vfat fat intel_rapl_msr cros_ec_dev kvm mc pcspkr i2c_smbus spi_intel ecdh_generic snd rfkill roles soundcore elants_i2c tpm_tis_spi elan_i2c processor_thermal_rfim processor_thermal_rapl intel_rapl_common cros_ec_lpcs processor_thermal_wt_req chromeos_tbmc fan processor_thermal_power_floor cros_ec int3403_thermal cros_usbpd_notify ac processor_thermal_mbox int3400_thermal int340x_thermal_zone tiny_power_button intel_soc_dts_iosf acpi_thermal_rel intel_pch_thermal button chromeos_acpi cros_kbd_led_backlight chromeos_pstore joydev dm_mod loop fuse configfs efi_pstore nfnetlink
ed@dell-tw:~> lsmod | grep elants
elants_i2c 45056 0
And here the output about the accelerometer:
ed@dell-tw:~> monitor-sensor
Waiting for iio-sensor-proxy to appear
ed@dell-tw:~> dmesg | grep sensor
[ 13.836450] [ T1527] btintel snd_soc_core iTCO_vendor_support cfg80211 nls_cp437 snd_hda_core mtd btbcm snd_compress coretemp processor_thermal_device_pci_legacy btmtk i2c_i801 snd_hwdep snd_pcm_dmaengine processor_thermal_device videobuf2_common cros_usbpd_charger cros_ec_sensorhub cros_ec_debugfs cros_ec_sysfs bluetooth snd_pcm intel_xhci_usb_role_switch processor_thermal_wt_hint spi_intel_pci cros_usbpd_logger cros_ec_chardev kvm_intel snd_timer vfat fat intel_rapl_msr cros_ec_dev kvm mc pcspkr i2c_smbus spi_intel ecdh_generic snd rfkill roles soundcore elants_i2c tpm_tis_spi elan_i2c processor_thermal_rfim processor_thermal_rapl intel_rapl_common cros_ec_lpcs processor_thermal_wt_req chromeos_tbmc fan processor_thermal_power_floor cros_ec int3403_thermal cros_usbpd_notify ac processor_thermal_mbox int3400_thermal int340x_thermal_zone tiny_power_button intel_soc_dts_iosf acpi_thermal_rel intel_pch_thermal button chromeos_acpi cros_kbd_led_backlight chromeos_pstore joydev dm_mod loop fuse configfs efi_pstore nfnetlink
ed@dell-tw:~> lsmod | grep sensor
cros_ec_sensorhub 40960 0
The devices detected by Wayland:
ed@dell-tw:~> sudo libinput list-devices | grep Device
Device: Power Button
Device: *Tablet Mode Switch*
Device: Lid Switch
Device: Elan Touchpad
Device: *WCOM005C:00 2D1F:004E Stylus*
Device: WCOM005C:00 2D1F:004E
Device: avs_da7219 Headset Jack
Device: AT Translated Set 2 keyboard
Device: keyd virtual keyboard
Device: keyd virtual pointer