Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I bought this little usb mouse for my notebook, but I can't get the thing to work, no matter what I do.
I am running Ubuntu Hoary. 2.6.11. On my desktop, I am running basically hte identical kernel config, and it works fine. When I put the mouse in the usb port of my notebook, tho, nothing shows up in lsusb... if i do -v , it shows that C_Connect on the port, but nothign more. On my desktop, it shows the hardware brand, etc, and even works. The bizarre thing is that my usb flash drive works great.
cat /dev/input/mice gets nothing
but neither does /dev/psaux , which is my other mouse...
Is it possible, that for some reason, the usb module won't allow power to the receiver for this mouse? Because when i plug in my desktop keys and mouse i get no power lights on the receiver, and same situation with lsusb, etc. Is there a way to change this?
James
Last edited by JamesGolick; 04-18-2005 at 03:32 PM.
According to the 2.6.11-7 /Documentation/input/input.txt:
Code:
2. Simple Usage
~~~~~~~~~~~~~~~
For the most usual configuration, with one USB mouse and one USB keyboard,
you'll have to load the following modules (or have them built in to the
kernel):
input
mousedev
keybdev
usbcore
uhci_hcd or ohci_hcd or ehci_hcd
usbhid
After this, the USB keyboard will work straight away, and the USB mouse
will be available as a character device on major 13, minor 63:
crw-r--r-- 1 root root 13, 63 Mar 28 22:45 mice
This device has to be created, unless you use devfs, in which case it's
created automatically. The commands to do create it by hand are:
cd /dev
mkdir input
mknod input/mice c 13 63
After that you have to point GPM (the textmode mouse cut&paste tool) and
XFree to this device to use it - GPM should be called like:
gpm -t ps2 -m /dev/input/mice
And in X:
Section "Pointer"
Protocol "ImPS/2"
Device "/dev/input/mice"
ZAxisMapping 4 5
EndSection
When you do all of the above, you can use your USB mouse and keyboard.
I would make sure the following modules are loaded for your case:
input
mousedev
usbcore
uhci_hcd or ohci_hcd or ehci_hcd
usbhid
The look to see if /dev/input/mice is there. If so, then try the cat /dev/input/mice command again.
FWIW I'm having the same problem with a Slack 10.1 box. PS2 mouse works fine but a USB won't. Tomorrow I'm going to try plugging the USB mouse into a PS2 port with an adapter. Yes, if it works it's the easy way out but I just don't have the time to jump through all the hoops. I'll let you know how it comes out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.