Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X starts and renders fine, but mouse/keyboard flaky
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sun Apr 21, 2002 4:13 am    Post subject: X starts and renders fine, but mouse/keyboard flaky Reply with quote

I'm using an XF86Config file that I know is perfect for my hardware (it worked great in Debian), but when I start X, it loads twm or kde etc. but my mouse/keyboard don't work right. My keyboard works sometimes, but it's flaky at best. The mouse never works. The keyboard is PS/2 and the mouse is USB. I've installed mousedev, keyboarddev, USB HID, etc. like I'm supposed to but "no dice" as they say. :(

I think I may have messed something up with the 'make menuconfig'. I know that I didn't select a certain processor, but I doubt that has anything to do with it.

I'm really at a loss here because I'm so used to newbie-type distros that I suck ass at configuring the kernel properly based on what I need. I know that I have all the default stuff selected, and my hardware's not that complicated. My network card works great as well. So, I'm just stuck with a Gentoo that's completely text based right now.

Please help me if you have any suggestions. I really appreciate any advice :)
Back to top
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Sun Apr 21, 2002 8:27 am    Post subject: Reply with quote

Your usb mouse is /dev/input/mouse0
it's probably set wrong in your /etc/XF86Config

I'm not sure about your keyboard.
Back to top
View user's profile Send private message
mwickes
n00b
n00b


Joined: 17 Apr 2002
Posts: 18
Location: Cleveland, Ohio

PostPosted: Sun Apr 21, 2002 2:22 pm    Post subject: Reply with quote

Open up your XF86Config file it is located in /etc/X11/

cp XF86Config XF86Config.orig

nano -w XF86Config

Look for the following lines. If you are using a plain ps2 keyboard then this is how mine is set. Farther below you will see the the core input device section you will need to adjust for your usb device. I am sorry I am not sure of the settings for USB.

Edit your keyboard & mouse settings
Type control o to save your settings
Type control x to exit nano


# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

# Option "Protocol" "Xqueue"

Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"

# These are the default XKB settings for XFree86
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""

# Option "XkbDisable"

Option "XkbRules" "xfree86"
Option "XkbModel" "dell101"
Option "XkbLayout" "us"

EndSection

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Back to top
View user's profile Send private message
zagarna
n00b
n00b


Joined: 13 Apr 2002
Posts: 34
Location: Vicenza - Italy

PostPosted: Tue Apr 23, 2002 12:12 pm    Post subject: Reply with quote

mwickes wrote:


Option "XkbRules" "xfree86"
Option "XkbModel" "dell101"
Option "XkbLayout" "us"



ok, XkbLayout is pretty straightforward , but how does one find out which XkbModel applies to one's keyboard, and what files should I edit to taylor it to get the keyboard to behave "correctly" ?

thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum