getting USB mouse to work
Im using Slackware 9.1, and im trying to get my USB to work. Firstly if i just connect it it doesnt work. Even after i compiled the kernel and included USB mouse support. Now im just using it PS\2 mode. But id rather use it USB, cause i cant use mouse wheel PS\2 mode with Slackware. If anyone one can help me, to get my USB mouse to work with Slackware 9.1, or to get the PS\2 to support my mouse wheel. It annoying not being able to use mouse wheel if u got one.
thanks |
You probably need to reconfigure XFree86 to use your USB mouse.
Firstly, test that the kernel knows about your mouse. Logged in as root, at a console, you should be able to do "cat /dev/input/mouse0", and have it spew garbage when you move the mouse (ctrl-C to end this). Assuming that, you'll want to edit /etc/X11/XF86Config (sometimes XF86Config-4, I'm not familiar with slack in particular), replacing the line referring to /dev/psaux with one referring to /dev/input/mouse0. |
i ran "cat /dev/input/mouse0"
and i got response moving the mouse.... yeah XF86Free i hashed out /dev/mouse put in: /dev/input/mouse0 rebooted; i still dont get mouse in comandline i started KDE, and my mouse was there, but it could only move vertically, and very obscured. i have no idea what to do next ..................thanks for help |
is the protocol set to "IMPS/2" in XF86Config?
add Option "ZAxisMapping" "4 5" to the mouse section for the mouse wheel |
yes it is
maybe the driver: driver = mouse? or maybe gpm? i really dont know... |
First of all, don't worry about your mouse in bash, I have heard it is a real pain to get them to work at the same time and you really shouldn't need one in bash anyways.
For Laptop: In XF86Config file after your core pointer section(AFTER the endsection, make sure of this) enter: Section "InputDevice" Identifier "USBmouse" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "SendCoreEvents" EndSection And then at the screenlayout section it should list your input devices again and it should have core pointer and core keyboard. ADD InputDevice "USBmouse" "SendCoreEvents" For Desktop: For core pointer replace the top section (before all the options) with: Section "InputDevice" Identifier "USBmouse" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "AlwaysCore" EndSection and in the screenlayout section EDIT the current line for the core pointer by replacing "mouse1" with "USBmouse" I don't think the identifier is needed but it is nice to have your files make sense when you look at them again. |
ok ive done everything Onemessedupjedi
said, but still when i enter KDE, my mouse only moves vertically, and very obscured....... |
Sorry that my directions didn't work.
Possibly your mouse is windows specific somehow and must be configured specially for linux....which I can't help with. Revert it to PS2 and use the Option "ZAxisMapping" "4 5" Line and see if your mouse wheel will work in PS/2 mode. You can always buy a cheapo logitech mouse :) I know those work fine. Please post your model and your results so others can search and maybe find a answer. |
i am currently running my mouse with PS/2 adapter, and i put
Option "ZAxisMapping" "4 5" in the XFCongfig file the mouse is working properly but the wheel is not operating mouse name (as on back of mouse) Genius Powerscroll Eye U+P |
Make sure there is only one mouse section. If there are 2 mouse sections in the XFConfig file and you are adding or editing the second section, it won't work.
I just installed 9.1 and it automatically wrote 2 mouse sections. :mad: |
I also got 2 mouse sections installed.....(i dunno why there is 2)
the top one seems to be the one in use but Option "ZAxisMapping" "4 5" appears in both of them. still i cant seem to be able to use my mouse wheel... and to get it to run with USB, is an even greater mystery to me |
All times are GMT -5. The time now is 12:47 AM. |