No keyboard or mouse under X - How to debug udev?

Mike Fleetwood mike.fleetwood at googlemail.com
Tue Aug 24 18:02:45 UTC 2010


On 19 August 2010 16:01, Rick Sewill <rsewill at gmail.com> wrote:
> Having expressed my concern, I'd suggest looking at /var/log/Xorg.0.log
> to see if there are any messages from X11 in regard to the mouse or
> keyboard.  I'd also try booting Fedora 12 (or is it Fedora 13) in
> inittab 3, and start X11 manually using startx, to see if there are any
> messages printed when X11 starts/stops.  I can think of little else.
>
> Others will be able to give better advice.  They will probably ask which
> kernel dependencies were upgraded.

Thanks.

I am already operating the machine in run-level 3 and using startx to
run X11 from the command line.  Keyboard and mouse work correctly on
the text console, but not at all in X11 without the above mentioned
option AutoAddDevices off.

I used yum to install X11 from Fedora 13 repository into my Fedora 12
installation.  Yum installed all required dependencies on xorg-x11*
packages which were:
 grubby-7.0.13-1.fc13.i686.rpm
 kernel-PAE-2.6.33.6-147.2.4.fc13.i686.rpm
 linux-firmware-20100806-2.fc13.noarch.rpm
 udev-151-10.fc13.i686.rpm

Attached is a diff of the X11 log files.  The only difference is with
the option AutoAddDevices off, X11 loads the keyboard and mouse drives
and without the option, relying on udev, no keyboard and mouse are
detected.

Also attached are the subsections of the "udevadm info --export-db"
output which mention keyboards or mice.

Any body know how I track down udev seeming not to passing keyboard
and mice information to X11?

Thanks,
Mike
-------------- next part --------------
P: /devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.0/input/input4/event4
N: input/event4
S: char/13:68
S: input/by-id/usb-13ba_Generic_USB_K_B-event-kbd
S: input/by-path/pci-0000:00:13.0-usb-0:1:1.0-event-kbd
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.0/input/input4/event4
E: MAJOR=13
E: MINOR=68
E: DEVNAME=/dev/input/event4
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_VENDOR=13ba
E: ID_VENDOR_ENC=13ba
E: ID_VENDOR_ID=13ba
E: ID_MODEL=Generic_USB_K_B
E: ID_MODEL_ENC=Generic\x20USB\x20K\x2fB
E: ID_MODEL_ID=0017
E: ID_REVISION=0001
E: ID_SERIAL=13ba_Generic_USB_K_B
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030101:030102:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=usbhid
E: ID_PATH=pci-0000:00:13.0-usb-0:1:1.0
E: DEVLINKS=/dev/char/13:68 /dev/input/by-id/usb-13ba_Generic_USB_K_B-event-kbd /dev/input/by-path/pci-0000:00:13.0-usb-0:1:1.0-event-kbd

P: /devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.1/input/input5/event5
N: input/event5
S: char/13:69
S: input/by-id/usb-13ba_Generic_USB_K_B-event-mouse
S: input/by-path/pci-0000:00:13.0-usb-0:1:1.1-event-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.1/input/input5/event5
E: MAJOR=13
E: MINOR=69
E: DEVNAME=/dev/input/event5
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_INPUT_KEY=1
E: ID_VENDOR=13ba
E: ID_VENDOR_ENC=13ba
E: ID_VENDOR_ID=13ba
E: ID_MODEL=Generic_USB_K_B
E: ID_MODEL_ENC=Generic\x20USB\x20K\x2fB
E: ID_MODEL_ID=0017
E: ID_REVISION=0001
E: ID_SERIAL=13ba_Generic_USB_K_B
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030101:030102:
E: ID_USB_INTERFACE_NUM=01
E: ID_USB_DRIVER=usbhid
E: ID_PATH=pci-0000:00:13.0-usb-0:1:1.1
E: DEVLINKS=/dev/char/13:69 /dev/input/by-id/usb-13ba_Generic_USB_K_B-event-mouse /dev/input/by-path/pci-0000:00:13.0-usb-0:1:1.1-event-mouse

