View previous topic :: View next topic |
Author |
Message |
breinhold n00b
Joined: 22 Dec 2005 Posts: 8
|
Posted: Fri Dec 23, 2005 5:11 am Post subject: Non-responsive mouse in X |
|
|
Couldn't find anything in the forums. Went through the base install, and am content to just use the generic nv driver for now. Everything went smoothly (minus the bash bug with network scripting, minor detail) however upon creating my X config and startx. I get the expected screen and the twm (I believe that's what it is) with it's typical windows and clock. No errors are in the terminal upon starting. This is how I have the mouse portion of the xorg.conf configured.
Code: |
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/input/mice"
EndSection
|
Suggestions?
Also, the keyboard does work, so it's not like X starts and then freezes. |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Fri Dec 23, 2005 5:42 am Post subject: |
|
|
Have you compiled support for hid into the kernel, or as a module ?
Quote: |
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y
|
If you compiled it in as module, are the modules loaded? Use lsmod to find out.
Then check some alternatives to /dev/input/mice.
etc. |
|
Back to top |
|
|
Kevin72594 Guru
Joined: 30 Dec 2003 Posts: 307
|
Posted: Fri Dec 23, 2005 5:47 am Post subject: |
|
|
also, is the protocol correct for the mouse? I've always used PS/2 or IMPS/2, probably need Microsoft if you have a Microsoft mouse though. |
|
Back to top |
|
|
breinhold n00b
Joined: 22 Dec 2005 Posts: 8
|
Posted: Fri Dec 23, 2005 3:48 pm Post subject: |
|
|
I tried various protocols for the mouse, and my kernel modules look correct as shown below:
Code: | CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y
|
The mouse is an MS Explorer 2.0. The mouse is seen and recognized by the computer (at least I'm assuming) as it is lit up. My keyboard is also USB, which as mentioned previously, works just fine. Any other suggestions? |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Fri Dec 23, 2005 5:53 pm Post subject: |
|
|
Is your mouse USB ? There is a separate set of options in the kernel to enable support for mice.
Quote: |
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1280
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1024
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
--
CONFIG_INPUT_MOUSE=y
# CONFIG_MOUSE_PS2 is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
|
Regardless of what sort of mouse you have you must also set some of these. If you have a PS/2 mouse you will need CONFIG_MOUSE_PS2=y, a serial mouse will need that option set. |
|
Back to top |
|
|
breinhold n00b
Joined: 22 Dec 2005 Posts: 8
|
Posted: Fri Dec 23, 2005 6:28 pm Post subject: |
|
|
davidgurvich wrote: | Is your mouse USB ? There is a separate set of options in the kernel to enable support for mice.
Quote: |
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1280
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1024
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
--
CONFIG_INPUT_MOUSE=y
# CONFIG_MOUSE_PS2 is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
|
Regardless of what sort of mouse you have you must also set some of these. If you have a PS/2 mouse you will need CONFIG_MOUSE_PS2=y, a serial mouse will need that option set. |
My mouse is USB 2.0.
Here is my config straight from the /boot partition. I copied it over after each change I make to the kernel.
Code: |
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_SERIAL=y
CONFIG_MOUSE_INPORT=y
# CONFIG_MOUSE_ATIXL is not set
CONFIG_MOUSE_LOGIBM=y
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
|
It wasn't a silly error like not having boot mounted either, I made sure of that each time. Even with these new builtin modules, the mouse is still non-responsive in X (or gnome for that matter) but is at least getting powered.
I'm just frustrated as I had successfully done a stage 1 install about a year and a half back on my old rig without much of a problem using this same mouse. |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Sat Dec 24, 2005 1:39 am Post subject: |
|
|
When you plug the mouse in, does it get recognized by the system? You can check using dmesg what sort of messages get generated. If nothing get's generated that is bad. Also try lsusb to see if the mouse is recognized. After these are successful, from a console 'cat /dev/any_possible_mouse_device' and move the mouse around. If the console starts generating odd symbols that is the one you want to use in xorg.conf.
If the system generates no messages you have a problem with udev, hotplug, kernel, and/or conflict with irqs, or hardware trouble with mouse. This probably won't help, but I had a problem with particular usb ports, when some options were enabled in the kernel. This only happened when I used video and enabled acpi. I could use only one usb port on the computer.
You could disable acpi during boot and see if the problem persists. |
|
Back to top |
|
|
breinhold n00b
Joined: 22 Dec 2005 Posts: 8
|
Posted: Sat Dec 24, 2005 8:32 am Post subject: |
|
|
Tried a good number of the suggested points. None seemed to result successfully. However, in prior stages while working with the Gentoo CD, the mouse was responsive and could control cursor selections and such. I'm going to bill this one as some hidden error, and start fresh after the holiday. Thanks for the help, but I'm really quite stuck. |
|
Back to top |
|
|
seddes n00b
Joined: 21 Nov 2004 Posts: 12
|
Posted: Sat Dec 24, 2005 5:22 pm Post subject: Similar problem/help! |
|
|
Hi,
I have the same/similar problem, where my mouse is unresponsive in X, and would appreciate any suggestions as to next steps:
The mouse worked fine in X/KDE under Kernel 2.6.8/Early version of udev.
Upgraded to 2.6.14r2/udev 0.7, doesn't work under X now. Running same version of Xorg (6. on 2.6.8 and 2.6.14.
The hardware is a Logitech wireless keyboard/optical mouse combo (1 usb plug for both keyboard and mouse).
The keyboard works. I've got a LIRC USB device working, so I think that udev/usb is ok.
I have tried /dev/input/mouse{0,1}, /dev/input/mice, /dev/psaux. None seem to move the mouse.
My kernel config:
# USB Input Devices
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
lsusb:
Bus 003 Device 003: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 003 Device 002: ID 046d:c505 Logitech, Inc. Cordless Mouse+Keyboard ReceiverBus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0e9c:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
grep dmesg mice:
<snip>
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
lp0: using parport0 (interrupt-driven).
mice: PS/2 mouse device common for all mice
io scheduler noop registered
<snip>
Xorg config:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse0"
Option "ZAxisMapping" "4 5"
EndSection |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Sun Dec 25, 2005 4:20 am Post subject: |
|
|
I don't know much about the cordless mice. Perhaps you need different kernel options for the wireless setup. |
|
Back to top |
|
|
dj_farid l33t
Joined: 14 Jun 2004 Posts: 613
|
Posted: Sun Jan 08, 2006 12:26 am Post subject: |
|
|
I have the same problem here. I get nothing if I cat /dev/input/whatever but if I plug in a ps2 mouse at the same time as I have my USB mouse plugged in, I get a response from /dev/input/mice. If I then start KDE with both mice in, the PS2 mouse works as supposed. But the USB mouse is out of control. The cursor moves uncontrolled if I move the USB mouse.
If I start KDE with just the USB mouse in, there is no response. The cursor can't be moved.
Any ideas? |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Sun Jan 08, 2006 1:07 am Post subject: |
|
|
Same here. I tried two PS/2 mouses. One with wheel one without.
With kernel 2.6.14-r6 everything is ok. If I boot with 2.6.15 no mouse activity. Mouse is visible, but it's impossible to move it.
I need the new kernel, because it has drivers for my ethernet card.
I have X 7.0.0.
I tried recompiling X,
I did emerge -e system,
Then recompiled kernel.
Nothing, still the same.
Now I'm doing emerge -e world.
Maybe there is something with new kernel, something linked with kernel sources, i don't know.
Before emerge -e world, I did emerge sync, hoping that something new in portage would change things.
When Linux boots I saw PS/2 written in two lines, but it passes by to quickly to see the whole line.
I tried everything with xorg.conf and with kernel options. No response.
I hope this gets solved quickly.
Living without a mouse is like being without a car, huh. |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Sun Jan 08, 2006 4:18 am Post subject: |
|
|
I have not tried kernel 2.6.15 yet. I understand hal, udev, and dbus are handled differently. |
|
Back to top |
|
|
dj_farid l33t
Joined: 14 Jun 2004 Posts: 613
|
Posted: Sun Jan 08, 2006 10:34 am Post subject: |
|
|
zxy wrote: |
When Linux boots I saw PS/2 written in two lines, but it passes by to quickly to see the whole line.
|
Do "dmesg" and you will see all the boot messages. |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Mon Feb 06, 2006 4:10 pm Post subject: |
|
|
After some time...
1. ps2 mouse not working - still
2. USB mouse - works
i included all possible ps2 options in kernel 2.6.15-r1, but nothing. But with USB mouse i have no problems.
Strange...
After dmesg i see ps2 device recognized. . |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Mon Feb 06, 2006 4:14 pm Post subject: |
|
|
p.s.: and i hav latest udev, dbus and hal installed.
sys-apps/hal-0.5.5.1-r3 USE="acpi doc pcmcia -debug -pam_console"
sys-apps/dbus-0.60-r4 USE="X doc gtk python qt xml2 -debug -gcj"
sys-fs/udev-084 |
|
Back to top |
|
|
robselina Apprentice
Joined: 05 Feb 2006 Posts: 165 Location: Socorro, NM, USA
|
Posted: Fri Feb 10, 2006 4:18 am Post subject: |
|
|
zxy - what do you have set for 'Device'? Probably should be /dev/psaux instead of the default. |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Feb 14, 2006 8:02 pm Post subject: |
|
|
i tried psaux, mice, and all other options - relevant and irelevant. But nada. Mouse dead. Still usb mouse works ok. |
|
Back to top |
|
|
distax n00b
Joined: 24 May 2005 Posts: 12 Location: DE-Olpe
|
Posted: Sat Feb 18, 2006 8:51 pm Post subject: |
|
|
i solved my problem:
device drivers
usb support
<*> OHCI HCD support
Asus A7N8X |
|
Back to top |
|
|
socksz Apprentice
Joined: 28 Aug 2006 Posts: 233
|
Posted: Fri Sep 08, 2006 8:51 pm Post subject: |
|
|
distax wrote: | i solved my problem:
device drivers
usb support
<*> OHCI HCD support
Asus A7N8X |
distax, you have the same problem?
And you have solved with set build-tin this module?
Thanks! |
|
Back to top |
|
|
|