Comment 60 for bug 1366421

Revision history for this message
marmuta (marmuta) wrote :

> @marmuta. Can you please share your fix in revision 2217 ?
It was commit 2215 and 2216, actually, sorry. I have 2217 only locally here and I can't recommend it yet, but the error isn't supposed to be happening in 2216 anymore.

The debug output doesn't seem to show rev. 2216, though. That
 "HardwareSensorTracker global key press 23 received"
should print both keycode and keyval (aka. keysym) now.

Did you
bzr branch lp:onboard # initially
cd onboard

bzr pull # for getting the latest sources

Then either
./setup.py build
./onboard # must run from source directory
or
debuild binary # for packages, install with dpkg -i
?

> rrs@learner:~$ cat /sys/bus/platform/devices/VPC2004:00/tablet_mode
> 0
Cool :) but wouldn't VPC2004:00 be prone to change? Is it available from elsewhere, similar to
/sys/devices/platform/thinkpad_acpi/hotkey_tablet_mode
?

I see you already found org.onboard.auto-show tablet-mode-state-file in gsettings :)

I can't say much about the kernel changes, that's up to the kernel people. I feel the Yoga firmware must have a dedicated path to determine tablet-mode, but if no one knows the correct way, than your approach seems like the second best thing to do. I wish you luck getting it accepted.