Dan Nicholson wrote:
> On Tue, Jun 26, 2012 at 10:38 PM, Bruce Dubbs <[email protected]> wrote:
>> I'm trying to get xorg to start up and have some strange problems.


> Is udev all set up correctly on the bad system? In particular, your
> input devices need to have ID_INPUT and ID_INPUT_{MOUSE|KEYBOARD} set
> in the environment. Try running "udevadm info --query=all
> --name=/dev/input/whatever". You can look in /proc/bus/input/devices
> to see what device node you should be looking at.

I didn't do anything different for udev than on the other system.  The 
difference is that the keyboard is ps2.

$ udevadm info --query=all name=/dev/psaux
P: /devices/virtual/misc/psaux
N: psaux
E: DEVNAME=/dev/psaux
E: DEVPATH=/devices/virtual/misc/psaux
E: MAJOR=10
E: MINOR=1
E: SUBSYSTEM=misc

$ udevadm info --query=all name=/dev/input/mouse0
P: /devices/pci0000:00/0000:00:1d.7/usb1/1-3\
       /1-3.1/1-3.1.4/1-3.1.4:1.0/input/input3/mouse0
N: input/mouse0
S: input/by-id/usb-1241_1177-mouse
S: input/by-path/pci-0000:00:1d.7-usb-0:3.1.4:1.0-mouse
E: DEVLINKS=/dev/input/by-id/usb-1241_1177-mouse 
/dev/input/by-path/pci-0000:00:1d.7-usb-0:3.1.4:1.0-mouse
E: DEVNAME=/dev/input/mouse0
E: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-3\
       /1-3.1/1-3.1.4/1-3.1.4:1.0/input/input3/mouse0
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_MODEL=1177
E: ID_MODEL_ENC=1177
E: ID_MODEL_ID=1177
E: ID_PATH=pci-0000:00:1d.7-usb-0:3.1.4:1.0
E: ID_PATH_TAG=pci-0000_00_1d_7-usb-0_3_1_4_1_0
E: ID_REVISION=0270
E: ID_SERIAL=1241_1177
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030102:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=1241
E: ID_VENDOR_ENC=1241
E: ID_VENDOR_ID=1241
E: MAJOR=13
E: MINOR=32
E: SUBSYSTEM=input
E: USEC_INITIALIZED=6657769

> Do you have /etc/X11/xorg.conf on either system? Could you post the
> full log on the failing system? Also -logverbose 5 (up to 10) will put
> some extra info in the log.

I tried with and without /etc/X11/xorg.conf and with -logverbose 10.

With xorg 7.7, it doesn't appear to have 'mouse', 'keyboard', or 'kbd' 
drivers.  It only seems ot have 'evdev', 'joystick', and 'void'.

I tried adding

ection "ServerFlags"
      Option "AutoAddDevices" "Off"
EndSection

to xorg.conf, but that didn't help.  I'd post the Xorg log, but I don't 
think it would be meaningful right now.

My last xorg.conf is below.  I'm looking for suggestions.

   -- Bruce

Section "Module"
     Load           "extmod"
     Load           "glx"
     Load           "dri"
     Load           "dbe"
     Load           "record"
     Load           "type1"
     Load           "freetype"
EndSection

Section "InputDevice"
     Identifier     "Keyboard0"
     Driver         "evdev"
EndSection

Section "InputDevice"
     Identifier     "Mouse0"
     Driver         "mouse"   # This is not present
     Option         "Protocol" "IMPS/2"
     Option         "Device" "/dev/input/mice"
EndSection

Section "Monitor"
     Identifier     "Monitor0"
     HorizSync       30.0 - 92.0
     VertRefresh     59.0 - 61.0
     Option         "DPMS"
EndSection

Section "Screen"
     Identifier     "Screen0"
     Monitor        "Monitor0"
     DefaultDepth    24

     SubSection     "Display"
         Viewport    0 0
         Depth       24
         Modes      "1920x1200" "1600x1200" "1280x1024"
     EndSubSection
EndSection

Section "ServerFlags"
      Option "AutoAddDevices" "Off"
EndSection
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to