LinuxQuestions.org
Review your favorite Linux distribution.
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 06-07-2005, 06:48 PM   #1
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Rep: Reputation: 46
Setting ps/2 mouse in Debian sarge


I can't put a ps/2 mouse to work. Shall I dettach the old serial before? The fact that the keyb is ps/2 also can be a problem? Using debian sarge. Most likely its some silly issue, because a knoppix live cd found it and used it out of the box. I just can't see where is the problem.
X picks the "Configured" mouse, instead of the generic. Also, I have the gpm package installed and running.

Thanks!



This is how my XF86Config-4 reads (the relevant section):

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/ttyS0"
Option "Protocol" "Microsoft"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Buttons" "3"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
 
Old 06-07-2005, 06:58 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
I would try this;

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Buttons" "3"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "CorePointer"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Buttons" "3"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
also you could run;
#dpkg-reconfigure xserver-xfree86
 
Old 06-07-2005, 09:17 PM   #3
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,513

Original Poster
Rep: Reputation: 46
Hi friend. I tried it, but no good.

I was using the manuals available at debian's www, stating that the chain should be:

mouse -> /dev/psaux -> gpm -> /dev/gpmdata = /dev/mouse -> X

with an additional option if you don't want to use the gpm daemon. The problem seems to be that I don't have the device /dev/psaux no matter what I try.

bruno@frank:~$ ls -l /dev/psaux
ls: /dev/psaux: No such file or directory

Booting from kurumin cd (knoppix based distro), both mice work (ps/2 and serial).

Any clues?
 
Old 06-08-2005, 04:05 AM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
as root see what device you do have
Code:
cd /dev
ls /dev/input/mice  or
ls /dev/mouse and to see everything 
ls
if nothing "mouse" "mice" shows up the kernel isn't seeing your "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
Problems setting up virtual hosts with debian sarge and apache2 dthacker Debian 1 11-23-2005 05:25 PM
[DEBIAN SARGE] problems setting up sshd to use tcpwrapper nonutopia Linux - Security 1 08-23-2005 08:04 AM
How change mouse type on debian sarge PhantmShado Linux - Hardware 6 06-25-2005 06:24 PM
Setting Date in debian sarge bruno buys Debian 3 02-01-2005 01:10 PM
Setting up exim4 (or something else) on Debian Sarge lussumo Linux - Software 3 10-09-2004 08:37 PM

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

All times are GMT -5. The time now is 06:20 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