LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Mouse & PS/2 Keybd Modules? (https://www.linuxquestions.org/questions/linux-hardware-18/usb-mouse-and-ps-2-keybd-modules-805363/)

Kirfew 05-01-2010 04:38 PM

USB Mouse & PS/2 Keybd Modules?
 
Which configuration options would I need to select to build the correct drivers/modules for my usb mouse and ps/2 keyboard? The mouse is a Microsoft 1.1A Optical (Compatible with USB or PS/2 but plugged into usb port) and the keyboard is just a no name chinese one.
BTW i am running Gentoo and linux 2.6.32-gentoo-rc7

Kirfew 05-02-2010 03:54 AM

they do not do anything in X. I have evdev setup in make.conf and my kernel

jefro 05-02-2010 05:47 PM

Just side info.

http://www.linux.org/docs/ldp/howto/3-Button-Mouse.html

Electro 05-03-2010 01:25 AM

For the mouse, make sure USB and USB HID devices are set as either as modules or built-in. It is best to set USB as modules. Make sure USB HID devices includes mouse and keyboard. For the keyboard, just make sure a simple AT keyboard is set as built-in. You will also need to make sure evdev, mouse, and kbd Xorg modules are installed.

I suggest if are doing a clean install of Gentoo, it is best to dump the kernel config for the running setup into the directory for kernel to be compiled and then run make oldconfig. After using make oldconfig, do a make menuconfig to double check everything is there that you want is there. To do this and assuming there is a file at /proc/config.gz, do the following.

zcat /proc/config.gz > /usr/src/linux2.6.32-gentoo-rc7/.config

If you use genkernel, then all the steps above will be done for you and also making an initrd file in all in one command. Though it does include modules that you do not need for boot up which can cost you space.

FYI, that page that you linked is very, very old. It will not help with today's kernels and X Window System (GUI). The following site will be better.

http://www.gentoo-wiki.com (use http://www.gentoo-wiki.info/ as a backup)

Kirfew 05-10-2010 09:48 AM

nvm, i was told how to fix it on the gentoo forums. all i had to do was emerge xf86-input-mouse and xf86-input-keyboard and it worked.


All times are GMT -5. The time now is 08:02 AM.