LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Slackware 10 Keyboard & Mouse freeze in X (https://www.linuxquestions.org/questions/linux-hardware-18/slackware-10-keyboard-and-mouse-freeze-in-x-289651/)

Colonel-1990 02-13-2005 10:19 AM

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.

Colonel-1990 02-13-2005 11:54 AM

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.

J.W. 02-13-2005 02:25 PM

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.

Colonel-1990 02-13-2005 03:10 PM

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

J.W. 02-13-2005 08:11 PM

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.

Kane2002 02-14-2005 03:47 AM

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

Colonel-1990 02-14-2005 09:11 AM

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.

MuD 02-14-2005 06:33 PM

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? :newbie:

Colonel-1990 02-15-2005 01:02 PM

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.

MuD 02-15-2005 07:33 PM

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


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