View previous topic :: View next topic |
Author |
Message |
Xptos n00b
Joined: 29 May 2002 Posts: 53 Location: Japan
|
Posted: Sat Jul 05, 2003 12:17 am Post subject: USB Mouse Prob |
|
|
I know you guys prob get tired of these...
"lsmod" outputs:
usb-uhci
hid
usbcore
mousedev
input
If I use the line:
gpm -m /dev/psaux -t ps2 -M -m /dev/input/mice -t imps2
I get a working touchpad, but no USB mouse. BTW, the USB mouse does lite up.
I have also done:
cat /dev/psaux
and confirmed that I get output on the screen. If I do:
cat /dev/input/mice
I get nothing. Can anyone provide input on my prob? |
|
Back to top |
|
|
gnoodle n00b
Joined: 06 Jun 2003 Posts: 45 Location: Los Angeles, California
|
Posted: Sat Jul 05, 2003 2:19 am Post subject: |
|
|
just some random thoughts:
-- does it help at all if you unplug the usb mouse and replug it?
-- maybe the module should be "usb-ohci"?
what is the output of "lsusb"? _________________ Gnoodle's Not Only an Open source Devoted Linux Enthusiast
Linux: the choice of a GNU generation |
|
Back to top |
|
|
Xptos n00b
Joined: 29 May 2002 Posts: 53 Location: Japan
|
Posted: Sat Jul 05, 2003 3:21 am Post subject: |
|
|
lsusb is not on my system.
I tried usb-ohci and it failed to load. I also tried uhci.o. This loaded ok, but still no mouse. |
|
Back to top |
|
|
gnoodle n00b
Joined: 06 Jun 2003 Posts: 45 Location: Los Angeles, California
|
Posted: Sat Jul 05, 2003 3:34 am Post subject: |
|
|
hmmm...my usb mouse works with just the following modules loaded:
usbcore
usb-uhci
hid
let's eliminate any physical issues. is the mouse connected directly to the computer's usb port, or through a hub? is the hub loading / powering up properly?
are you running gpm and x windows simultaneously?
also, are you sure about the kernel configuration settings? if i remember, there were some settings to make sure you had set and did not set. _________________ Gnoodle's Not Only an Open source Devoted Linux Enthusiast
Linux: the choice of a GNU generation |
|
Back to top |
|
|
Xptos n00b
Joined: 29 May 2002 Posts: 53 Location: Japan
|
Posted: Sat Jul 05, 2003 3:40 am Post subject: |
|
|
I didn't have "config_usb_hidinput" enabled. I enabled it and I am rebuilding at this time. I'll let you know if it works. |
|
Back to top |
|
|
Xptos n00b
Joined: 29 May 2002 Posts: 53 Location: Japan
|
Posted: Sat Jul 05, 2003 3:46 am Post subject: |
|
|
Yeppers, I had missed turning on an option in there. |
|
Back to top |
|
|
Xptos n00b
Joined: 29 May 2002 Posts: 53 Location: Japan
|
Posted: Sat Jul 05, 2003 3:53 am Post subject: |
|
|
OK, now, if gpm is enabled, X takes a long time to start and only my USB mouse works in X.
If gpm is disabled, both my touchpad and my usb mouse works and X starts really quick.
Any ideas? |
|
Back to top |
|
|
gnoodle n00b
Joined: 06 Jun 2003 Posts: 45 Location: Los Angeles, California
|
Posted: Sat Jul 05, 2003 4:40 am Post subject: |
|
|
my understanding is that gpm and x windows don't play nice. it's either one or the other, but not both at the same time.
i could be wrong, though, since i don't use gpm anymore. when i do command-line stuff i really don't use the mouse. i use both command-line interfaces (tty terminals) and x windows...in fact, i just have my system start gdm/xdm automatically, and then alt-f1 into the command line interface.
if you need gpm and x windows at different times, the "easy" solution would be to manually shut one down and start the other. but other than creating your own bash script to do that, i don't know of another solution.
however, if you just want the usb mouse for x windows, you really don't need gpm.
if need help kludging together a script (or tweaking your XF86Config file for x windows), then let me know. _________________ Gnoodle's Not Only an Open source Devoted Linux Enthusiast
Linux: the choice of a GNU generation |
|
Back to top |
|
|
|