LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-13-2005, 10:19 AM   #1
Colonel-1990
Member
 
Registered: Feb 2005
Posts: 71

Rep: Reputation: 15
Slackware 10 Keyboard & Mouse freeze in X


I have a USB microsoft wireless optical mouse, and a standard PS2 keyboard. Im running slackware 10 at last, after having problems with no screens found and keyboard problems in the termianl. Sorted that i can login to X but the problem i am having now is that when i login to X i cant do anything, it loads normally etc, but as soon as X starts, the keyboard and mouse just freeze, you cant turn caps lock or anything on, and you cant reboot or anything, anyone have any idea whats wrong?.

Colonel-1990.
 
Old 02-13-2005, 11:54 AM   #2
Colonel-1990
Member
 
Registered: Feb 2005
Posts: 71

Original Poster
Rep: Reputation: 15
Fixed

wahoo, managed to sort that problem a simple way but it isnt really getting around it. I got the USB to PS/2 converter and put the mouse in the PS/2 port, logged into X and vwalah... keyboard and mouse worked. Anyone have any ideas on how to get it working with usb?

Colonel-1990.
 
Old 02-13-2005, 02:25 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Welcome to LQ! I will take a guess that it's an issue with your xorg.conf file (which will be in /etc) Can you post it? -- J.W.
 
Old 02-13-2005, 03:10 PM   #4
Colonel-1990
Member
 
Registered: Feb 2005
Posts: 71

Original Poster
Rep: Reputation: 15
hey heres the keyboard & mouse part of the config.
just say if any other information is needed: (commented lines removed)


Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
EndSection

Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Protocol" "PS/2"

Option "Device" "/dev/mouse"

EndSection

the buttons and ZAxisMapping were just added afterwards to try and get the scrollwheel working (without success)

thanks
Scott
 
Old 02-13-2005, 08:11 PM   #5
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
I don't know if this will help, but for the keyboard, try changing "kbd" with "Keyboard". For the mouse, try changing the protocol from "PS2" to "IMPS/2", remove the "Buttons" line, and change "6 7" to "4 5". That should at least get the scroll wheel to work. Personally, I can't use those mice with side buttons (I guess I'm just uncoordinated) so I can't offer any advice on that. Good luck with it. If you like I can post my xorg.conf file -- J.W.
 
Old 02-14-2005, 03:47 AM   #6
Kane2002
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware, Zenwalk
Posts: 173

Rep: Reputation: 30
in slackware 10

i've found the "kbd" is correct, and "Keyboard" returns errors.

and i dont think its a problem with the keyboard, as it seems when the mouse is plugged into the ps/2 port with that configuration, both keyboard and mouse work correctly. (only changing the mouse config)

whereas when it (the mouse) is plugged into the usb port, both keyboard and mouse freeze up.


Kane
 
Old 02-14-2005, 09:11 AM   #7
Colonel-1990
Member
 
Registered: Feb 2005
Posts: 71

Original Poster
Rep: Reputation: 15
Kane had the mouse sed to IMPS/2 (when he did it on mine) and it didnt change anything. Then he attempted at getting the scroll to work,tried 4 5 one and that didnt work, so he tried the one that was presented so....

Bit confused about it tbh. Any other ideas JW or anyone?

Colonel-1990.
 
Old 02-14-2005, 06:33 PM   #8
MuD
LQ Newbie
 
Registered: Feb 2005
Distribution: Still undecided...thinking of SUSE, Slackware, Kubuntu.
Posts: 25

Rep: Reputation: 15
Unhappy

I have a similar problem as in I can't get the scoll wheel to work either.

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

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

#    Option     "Protocol"      "Auto"

# The available mouse protocols types that you can set below are:
#    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
#    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
#    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
#    ThinkingMouse ThinkingMousePS/2 Xqueue
    Option "Protocol"    "PS/2"

# The mouse device.  The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

    Option "Device"      "/dev/mouse"
#   Option "Device"      "/dev/psaux"
#   Option "Device"      "/dev/ttyS0"
#   Option "Device"      "/dev/ttyS1"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"		"9600"
#    Option "SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection

# Some examples of extended input devices

# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
Anyone have any idea how to get the scroll wheel working again?
 
Old 02-15-2005, 01:02 PM   #9
Colonel-1990
Member
 
Registered: Feb 2005
Posts: 71

Original Poster
Rep: Reputation: 15
Right think i have the solution to this now . What sort of mouse do you have MuD?.

The problem was: My mouse is an Intellimouse, and as i changed the Option protocol back to just PS/2 when i converted it from usb to PS/2 to see if it made a difference, i never changed it back, which is why it wasnt picking up the scroll axis. I then changed the Option Protocol Back to "IMPS/2" and logged back into my user account and.....there you have it, it works .

So mud if you have the same sort of mouse type as me, try that and add the ZAxisMapping option too, My mouse config is below: (Just the part that people may find helpful)

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

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

# Option "Protocol" "Auto"

# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "IMPS/2"



Colonel-1990.

Last edited by Colonel-1990; 02-15-2005 at 01:06 PM.
 
Old 02-15-2005, 07:33 PM   #10
MuD
LQ Newbie
 
Registered: Feb 2005
Distribution: Still undecided...thinking of SUSE, Slackware, Kubuntu.
Posts: 25

Rep: Reputation: 15
Thumbs up

Thanks a bunch Colonel! That worked!!! I just can't live without the scroll wheel anymore.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.1 Keyboard freeze with blinking lights Curtux Slackware 7 05-28-2005 12:02 AM
USB Mouse + Keyboard Activity = Freeze up in X S.DakotaNinja Linux - Hardware 4 03-08-2005 10:38 AM
My keyboard and mouse freeze after boot Groucho Slackware 12 09-30-2004 02:01 PM
USB keyboard & mouse problem in Slackware 9.1 Wonderer Slackware 12 10-28-2003 11:06 AM
keyboard & mouse freeze on X startup doctorgonzo Linux - Software 0 07-14-2003 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration