Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 12-24-2004, 04:12 PM   #1
Registered: Oct 2003
Location: Cincinnati, OH
Distribution: Ubuntu 12.04
Posts: 145

Rep: Reputation: 16
USB wireless mouse not working w/ custom RH kernel

I haven't been able to find anything that matches my problem exactly, so here goes.

This all applies to a Toshiba Satellite 1105.

I recently had to recompile a Red Hat kernel (2.4.20-8) because the default doesn't have NTFS support built in, which means windows partitions are unreadable. The problem I'm having is that after the custom compile the wireless USB mouse isn't communicating with userspace. The trackpad works fine in all situations, but the USB mouse appears to be flaky.

The mouse is connected to a PCMCIA USB 2.0 cardbus adapter which is recognized by the kernel with no issues as far as I can tell. When I plug the mouse in I get encouraging-looking messages in dmesg and /var/log/messages: it recognizes the mouse vendor and the mouse is present in /proc/bus/usb/devices. However, when I do 'cat /dev/input/mice' nothing happens when I move the mouse or press buttons. If I do the same in the kernel where the mouse works, I get the expected jibberish. So the problem appears to lie somewhere between the loading of the mouse driver in the kernel, and getting the computer to relay messages from the mouse to userspace. No errors are being generated in dmesg or /var/log/messages as far as I can tell.

The following modules are loaded: hid, input, mousedev, keybdev, usb-uhci, usb-ohci, ehci-hcd, usbcore. (FYI, I know it's strange for both the uhci and the ohci drivers to be loaded simultaneously, but I've decided that it's because I do indeed have both, uhci for the built-in usb and ohci for the add-in card.)

My PCMCIA is definitely working because I'm connected through a LanSurfer combo card. Here's the really confusing part of it all: the mouse (a Kensington wireless mouse) works fine with the default kernel installed by the distro install; the only change between the kernel where the mouse works and the custom is the extra ntfs module I enabled. I got the config options on the working kernel off the config file in the /boot directory. Given that the mouse works fine in the original kernel I think I can safely assume it's not an X config problem.

Here's the relevant XF86Config section, just in case:

Section "InputDevice"
Identifier "Mouse0" # This would be the trackpad.
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice" # And this would be the USB mouse
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
Option "AlwaysCore"



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logitech USB Wireless Mouse not working anymore linda Linux - Hardware 4 05-08-2008 05:40 AM
Microsoft USB Wireless Optical Mouse (Intellipoint) not working Kritz Linux - Hardware 4 08-22-2005 01:04 PM
USB Mouse not working - kernel vasanthraghavan Red Hat 1 07-19-2005 10:10 PM
USB Wireless Wheel Mouse on Laptop not working llinuxl Linux - Hardware 9 03-16-2004 06:40 PM
usb mouse not working using kernel 2.6 e88z4 Linux - Hardware 8 02-23-2004 05:46 AM > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration