Activity log for bug #1678200

Date Who What changed Old value New value Message
2017-03-31 15:16:55 Mario Limonciello bug added bug
2017-03-31 15:17:06 Mario Limonciello bug task added linux (Ubuntu)
2017-03-31 15:18:53 Mario Limonciello 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. 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. 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.
2017-03-31 15:19:04 Mario Limonciello bug added subscriber Alex Hung
2017-03-31 15:30:08 Brad Figg linux (Ubuntu): status New Incomplete
2017-03-31 15:44:04 Mario Limonciello linux (Ubuntu): status Incomplete Opinion
2017-03-31 15:44:07 Mario Limonciello linux (Ubuntu): status Opinion Confirmed
2017-03-31 18:58:36 Mario Limonciello bug added subscriber Anthony Wong
2017-03-31 18:58:53 Mario Limonciello bug added subscriber sverdy
2017-04-03 02:16:08 Daniel van Vugt summary XPS9365 2-in-1 doesn't switch desktop and tablet mode XPS9365 2-in-1 doesn't automatically switch between desktop and tablet mode
2017-04-03 02:16:18 Daniel van Vugt bug task added canonical-devices-system-image
2017-04-03 02:16:27 Daniel van Vugt tags unity8-desktop
2017-04-03 09:07:22 Joseph Salisbury linux (Ubuntu): importance Undecided Medium
2017-04-03 09:08:14 Joseph Salisbury linux (Ubuntu): status Confirmed Incomplete
2017-04-03 09:08:40 Joseph Salisbury tags unity8-desktop kernel-da-key unity8-desktop
2017-04-03 14:12:34 Robie Basak bug added subscriber Robie Basak
2017-04-03 14:32:09 Mario Limonciello tags kernel-da-key unity8-desktop kernel-bug-exists-upstream kernel-da-key unity8-desktop
2017-04-03 14:32:12 Mario Limonciello linux (Ubuntu): status Incomplete Confirmed