LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 12-28-2006, 03:48 AM   #1
av_flagship
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 0
2.6.19.1 compiles, but now the mouse doesn't work


I've been trying to compile the current stable kernel (2.6.19.1), and it finally works with almost all my hardware. Now that my RAID 5 is up and running and initrd is happy, I can't seem to get the mouse working. It's enabled according to the menuconfig, but when I run startx the mouse cursor freezes in the middle of the screen and I have to exit back to the command line in order to do anything. After a minute or two the red light from the optical mouse goes out as if it's done trying to work. What gives?

BTW: The mouse won't work on either the ps2 or the usb.

I'm currently running Ubuntu Edgy with the default i386 2.6.17 kernel.
AMD Athlon 1.8Ghz
biostar mobo
2GB RAM
software RAID 5 ATA-133 (5 drives on independent buses)
Nvidia GeForce with 128MB

/boot is located on the RAID and is mirrored at the head of the first drive so that the initrd image can do its thing. The raid is mounted at '/'. None of this has any problems running under the default kernel, but that kernel is optimized for the 386 and does not run OpenGL2 because it is currently limited to the nv driver without a working compile directory.
 
Old 12-28-2006, 04:16 AM   #2
av_flagship
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
config file

<This address is no longer valid>

Last edited by av_flagship; 01-08-2008 at 10:46 PM. Reason: config change
 
Old 12-28-2006, 04:59 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Did you install or reinstall the nvidia driver after changing the kernel? There is an nvidia.ko kernel module that you may be missing. Also, did you run "make oldconfig" before make xconfig? That can help pick up new features of the new kernel while preserving your old options. If all else fails, you can reboot using your old kernel to get your cursor working again.
 
Old 12-28-2006, 10:36 AM   #4
av_flagship
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
No, I've been waiting for a fully functional new kernel before installing the proprietary nvidia driver. I can't use make oldconfig because Ubuntu packages a binary kernel. However, I did start with a config file from a working kernel using the "load from alternate file" option in menuconfig (not xconfig). That kernel resides on another machine and is running linux-2.6.15.3.

I am using the old kernel right now, and I have been ever since I installed Ubuntu Edgy.

In BSD there is a program called "wsmouse" that is part of the OS and is really easy to configure. It gives you mouse access at the command line and copy/paste functionality. I seem to remember something like that in Gentoo, and I think that might be helpful in getting things like the nvidia driver installed.

"nv" is the GNU version of the nvidia driver. Both are open source, but the one from nvidia is under a different license (non-free).
 
Old 12-28-2006, 01:27 PM   #5
av_flagship
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Mouse problem fixed

Installing the proprietary Nvidia driver fixed the problem. Now I just need to figure out why my cdrom drive isn't working.
 
Old 12-28-2006, 01:48 PM   #6
av_flagship
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Everything is fixed now. I'd neglected to install the driver for my mobo's ide controllers, so my raid was running in degraded mode without me realizing it.
 
Old 12-28-2006, 07:41 PM   #7
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The package for using a mouse in the console is called gpm. That will give you cut and paste. You will need to check if programs and libraries like ncurses are compiled with libgpm support to allow you to for example make a menu selection using the mouse.
 
  


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
Mouse Scroll Button doesn't work with Logitech PS/2 MOuse. duffmckagan Slackware 10 12-02-2008 11:27 PM
Wireless mouse/kboard combo - require a click everytime for mouse to work godfrank Linux - Hardware 2 10-02-2006 06:26 PM
No mouse pointer (cursor), mouse does work whizz Linux - Hardware 6 04-04-2006 09:00 PM
G++ compiles fine but program does not work MaddDog696 Programming 3 04-15-2004 05:39 PM
PS/2 mouse did not work after temp removal of USB mouse edwardp Linux - Hardware 1 09-06-2003 04:57 PM


All times are GMT -5. The time now is 12:55 PM.

Main Menu
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