You are not logged in.
Pages: 1
Hello!
I was just asking if anybody knows how to enable the tablet mode switch sensor on a Medion E2291 netbook. I know it has one (Medion forum moderator said it has one), but I really haven't figured out how to use it. It doesn't get detected as an ACPI event (like a ThinkPad handles it), and I've ran out of things to try out.
Any help would be appreciated!
Regards
Last edited by twoexem (2022-09-01 10:55:23)
Offline
What does
# evtest
list?
What's the output of
# lspci -nnk
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
What does
# evtest
list?
What's the output of# lspci -nnk
evtest returns:
Available devices:
/dev/input/event0: Lid Switch
/dev/input/event1: Power Button
/dev/input/event10: HTIX5288:00 0911:5288 Touchpad
/dev/input/event11: USB Camera: USB Camera
/dev/input/event12: HDA Intel PCH Mic
/dev/input/event13: HDA Intel PCH Front Headphone
/dev/input/event14: HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event15: HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event16: HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event17: HDA Intel PCH HDMI/DP,pcm=9
/dev/input/event18: HDA Intel PCH HDMI/DP,pcm=10
/dev/input/event2: AT Translated Set 2 keyboard
/dev/input/event3: Intel HID events
/dev/input/event4: Intel HID 5 button array
/dev/input/event5: FTSC1000:00 2808:5012
/dev/input/event6: FTSC1000:00 2808:5012 UNKNOWN
/dev/input/event7: PC Speaker
/dev/input/event8: Video Bus
/dev/input/event9: HTIX5288:00 0911:5288 Mouse
lspci -nnk returns:
00:00.0 Host bridge [0600]: Intel Corporation Gemini Lake Host Bridge [8086:31f0] (rev 06)
DeviceName: Onboard - Other
00:00.1 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant [8086:318c] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device_pci_legacy
00:02.0 VGA compatible controller [0300]: Intel Corporation GeminiLake [UHD Graphics 600] [8086:3185] (rev 06)
DeviceName: Onboard - Video
Subsystem: MEDION AG Device [1e39:a001]
Kernel driver in use: i915
Kernel modules: i915
00:0c.0 Network controller [0280]: Intel Corporation Gemini Lake PCH CNVi WiFi [8086:31dc] (rev 06)
DeviceName: Onboard - Ethernet
Subsystem: Intel Corporation Device [8086:02a4]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
00:0e.0 Audio device [0403]: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio [8086:3198] (rev 06)
DeviceName: Onboard - Sound
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:118e]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_apl
00:0f.0 Communication controller [0780]: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface [8086:319a] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:12.0 SATA controller [0106]: Intel Corporation Celeron/Pentium Silver Processor SATA Controller [8086:31e3] (rev 06)
DeviceName: Onboard - SATA
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: ahci
00:13.0 PCI bridge [0604]: Intel Corporation Gemini Lake PCI Express Root Port [8086:31d8] (rev f6)
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: pcieport
00:14.0 PCI bridge [0604]: Intel Corporation Gemini Lake PCI Express Root Port [8086:31d7] (rev f6)
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: pcieport
00:15.0 USB controller [0c03]: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller [8086:31a8] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:16.0 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor I2C 0 [8086:31ac] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.1 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor I2C 1 [8086:31ae] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.2 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor I2C 2 [8086:31b0] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:16.3 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor I2C 3 [8086:31b2] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:17.0 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor I2C 4 [8086:31b4] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:17.1 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor I2C 5 [8086:31b6] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:17.2 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor I2C 6 [8086:31b8] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:17.3 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor I2C 7 [8086:31ba] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:18.0 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller [8086:31bc] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:18.1 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller [8086:31be] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:18.2 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller [8086:31c0] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:18.3 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller [8086:31ee] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:19.0 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller [8086:31c2] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:19.1 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller [8086:31c4] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:19.2 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller [8086:31c6] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
00:1c.0 SD Host controller [0805]: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller [8086:31cc] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
00:1e.0 SD Host controller [0805]: Intel Corporation Device [8086:31d0] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
00:1f.0 ISA bridge [0601]: Intel Corporation Celeron/Pentium Silver Processor LPC Controller [8086:31e8] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
00:1f.1 SMBus [0c05]: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model [8086:31d4] (rev 06)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
Offline
Every laptop is different, so just in case this helps... On my Dell Inspiron, I installed and enabled the sensor package:
sudo pacman -S iio-sensor-proxy
sudo systemctl enable iio-sensor-proxy
Then turned on touch gestures (like scrolling, pinch-to-zoom, and one-to-one trackpad scrolling), by adding these lines to /etc/environment:
MOZ_USE_XINPUT2=1
MOZ_ENABLE_WAYLAND=1
Offline
Every laptop is different, so just in case this helps... On my Dell Inspiron, I installed and enabled the sensor package:
sudo pacman -S iio-sensor-proxy
sudo systemctl enable iio-sensor-proxyThen turned on touch gestures (like scrolling, pinch-to-zoom, and one-to-one trackpad scrolling), by adding these lines to /etc/environment:
MOZ_USE_XINPUT2=1
MOZ_ENABLE_WAYLAND=1
My problem isn't screen auto-rotation but rather activation of tablet mode which switches off keyboard and mousepad (among other things). Sadly I can't use Wayland either as its performance on my notebook is pretty bad, I don't know why.
Last edited by twoexem (2022-08-22 13:34:36)
Offline
'Tablet Mode' section (need to scroll a bit down) seems to have a solution... https://wiki.archlinux.org/title/Tablet_PC
It appears you can configure the mode with https://aur.archlinux.org/packages/dete … -mode-git/
Then, if no sensor is detected, you can still turn it on with a button, using https://aur.archlinux.org/packages/tablet-mode/ This is not ideal, of course, but it's still better than nothing...
Last edited by Rtqate (2022-08-23 02:04:30)
Offline
'Tablet Mode' section (need to scroll a bit down) seems to have a solution... https://wiki.archlinux.org/title/Tablet_PC
It appears you can configure the mode with https://aur.archlinux.org/packages/dete … -mode-git/
Then, if no sensor is detected, you can still turn it on with a button, using https://aur.archlinux.org/packages/tablet-mode/ This is not ideal, of course, but it's still better than nothing...
I already have the packages and a button installed. I'm aware the solution exists. I asked if there was a sensor in the official Medion forums, and they said there is. It's not detectable by me, personally. Perhaps this is just a driver incompability? The tablet mode switch does work on Windows, at least that's what the manufacturer says.
Offline
FWIW: I am the author of said manual tablet mode switch as I needed it due to an equivalent issue with my HP Envy x360.
The half-baked implementation of the AMD SFH driver does not support tablet mode detection under Linux, so I was forced to do that manually.
This is also why I asked for the lspci output to determine whether you are confronted with the same AMD SFH issue.
You are not, but it is still possible, that your laptop uses some sensors-based tablet mode detection, that has no existing support on Linux either.
Your event devices list /dev/input/event0: Lid Switch, which could have a trinary state (closed, open, tablet).
Monitor it using evtest and try different lid angles and see what it tells you. If you're lucky, you have that trinary logic and can go from there.
If not, well, have fun wasting your time digging into the Linux ACPI implementation. I don't recommend it as I have wasted too much time on this myself to no avail.
Last edited by schard (2022-08-31 11:44:27)
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
Nope, it doesn't have any output when turning the lid. I'll mark this thread as closed since there's no solution available.
Offline
Pages: 1