LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-22-2008, 11:09 AM   #1
Damase
LQ Newbie
 
Registered: Feb 2006
Location: Muskegon, Mi
Distribution: Slackware and Manjaro
Posts: 28

Rep: Reputation: 15
/dev name of usb ports


what is the naming scheme for the usb ports on your computer? My mouse is broke again. --only has vertical motion and now only starts if I startx.

I was going to give it a more specific assignment than /dev/mouse in xorgconfig to see if I could convince it to stay working.

If you have any other suggestions I am open to them as well.

Thanx
 
Old 02-22-2008, 12:06 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Try using /dev/input/mice. If you are having trouble with no mouse while running in console-only, it may be an issue with gpm. Sometimes you must disable gpm so that mice will work correctly when using X.
You might try running mouseconfig again and see if that fixes it.
 
Old 02-22-2008, 01:01 PM   #3
Damase
LQ Newbie
 
Registered: Feb 2006
Location: Muskegon, Mi
Distribution: Slackware and Manjaro
Posts: 28

Original Poster
Rep: Reputation: 15
I ran mouseconfig and said no to starting gpm at boot time and it is ignoring me. How do I stop the gpm service?

Thanx
 
Old 02-22-2008, 01:14 PM   #4
Damase
LQ Newbie
 
Registered: Feb 2006
Location: Muskegon, Mi
Distribution: Slackware and Manjaro
Posts: 28

Original Poster
Rep: Reputation: 15
I did man gpm and used killall gpm to stop it, but how do keep it from starting in the first place?

Thanx
 
Old 02-22-2008, 01:26 PM   #5
Damase
LQ Newbie
 
Registered: Feb 2006
Location: Muskegon, Mi
Distribution: Slackware and Manjaro
Posts: 28

Original Poster
Rep: Reputation: 15
ok, so I did mouseconfig again except this time after I said no and I had command line again I did this "vi /etc/rc.d/rc.gpm" so I could see what the file looked like. Do I comment out the whole thing or would I just comment out the line "/usr/sbin/gpm -m /dev/mouse -t imps2"? And what is it with the choosing imps2 for a usb mouse? Isn't there a usb choice?
 
Old 02-22-2008, 02:16 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
To disable gpm from starting run as root:
Code:
chmod a-x /etc/rc.d/rc.gpm
This makes it unexecutable, so it won't run on startup.

In your xorg.conf you should choose 'auto' not 'imps2' or anything like that. Really I would run 'xorgsetup' and let that set things up.
 
Old 02-22-2008, 03:43 PM   #7
Damase
LQ Newbie
 
Registered: Feb 2006
Location: Muskegon, Mi
Distribution: Slackware and Manjaro
Posts: 28

Original Poster
Rep: Reputation: 15
"In your xorg.conf you should choose 'auto' not 'imps2' or anything like that. Really I would run 'xorgsetup' and let that set things up."

What I was saying was - in the file that is created with either xorgconfig or xorgsetup it sets the mouse as imps2. In other words the line found in /etc/rc.d/rc.gpm "/usr/sbin/gpm -m /dev/mouse -t imps2" Is generated by those scripts not me. I chose usb in mouseconfig and it still yields the same result when you look in the file. So now I was looking for what types are available for the -t switch so I can manually configure rc.gpm

The man page said I could use -t help to find that info, but I have yet to figure out how to keep the info from scrolling by so fast. I used more, but I didn't use it right so now I have to look for the right syntax and what folder or document to find the exact -t that I need.

Thanx
 
  


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
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
USB 2.0 ports: devices not detected, but works fine with USB 1.1 ports (Kubuntu 6.06) KWTm Linux - Hardware 1 05-09-2007 04:42 AM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 03:56 PM
Mapping USB Dev Files to Ports rg500g Linux - Hardware 2 05-14-2004 05:33 PM
whats the /dev/ device of my usb ports ? (for gnomeconfrernce (webcam problem)) qwijibow Linux - Newbie 1 12-27-2003 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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