USB mouse thru a USB modem & linux support
hello everyone. I had Genius NetMouse Pro (ps/2). I switched tao Microsoft Wheel Optical Mouse. Everything works the same, except that I want to PLUG in in USB (rather than ps/2) anymore. (I also have the MS Natural Keyboard PRO [which has sth like a usb hub] and it works great if i plug there my mouse! -in windows of course..)
I don't have place in my motherboard for another USB, so I want to to plug it in my keyboard's USB. My question is: how will I say to Slackware, to look for the mouse in the USB "hub" of my Keyboard? thanks.. ps. Someone who will read this post, might think that I am Microsoft fan or sth.. But the products I bought from Microsoft is HARDWARE. And I strongly believe that Microsoft's Hardware Products (mice & keyboards & gamepads) suit me perfect. So this is all about hardware and I hope I don't give help to Microsoft expand the software monopoly.. that was my ps. Thank you for reading, hope you reply.. :D |
I have a usb hub with a usb mouse plugged in, and when I installed slack I turned on usb probing. If you have that turned on, it should recognize the hub and it either loads modules automatically or uses drivers in the kernel. This is all I had to do (usb mice and keyboard are pretty well supported nowadays). I think you might have to uncomment some lines in /etc/rc.d/rc.modules but I'm not sure. And you have to change your X config to use the usb mouse, too.
|
in /etc/X11/XF86Config :
if your Section "ServerLayout" says this: InputDevice "Mouse0" "CorePointer" use that mouse name in the Section "InputDevice" Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Device" "/dev/mouse" Option "Name" "AutoDetected" Option "Protocol" "IMPS/2" Option "Vendor" "AutoDetected" Option "ZAxisMapping" "4 5" EndSection depending on how many buttons your mouse has that ZAxisMapping may or may not work for your scroll wheel. you may want to look up which numbers to use. |
the problem is that the kernel (while booting) doesn't see my mouse, and doesn't let me to type (I have to unplug the mouse from the usb port in the keyboard!)
any ideas? |
anyone..? :(
|
what does your lsmod say?
Cheers, Tink |
a) keyboard freezes when I use the mouse from USB motherboard or hub's port, even though it says it founds the HUB and also the 3 button (?) intelli mouse and all that stuff, it also says about a device not being claimed by any driver.. [these recognition happens only when the mouse is on usb port in motherboard ONLY, cause while on the hub's port, just freezes..]
As I said, I used to have a PS/2 and now It only works fine (?) when i have it plugged in PS/2 but this is temporary for me.. (ok there is also a USB modem working fine, after a mknod I maid) even now, with the new Mouse in the PS/2, dmesg says about USB: Quote:
b) lsmod Quote:
GOSH! why WINDOZ find it automatically?:tisk: |
Suddenly the kernel did some MAGIC!
a) in one boot, kernel saw the mouse as INTELLI MOUSE 3BUTTON b) afterwards I got disappointed.. WHAT DID I DO TO HAVE IT WORKING RIGHT NOW I AM NOT SO SURE.. BUT, I disabled automatic gpm launch while booting.. (this was needed once) The settings in GPM and XF86CONFIG file were the SAME (and are the same, that is working flawlessly) After DISABLING the GPM, I had my pc working.. I then tried to enable GPM (automatically, rather than typing manually the stuff- when I did that manually worked fine [the same settings!] and guess what, now it works AUTOMATICALLY and all go well) I didn't change anything, and all works as I had changed sth.. :| don't know if anyone believes me, yet I now have other MOUSEDEV, KEYBDEV, INPUT (important!) and HID (or the heck is that!) Don't know if the problem was that SLACKWARE wanted once to boot without gpm (but that fixed my problem) Go figure.. [the whole thing reminded me a bit of WINDOWS.. hehe] Now I am happy and working (hope the USB-magic keeps working!) if anyone has a explaination about the GPM making problem to the kernel I can listen to him.. (you see I don't believe in MAGIC) |
All times are GMT -5. The time now is 07:32 AM. |