Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
Last edited by Onemessedupjedi; 10-25-2003 at 03:09 PM.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.