DebianThis forum is for the discussion of Debian Linux.
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.
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800
Rep:
USB Mouse Configured
I can't seem to get this usb mouse configured using Debian Sid. I've search the forum and tried all the changes to XF86Config-4 file and it still doesn't work.
I originally had a ps/2 mouse and switched to a Dell usb wheel mouse.
I did it get to work using Slackware 9.1...the good thing about having more then one distro installed!
hi
congrats if have configured the mouse on usb port . can u plz guide me how u have done. i am doing a project on usb ports only in my master peograamme can u tell me how it is done
thanks
Originally posted by jeempc I am trying to get my usb wheelmouse to work in slackware 9.1.
What did you have to do?
The mouse works in XP so I know the hardware is OK.
Jeempc
During your setup of Slackware, it asks you what kind of mouse you have. This creates the symlink /dev/mouse which should point to /dev/input/mice. Run "xf86cfg -textmode" or xf86config in order to configure your /etc/X11/XF86Config. Then once you've got the mouse and everything else working except the wheel edit it to add Options "ZAxisMapping" "4 5" to activate the wheel. If you have further questions please post them in the Slackware distro forum, they're off-topic here in the Debian forum.
I swtched fo Fedora and it found the usb automatically. I have decieded o use Slackware for servers and Fedora for workstations. I still want to try Debian but will wait for another computer.
Jeem
For auto-detection of USB devices in Debian you'll need hotplug installed and enabled. Also other related packages, such as usbutils http://packages.debian.org/testing/utils/usbutils may become useful.
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800
Original Poster
Rep:
At the time I installed Debian I didn't have any usb devices connected. But later I switched a usb mouse from a ps/2 mouse.
Now I don't have Debian installed at all, I mistakenly installed Fedora in it's partition...but Fedora is not letting me connect to the internet with my 3com nic. So I will remove Fedora and install Debian again, since Deb is my main OS.
Just go to /etc/X11/XF86Config and edit the following:
Go to the section InputDevice, where it says "Mouse0", that whole section should look like this:
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection
# this is added for the USB mouse
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
------------------- Also, at the section ServerLayout...
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
#This is for the fallback mouse.
InputDevice "Mouse1" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800
Original Poster
Rep:
I never did it the usb mouse working with my original install of Debian and ps/2 mouse switch. But since then, I have done a reinstall using Debian Installer-4/Sid and now my usb mouse is working, wheel and all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.