P: /devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.1/input/input5/mouse1
N: input/mouse1
S: char/13:33
S: input/by-id/usb-13ba_Generic_USB_K_B-mouse
S: input/by-path/pci-0000:00:13.0-usb-0:1:1.1-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:13.0/usb5/5-1/5-1:1.1/input/input5/mouse1
E: MAJOR=13
E: MINOR=33
E: DEVNAME=/dev/input/mouse1
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_INPUT_KEY=1
E: ID_VENDOR=13ba
E: ID_VENDOR_ENC=13ba
E: ID_VENDOR_ID=13ba
E: ID_MODEL=Generic_USB_K_B
E: ID_MODEL_ENC=Generic\x20USB\x20K\x2fB
E: ID_MODEL_ID=0017
E: ID_REVISION=0001
E: ID_SERIAL=13ba_Generic_USB_K_B
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_USB_INTERFACES=:030101:030102:
E: ID_USB_INTERFACE_NUM=01
E: ID_USB_DRIVER=usbhid
E: ID_PATH=pci-0000:00:13.0-usb-0:1:1.1
E: DEVLINKS=/dev/char/13:33 /dev/input/by-id/usb-13ba_Generic_USB_K_B-mouse /dev/input/by-path/pci-0000:00:13.0-usb-0:1:1.1-mouse

P: /devices/platform/i8042/serio0
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0
E: DRIVER=atkbd
E: SERIO_TYPE=06
E: SERIO_PROTO=00
E: SERIO_ID=00
E: SERIO_EXTRA=00
E: MODALIAS=serio:ty06pr00id00ex00
E: SUBSYSTEM=serio
E: DMI_VENDOR=System manufacturer

P: /devices/platform/i8042/serio0/input/input3
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0/input/input3
E: PRODUCT=11/1/1/ab41
E: NAME="AT Translated Set 2 keyboard"
E: PHYS="isa0060/serio0/input0"
E: EV==120013
E: KEY==4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
E: MSC==10
E: LED==7
E: MODALIAS=input:b0011v0001p0001eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,D9,E2,ram4,l0,1,2,sfw
E: SUBSYSTEM=input

P: /devices/platform/i8042/serio0/input/input3/event3
N: input/event3
S: char/13:67
S: input/by-path/platform-i8042-serio-0-event-kbd
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0/input/input3/event3
E: MAJOR=13
E: MINOR=67
E: DEVNAME=/dev/input/event3
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-0
E: DMI_VENDOR=System manufacturer
E: DEVLINKS=/dev/char/13:67 /dev/input/by-path/platform-i8042-serio-0-event-kbd

P: /devices/pnp0/00:08
E: UDEV_LOG=3
E: DEVPATH=/devices/pnp0/00:08
E: DRIVER=i8042 kbd
E: SUBSYSTEM=pnp

P: /devices/virtual/input/input2
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input2
E: PRODUCT=17/1/1/100
E: NAME="Macintosh mouse button emulation"
E: EV==7
E: KEY==70000 0 0 0 0 0 0 0 0
E: REL==3
E: MODALIAS=input:b0017v0001p0001e0100-e0,1,2,k110,111,112,r0,1,amlsfw
E: SUBSYSTEM=input

P: /devices/virtual/input/input2/event2
N: input/event2
S: char/13:66
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input2/event2
E: MAJOR=13
E: MINOR=66
E: DEVNAME=/dev/input/event2
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: DMI_VENDOR=System manufacturer
E: DEVLINKS=/dev/char/13:66

P: /devices/virtual/input/input2/mouse0
N: input/mouse0
S: char/13:32
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input2/mouse0
E: MAJOR=13
E: MINOR=32
E: DEVNAME=/dev/input/mouse0
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: DEVLINKS=/dev/char/13:32

P: /devices/virtual/input/mice
N: input/mice
S: char/13:63
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/mice
E: MAJOR=13
E: MINOR=63
E: DEVNAME=/dev/input/mice
E: SUBSYSTEM=input
E: DEVLINKS=/dev/char/13:63
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log.diff
Type: application/octet-stream
Size: 6226 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100824/3c6cd07c/attachment-0001.obj 


More information about the users mailing list