wdbm/spin

ACPI Event Not Working

bisraelsen opened this issue · 3 comments

displayPositionControl() would not work properly when placing the computer in tablet mode.

Used acpi_listen and found that my computer returns: 'ibm/hotkey LEN0068:00 00000080 000060c0' instead of 'ibm/hotkey HKEY 00000080 000060c0'.

After inserting different string the code seems to work.

Something that may be unrelated is that when I rotate the screen the Wacom doesn't rotate with it (or maybe it does and that is the problem?). For example the pen tip and cursor are on different parts of the screen and when I move the pen across the short side the cursor moves across the long side of the screen...

Further investigation:

Doesn't look like the wacom thing is related to the ACPI event.

Probably need to add a few functions like "wacomleft", "wacomright", "wacominverted", "wacomnormal".

Unless I am missing something. Let me know.

wdbm commented

Hey there. Thank you for spotting these issues. I have updated the ACPI display position change event definition for compatibility with Ubuntu 14.04, as suggested.

I have not observed the problem you mention with the coordinate handling for the active digitiser. The changing of the coordinate transformation matrix for the active digitiser is handled by xrandr. Here are example commands for its use:

xrandr -o left
xrandr -o normal

Do you have further details?