Help answer threads with 0 replies.
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-29-2014, 12:43 AM   #1
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,453

Rep: Reputation: 51
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-29-2014, 12:54 AM   #2
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware
Posts: 484

Rep: Reputation: 133Reputation: 133
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, 01:12 AM   #3
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,453

Original Poster
Rep: Reputation: 51
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, 02:20 AM   #4
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 5,915

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

All times are GMT -5. The time now is 02:16 AM.

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