LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   USB Mouse problems in Slack (https://www.linuxquestions.org/questions/slackware-14/usb-mouse-problems-in-slack-46775/)

Sinestral 02-23-2003 10:37 AM

USB Mouse problems in Slack
 
I recantly installed Slackware 8.1, but I have this wierd USB problem.
I'm using a Logitech Dual-Optical USB mouse, but it isn't detected at startup (it blinks when it works)

Now the first thing wrong was that there was a seg fault when I modprobed usb-uhci so I tried to compile the kernel and build in all the necesary drivers (I've done it before so I'm shu re I have the ones I need)

Then I tried downloading and installing linus-2.4.20, now the usb-uhci loads without seg faulting, but the mouse still isn't detected. I've also tried compiling 2.4.20, with no results.
Is there something I've missed, do you have to do a command to add new devices in slack?

Excalibur 02-23-2003 12:12 PM

Have you configured X to use the USB mouse on /dev/input/mouse0 in /etc/X11/XF86Config file?

Sinestral 02-23-2003 12:26 PM

The problem isn't with X (I've configured X manually to work with my mouse before), my mouse isn't detected at all, if it was the lights on my mouse would blink when i move it.

I haven't even tried starting X, since I tried reinstalling Slack (wich didn't help).

Excalibur 02-23-2003 01:18 PM

When you built your new kernel, did you enable Input Core support and select USB mouse? Under USB Support, you have to enable UHCI support and/or OHCI support depnding on the chipset and then enable the HID or HIDBP mouse devices.

Also, make sure the USB is enabled in the BIOS and has an interrupt assigned. You can use "lspci" to verify if the USB controller itself is present.

If you enabled the USB device file system support in the kernel then try to mount the usbdevfs system. For 2.4.20 use usbfs I think.

mount -t usbfs none /proc/bus/usb
cat /proc/bus/usb/devices

It should report all of your USB ports and devices. You should see your mouse listed. Each new section starts with a "T:" if I recall.

On my USB mouse, the optical lights up when the port becomes active. But I cannot tell if it is reading it or not from the console unless I do

cat /dev/input/mouse0

If all is well it just sit at the prompt and wait until the mouse is moved. Type Ctrl-C to terminate. If it reports no device then back to the kernel since it sounds like you are not using modules.

Sinestral 02-23-2003 01:21 PM

h0rj, I figured out a way to get around the problem I just copied my kernel i compiled for Sorcerer and it works!

To anyone els that might run in to tis problem try compiling the kernel with sources from www.kernel.org

Astro 02-23-2003 03:29 PM

My logitech mouse works on /dev/input/mice


All times are GMT -5. The time now is 08:15 PM.