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.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

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?

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.