Description of problem: No keyboard and mouse after upgrading to xorg-x11-server-Xorg-1.5.2-5.fc10. Version-Release number of selected component (if applicable): xorg-x11-server-Xorg-1.5.2-5.fc10 How reproducible: Every time Steps to Reproduce: 1. Start X with startx Actual results: Keyboard and mouse are not working (not present). Pressing any key or moving the mouse does not produce anything. Expected results: As usual working keyboard and mouse. Additional info: Going back to xorg-x11-server-Xorg-1.5.2-5.fc10 everything is as expected. The difference I see is this warning in Xorg.log: (WW) AllowEmtpyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled. but there is no info how to disable this option. Tried to put it: Option "AllowEmptyInput "off" in sections - "ServerFlags", "InputDevice" (for keyboard and mouse), but it looks like the option is not recognized.
Created attachment 320809 [details] Xorg log file from X with non working keyboard and mouse
Created attachment 320810 [details] diff file between 1.5.2-5.fc10 (non working) and 1.5.2-4.fc10 (working) keyboard and mouse
You don't have HAL running? That should usually provide the list of input devices to the server. Anyway, I tried to reproduce it with not success, works fine here both in ServerLayout and in a separate ServerFlags section. Option "AllowEmptyInput "off" could it be the missing " after AllowEmptyInput?
No, X does not start if there is error in syntax. Now I've tried again after reboot with this option, and everything works... I'm sure I've tested it correctly in 3 sections. OK, if something go wrong again I'll reopen this bug. Closing it now, sorry for the noise.
Finally found why the option is not working. There is a typo in the log message: (WW) AllowEmtpyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled. AllowEmtpyInput ^^ I copied and pasted it in the config. That's why the option didn't worked for me... :)
The 'man xorg.conf' page says: Option "AllowEmptyInput" "boolean" If enabled, don’t add the standard keyboard and mouse drivers, if there are no input devices in the config file. Disabled by default. But my logfile says: (WW) AllowEmtpyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled. Between the manpage lying about the default, and the triple negative requiring massive mental effort to parse, it's hard to tell what's going on. And my xorg.conf has: Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection So there *are* input devices in the config file, so scratch that "if there are no input devices' qualifier. Does anybody actually understand what the semantics of AllowEmptyInput are *supposed* to be?
My manpage says: "If enabled, don't add the standard keyboard and mouse drivers, if there are no input devices in the config file. Enabled by default if AutoAddDevices and AutoEnableDevices is enabled, otherwise disabled." I'll add another line warning about the disabling of mouse/kbd devices to the man page. Anyway, the semantics are: AllowEmptyInput is on: - if there are no input devices in xorg.conf, don't do anything. - ignore devices in xorg.conf that use the kbd and mouse driver (new) AllowEmptyInput is off: - add all devices listed in the xorg.conf - if no devices are listed in the xorg.conf, add a default pointer + keyboard (/dev/console and /dev/input/mice usually) On top of that, you have AutoAddDevices and AutoEnableDevices, who decide if devices listed by HAL should be added. The common defaults is for all three to be true, or (if HAL isn't an option for some reason) for all three to be false.