LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-27-2004, 04:09 AM   #1
muxman
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 203

Rep: Reputation: 32
Debian mouse problems


This is a ps/2 mouse. A Logitech wheel mouse. I know it works with Linux since it worked with other distros I've tried, Knoppix being one that works and is based on Debian. There is just a setting wrong and I don't know where it is.

My mouse doesn't work in X or in the commadline either. How do I know which one of these my mouse is installed on? /dev/psaux or /dev/input/mice It is ps/2 so it should be /dev/psaux.

Is there a commandline utlity that will tell me what devices are attched to my system? To see if they are even there? Or need a driver? lspci shows my pci devices, what about other devices like a mouse? Is there a command that will tell me where my mouse is attached at, /dev/psaux or /dev/input/mice ? What about when I'm not it X? Usually there is still a mouse cursor that works in the commandline but it's not there for me? Or doesn't Debian have that activated by default? I'm trying to switch to Debian and having a few configuration issues.


I have 2 sections in my XF86Config-4 file in Debian.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection



--------------------------

A little to add to this since I started trying to fix this it. When I go into X the mouse does not work. I CTRL-ALT-DEL and logout of X. I've tried reconfiguring the mouse several times. I've used dpkg-reconfigure xserver-xfree86 and went through the setup there and I've tried manually changing alomst every option there is and none work. I then do the following and it will work.

# cat /dev/psaux

After that command I move the mouse and get a lot of garbage on the screen, CTRL-C and I'm out of it. I then startx and the mouse will work. I've tried several different setups that I had before since I saved all the
differnt config files and this process will work with all of them. So for some reason my mouse is just not active when X starts and then won't work once it's running. After the cat /dev/psaux and moving the mouse it seems to make it active and then X will use it.

Does anyone have any input on how to get the mouse active without having to do this before I startx?
 
Old 04-27-2004, 09:56 AM   #2
mysterio
Member
 
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
Do a search on this site, I ran across the same thing, someone that when they do cat /etc/psaux ther mouse worked, don't remember the outcome though, I was searching on how to get my wheel working in debian.
 
Old 04-27-2004, 10:20 AM   #3
debian_dummy
Member
 
Registered: Apr 2004
Distribution: Debian SID and Woody
Posts: 77

Rep: Reputation: 15
What type of hardware are you using ? A laptop perhaps ?

The reason I mention this is that I remember having similar problems on a laptop with both a PS/2 and the Synaptic touch pad. If you have a Synaptics touch pad it might help to disable the touch pad at BIOS level. My Logitech MX700 and Touchpad work fine using the config below. I have also plugged in other USB mice and they work fine ( I think hotplug fixes the USB stuff up. Please note my laptop has NO PS/2 ports, just USB.

Sorry, I can't answer your questions 'cause I just don't know.

Below are the 3 THREE relevant mouse sections from my XF86 Config file from Debian 3.0. I hgad issues getting my NVidia card running at max resolution so I just copied my RedHat XF config file across and it has worked fine for a few months. Note the always core bit. HTH

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection


Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
 
Old 04-28-2004, 04:10 AM   #4
muxman
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 203

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by mysterio
Do a search on this site, I ran across the same thing, someone that when they do cat /etc/psaux ther mouse worked, don't remember the outcome though, I was searching on how to get my wheel working in debian.
I've read a couple of those posts and they do that just to make sure the mouse is working on the system. They offer no fixes of any kind for the problem I'm having, just a way to make sure your mouse is working. Which mine is.
 
Old 04-28-2004, 04:11 AM   #5
muxman
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 203

Original Poster
Rep: Reputation: 32
Quote:
Originally posted by debian_dummy
What type of hardware are you using ? A laptop perhaps ?

The reason I mention this is that I remember having similar problems on a laptop with both a PS/2 and the Synaptic touch pad. If you have a Synaptics touch pad it might help to disable the touch pad at BIOS level. My Logitech MX700 and Touchpad work fine using the config below. I have also plugged in other USB mice and they work fine ( I think hotplug fixes the USB stuff up. Please note my laptop has NO PS/2 ports, just USB.

Sorry, I can't answer your questions 'cause I just don't know.

This is a standard PC with a ps/2 mouse so the USB info doesn't help, thanks anyway. That may be useful sometime in the future if I use a USB mouse.
 
  


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
Debian on Toshiba Satellite A70 sound, mouse, and video problems dfreer Debian 2 10-13-2005 02:56 PM
Debian mouse problems muxman Debian 9 09-03-2004 06:42 PM
XBox Debian and Logitech wireless USB mouse problems gimphboi Linux - Hardware 4 04-15-2004 09:15 AM
debian mouse problems trendkiller Linux - Software 4 03-09-2004 11:02 AM
Debian mouse problems elkrammer Linux - Distributions 5 07-16-2002 03:46 PM

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

All times are GMT -5. The time now is 05:28 PM.

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