View previous topic :: View next topic |
Author |
Message |
wonderboy n00b
Joined: 20 Jun 2003 Posts: 71
|
Posted: Fri Aug 08, 2003 4:20 pm Post subject: Logitech USB Mouse |
|
|
Does anyone know how to get a regular 2 button 1 scrl wheel USB optical mouse to work with gentoo? I have one and cant get it to work in text mode or in X. |
|
Back to top |
|
|
scriptkiddie l33t
Joined: 30 Mar 2003 Posts: 955
|
Posted: Fri Aug 08, 2003 4:24 pm Post subject: |
|
|
did you compile USBmouse into the kernel?
Quote: | USB Mouse Howto:
1. Enter your kernel configuration
Code:
cd /usr/src/linux
make menuconfig
2. Once in the configuration screen, scroll down to Input Core Support, and
hit enter.
3. Hit "m" for Input Core Support. Scroll down to Mouse Support, and hit m. Exit from this menu.
4. Scroll down to USB support and hit enter.
5. In USB Support, hit y at Support for USB. Scroll down to "Preliminary USB device filesystem" and hit y. Include either "UHCI (Intel PIIX4, VIA, ...) support" or "UHCI Alternate Driver (JE) Support" as modules (m). Finally, include "USB Human Interface Device (full HID) support" as a module (m). Include HID input layer support with y.
6. Exit USB Support, then exit the menuconfig. Now do "make dep && make clean bzImage modules modules_install".
7. The following new modules will be created:
Modules Name..................................Path to modules
1a. UHCI (Intel PIIX4, VIA,...)............ /lib/modules/kernel-version/kernel/drivers/usb/usb-uhci.o
or
1b. UHCI Alternate Driver (JE) support /lib/modules/kernel-version/kernel/drivers/usb/uhci.o
2. USB Human Interface Device....... /lib/modules/kernel-3. version/kernel/drivers/usb/hid.o
3. Input Core Support..................... /lib/modules/kernel-version/kernel/drivers/input/input.o
4. Mouse Support............................ /lib/modules/kernel-version/kernel/drivers/input/mousedev.o
8. Be sure to mount your /boot partition and copy over the new kernel image!
9. Edit your /etc/modules.autoload file and add the following lines:
Code:
input
mousedev
hid
usb-uhci (or uhci)
10. Reboot your machine to test your new drivers.
11. If everything goes well, your modules should all load ok.
12. To ensure your mouse works in X, be sure to edit /etc/X11/XF86Config. Here is an example:
Code:
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Note: If /dev/input/mice doesn't work, try using /dev/usbmouse. Thanks to rac for bringing this to my attention.
|
That was from Vlads usb mouse howto in the documentation forum |
|
Back to top |
|
|
Raide n00b
Joined: 13 Aug 2003 Posts: 27 Location: State College, PA
|
Posted: Sun Aug 17, 2003 8:37 pm Post subject: |
|
|
sorry if this should be obvious to me, but how would I complete step 8 of the above steps? where is the new kernel image I need to copy to /boot? |
|
Back to top |
|
|
Vidar Apprentice
Joined: 09 Apr 2003 Posts: 239 Location: Washington, USA
|
Posted: Sun Aug 17, 2003 9:01 pm Post subject: |
|
|
Assuming your /boot is on seperate partition, just go "mount /boot" as root. If it's already mounted, don't worry about it. And to copy the new kernel over, "cp /usr/src/linux/arch/i386/boot/bzImage /boot" . Rename it to whatever you want, and make the nessessary changes in the lilo/grub configuration. _________________ "Vidar, Odin's mighty son, he will come to slay the wolf
The sword runs into the heart of Hverdrungs son
So he avenges his father" -- Amon Amarth - Burning Creation |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|