Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-28-2014, 11:43 PM   #1
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,757

Rep: Reputation: 53
Inquiring the mouse type.

Hi: any way to make the system inquire what is the mouse type? My mouse is a two-button one with a wheel in the middle between the buttons and an optical scanner below. The connector is PS/2 type.

I tried gpm with
gmp -m /dev/mouse -t ps2
gmp -m /dev/mouse -t ms3
but while another mouse with a ps2 connector works this one doesn't. However, I'm sure it is physically OK. Then, is there a utility that asks the mouse what type it is?
Old 07-28-2014, 11:54 PM   #2
Senior Member
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware, Fedora
Posts: 1,028

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
Are you sure /dev/mouse is the actual location of that particular mouse? Try

ls -l /dev/input/by-id
ls -l /dev/input/by-path

and see if the listing there tells you where the mouse is actually registered.
Old 07-29-2014, 12:12 AM   #3
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,757

Original Poster
Rep: Reputation: 53
I have no /dev/input/by-id. In /dev/input/by-path there are ...event-kbd and ...event-spkr but no mouse. But I have the /dev/input/mice and /dev/input/mouse0 files.

My distribution is Slackware 12.0.
Old 07-29-2014, 01:20 AM   #4
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,202

Rep: Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980Reputation: 2980
Try xinput and to know the options type man xinput.

Also check lspci -knn. Include the -v or -vv options to include the verbosity.

Also check the messages about your mouse from dmesg.

More generally about the PS/2 mice see this.

Also, bear in mind that:
  • according to above resource, PS2 mouse are not supposed to be hot-plugged: don't plug the mouse in while the system is running.
  • Slackware 12.0 still uses HAL and that could make hard for people here to help you (this is more a general statement as hot plug doesn't apply here).
  • Slackware 12.0 ships udev-111, but recent Slackware releases ship udev-182. There could have been some changes in the /dev tree.

Last edited by Didier Spaier; 07-29-2014 at 02:36 AM. Reason: Sentence about udev versions added.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Inquiring about the state of the SlackBook jprzybylski Slackware 3 11-08-2013 01:03 PM
Crazy jumping mouse cursor after fresh install--did I choose the wrong mouse type? Kallaste Slackware 56 07-08-2012 02:38 PM
Inquiring about webcam vibinlakshman Linux - Newbie 1 01-27-2009 07:58 AM
Mouse interrupting keyboard events, can't type while mouse is moving sandaili Linux - Hardware 0 08-04-2008 06:56 PM
Inquiring about PHLAK Linux eagledt63 Linux - Security 3 02-22-2007 12:26 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:35 PM.

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