LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

Rep: Reputation: 50
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
Code:
gmp -m /dev/mouse -t ps2
and
Code:
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
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware
Posts: 467

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

ls -l /dev/input/by-id
or
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
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,370

Original Poster
Rep: Reputation: 50
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: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 5,083

Rep: Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388Reputation: 1388
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.
 
  


Reply


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


All times are GMT -5. The time now is 09:10 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration