You are not logged in.
Pages: 1
I'm currently using a Dell Inspiron 5482 2-in-1 laptop. I can detect the hinge movement (kind of), but it's ambiguous.
When the hinge goes from 'laptop' mode to 'folded' mode (where the angle between the screen and the keyboard is more than 180 degrees, but it's not folded completely flat), it sends two presses of keycode 240 (according to showkey --keycodes).
When the hinge goes from 'folded' to 'tablet' (fully flipped around), it sends the same two presses of 240. When moving the other direction, it sends the same thing. I was wondering if there is anywhere that I could poke around to find a difference? I've already tried:
evtest(nothing)
xev(inconsistent)
acpi_listen(doesn't show any difference between directions or actions)
dmesg -wH(This does show a difference, but I have no clue how to listen to dmesg events in a shell script)
For reference, the output of
dmesg -wHWhen changing from 'laptop' to 'folded':
[Sep28 08:51] dell_wmi: Unknown key with type 0x0011 and code 0xe070 pressed
[ +0.000002] dell_wmi: Unknown key with type 0x0011 and code 0x0000 pressedWhen changing from 'folded' to 'tablet', or 'tablet' to 'folded':
[Sep28 08:53] dell_wmi: Unknown key with type 0x0011 and code 0xe070 pressed
[ +0.000002] dell_wmi: Unknown key with type 0x0011 and code 0x0000 pressedWhen changing from 'folded' to 'laptop':
[ +3.289806] dell_wmi: Unknown key with type 0x0011 and code 0xe070 pressed
[ +0.000002] dell_wmi: Unknown key with type 0x0011 and code 0x0001 pressedOffline
Pages: 1