Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
probelm with mouse (partly solved )
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
korga
n00b
n00b


Joined: 12 Apr 2006
Posts: 7

PostPosted: Wed Apr 12, 2006 3:06 pm    Post subject: probelm with mouse (partly solved ) Reply with quote

The gentoo install CD do but the gentoo kernel doesen't recognise my mouse. I tried an serial port mouse and ps/2 mouse, but it's the same...
Could you tell me what to do??


Last edited by korga on Fri Apr 14, 2006 12:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Wed Apr 12, 2006 3:11 pm    Post subject: Reply with quote

What are your settings in your /etc/X11/xorg.conf?
Back to top
View user's profile Send private message
korga
n00b
n00b


Joined: 12 Apr 2006
Posts: 7

PostPosted: Wed Apr 12, 2006 3:33 pm    Post subject: Reply with quote

loki99 wrote:
What are your settings in your /etc/X11/xorg.conf?

Section "inputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse0"
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Wed Apr 12, 2006 3:52 pm    Post subject: Reply with quote

What kind of mouse is it? Most modern mice are USB. If yours is, the most likely problem is that you are missing some kernel option. If your mouse is actually detected then, from the command line, do the following
Quote:
cat /dev/input/mice
cat /dev/input/mouse
or any possible device
cat /dev/psaux
After each of these move the mouse around. Whichever generates odd characters on the screen is the one you want to use in xorg.conf
Back to top
View user's profile Send private message
korga
n00b
n00b


Joined: 12 Apr 2006
Posts: 7

PostPosted: Wed Apr 12, 2006 4:17 pm    Post subject: Reply with quote

I have PS/2 and serial port mice. I tried each of these commends and it didn't worked.
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Wed Apr 12, 2006 5:04 pm    Post subject: Reply with quote

Try....
Code:
 Option      "Device" "/dev/input/mice"
Back to top
View user's profile Send private message
korga
n00b
n00b


Joined: 12 Apr 2006
Posts: 7

PostPosted: Wed Apr 12, 2006 5:35 pm    Post subject: Reply with quote

loki99 wrote:
Try....
Code:
 Option      "Device" "/dev/input/mice"

It dosen't helped. I think just the kernel doesen't recognise it.
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Wed Apr 12, 2006 6:23 pm    Post subject: Reply with quote

Is it enabled in your kernel?
Quote:
CONFIG_INPUT_MOUSE:

Say Y here, and a list of supported mice will be displayed.
This option doesn't affect the kernel.

If unsure, say Y.

Symbol: INPUT_MOUSE [=y]
Prompt: Mouse
Defined at drivers/input/mouse/Kconfig:4
Depends on: INPUT
Location:
-> Device Drivers
- - -> Input device support
- - - - -> Generic input layer (needed for keyboard, mouse, ...) (INPUT [=y])
Back to top
View user's profile Send private message
korga
n00b
n00b


Joined: 12 Apr 2006
Posts: 7

PostPosted: Wed Apr 12, 2006 6:45 pm    Post subject: Reply with quote

loki99 wrote:
Is it enabled in your kernel?
Quote:
CONFIG_INPUT_MOUSE:

Say Y here, and a list of supported mice will be displayed.
This option doesn't affect the kernel.

If unsure, say Y.

Symbol: INPUT_MOUSE [=y]
Prompt: Mouse
Defined at drivers/input/mouse/Kconfig:4
Depends on: INPUT
Location:
-> Device Drivers
- - -> Input device support
- - - - -> Generic input layer (needed for keyboard, mouse, ...) (INPUT [=y])

Where can i find this stuff?? Sorry but i am new for linux...
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Wed Apr 12, 2006 7:52 pm    Post subject: Reply with quote

Did you compile your own kernel before?

The options for mice in my kernel config are in device drivers -> input device support.
I have the following options enabled:

Code:

<*> Mouse interface
[*]   Provide legacy /dev/psaux device
<*> Event Interface
[*] Keyboards -->
<*>   AT keyboard
[*] Mouse -->
<*>   PS/2 mouse
[*] Miscellaneous devices -->
<*>   PC Speaker suport

_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
korga
n00b
n00b


Joined: 12 Apr 2006
Posts: 7

PostPosted: Wed Apr 12, 2006 8:44 pm    Post subject: Reply with quote

Corona688 wrote:
Did you compile your own kernel before?

The options for mice in my kernel config are in device drivers -> input device support.
I have the following options enabled:

Code:

<*> Mouse interface
[*]   Provide legacy /dev/psaux device
<*> Event Interface
[*] Keyboards -->
<*>   AT keyboard
[*] Mouse -->
<*>   PS/2 mouse
[*] Miscellaneous devices -->
<*>   PC Speaker suport


I never saw kernel conig before. Sorry i told you that i'm a newbie. I used genkernel to compile the kernel.
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Wed Apr 12, 2006 9:01 pm    Post subject: Reply with quote

No prob! We have all been there! :lol:

Re-compiling your kernel really ain't that hard. As root do

Code:
# cd /usr/src/linux
# make menuconfig


Now try to find the according entry in the menuconfig (-> Device Drivers- - -> Input device support----> mouse---> PS/2 mouse) Check the box by pressing the spacebar until you see a "*". Save and exit.

Code:
# mount /boot
# make && make modules && make modules_install && make install


Make sure that your grub.conf fits your kernel name and reboot.

Also, here is a little howto for compiling your own kernel.

Edit: On a second thought, genkernel should have made the entry! :? Just take a look whether it already is enabled or not.
Back to top
View user's profile Send private message
korga
n00b
n00b


Joined: 12 Apr 2006
Posts: 7

PostPosted: Fri Apr 14, 2006 12:44 pm    Post subject: Reply with quote

I found the serial (com) portmouse on /dev/ttyS0. If this is in the conf file it works well. The PS/2 mouse I can't get alive.
Thanks for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum