Bug#233933: mouse delays on start
I'm seeing delays on start; it seems related to this. I have:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
/dev/psaux has nothing attached; the system has no mouse (but for some
strange reason, X demands to have a bogus mouse configured anyway).
strace:
open("/dev/psaux", O_RDWR|O_NONBLOCK|O_EXCL) = 11
ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffffb9c) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffffb2c) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(11, TCFLSH, 0) = -1 ENOTTY (Inappropriate ioctl for device)
select(1024, [11], NULL, NULL, {0, 0}) = 0 (Timeout)
write(11, "\377", 1) = 1
nanosleep({0, 10000000}, NULL) = 0
select(1024, [11], NULL, NULL, {0, 200000}) = 0 (Timeout)
ioctl(11, TCFLSH, 0) = -1 ENOTTY (Inappropriate ioctl for device)
select(1024, [11], NULL, NULL, {0, 0}) = 0 (Timeout)
write(11, "\377", 1) = 1
nanosleep({0, 10000000}, NULL) = 0
select(1024, [11], NULL, NULL, {0, 200000}) = 0 (Timeout)
ioctl(11, TCFLSH, 0) = -1 ENOTTY (Inappropriate ioctl for device)
select(1024, [11], NULL, NULL, {0, 0}) = 0 (Timeout)
write(11, "\377", 1) = 1
nanosleep({0, 10000000}, NULL) = 0
This didn't happen before the major X upgrade (4.2?).
I worked around this by just pointing Device at a file that doesn't exist.
--
Glenn Maynard
Reply to: