LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-26-2002, 10:49 PM   #1
vortech
LQ Newbie
 
Registered: Nov 2001
Distribution: Debian, Slackware
Posts: 14

Rep: Reputation: 0
(USB) mouse does not work (Debian)


Ok, I got pissed off at Red Hat because the programs it uses are strange (gcc2.96 can't compile XMAME ) so I ditched it for Debian.
It looks great, apt rules and it gives me full control of everything installed.
I used a (3.0/woody/testing) minimal Net Install CD image and quickly set it to get Unstable so I have the latest everything...
Had some problems installing the new kernel but it's going alright now.
But both before and after I changed to unstable the mouse would not work. I use a Logitech Mouseman iFeel USB with 3 normal buttons + clickable wheel...
I also tried a MS Intellimouse PS2, some crap 2 button PS2 mouse and a MS Mouse 1.0 serial, none of those worked either (I did change the X drivers to the right ones when I changed mice)
I went to www.linux-usb.org as suggested by the package info of Debian's usbmgr daemon thingy, and the HID installation guide didn't help.
It told me to add a /dev/input/mice with some command, which I did, and it doesn't do anything (cat /dev/input/mouse returns nothing)
lsmod does display the hid, mousedev, and input modules that site said I need, in addition to "usbcore"
cat /proc/bus/usb/devices also returns nothing so it's not detecting my mouse, I guess...
but the interesting thing is, when I go into lbreakout (a game, which is currently using aalib :P) moving my mouse causes a gpm-type cursor to do random things.
So I know the input from my mouse is doing SOMETHING. But I don't know how to fix it to do what it is SUPPOSED to.
Extra info: I have Debian's kernel 2.4.17-K7. Motherboard is an MSI K7T Turbo of some sort with a KT133 chipset (I think. The one without DDR.) with a Tbird 1.4ghz
I don't think anything else matters about my hardware, but just in case I have a WD 7200rpm 40GB HD of some sort, an MSI Geforce2MX, an original SBLive, and a 3c905 Fast Etherlink III NIC that is working great, or else I wouldn't be posting this.
I'd really like any help you can give, since I'm not a Lynx fan. I'm really not liking having to page through links.
Any strangeness in formatting of the above should be blamed on Lynx, not me. I am perfect. It's Lynx that isn't. Yeah.
 
Old 02-03-2002, 08:49 PM   #2
Linux_N0oby
Member
 
Registered: Feb 2002
Location: Springfield, Misery
Distribution: Debian (Woody), RedHat 7.2, FreeBSD 4.5
Posts: 31

Rep: Reputation: 15
Try this. "/etc/init.d/gpm stop" . If your mouse works after that, then type "rm /etc/rc3.d/S20gpm. I had the same problem with my USB Logitech mouse. This help quite a bit. I'm a n00b, but I thought I would try to help. :P
 
Old 02-04-2002, 01:00 AM   #3
ryanstrayer
Member
 
Registered: Jan 2002
Location: Kansas City
Distribution: RedHat 7.2 Kernel 2.4.17
Posts: 250

Rep: Reputation: 30
FYI, you could have fixed your RH problem by downgrading to 2.9.5 or upgrading to 3.0.3 ...

As far as the mouse is concerned - assuming your USB modules are installed correct... type ' dmesg ' from the console and see if the system is recongnizing a USB device (mouse). You must also have USB mouse support installed into the kernel in addition to basic USB support. I can give you a 2.4.17 config if you need one.

Once you have "confirmed" that the system is detecting your mouse by running ' dmesg ' (this is updated on-the-fly, so if you unplug/plug the mouse, the log will change. It should read something like this:

hub.c: USB new device connect on bus1/1, assigned device number 3
input0: USB HID v1.00 Mouse [0461:4d09] on usb1:3.0


After you have confirmed that it is detected by the kernel - you need to change the mouse input section in your /etc/X11/XFree86 config file to read something similar to this:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxismapping" "4 5"
Option "Device" "/dev/input/mice
Option "Emulate3Buttons" "off"


This configuration works with about 10 different wheel mice that I have... including all MS Mice, both optical and ball, IBM Optical Explorer, Logitech Wheels, etc. You MAY need to add:

Option "Buttons" "5"

for a 3 button mouse with a wheel and modified the pointer map - which some people suggest on here, but I've personally never had to do this with any 3-7 button mice. They all work right off the bat.

If your USB sub-system and USB mouse driver aren't loading, your /dev/input/mice probably won't show up. But if they ARE showing up and it's still not adding it for some reason - try entering:

mknod --mode=600 /dev/input/mice c 13 63

Do this from root of course... forgive me if you know that - some do not.

If none of this fixes it - I would encourage you to post your dmesg output related to USB, any errors or infomation in your kernel logs located in /var/log and your /etc/modules.conf along with an output from ' lsmod ' ..... I personally build all of this into my kernel and don't use modules for these devices, unless you have a reason for putting them into modules.

Hope this helps

Last edited by ryanstrayer; 02-04-2002 at 01:16 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB mouse under Debian microsoft/linux Linux - Laptop and Netbook 4 01-02-2005 09:49 PM
trying to get usb mouse to work in x fatpigjoke Linux - General 2 09-08-2004 07:26 AM
My USB keyboard and mouse no work in kernel 2.6+ (Debian) 0x86 Linux - Software 5 08-01-2004 01:22 PM
USB thumb drive works great, but I still can't get my USB mouse to work. blk96gt Slackware 8 06-22-2004 02:52 AM
PS/2 mouse did not work after temp removal of USB mouse edwardp Linux - Hardware 1 09-06-2003 05:57 PM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration