View previous topic :: View next topic |
Author |
Message |
Godvalve n00b
Joined: 27 Jun 2003 Posts: 34 Location: Canada
|
Posted: Sun Jun 29, 2003 9:35 pm Post subject: X starts -> no mouse |
|
|
Please note: I have done much searching through the forums looking for an answer to my question and have followed all the advice I found in the various replys but have been unable to resolve my problem. As the title implies, I am unable to startx but I have no mouse. Please read down to see the steps I have taken to this point.
First off:
-> I have a standard microsoft intellimouse optical usb mouse. On bootup I see the line: hiddev0: USB HID v1.00 mouse [microsoft microsoft wheel mouse optical<<] on usb 2: 2.0 (I'm assuming this line is a Good Thing(tm) )
-> I am running 2.4.20-r5
-> I setup my kernel (to start with) in the following manner:
Quote: | Under Input core support --->
<*> Input core support
<M> Mouse support
Under USB support --->
<M> Support for USB
[*] Preliminary USB device filesystem
<M> UHCI (Intel PIIX4, VIA, ...) support
<M> USB Human Interface Device (full HID) support
[*] HID input layer support
[*] /dev/hiddev raw HID device support
And to load the proper modules at boot add the names to your /etc/modules.autoload
mousedev
usbcore
usb-ohci
hid |
However, on boot I got the following:
Code: | * Loading module mousedev...
* Failed to load mousedev
* Loading module usbcore...
* Failed to load usbcore
* Loading module usb-ohci
* Failed to load usb-ohci
* Loading module hid
* Failed to load hid |
The commands I used to compile the kernel are the following (out of the installation guide):
# make dep && make clean bzImage modules modules_install
# cp /usr/src/linux/arch/i386/boot/bzImage /boot
(I was of course sure to #mount /boot before hand)
I don't know if there is an error with the commands I am using and include them for the purpose of evaluation. Also, being a noob, I don't know if I have to place the modules anywhere afterwards or even where the modules get compiled too.
Because of the errors I went back to the kernel and compiled everything directly into the kernel (No errors on boot that way). I am using a Via chipset (MB: GA-7VRXP) and made sure to use "UHCI (Intel PIIX4, VIA, ...)"
However, when I startx and Blackbox loads up (the window manager recommended by a friend), I am unable to use the mouse. Now, even though I'm a noob, I realize that this may be an X issue. To that effect, I include the following from XF86Config for your viewing pleasure:
Code: | Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection
|
With my limited knowledge, I've tried to provide you my saviours as much information as possible. Any and all help is greatly appreciated.
BTW, /dev/hid does not exist. Does this help anyone?
Update:
I was reading another thread where it was suggested that I run The config file that was spit out did not activate my mouse but I did get a line in the commandline output that stated
Quote: | XFree86 detected mouse at device /dev/mouse |
# cat /dev/mouse outputs nothing |
|
Back to top |
|
|
Godvalve n00b
Joined: 27 Jun 2003 Posts: 34 Location: Canada
|
Posted: Sun Jun 29, 2003 11:32 pm Post subject: |
|
|
bump _________________ Slartibartfast touched a button and added, not entirely reassurringly, 'It scares the willies out of me. Hold tight.' |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Jun 30, 2003 12:00 am Post subject: |
|
|
Are you booting your most recent kernel ?
If not, your modules will not load properly.
The time and date given by this command tells when the kernel you are running was compiled. |
|
Back to top |
|
|
Vanquirius Retired Dev
Joined: 14 Jun 2002 Posts: 1297 Location: Ethereal plains
|
Posted: Mon Jun 30, 2003 1:03 am Post subject: |
|
|
Check /lib/modules/your-kernel/kernel/drivers to make sure you actually got those options compiled as modules. If you don't, try a new kernel compile.
As for the XFree configuration part, you'll want to change /dev/mouse with /dev/input/mice. _________________ Hello. |
|
Back to top |
|
|
Godvalve n00b
Joined: 27 Jun 2003 Posts: 34 Location: Canada
|
Posted: Mon Jun 30, 2003 8:48 pm Post subject: |
|
|
Ok.. I finally got this mess straightened up. My mouse is now properly accessable through /dev/usbmouse.
I had to recompile the kernel as layed out above. It turns out that my kernel modules were not properly compiling. A "make mrproper" solved this and now a lsmod shows the modules:
mousedev
usbcore
usb-ohci
hid
input
nvidia
In order to actually get the kernel to compile after the mrproper I had to delete (well, that's how I fixed the problem with unresolved symbols in nvidia.o) /usr/src/linux/video/nvidia.o and "emerge nvidia-kernel" afterwards to get my nvidia module active (I didn't know this to start with)
Thx to everyone for their help. It's time to install KDE. _________________ Slartibartfast touched a button and added, not entirely reassurringly, 'It scares the willies out of me. Hold tight.' |
|
Back to top |
|
|
plate Bodhisattva
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
|
Back to top |
|
|
|