You are not logged in.

#1 2017-09-28 19:24:04

JBman100
Member
Registered: 2017-03-15
Posts: 6

Convertible events

I'd like to use my convertible computer as a tablet, but I can't get acpi events/keycodes to use with acpid; the events generated when rotating the screen are generic and also generated by other keys (such as toggling the backlit keyboard).

My computer is a Dell Inspiron 5578.

xinput output:

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ eGalax Inc. eGalaxTouch EXC3104-1324-07.00.00	id=10	[slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad              	id=15	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ Intel Virtual Button driver             	id=11	[slave  keyboard (3)]
    ↳ Intel HID events                        	id=12	[slave  keyboard (3)]
    ↳ Dell WMI hotkeys                        	id=13	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=14	[slave  keyboard (3)]

In every device from 11 to 14, there is:

	libinput Send Events Modes Available (261):	1, 0
	libinput Send Events Mode Enabled (262):	0, 0
	libinput Send Events Mode Enabled Default (263):	0, 0

I tried enabling and then toggling events, and the event names changed, but so did others, namely the backlight (they still share the event name, only a different than the one from the start).

Any idea to what I could use to detect rotation changes ?

Offline

Board footer

Powered by FluxBB