Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-22-2006, 06:39 PM
|
#1
|
LQ Newbie
Registered: Oct 2005
Posts: 4
Rep:
|
Logitech Cordless Optical Mouse not recognized
I have a Logitech Cordless Optical Mouse (M/N: M-RM67A) and am trying to use it under Slackware Linux 10.2 (kernel version 2.4.31). It used to work, but now it doesn't, for no apparent reason. I also cannot seem to get the computer to recognize any mouse at all; i have tried a PS/2 mouse and it doesn't work either, although that may be my fault or my wacky motherboard's fault (ASUS P5A-B babyAT motherboard with AMD K6-2/450 CPU). I have tried using it on another computer, a Windows 98SE machine, and it works (albeit with the USB to PS/2 adapter).
Code:
root@fiskars:~# lsmod
Module Size Used by Not tainted
parport_pc 15044 1 (autoclean)
lp 6404 0 (autoclean)
parport 22824 1 (autoclean) [parport_pc lp]
ide-scsi 9392 0
ne 6688 1
8390 5776 0 [ne]
crc32 2880 0 [8390]
sb 7732 2
sb_lib 34222 0 [sb]
uart401 6148 0 [sb_lib]
sound 54280 2 [sb_lib uart401]
soundcore 3396 4 [sb_lib sound]
isa-pnp 29968 0 [ne sb]
evdev 4000 0 (unused)
usbmouse 1880 0 (unused)
keybdev 1892 0 (unused)
mousedev 4020 2
hid 20868 0 (unused)
input 3200 0 [evdev usbmouse keybdev mousedev hid]
usbcore 59148 1 [usbmouse hid]
agpgart 45508 0 (unused)
As you can see, the drivers for the USB root hub, as well as HID, USBmouse, evdev, and mousedev are all loaded, but the mouse is not recognized by GPM or by my X server.
I have spent about 2 hours poking around LQ and Googling for stuff, without finding much. I have checked /etc/X11/xorg.conf-fbdev (see the next Code segment for the mouse section), and it all appears to be correct. I have /etc/rc.d/rc.modules loading most of the USB mouse drivers above.
/etc/X11/xorg.conf-fbdev (mouse section)
Code:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
EndSection
I currently have the mouse hooked up to two front-mounted USB ports which are connected directly to the motherboard, although I originally had it in a PCI card. However, neither works for the mouse, so I don't think it matters. I believe the USB ports are functional, I have used a USB flash drive in all four of them without problems. It just doesn't seem to like my mouse.
Any suggestions?
|
|
|
01-23-2006, 08:37 PM
|
#2
|
Senior Member
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534
Rep: 
|
try to see the input of the mouse with
cat /dev/mouse (and move the mouse)
or
cat /dev/input/mice (and move the mouse)
etc...
Then, be sure you are editing the right xorg.conf.
I had a problem once with a cordless mouse/keyb: I had to install it under window$ in order to specify the encrypting password. Then i rebooted Linux and it worked.
|
|
|
01-26-2006, 08:34 PM
|
#3
|
LQ Newbie
Registered: Oct 2005
Posts: 4
Original Poster
Rep:
|
using cat doesn't show anything, it just displays a blank line. this leads me to believe that the mouse reciever isn't talking to the computer.
|
|
|
01-28-2006, 09:30 PM
|
#4
|
LQ Newbie
Registered: Oct 2005
Posts: 4
Original Poster
Rep:
|
i tried using it under Windows, and it worked fine; however, once i put it back on my Linux system, it doesn't work again.
|
|
|
04-07-2006, 03:20 AM
|
#5
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Rep:
|
I am having the same problem with a mouse that works in WIndows, Ubuntu and SLamd64 but not slackware 10.2
|
|
|
04-07-2006, 03:33 PM
|
#6
|
LQ Newbie
Registered: Oct 2005
Posts: 4
Original Poster
Rep:
|
Fixed
I fixed the problem on my computer, it turns out that my motherboard battery died, and the default setting somewhere in the BIOS Setup was to disable the USB ports. Pretty stupid "feature," if you ask me... but anyway. I will venture a guess and say that your problem is drivers, arubin - make sure the modules usbmouse, mousedev, hid, and input are loaded for the mouse; you should also check for usbcore, and usb-ohci for your USB root hub. You can check what modules are currently loaded using the command "lsmod" (no quotes) - for example, on my machine:
Code:
root@fiskars:~# lsmod
Module Size Used by Not tainted
smbfs 40080 1 (autoclean)
usb-ohci 19368 0 (unused)
ide-scsi 9392 0
ne 6688 1
8390 5776 0 [ne]
crc32 2880 0 [8390]
sb 7732 1
sb_lib 34222 0 [sb]
uart401 6148 0 [sb_lib]
sound 54280 1 [sb_lib uart401]
soundcore 3396 4 [sb_lib sound]
isa-pnp 29968 0 [ne sb]
evdev 4000 0 (unused)
usbmouse 1880 0 (unused)
keybdev 1892 0 (unused)
mousedev 4020 1
hid 20868 0 (unused)
input 3200 0 [evdev usbmouse keybdev mousedev hid]
usbcore 59148 1 [usb-ohci usbmouse hid]
agpgart 45508 0 (unused)
To load modules, use the command "modprobe [module]" to load [module] - if you want the module to load each time your system starts, find in in /etc/rc.d/rc.modules and uncomment its line by removing the "# " in front of the line. This particular Logitech mouse is nice for Linux people because it doesn't require special drivers - the default ones that come with 'Slack work nicely. Also check that your USB ports actually work - a good way to do this is with a USB flash drive. Plug it in and type "mount -t vfat /dev/sda1 /mnt/sda1" (you may need to make the directory /mnt/sda1 first with mkdir), then "cd /mnt/sda1" and check if you can see your flash drive's files - this will rule out a problem with the USB port itself. (BTW, to unmount your drive, just type "umount /dev/sda1", then unplug your flash drive) If the port works, and the drivers are loaded, and the mouse is plugged in, check the batteries and try using those little "Connect" buttons on the mouse's underside and on the reciever (I don't remember how it works, check out your manual or Logitech's website). If that doesn't work, you're beyound me, so I wish you luck.
Hope this helps you - not having a mouse is torturous to a person like me who hasn't been a Linux user for very long and is still somewhat dependant on a GUI  .
|
|
|
04-08-2006, 06:00 PM
|
#7
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356
Rep:
|
Thanks. I fixed it by uncommenting /sbin/hid
|
|
|
All times are GMT -5. The time now is 07:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|