Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ok,now I am stumped (USB mouse problems)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 200
Location: Seattle, WA USA

PostPosted: Sun Apr 21, 2002 11:04 am    Post subject: Ok,now I am stumped (USB mouse problems) Reply with quote

Ok,
I have been using MKlinux on an old PPC and Mandrake 8.0 for quite a while, (mostly the mandrake box). I decided to try gentoo this week, and so I started it friday night. I was amazed at how smooth it all went, considering how far over my head I was. I started emerging some more programs today and trying to get X working. I also got the NVidia drivers working (so far as I can tell).

A LITTLE ABOUT MY COMPUTER:
Epox Dual processor motherboard with ONE PIII 933MHz processor. I think the model # of the board is the EP-D3va or something like that. I have 512MB of RAM and Nvidia Geforce 2 64MB AGP card.

NOW THE PROBLEM:
I have a Logitech USB wheel mouse. I can't get it working in Gentoo. I know the hardware is good because I am using it right now (booted back into Mandrake) and have been using it this way for months. I have a hub that it is plugged into but no other USB devices (I had the hub, but no extension cord handy when I hooked it up). I have tried it without the hub and the hub doens't bother mandrake so I know that hardware is good too.

At first I thought I was just missing something in my XFree config file, but then I noticed a few other things. The lights on the hub come on when I reboot or power on, and they stay on like normal until I hit enter in grub. then as all of the boot text (don't know what to call that stuff) is flying by the screen the lights shut off. the overcurrent LED comes on for a while and then all the lights go off. So I guess that once the kernel takes over it just starts ignoring the USB port. I have tried recompiling the kernel with many different combinations of USB and Input Core options chosen. I have tried all that seem logical to me as modules and compiled right in. but nothing seems to work. I can't get any output out of a cat /dev/input/mice kind of statement. when I start X the mouse doesn't respond.

I emerged hotplug and read the man pages for it at one point, becuase I thought that might help. The most I got out of it though was flashing the overcurrent LED before the hub shut off.

Like I said It is all working fine now In mandrake.... including the lights on the hub.

I have read the related stuff at www.linux-usb.org, the readme files in /usr/src/linux/Documentation/usb/, /usr/src/linux/Documentation/input/, I read the help stuff in the program that shows up when you "make menuconfig" and I have searched these forums for related posts. I got some helpful info and fixed some other problems, but I just cant get this working.

I am really stumped now, can anyone point me in the right direction?
thanks,
uglyman
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Apr 22, 2002 9:21 am    Post subject: Reply with quote

hey - can you post the mouse part of your xf86config file?

what dev is it pointing to?

/dev/input/mouse0 ?
Back to top
View user's profile Send private message
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Mon Apr 22, 2002 9:55 am    Post subject: Reply with quote

probably the solution:
Code:

Section "InputDevice"
        Identifier      "Mouse1"
        Driver          "mouse"
        Option          "Protocol" "IMPS/2"
        Option          "Device" "/dev/input/mice"
        Option          "ZAxisMapping" "4 5"
EndSection


this is for an logitech optical wheel mouse on usb, directly at the computer. wheel works fine ;)

loaded kernel modules:
Code:

PHIEPS root # lsmod
Module                  Size  Used by    Tainted: PF
mousedev                4768   1
usbmouse                2560   0  (unused)
input                   5472   0  [mousedev usbmouse]



hth
ElCondor
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Apr 22, 2002 10:03 am    Post subject: Reply with quote

yeah make sure your config file looks like that, or try /dev/input/mouse0

try putting it on the first usb port directly on your mainboard and try again
Back to top
View user's profile Send private message
ElCondor
Guru
Guru


Joined: 10 Apr 2002
Posts: 520
Location: Vienna, Austria, Europe

PostPosted: Mon Apr 22, 2002 10:14 am    Post subject: Reply with quote

i had /dev/input/mouse0 before, this worked okay until you unplugged the mouse. actually, the ps/2 touchpad is still okay, but when re-plugging the usb-mouse it doesn't work anymore till you reload the kernel-module or restart X - that's the reason for /dev/input/mice. maybe this was necessary due to the combination of touchpad & mouse on my notebook.
i don't know if this still works with eg an additional graphics tablet or another mouse-like device connected.

ElCondor
Back to top
View user's profile Send private message
shade
n00b
n00b


Joined: 22 Apr 2002
Posts: 9

