LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-15-2007, 10:15 PM   #1
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Rep: Reputation: 15
Mouse troubles with Slack 11. Alternatives?


Spent most of the night trying to figure out what was going wrong with my mouse. All of a sudden, it stopped working, sort of. I could move the cursor around on the screen, but there were some icons that I couldn't click on, while others I could. Eventually, all of them became unclickable. I tried a ctrl+alt+delete to end session, and I couldn't even click on that, nor could I hit the enter key on the keyboard to select the end session button.

My mouse worked fine up until today, when this strange behavior started. I tried reinstalling Slack, and I'm still experiencing the same effect. Installing Slack a third time disabled the mouse on the cli.

Can anyone tell me what's going on? Slackware is the only distribution that I've used, and I really would like to continue the trend, but if I can't get this to work, I'm going to have to look elsewhere. What would be a good alternative to Slackware (something not too foreign) if I can't get this to work?

I was using the huge26.s kernel by the way.
 
Old 01-16-2007, 02:10 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
I assume that you have actually verified there is not a hardware failure here? Like load up a live CD, and use that for a day or so, to see if the problem persists there.
 
Old 01-16-2007, 06:16 AM   #3
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Original Poster
Rep: Reputation: 15
Hmm..I'll have to try that one. I should have a live version of SuSE or Knoppix lying around somewhere.

I also should clarify that I'm using a Compaq laptop with a usb mouse. I don't have any more specs, as I'm currently going out the door onto work, but I could run any commands needed/necessary at the cli.
 
Old 01-16-2007, 06:44 AM   #4
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,286

Rep: Reputation: 62
If it's not a hardware issue, maybe there might be a problem with the mouse daemon gpm
 
Old 01-16-2007, 11:10 AM   #5
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Original Poster
Rep: Reputation: 15
Is there some way I can check to see that the daemon is running ok?
 
Old 01-16-2007, 12:09 PM   #6
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Original Poster
Rep: Reputation: 15
Wow..ok I think I may have found something.

When I tried the 2.4 default kernel, I didn't notice this happening at all. However, I need the ipw2200 card for my wireless to work, which is the only reason I went with huge26 to begin with. Is it possible there's a kernel difference between these two that may throw the mouse into orbit?
 
Old 01-16-2007, 05:54 PM   #7
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,286

Rep: Reputation: 62
Quote:
Originally Posted by Crobat
Wow..ok I think I may have found something.

When I tried the 2.4 default kernel, I didn't notice this happening at all. However, I need the ipw2200 card for my wireless to work, which is the only reason I went with huge26 to begin with. Is it possible there's a kernel difference between these two that may throw the mouse into orbit?

That maybe the case, The 2.6 kernels use a different mouse device than the 2.4's. The 2.4's use devfs to create all the devices in the /dev directory, while 2.6's now uses udev and hotplug to create the devices in the /dev directory.

I also have an entry in my /etc/X11/xorg.conf file to support the usb mouse, also support the scroll button:

Code:
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
#	By default we will add support for a usb mouse, since a usb mouse can be 
#	added to a system after bootup, add support now will guarantee it will work
#	when the device is attached.

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option          "SendCoreEvents"        "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection
I wonder if putting the entry in the /etc/X11/xorg.conf file may make it a bit more stable.
 
Old 01-17-2007, 07:12 AM   #8
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Original Poster
Rep: Reputation: 15
Thanks Fotoguy. I'll give that a try.
 
Old 01-17-2007, 10:26 PM   #9
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Original Poster
Rep: Reputation: 15
Nope, this hasn't worked either. The mouse still fails to select some buttons part of the time. I even tried killing the gpm daemon, but still no luck.
 
Old 01-17-2007, 10:46 PM   #10
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Does the touchpad mouse given with your laptop work correctly?
 
Old 01-17-2007, 10:59 PM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
So does this problem only happen while Xserver is running ?

You should post the relevant part of /etc/X11/xorg.conf

Here is my xorg.conf (the relevant part), possibly important part(s) in red

Code:
Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "Auto"
    Option         "Device" "/dev/mouse"
EndSection
Note that this is specific to my computer and mouse, it may or may not work for yours.
 
Old 01-17-2007, 11:32 PM   #12
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Original Poster
Rep: Reputation: 15
I'm about to head to sleep, so I'll post my xorg tomorrow. However, my mouse section looks just like yours, but it's a Mouse0 instead of a Mouse1, which shouldn't matter.

The touchpad works the same as the mouse. When the mouse fails, I try the touchpad (both are enabled at the same time), and I still can't click on the spots that were unclickable with the usb mouse.

Another update; I tried a Slax CD, and while the mouse wasn't as troublesome as it was in my Slack install, it did periodically have the same symptoms, but never to the point that everything stopped working. Oftentimes, I'd open an application, and I couldn't close it without using alt+F4. However, in Slax I could still get to the "start" menu, but eventually everything stops working with Slackware.

Last edited by Crobat; 01-17-2007 at 11:33 PM.
 
Old 01-18-2007, 05:41 PM   #13
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Original Poster
Rep: Reputation: 15
Well, I have good news and bad news.

It's definitely a hardware issue; I'm having the same problems with WinXP. That's Slack, Slax, and WinXP. Definitely has to be my mouse. It seems that once the usb mouse starts acting up, the garbage it passes to the mouse device messes up the laptop touchpad for a bit. Eventually, using the touchpad will restabilize itself.

So good news is Slack has another chance. Bad news is I need to buy another mouse. The mouse is pretty old, and has taken a beating, so it's probably just its time.

Thanks everyone for your help, but it looks like I solved this one.
 
Old 01-18-2007, 07:10 PM   #14
Crobat
Member
 
Registered: Dec 2005
Distribution: Slackware 10.2, Slackware 11.0
Posts: 135

Original Poster
Rep: Reputation: 15
Yep, just gave it another try. It appears my theory is correct. My USB mouse was interfering with my touchpad. I disconnected it, and reinstalled Slack 11. Everything works just fine.

I'm so happy right now. Glee.
 
Old 01-20-2007, 07:20 PM   #15
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,286

Rep: Reputation: 62
Good to hear it's all sorted out and working.
 
  


Reply

Tags
mouse, usb, xorgconf


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
Gnome-alternatives for Slack senorsnor Slackware 5 03-17-2005 07:33 PM
Floppy disk troubles in Slack 10 FattySlack Linux - Hardware 10 02-09-2005 09:04 PM
Getting slack up and running - a few troubles. theMonkeY Slackware 6 09-04-2004 01:09 PM
2.6.6 and Slack troubles dsedov Slackware 13 05-13-2004 04:39 PM
ALSA troubles slack 9.1 emu10k1 Aman9090 Slackware 27 01-01-2004 10:53 PM

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

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