<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [PATCH] Add support for alienware gfx amplifier"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90689">90689</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[PATCH] Add support for alienware gfx amplifier
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mario_limonciello@dell.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=116105" name="attach_116105" title="patch adding these keycodes">attachment 116105</a> <a href="attachment.cgi?id=116105&action=edit" title="patch adding these keycodes">[details]</a></span>
patch adding these keycodes
Some Alienware notebooks and desktops support an external graphics
housing called the "Alienware Graphics Amplifier". It allows the usage
of a larger or more modern graphics card than your gaming PC would
already support. In order to provide a good experience, systems that
support it can provide notification to the OS via the scancodes on the
the keyboard controller of events related to the cable.
The following 4 events are supported (and the presumed OS response):
* Cable plugged in (An app on the existing display or terminal would
tell the user to reboot the system to activate)
* Undock cable pressed (An app would let the user know to reboot the
system to complete undock process; also when supported by GFX driver,
driver can clean up and work without a reboot)
* Surprise removal of cable (System reboots).
For the cable plug events I've mapped over to prog1/prog2. If there is a
better option for these, please adjust accordingly.
The surprise removal of the cable causes the GPU drivers to get in a very bad
state. X continues to run, but plugging the cable back in or restarting X to
use a different GPU doesn't fix it.
You can't tell the user to save their game status or anything else useful, so
it makes most sense to reboot or shutdown the machine.
I'm submitting a separate patch for the system reboot directly to the kernel
via an i8042 filter. In the event this is running on a kernel without that
patch, sending KEY_POWER is the next best thing as it would shutdown if the
system DE was configured to do this.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>