PostPosted: Mon Apr 22, 2002 2:32 pm    Post subject: Did you recompile your kernel? Reply with quote

Hello!

If you recompiled your kernel, did you make sure to include UHCI and OHCI? I went with the full HID as well (I've had bad luck in the past with the "basic" support.

Hope this helps you out.

Shade
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 200
Location: Seattle, WA USA

PostPosted: Tue Apr 23, 2002 2:08 am    Post subject: more Info about the problem Reply with quote

Thanks for the help so far!
unfortunately it still isn't working. so far the only good thing that has come out of this is I wrote my first shell script. I made it compile the kernel, mount /boot move the old kernel, replace it, redo the NVidia stuff, umount /boot, and reboot. that saved a little time as
I have recompiled different combinations as modules and in the kernel to try to get it to work. but still no dice. I figured out how to redirect a bunch of command outputs to a file and mount one (the only non reiserfs) mandrake partition so that I could save it there. Now I am back in mandrake (with a working mouse) and I will paste the file into the message. It is just some more info I thought might be helpful. This time I had compiled everything I thought was related as a module so I could modprobe different stuff by hand and experiment. Now I get a little different reaction when trying to start X but still no mouse response and still nothing at /dev/input/mice.

Here is the file:
ls /proc/bus/usb; gives the output:
001
devices
drivers

cat /proc/bus/usb/devices; gives the output:
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=c400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms


cat /proc/bus/usb/drivers; gives the output:
usbdevfs
hub
usb_mouse

lsmod; gives the output:
Module Size Used by Not tainted
usb-uhci 20996 0 (unused)
usbmouse 1792 0 (unused)
mousedev 3776 0
8139too 13728 1
rtc 5916 0 (autoclean)
usbcore 55328 1 [usb-uhci usbmouse]


ls /dev/input; gives the output:
mice

by the way
cat /dev/input/mice; gives no output,
not even when pounding on the mouse and
throwing it against the wall....


Well, that is all, lemme know if you want me to dump any more info like this, this was all I could think of, but I am pretty new to this stuff. I guess I can be happy I wrote my first shell script and learned how to do some redirection. not to mention learning how to reconfig an compile the kernel and mount partitions. I am totally stuck and really appreciate any help.

Thanks again,
uglyman
Back to top
View user's profile Send private message
shade
n00b
n00b


Joined: 22 Apr 2002
Posts: 9

PostPosted: Tue Apr 23, 2002 2:27 am    Post subject: Reply with quote

You're missing the input module! 8O Modprobe it and see if things start working for you, then add it to /etc/modules.autoload and you should be good to go! At least I think so. :?
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 200
Location: Seattle, WA USA

PostPosted: Tue Apr 23, 2002 4:26 am    Post subject: One more try Reply with quote

Thanks for the suggestion, but I
actually had the input module compiled
right in.... sorry I didn't make
this clear.

By the way I tried it as a module
and I modprobed it.... it didn't
seem to make any difference except
show up in lsmod.

it said:
input 0 [usbmouse mousedev]
I tried it with full hid also...
thanks again, but I am still stuck,
lost in lynxland....
uglyman
Back to top
View user's profile Send private message
uglyman
Apprentice
Apprentice


Joined: 21 Apr 2002
Posts: 200
Location: Seattle, WA USA

PostPosted: Tue Apr 30, 2002 6:36 am    Post subject: fixed if anyone cares Reply with quote

well, not that anyone should care
other than me, because it was my
problem. but just in case someone is
digging through the archives and finds
this like I was doing last week...

my problem is fixed. I went out and
bought a new logitech wireless keyboard
and mouse with PS/2 for the keyboard
and a usb to PS/2 adapter for the
mouse. the adapter got the mouse
working..... no I didn't get it
working with USB yet but my immidiate
problem is solved. I guess sometimes
the simplest solution is also the
most expensive...thx for help /ugly
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Tue Apr 30, 2002 7:03 am    Post subject: Reply with quote

Glad you got your problem fixed uglyman, too bad it cost money to get you going again but hey at least you got some new hardware :)
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Al'Capone
n00b
n00b


Joined: 30 Apr 2002
Posts: 70
Location: Toronto Canada

PostPosted: Tue Apr 30, 2002 4:41 pm    Post subject: Reply with quote

going here http://www.linux-usb.org/USB-guide/x194.html will fix your problem





cheers
_________________
if it aint broken..... then... what the heck are you waiting for? ...go mess with it and see if you can make it better
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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