Public bug reported: Using the current Ubuntu 17.04 image and selecting the unity8 session, the XPS 9365 does not automatically switch modes.
When switching to tablet mode, the ACPI driver INT33D6 which is bound to intel-vbtn will emit a few 0xcc events. When switching to desktop mode, the same driver will emit a 0xcd event. The intel-vbtn driver doesn't currently send anything to the OS about these events (just messages in dmesg about unknown, so Unity8 isn't able to pick them up. Unity will have to decide what key codes should be picked up, and the intel-vbtn driver will need to be configured to emit that event. I think it should be the SW_TABLET_MODE looking through the kernel. ** Affects: linux (Ubuntu) Importance: Undecided Status: Incomplete ** Affects: unity8 (Ubuntu) Importance: Undecided Status: New ** Also affects: linux (Ubuntu) Importance: Undecided Status: New ** Description changed: Using the current Ubuntu 17.04 image and selecting the unity8 session, the XPS 9365 does not automatically switch modes. When switching to tablet mode, the ACPI driver INT33D6 which is bound to intel-vbtn will emit a few 0xcc events. When switching to desktop mode, the same driver will emit a 0xcd event. The intel-vbtn driver doesn't currently send anything to the OS about these events (just messages in dmesg about unknown, so Unity8 isn't able to pick them up. Unity will have to decide what key codes should be picked up, and the intel-vbtn driver will need to be configured to emit that event. - The only keycode I find on the kernel side is SW_TABLET_MODE, but I - don't find a corresponding one for notebook mode. This means that the - driver would need to keep track of state and only emit it when it sees a - 0xcc after 0xcd or 0xcd after 0xcc. + I think it should be the SW_TABLET_MODE looking through the kernel. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1678200 Title: XPS9365 2-in-1 doesn't switch desktop and tablet mode Status in linux package in Ubuntu: Incomplete Status in unity8 package in Ubuntu: New Bug description: Using the current Ubuntu 17.04 image and selecting the unity8 session, the XPS 9365 does not automatically switch modes. When switching to tablet mode, the ACPI driver INT33D6 which is bound to intel-vbtn will emit a few 0xcc events. When switching to desktop mode, the same driver will emit a 0xcd event. The intel-vbtn driver doesn't currently send anything to the OS about these events (just messages in dmesg about unknown, so Unity8 isn't able to pick them up. Unity will have to decide what key codes should be picked up, and the intel-vbtn driver will need to be configured to emit that event. I think it should be the SW_TABLET_MODE looking through the kernel. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1678200/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp