LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   USB Mouse Configured (https://www.linuxquestions.org/questions/debian-26/usb-mouse-configured-188247/)

BittaBrotha 05-31-2004 10:39 PM

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!

What is the command to reconfigure the mouse?

Thnx.

SiQDiZ 06-01-2004 02:07 AM

plz post the content of your /etc/X11/XF86Config-4

ashwinipahuja 06-01-2004 02:17 AM

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

Dead Parrot 06-01-2004 04:00 AM

There's a mouse auto-detection app in debian called "mdetect" that might be worth a try.

# apt-get install mdetect
# dpkg-reconfigure xserver-xfree86

BittaBrotha 06-01-2004 04:54 AM

Thnx for the replies, I will have to try the suggestions when I get home, I'm at work now and will let you know what happens.

jeempc 06-01-2004 10:19 AM

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

MobyTurbo 06-01-2004 04:21 PM

Quote:

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.

BittaBrotha 06-06-2004 01:39 AM

Thnx for the help but it turns out I've trashed my Debian partition messing around with Fedora, which is not letting me get on net with 3com nic.

So now it looks like I will have to do a reinstall, maybe now I can get the usb mouse working! :D

jeempc 06-06-2004 09:39 AM

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

Dead Parrot 06-06-2004 10:11 AM

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.

BittaBrotha 06-06-2004 08:31 PM

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.

fiacobelli 06-11-2004 01:29 PM

The recipe... At least for me.
 
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

atheist 06-11-2004 03:50 PM

Please keep us informed. I'm having the same problem. So if you have any progress, please let us know. I'll do the same.

mdetect won't even work for me. Well... it always detects my PS/2 mouse. (Even when my PS/2 mouse isn't connected.) But never my USB mouse.

fiacobelli 06-11-2004 11:45 PM

That configuration worked.
 
That config worked fine for me. I have a laptop and needed the PS/2 mouse (touchpad) and the USB one.

BittaBrotha 06-12-2004 03:06 AM

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.

Thnx. for all the helpful replies.


All times are GMT -5. The time now is 06:24 PM.