Xorg - no mouse and no keyboard

Paul Schmehl pschmehl_lists at tx.rr.com
Sat Dec 5 04:20:17 UTC 2009


--On December 4, 2009 8:10:08 PM -0600 "Michael L. Squires" 
<mikes at siralan.org> wrote:

>
> I had to add the following when moving from Xorg 6 to 7 since moused no
> longer manages the mouse - hald and dbus do:
>
> In /etc/rc.conf
>
># X11 7.4
># moused_enable="YES"
> moused_enable="NO"
> hald_enable="YES"
> dbus_enable="YES"
>
> which turns on hald and dbus.

As I mentioned in a previous post, I have tried it both with and without 
hald and dbus.  Nothing works.

moused_enable="NO" is already set in /etc/defaults/rc.conf, so setting it 
in /etc/rc.conf won't change anything.

Here's my current rc.conf:

dbus_enable="YES"
hald_enable="YES"

Here's my current xorg.conf.  This was working fine before I changed 
monitors.  The only change I made was the Model of the monitor, which 
shouldn't affect mouse or keyboard behavior:

]# cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
EndSection

Section "ServerFlags"
        Option "DontZap" "No"
EndSection

Section "Files"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
        FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
        FontPath     "/usr/local/lib/X11/fonts/TrueType/"
EndSection

# Make flash work correctly
Section "Extensions"
        Option "Composite" "Off"
EndSection

Section "Module"
        Load  "GLcore"
EndSection

Section "DRI"
        Group 0
        Mode  0660
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Dell Computer"
        ModelName    "DELL 2009W"
        HorizSync    30.0 - 83.0
        VertRefresh  56.0 - 75.0
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "left"
EndSection

Section "Monitor"
        Identifier   "right"
        Option       "RightOf" "left"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "radeonhd"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV610"
        Option      "Monitor-DVI-I_1/digital" "left"
        Option      "Monitor-DVI-I_2/digital" "right"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Virtual 3360 1050
        EndSubSection
EndSection

Here's my current Xorg.0.log (the relevant parts):

# grep -i mouse /var/log/Xorg.0.log
(==) RADEONHD(0): Silken mouse enabled
(II) config/hal: Adding input device Optical USB Mouse
(II) LoadModule: "mouse"
(II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
(**) Optical USB Mouse: Device: "/dev/sysmouse"
(==) Optical USB Mouse: Protocol: "Auto"
(**) Optical USB Mouse: always reports core events
(**) Option "Device" "/dev/sysmouse"
(==) Optical USB Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Optical USB Mouse: ZAxisMapping: buttons 4 and 5
(**) Optical USB Mouse: Buttons: 9
(**) Optical USB Mouse: Sensitivity: 1
(II) XINPUT: Adding extended input device "Optical USB Mouse" (type: MOUSE)
(**) Optical USB Mouse: (accel) keeping acceleration scheme 1
(**) Optical USB Mouse: (accel) filter chain progression: 2.00
(**) Optical USB Mouse: (accel) filter stage 0: 20.00 ms
(**) Optical USB Mouse: (accel) set acceleration profile 0
(II) Optical USB Mouse: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Optical USB Mouse: SetupAuto: protocol is SysMouse
(II) config/hal: Adding input device PS/2 Mouse
(**) PS/2 Mouse: Device: "/dev/psm0"
(==) PS/2 Mouse: Protocol: "Auto"
(**) PS/2 Mouse: always reports core events
(==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: Buttons: 9
(**) PS/2 Mouse: Sensitivity: 1
(II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE)
(**) PS/2 Mouse: (accel) keeping acceleration scheme 1
(**) PS/2 Mouse: (accel) filter chain progression: 2.00
(**) PS/2 Mouse: (accel) filter stage 0: 20.00 ms
(**) PS/2 Mouse: (accel) set acceleration profile 0
(II) PS/2 Mouse: SetupAuto: hw.iftype is 3, hw.model is 0
(II) PS/2 Mouse: SetupAuto: protocol is PS/2
(II) PS/2 Mouse: ps2EnableDataReporting: succeeded

# grep -i keyboard /var/log/Xorg.0.log
(II) Cannot locate a core keyboard device.
(II) Initializing built-in extension XKEYBOARD
(II) config/hal: Adding input device Microsoft Natural Keyboard Elite
(**) Microsoft Natural Keyboard Elite: always reports core events
(**) Microsoft Natural Keyboard Elite: Protocol: standard
(**) Microsoft Natural Keyboard Elite: XkbRules: "xorg"
(**) Microsoft Natural Keyboard Elite: XkbModel: "pc105"
(**) Microsoft Natural Keyboard Elite: XkbLayout: "us"
(**) Microsoft Natural Keyboard Elite: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Microsoft Natural Keyboard 
Elite" (type: KEYBOARD)
(II) config/hal: Adding input device AT Keyboard
(**) AT Keyboard: always reports core events
(**) AT Keyboard: Protocol: standard
(**) AT Keyboard: XkbRules: "xorg"
(**) AT Keyboard: XkbModel: "pc105"
(**) AT Keyboard: XkbLayout: "us"
(**) AT Keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD)

There are no errors and only one warning in the log:

# egrep '(EE|WW)' /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(WW) RADEONHD(0): RHDCSInit: No CS for R600 and up yet.

On Monday I'm going to try the radeon and ati drivers and see if they do 
any good.  I might also install the radeonhd-devel port to see it that 
helps.  I've completely rebuilt the xorg meta port to no avail.

If anyone has tips for troubleshooting this (logs to look at, utilities to 
run, etc.), I'd be very thankful.  All the Windows users at work are 
harassing me because I can't get Xorg working.

Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
******************************************
WARNING: Check the headers before replying



More information about the freebsd-questions mailing list