xserver/hw/xfree86
Peter Hutterer e4497cd002 xfree86: always enable SIGIO on OsVendorInit (#50957)
Drivers call xf86InstallSIGIOHandler() for their fd on DEVICE_ON. That
function does not actually enable the signal if it was blocked to begin
with. As a result, if one vt-switches away from the server (SIGIO is
blocked) and then triggers a server regeneration, the signal remains
blocked and input devices are dead.

Avoid this by always unblocking SIGIO when we start the server.

X.Org Bug 50957 <http://bugs.freedesktop.org/show_bug.cgi?id=50957>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 9f1edced9a)
2012-07-09 10:39:03 +10:00
..
common xfree86: always enable SIGIO on OsVendorInit (#50957) 2012-07-09 10:39:03 +10:00
ddc Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
dixmods hw/xfree86: Re-indent xf86vmode.c 2012-05-10 00:50:34 -07:00
doc Undocument Font Module loading 2012-05-29 13:18:41 -07:00
dri Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
dri2 Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
exa Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
fbdevhw Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
i2c Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
int10 Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
loader Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
man xfree86: mention udev in the xorg.conf manpage AutoAddDevices section 2012-01-13 09:04:44 +10:00
modes xfree86: workaround crash on close 2012-04-26 21:07:09 -07:00
os-support Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
parser Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
ramdac Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
shadowfb Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
utils cvt man page should use Hz, not kHz, for vertical refresh rate 2012-05-29 13:18:59 -07:00
vbe Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
vgahw Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
x86emu Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
xaa Introduce a consistent coding style 2012-03-27 11:50:40 -07:00
.gitignore xfree86: Move sdksyms generation to ddx toplevel 2011-06-23 05:28:31 -07:00
Makefile.am Always install xaa sdk headers 2012-01-09 13:09:49 -08:00
sdksyms.sh Handle blank betweeen type and name in sdksyms.sh 2012-03-27 11:50:38 -07:00
xorgconf.cpp xfree86: use sed rather than cpp to perform string substitutions 2011-01-18 15:11:14 -08:00