Some additional info from Alex Deucher: the xorg driver actually has nothing to do with the hotkey stuff. Basically one of two things happens when you press a bios hotkey (depend on your acpi setup): 1. the bios runs some pre-defined bios command 2. an acpi event is generated
(1.) is usually the default unless you have some sort of system specific apci module (like toshiba_acpi or thinkpad_acpi) that changes the behavior to produce (2.). When the bios runs a predefined command, it calls into the video bios which bangs the hardware directly behind X's back. In the case of your bug, I suspect the mode X sets and the one the bios sets are very different (perhaps one is widescreen and one is not? different timings? hard to say exactly) which results in the weird behavior. A VT switch might help as that re-programs the mode. Video bioses also have other limitations like sometimes they won't enable the vga port if the LCD is active if the LCD has some weird res like 1400x1040 or some widescreen thing. Ideally, what we want is (2.) from above and then have a script which listens for the event and then calls xrandr to enable/disable the output. Unfortunately, until then, it's always going to be hit or miss. I hope that helps. Let me know if you need any more info. Alex -- Laptop screen displays only half after switching consoles with Fn+F8 https://bugs.launchpad.net/bugs/110648 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs