View previous topic :: View next topic |
Author |
Message |
korga n00b
Joined: 12 Apr 2006 Posts: 7
|
Posted: Wed Apr 12, 2006 3:06 pm Post subject: probelm with mouse (partly solved ) |
|
|
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 |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Wed Apr 12, 2006 3:11 pm Post subject: |
|
|
What are your settings in your /etc/X11/xorg.conf? |
|
Back to top |
|
|
korga n00b
Joined: 12 Apr 2006 Posts: 7
|
Posted: Wed Apr 12, 2006 3:33 pm Post subject: |
|
|
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 |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Wed Apr 12, 2006 3:52 pm Post subject: |
|
|
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 |
|
|
korga n00b
Joined: 12 Apr 2006 Posts: 7
|
Posted: Wed Apr 12, 2006 4:17 pm Post subject: |
|
|
I have PS/2 and serial port mice. I tried each of these commends and it didn't worked. |
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Wed Apr 12, 2006 5:04 pm Post subject: |
|
|
Try.... Code: | Option "Device" "/dev/input/mice" |
|
|
Back to top |
|
|
korga n00b
Joined: 12 Apr 2006 Posts: 7
|
Posted: Wed Apr 12, 2006 5:35 pm Post subject: |
|
|
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 |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Wed Apr 12, 2006 6:23 pm Post subject: |
|
|
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 |
|
|
korga n00b
Joined: 12 Apr 2006 Posts: 7
|
Posted: Wed Apr 12, 2006 6:45 pm Post subject: |
|
|
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 |
|
|
Corona688 Veteran
Joined: 10 Jan 2004 Posts: 1204
|
Posted: Wed Apr 12, 2006 7:52 pm Post subject: |
|
|
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 |
|
|
korga n00b
Joined: 12 Apr 2006 Posts: 7
|
Posted: Wed Apr 12, 2006 8:44 pm Post subject: |
|
|
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 |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Wed Apr 12, 2006 9:01 pm Post subject: |
|
|
No prob! We have all been there!
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 |
|
|
korga n00b
Joined: 12 Apr 2006 Posts: 7
|
Posted: Fri Apr 14, 2006 12:44 pm Post subject: |
|
|
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 |
|
|
|