FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-19-2010, 01:17 PM
Mike Fleetwood
 
Default No keyboard or mouse under X - How to debug udev?

Hi,

Quick background:
I have Fedora 12 installation recently transferred to new hardware
with embedded ATI Radeon HD 4250 GPU. The ATI/Radeon X11 driver
didn't support the GPU and the VESA X11 driver just switched the
monitor into power saving mode. Upgraded just X11 (and udev and
kernel dependencies) to versions from Fedora 13. ATI/Radeon X11
driver now works and my desktop is displayed but X11 finds no keyboard
or mouse.

Worked around this by adding the following to /etc/X11/xorg.conf, to
tell X11 not to rely on udev to provide keyboard and mouse details.
Section "ServerFlags"

Option "AutoAddDevices" "off"

EndSection


Question:
How do I investigate udev to see why X11 isn't getting a keyboard and mouse?

Thanks,
Mike
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-19-2010, 03:01 PM
Rick Sewill
 
Default No keyboard or mouse under X - How to debug udev?

On 08/19/2010 08:17 AM, Mike Fleetwood wrote:
> Hi,
>
> Quick background:
> I have Fedora 12 installation recently transferred to new hardware
> with embedded ATI Radeon HD 4250 GPU. The ATI/Radeon X11 driver
> didn't support the GPU and the VESA X11 driver just switched the
> monitor into power saving mode. Upgraded just X11 (and udev and
> kernel dependencies) to versions from Fedora 13. ATI/Radeon X11
> driver now works and my desktop is displayed but X11 finds no keyboard
> or mouse.
>
> Worked around this by adding the following to /etc/X11/xorg.conf, to
> tell X11 not to rely on udev to provide keyboard and mouse details.
> Section "ServerFlags"
>
> Option "AutoAddDevices" "off"
>
> EndSection
>
>
> Question:
> How do I investigate udev to see why X11 isn't getting a keyboard and mouse?
>
> Thanks,
> Mike

I do not think it's a good idea to mix/match Fedora 12 and Fedora 13
versions of X11, udev, and kernel dependencies. I would suggest doing a
full upgrade to Fedora 13, if possible.

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.

Perhaps, to get others to give better advice, it might be good to
explain why you need to mix/match between Fedora 12 and Fedora 13.

Again, I think it's a bad idea to mix/match things from different
versions. I doubt if one could ask developers or post a bugzilla report
asking for help. Personally, I wouldn't do this.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-24-2010, 06:02 PM
Mike Fleetwood
 
Default No keyboard or mouse under X - How to debug udev?

On 19 August 2010 16:01, Rick Sewill <rsewill@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
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=Genericx20USBx20Kx2fB
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=Genericx20USBx20Kx2fB
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=Genericx20USBx20Kx2fB
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
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 09:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org