LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-24-2006, 10:46 AM   #1
igor@44
Member
 
Registered: Jun 2005
Distribution: Slackware 10.2
Posts: 32

Rep: Reputation: 15
Re-compiled kernel, now it can't find /dev/mouse


Hi!
I re-compiled my kernel (2.4.31, Slackware 10.2), I patched some files in /usr/src/linux with bootsplash patch and I have re-compiled my kernel. I copied new System.map & vmlinuz to /boot. But know I can't use X. It sais:
Quote:
Starting up X11 session manager
gpm: oops () invoked from gpm.c (977)
/dev/mouse: No such device
It sais that with new System.map and vmlinuz but also with old System.map & vmlinuz.
Can you help me pls ?
 
Old 05-24-2006, 11:18 AM   #2
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
could you please post the mouse section of your kernel config?
 
Old 05-24-2006, 02:33 PM   #3
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
If the old kernel worked before it would seem strange that it doesn't work now, unless you no longer have the old kernel image, having overwritten it with the new one (didn't give the new one a different name).

It sounds to me like you just forgot to include mouse support. In the input device drivers section you need to incluse ps/2 mouse support support. And if it's a USB mouse, you also need to include mouse and hid drivers from the USB section.
 
Old 05-26-2006, 01:33 PM   #4
igor@44
Member
 
Registered: Jun 2005
Distribution: Slackware 10.2
Posts: 32

Original Poster
Rep: Reputation: 15
X crashes :
Quote:
(**) Option "Protocol" "IMPS/2"
(**) Mouse1: Device: "/dev/mouse"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(EE) xf86OpenSerial: Cannot open device /dev/mouse
No such device.
(EE) Mouse1: cannot open input device
(EE) PreInit failed for input device "Mouse1"
(II) UnloadModule: "mouse"
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard1: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard1: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(WW) No core pointer registered
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
No core pointer
I have usb mouse. And yes I do have /dev/mouse which is link to /dev/input/mice
 
Old 05-26-2006, 02:10 PM   #5
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Interesting...it doesn't appear to be a kernel issue at all. What are the permissions on the mouse device at /dev/input/mice and the /dev/mouse link? It could be that your user doesn't have enough permission to read and write to it. You might need to adjust the permissions on the device or add your user to a particular group.

A quick way to check if this is the case is to start X as root - just long enough to see if the device works. I know everybody says not to open an X session as root, but I find it to be a good way to quickly test for device permission issues.
 
Old 05-26-2006, 02:13 PM   #6
igor@44
Member
 
Registered: Jun 2005
Distribution: Slackware 10.2
Posts: 32

Original Poster
Rep: Reputation: 15
I did it but it is still the same problem
 
Old 05-26-2006, 03:12 PM   #7
igor@44
Member
 
Registered: Jun 2005
Distribution: Slackware 10.2
Posts: 32

Original Poster
Rep: Reputation: 15
Can you tell me how to fix this ? Is there any way to put back my "/dev/mouse".

This happened when I compiled my kernel. So, it means that it has something with it ...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find out if a module has been compiled in my kernel? kpachopoulos Linux - General 2 09-17-2005 04:58 PM
couldn't find the kernel version the module was compiled for darai Linux - Newbie 1 09-12-2004 04:47 PM
couldn't find the kernel version the module was compiled for darai Linux - General 2 09-12-2004 02:56 PM
just compiled kernel 2.6.1 where idi my /dev/ go ? qwijibow Linux - Software 4 01-23-2004 10:18 AM
Couldn't find the kernel version the module was compiled for iannou Linux - General 2 06-27-2003 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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