LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2003, 09:22 PM   #1
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
Recompiled kernel ->mouse doesnt move


i recompiled my kernel, all went well, but mouse doesnt move now. do i have to recompile to include some mouse support or can i fix this w/o recompiling?
 
Old 04-13-2003, 09:59 PM   #2
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
i believe i have to load a module, but i cant figure out how to. anyone?

Last edited by infamous41md; 04-13-2003 at 11:15 PM.
 
Old 04-14-2003, 01:32 PM   #3
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
nobody?
 
Old 04-14-2003, 11:56 PM   #4
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
are u using usb mouse cause u need usb modules for it to work?
 
Old 04-15-2003, 12:49 AM   #5
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
yes its usb mouse. i have also tried /usr/sbin/mouseconfig and selected my mouse type, but still nothing.
 
Old 04-15-2003, 12:50 AM   #6
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
check that if you have the modules loaded

cat /proc/modules
 
Old 04-22-2003, 06:46 PM   #7
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
i dont get this. i have tried recompiling my kernel over and over, being sure to select usb support for mouse. when i do /usr/sbin/mouseconfig, it already has my exact mouse type selected. but still nothing. very frustrating! one question, maybe i am doing something wrong when i recompile. this is what i do:
make mrproper
make menuconfig
make dep
make clean
make bzImage
--at this point i am unsure whether i have to do make modules and make modules_install. i did it once and it took probly 2 hours to finish. so recently i havent done this--
make initrd /boot/newInit 2.4.18-14custom
--and that's it---
 
Old 04-22-2003, 06:57 PM   #8
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
mouse fix

There may be a few things wrong with your mouse. One question is, does the mouse move in X windows? If so then you just do not have your mouse service turned on. Man service will help that. But you may not have your mouse port mapped. I mean that, /dev/mouse must have a link to a port such as /dev/ttyS0 as such. An ls -al /dev/mouse will allow you to check that. Also, did you disable the mouse module or section in your recompile? This is something to check.
Hoped I helped
auric
 
Old 04-22-2003, 07:20 PM   #9
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
ok i will try taht. one more question, how am i able to tell exactly which config my original kernel was compiled from? there are 12 configs in my /config folder. i've tried cat /proc/version but that doesnt give exact info im lookin for.

[yes master root?]$ls -al mouse
lrwxrwxrwx 1 root root 10 Apr 22 19:27 mouse -> input/mice

-that is in the working kernel. but my question is, when i do this in the other kernel, how am i to edit/fix it if it doesnt say this? i've been trying man service, but there is no man for it. i am running RH8.

Last edited by infamous41md; 04-22-2003 at 07:27 PM.
 
Old 04-23-2003, 12:48 AM   #10
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
Well, as far as your original kernel, if you can locate the orginal install cd then that will have your orginal config for the kernel. The mouse device is linked to input/mice. right? well then the input/mice inside of the /dev folder must be the link to the usb module. Now I have not worked much with my usb but check what modules are running, if the usb module is not running then the problem is in your start up script for your chosen init level. But if the module is not installed then you did not include it in your kernel config. Also if you are setting this machine up for a remote access server. What type of server? file, user, net service, etc.. If it is only file server: NFS. Network file server is pretty easy to set up. Let me know if any other questions arise. Good Luck auric
 
Old 04-23-2003, 01:56 AM   #11
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
Try:
"depmod -a"
"modprobe usbmouse"
"modprobe hid"

and try again ...

Take a look at your XF86config to see where X is looking for your mouse and do an ls -al on it to make sure it exists.

what does running "lsmod" return?
 
  


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
i'm using xandros 3.0.2, my mouse(logitech) is not being sensed(cursor doesnt move) rocky_sk0c Linux - Hardware 0 09-13-2005 10:51 AM
Why doesnt my USB mouse doesnt work? barkha Linux - Hardware 2 08-16-2005 11:31 AM
My cursor doesnt move Fiery Mandriva 13 04-13-2004 06:18 PM
recompiled kernel and no vmlinuz.old or kernel module for Nvidia Bruce Hill Slackware 13 12-11-2003 01:36 AM
redhat recompiled mouse lost dyson214 Red Hat 0 09-01-2003 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:10 AM.

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