View previous topic :: View next topic |
Author |
Message |
gudentach12 Apprentice
Joined: 21 Feb 2003 Posts: 184 Location: tr.rhp.ger.earth
|
Posted: Fri May 16, 2003 5:40 pm Post subject: Weird USB Mouse Problem!! Please help me!!! |
|
|
hi,
i have a problem to get my usbmouse running on my laptop. the touchpad works fine,
but i dont want to use it. i have an optical logitech usb mouse.
now somewhere in the forum i read, that i have to edit some lines in /etc/X11/XF86config:
this is what i edited in the server layout section
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvent"
InputDevice "Keyboard1" "CoreKeyboard"
this is what i edited in the input device section
Section "InputDevice"
# touchpad
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
now here are some relevant kernel settings (version 2.4.20-gentoo-r5)
this is in character devices--> mice
<M> Bus Mouse Support ? ?
? ? <M> ATIXL busmouse support ? ?
? ? <M> Logitech busmouse support ? ?
? ? <M> Microsoft busmouse support ? ?
? ? <*> Mouse Support (not serial and bus mice) ? ?
? ? [*] PS/2 mouse (aka "auxiliary device") support
this is in usb support
--- USB Human Interface Devices (HID) ? ?
? ? <M> USB Human Interface Device (full HID) support ? ?
? ? [*] HID input layer support ? ?
? ? [*] /dev/hiddev raw HID device support ? ?
? ? <M> USB HIDBP Keyboard (basic) support ? ?
? ? <M> USB HIDBP Mouse (basic) support ? ?
? ? <M> Aiptek 6000U/8000U tablet support ? ?
? ? <M> Wacom Intuos/Graphire tablet support
if i plug in the mouse, dmesg gives me message:
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb1:2.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
usb.c: USB disconnect on device 00:01.2-1 address 2
hub.c: new USB device 00:01.2-1, assigned address 3
input0: USB HID v1.10 Mouse [Logitech USB Mouse] on usb1:3.0
usb.c: USB disconnect on device 00:01.2-1 address 3
hub.c: new USB device 00:01.2-1, assigned address 4
input0: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb1:4.0
Everything seems to be ok. i think
As you see in the InputDeviceSection Mouse1 is located in /dev/input/mice
but in this directory (/dev/input/) there is no mice file.
I dont know what i did wrong. Hope somebody can help me fix this. I dont know why the mice file in /
dev/input isnt there.
Thanks for your help!!! Hope i gave enough information
gudentach12 |
|
Back to top |
|
|
spectre n00b
Joined: 11 May 2003 Posts: 40 Location: Virginia USA
|
Posted: Fri May 16, 2003 6:44 pm Post subject: Re: Weird USB Mouse Problem!! Please help me!!! |
|
|
Under Input core support in your kernel config, have you enabled it and Mouse support?
Also, enable full HID support under USB support but turn off the modules for HIDBP (basic) support. You could also turn off all the modules for busmouse support since you probably don't have a busmouse.
Hope this helps. |
|
Back to top |
|
|
paranode l33t
Joined: 06 Mar 2003 Posts: 679 Location: Texas
|
Posted: Fri May 16, 2003 7:27 pm Post subject: |
|
|
These are the options I have in my kernel for a USB mouse and keyboard:
Code: |
< > Bus Mouse Support
<*> Mouse Support (not serial and bus mice)
[*] PS/2 mouse (aka "auxiliary device") support
< > C&T 82C710 mouse port support (as on TI Travelmate)
< > PC110 digitizer pad support
< > MK712 touch screen support
<*> Input core support
<*> Keyboard support
<*> Mouse support
(1024) Horizontal screen resolution
(768) Vertical screen resolution
< > Joystick support
<*> Event interface support
<*> USB Human Interface Device (full HID) support
[*] HID input layer support
[ ] /dev/hiddev raw HID device support |
I have a laptop that uses the touchpad and the USB mouse just like you are trying to do. However I think I have it switched the other way so that /dev/psaux is "SendCoreEvent" and /dev/input/mice is "CorePointer"
If you compile all those options into the kernel then you should have USB mouse support without any modules needing to be loaded.
Hope that helps. _________________ Meh. |
|
Back to top |
|
|
gudentach12 Apprentice
Joined: 21 Feb 2003 Posts: 184 Location: tr.rhp.ger.earth
|
Posted: Mon May 19, 2003 12:29 pm Post subject: |
|
|
hi,
thanks for your help. my usb mouse works fine now.
cool ey,
gudentach12 |
|
Back to top |
|
|
|