Re: X runs, but now keyboard or mouse



On Wed, 08 Jul 2009 01:56:45 +0000, hawk wrote:

Here we go again . . .

I've installed FreeBSD stable on this new laptop (Toshiba Satellite
L305-S5939, dual core centrino, Intel graphics & sound).

After building, X -configure produces a configuration file that gives me
a working X server (it appears), but no mouse or keyboard. If I use
startx or xdm, I get the expected windows, but still no mouse or
keyboard.

The mouse is enabled in rc.conf,


Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0"
"CoreKeyboard"
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/"
EndSection

Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg
optional
#Option "NoAccel" # [<bool>] #Option
"SWcursor" # [<bool>] #Option "ColorKey"
# <i> #Option "CacheLines" # <i> #Option
"Dac6Bit" # [<bool>] #Option "DRI"
# [<bool>] #Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>] #Option
"XvMCSurfaces" # <i> #Option "PageFlip" #
[<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 4 Series Chipset Integrated Graphics
Controller"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

X-Newsreader: trn 4.0-test76 (Apr 2, 2001)

Newsgroups: comp.unix.bsd.freebsd.misc Subject: X runs, but now keyboard
or mouse From: hawk@xxxxxxxx
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)

Here we go again . . .

I've installed FreeBSD stable on this new laptop (Toshiba Satellite
L305-S5939, dual core centrino, Intel graphics & sound).

After building, X -configure produces a configuration file that gives me
a working X server (it appears), but no mouse or keyboard. If I use
startx or xdm, I get the expected windows, but still no mouse or
keyboard.

The mouse is enabled in rc.conf, and I've added the AllowEmptyInput to
the ServerLayout.

I also rebuilt xf86-input-keyboard and -mouse, pursuant to other past
suggestions.

I still only have a nonresponsive server.

My xorg.conf follows.

hawk


Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0"
"CoreKeyboard" Option "AllowEmptyInput" "off"
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/"
EndSection

Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg
optional
#Option "NoAccel" # [<bool>] #Option
"SWcursor" # [<bool>] #Option "ColorKey"
# <i> #Option "CacheLines" # <i> #Option
"Dac6Bit" # [<bool>] #Option "DRI"
# [<bool>] #Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>] #Option
"XvMCSurfaces" # <i> #Option "PageFlip" #
[<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 4 Series Chipset Integrated Graphics
Controller"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Sorry to say dont expect to much out of FreeBSD when it comes to USB
support. Until 8.0 is out.

Any ways more info is needed:
Is this a USB keyboard/mouse
What brands
etc..
.



Relevant Pages


Loading