LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 04-14-2005, 02:54 PM   #1
lantern
Member
 
Registered: Sep 2003
Distribution: Debian, Slackware
Posts: 39

Rep: Reputation: 15
Mouse won't work after 2.6 upgrade


Hi,

I recently installed Slackware 10.0 on my Dell Dimension 4400 (sysadmin at work doesn't want to use 10.1 for some reason), and I upgraded to kernel 2.6.7, from /testing on install cd #2.

Here's the problem: when I boot into 2.6.7 my mouse doesn't work in X (gnome). It doesn't work at all - no movement or anything. But when I boot into kernel 2.4.26 my mouse works fine!

Here'e my xorg.conf section:

Code:
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"	"IMPS/2"
    Option "Device"      "/dev/mouse"

EndSection
As others on this list suggest I tried the different protocol options (Any, Microsoft, IMPS/2, PS/2) and tried changing "Device" to "/dev/psaux", although felt stupid doing this since /dev/mouse is a link to /dev/psaux.

I'm not sure where to look further since I' m a bit newbie to Linux and even more to Slackware.

Thanks,
Lantern

Last edited by lantern; 04-14-2005 at 03:21 PM.
 
Old 04-14-2005, 03:29 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

the problem is with your kernel
either the support is not there in that kernel for ur mouse or u need to load the modules urself

try
insmod psmouse

or built a kernel urself with the support in the kernel

regards
 
Old 04-14-2005, 04:00 PM   #3
lantern
Member
 
Registered: Sep 2003
Distribution: Debian, Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
That worked! (Actually I used modprobe instead of insmod but whatever ... )

Is there a way to automatically load the psmouse module at boot time instead of having to do it manually with modprobe? Or is it better to recompile the kernel?

Thanks masand.
 
Old 04-14-2005, 09:58 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i have also faced this problem
and here are other modules which load automatically

so i prefer building my own kernel with those modules in the kernel

regards
 
Old 04-14-2005, 11:42 PM   #5
lantern
Member
 
Registered: Sep 2003
Distribution: Debian, Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
i have also faced this problem
That's a relief, thanks. I was beginning to wonder how bright my linux future looks if I couldn't even get the mouse to work! Thanks for your help.

But I do want to say ... the process of installing Slackware with 2.4.x then upgrading to 2.6.x was pretty annoying. The installer did a good job detecting my hardware, which explains why my mouse worked fine initially, but then my configuration went to hell with the upgrade. First I tried copying my .config file before building the 2.6 kernel, but when I ran make xconfig I got a huge list of errors regarding selections that didn't apply. I also tried make oldconfig but that didn't seem to be geared toward major upgrades (2.4 to 2.6) either. So I had to take a best guess with the configuration options. This of course was very tedious and way-too-bad considering that the installer had just done such a good job! Obviously I missed the psmouse option ...

So why hasn't Slackware released a version that gives you the option to install with 2.6.x in the first place?

Last edited by lantern; 04-15-2005 at 12:12 AM.
 
Old 04-15-2005, 01:59 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Quote:
Originally posted by lantern
But I do want to say ... the process of installing Slackware with 2.4.x then upgrading to 2.6.x was pretty annoying. The installer did a good job detecting my hardware, which explains why my mouse worked fine initially, but then my configuration went to hell with the upgrade. First I tried copying my .config file before building the 2.6 kernel, but when I ran make xconfig I got a huge list of errors regarding selections that didn't apply. I also tried make oldconfig but that didn't seem to be geared toward major upgrades (2.4 to 2.6) either. So I had to take a best guess with the configuration options. This of course was very tedious and way-too-bad considering that the installer had just done such a good job! Obviously I missed the psmouse option ...
Don't understand why you had issues with make oldconfig - I'm sure this is what I did and managed to get it working.
Aahhh - just re-read that quote of your post. Did you do a make mrproper ???. Best is always to clean up first. So after your initial problems with make xconfig, I would have tried make mrproper, copy .config, then make oldconfig, and answer the questions as they pop up.

I did try a /testing kernel,but it wouldn't fly. Easier to pull a current source tar and install it manually.
Quote:
So why hasn't Slackware released a version that gives you the option to install with 2.6.x in the first place?
I made a similar comment on first install a couple of weeks ago, and got the standard "what's so great about 2.6 ???" line.
 
Old 04-15-2005, 02:03 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi

slackware comes with a prebuilt 2.6 kernel
lookout in the testing directory

regards
 
Old 04-15-2005, 02:13 AM   #8
lantern
Member
 
Registered: Sep 2003
Distribution: Debian, Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Did you do a make mrproper ???
No I missed that step ... maybe that was the problem.
Quote:
I made a similar comment on first install a couple of weeks ago, and got the standard "what's so great about 2.6 ???" line.
Yeah I've heard that too. I did the upgrade because I needed better support for my network card. The upgrade improved things but I'm still having some trouble with my NIC. Here's a thread I have going about that issue, in case anybody has advice. Maybe I should have started that thread in this forum anyways (instead of Linux - Networking).
Thanks.
Lantern
 
Old 04-15-2005, 02:19 AM   #9
lantern
Member
 
Registered: Sep 2003
Distribution: Debian, Slackware
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
slackware comes with a prebuilt 2.6 kernel lookout in the testing directory
That's meant to be installed with installpkg, right? I don't get why the generic kernel would work if it's not configured for my hardware, but I'll give it a shot.

Last edited by lantern; 04-15-2005 at 02:21 AM.
 
Old 04-15-2005, 02:35 AM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i try out the generic kernel first and use that to build on my kernel

regards
 
Old 04-15-2005, 02:50 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Quote:
Originally posted by masand
i try out the generic kernel first and use that to build on my kernel
As I said, I did try a /testing kernel, but it wouldn't work.
Being more comfortable building my own kernels I chose to go that way.

Each to their own.
 
Old 04-15-2005, 03:09 AM   #12
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally posted by lantern
That worked! (Actually I used modprobe instead of insmod but whatever ... )

Is there a way to automatically load the psmouse module at boot time instead of having to do it manually with modprobe? Or is it better to recompile the kernel?

Thanks masand.
you may put this in your /etc/rc.d/rc.local:
Code:
if `uname -r |grep 2.6 > /dev/null`; then
  modprobe psmouse
fi
 
  


Reply



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
Mouse Scroll Button doesn't work with Logitech PS/2 MOuse. duffmckagan Slackware 10 12-02-2008 11:27 PM
No mouse pointer (cursor), mouse does work whizz Linux - Hardware 6 04-04-2006 09:00 PM
mouse not working after 2.6.10 upgrade jfall Linux - Hardware 1 02-08-2005 09:39 AM
PS/2 mouse did not work after temp removal of USB mouse edwardp Linux - Hardware 1 09-06-2003 04:57 PM
Usb mouse doesn't work after kernel upgrade fsu_slacker Linux - Hardware 9 08-29-2003 04:31 AM

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

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