Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add support for Lenovo Thinkpad Yoga 12 (2015) #1440
Comments
|
Yes, we can do that. Presumably we should map them both to
? Thanks! |
martinpitt
added
the
needs-reporter-feedback
label
Oct 1, 2015
rexcze
commented
Oct 2, 2015
|
Thanks! cat /sys/class/dmi/id/modalias
|
rexcze
closed this
Oct 2, 2015
rexcze
referenced this issue
in rexcze/thinkpad-yoga-12-scripts
Oct 2, 2015
Open
Add screen rotate key support to udev #2
|
@rexcze Hmm, why did you close this bug? Or did @martinpitt already integrate the line? |
rexcze
commented
Oct 3, 2015
|
Hi @poettering, |
rexcze
reopened this
Oct 3, 2015
added a commit
to martinpitt/systemd
that referenced
this issue
Oct 4, 2015
martinpitt
removed
the
needs-reporter-feedback
label
Oct 4, 2015
kaysievers
closed this
in
#1457
Oct 4, 2015
rexcze
commented
Oct 4, 2015
|
Hi I added lines from #1457, ran atkbd serio0: Unknown key pressed (translated set 2, code 0xd8 on isa0060/serio0). But I am not sure if Thanks |
|
Reopening as per the last comment. @martinpitt, any idea? |
poettering
reopened this
Oct 7, 2015
|
|
martinpitt
added
the
needs-reporter-feedback
label
Oct 7, 2015
rexcze
commented
Oct 7, 2015
|
Hello, |
|
@rexcze: I'm honestly out of ideas what went wrong then. The DMI pattern does seem to match on your Also, which systemd version are you running? The format of |
rexcze
commented
Oct 7, 2015
|
I changed my 60-keyboard.hwdb by that from github, rerun
After switch back to laptop mode I can see:
|
rexcze
commented
Oct 7, 2015
|
I am running systemd-219-24.fc22.x86_64... |
martinpitt
closed this
in
10e6271
Oct 8, 2015
|
systemd 219? That explains it then, as I said the above patches are for >= 220. I pushed the above commit to add the missing 0xd8 key as well. |
|
As pointed out in #1539 this indeed doesn't work yet, but for another reason. Reopening, will send PR momentarily. |
martinpitt
reopened this
Oct 13, 2015
martinpitt
removed
the
needs-reporter-feedback
label
Oct 13, 2015
martinpitt
self-assigned this
Oct 13, 2015
added a commit
to martinpitt/systemd
that referenced
this issue
Oct 13, 2015
|
PR #1558 should now fix this for good for systemd >= 220. |
martinpitt
referenced this issue
Oct 13, 2015
Closed
Rotate screen button not sending XF86RotateWindows after moving from v224 -> v225 on Dell XPS12 9Q33 #1151
poettering
added
the
hwdb
label
Oct 13, 2015
|
As discussed in #1539 these keys should not be assigned to "direction" as they are merely an indication of screen rotation, not a button to request screen rotation (like on other ThinkPad models). Assigning them to "reserved" also does not make the warnings disappear, so there's nothing we can/should do on the udev keymap side. I'll push a PR to remove the mapping again, which will auto-close this issue. |
added a commit
to martinpitt/systemd
that referenced
this issue
Oct 14, 2015
added a commit
to martinpitt/systemd
that referenced
this issue
Oct 14, 2015
added a commit
to martinpitt/systemd
that referenced
this issue
Oct 14, 2015
martinpitt
closed this
in
c685395
Oct 14, 2015
d4g
commented
Dec 8, 2015
|
This issue still exists for me. But what I see is the following messages in dmesg: Can you please fix this? Systemd: |
|
Well, the commit that fixes this is part of systemd 228, so please update. |
ragtag
commented
Dec 19, 2015
|
This really needs to trigger different events for e058 and e059. On the Yoga 12, the e058 is triggered when three different things happen:
e059 is triggered when going from tent mode to laptop mode. I've been trying to get this laptop working the same way it does under Windows, and this issue as had me stumped. You can find my branch of the spin.py code for it here https://github.com/ragtag/spin (still a bit hacky). The reason we need to differentiate the two, is that the laptop needs to enter tablet mode (disable keyboard, enable autoration etc.). when e058 is triggered, and enter laptop mode when e059 is triggered. With just one event, there is no way of telling where it goes from tent mode. |
d4g
commented
Feb 2, 2016
|
The issue is still appearing for me, running systemd 228:
So the events are still not handled and not mapped. |
d4g
commented
Dec 4, 2016
|
This issue is still not resolved. It's ennerving that I can't just reopen the issue. |
d4g
referenced this issue
Dec 4, 2016
Open
Screen flip on Thinkpad Yoga S1 is still not fixed (#1440) #4820
AlexeyGusev
commented
Feb 25, 2017
|
same story here on Lenovo Thinkpad Yoga, kernel version 4.10.0, systemd 229.
Flip the screen and you get
dmesg output contains complaints about unhandled HKEY events 0x60f0 and 0x60c0. Eagerly waiting for fix, can assist with testing if needed. |
alexanderavrorin
commented
Mar 21, 2017
|
I can confirm the issue on Thinkpad Yoga S1, kernel 4.9.0-2, systemd version 232. |
rexcze commentedOct 1, 2015
Hello,
on Lenovo Thinkpad Yoga 12 (2015) when I flip screen to tablet mode I can see that key is not mapped.
atkbd serio0: Unknown key pressed (translated set 2, code 0xd8 on isa0060/serio0).atkbd serio0: Use 'setkeycodes e058 <keycode>' to make it known.Ant after rotating screen back to laptop mode:
atkbd serio0: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0).atkbd serio0: Use 'setkeycodes e059 <keycode>' to make it known.Would it be possible to map those keys? How to find correct filter expression to add mapping to 60-keyboard.hwdb?
Thank you.