Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB mouse wheel not working [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
TrumpetX
n00b
n00b


Joined: 14 Dec 2004
Posts: 23

PostPosted: Tue Dec 14, 2004 10:44 pm    Post subject: USB mouse wheel not working [SOLVED] Reply with quote

First off, yes - I've read through the other threads... nothing seems to work either!

Here's the info that I can think to give:

I'm running on a laptop w/ a trackpad mouse (works fine) and a USB mouse (works fine, except wheel)
The wheel mouse is a Microsoft optical wheel mouse, PS2 compatible.

I've tried imwheel with the line added to .bashrc , but I don't understand what it does or how it works so I have since unmerged it. It didn't work anyway...


/etc/X11/xorg.conf

Code:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
EndSection

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "auto"
    Option "Buttons" "5"
    Option "Device" "/dev/input/mouse1"
    Option "ZAxisMapping" "4 5"
EndSection


bash-2.05b# cat /usr/src/linux/.config | grep USB
Quote:
CONFIG_BT_HCIUSB=m
# CONFIG_BT_HCIUSB_SCO is not set
# CONFIG_BT_HCIBFUSB is not set
# USB-based Watchdog Cards
# CONFIG_USBPCWATCHDOG is not set
CONFIG_VIDEO_CPIA_USB=m
# ALSA USB devices
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_USX2Y is not set
# USB support
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_SPLIT_ISO=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m

# USB Device Class drivers
# CONFIG_USB_AUDIO is not set
# USB Bluetooth TTY can only be used with disabled Bluetooth subsystem
# CONFIG_USB_MIDI is not set
CONFIG_USB_ACM=m
# CONFIG_USB_PRINTER is not set
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_RW_DETECT is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
# USB Human Interface Devices (HID)
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y

# USB HID Boot Protocol drivers
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# USB Imaging devices
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# USB Multimedia devices
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_STV680 is not set
# CONFIG_USB_W9968CF is not set
# USB Network adaptors
CONFIG_USB_CATC=m
CONFIG_USB_KAWETH=m
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_USBNET=m
# USB Host-to-Host Cables
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_GENESYS=y
CONFIG_USB_NET1080=y
CONFIG_USB_PL2301=y
# Intelligent USB Devices/Gadgets
CONFIG_USB_ARMLINUX=y
CONFIG_USB_EPSON2888=y
CONFIG_USB_ZAURUS=y
CONFIG_USB_CDCETHER=y
# USB Network Adapters
CONFIG_USB_AX8817X=y
# USB port drivers
CONFIG_USB_USS720=m
# USB Serial Converter support
# CONFIG_USB_SERIAL is not set
# USB Miscellaneous drivers
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
CONFIG_USB_AUERSWALD=m
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_TEST is not set
# USB Gadget Support
# CONFIG_USB_GADGET is not set


When I

cat /dev/input /mouse0
=mouse movement from trackpad only

cat /dev/input/mouse1
=mouse movement from mouse only, wheel doesn't respond, wheelbutton acts as a third button

cat /dev/input/mice
= mouse movement, wheels don't respond, but wheelbutton acts as a third mouse button, trackpad responds



ANY help is appreciated... thanks in advance.


Last edited by TrumpetX on Wed Dec 15, 2004 4:36 am; edited 1 time in total
Back to top
View user's profile Send private message
Vanquirius
Retired Dev
Retired Dev


Joined: 14 Jun 2002
Posts: 1297
Location: Ethereal plains

PostPosted: Tue Dec 14, 2004 10:48 pm    Post subject: Reply with quote

Did you try this?

Code:
    Option "Device"      "/dev/input/mice"
    Option    "Protocol"    "IMPS/2"
    Option    "ZAxisMapping"    "4 5"

_________________
Hello.
Back to top
View user's profile Send private message
TrumpetX
n00b
n00b


Joined: 14 Dec 2004
Posts: 23

PostPosted: Tue Dec 14, 2004 10:49 pm    Post subject: Reply with quote

yep. still stumped :/
Back to top
View user's profile Send private message
Garrido
n00b
n00b


Joined: 15 Dec 2004
Posts: 58

PostPosted: Wed Dec 15, 2004 1:49 am    Post subject: Reply with quote

I'm having the same problem - same mouse, only on a desktop. It has worked before in other distros, namely Conectiva 10 and FC3, with no extra configuration needed. I'm about to re-install Conectiva on another partition, if it works there I'll post the config files here, maybe it'll help...
Back to top
View user's profile Send private message
jschellhaass
Guru
Guru


Joined: 20 Jan 2004
Posts: 341

PostPosted: Wed Dec 15, 2004 3:12 am    Post subject: Reply with quote

Which USB host controller driver is being loaded OHCI or UHCI?

I had a similar problem when the incorrect one was being loaded.

jeff
Back to top
View user's profile Send private message
TrumpetX
n00b
n00b


Joined: 14 Dec 2004
Posts: 23

PostPosted: Wed Dec 15, 2004 3:17 am    Post subject: Reply with quote

hmm, as the output above shows, i think both are being loaded as modules (sorry if i use the wrong terminolgy, i'm a gentoo n00b, ex-redhat -- i.e. never compiled a kernel before gentoo-- folk.)


so, should i be loading one of those only?
Back to top
View user's profile Send private message
jschellhaass
Guru
Guru


Joined: 20 Jan 2004
Posts: 341

PostPosted: Wed Dec 15, 2004 3:35 am    Post subject: Reply with quote

Yes, only one of them should be loaded. Since they are modules you can remove and add them back in.

lsmod will list the currently loaded modules

modprobe -r <module name> will remove a module.
modprobe <module name> will load a module .

jeff
Back to top
View user's profile Send private message
TrumpetX
n00b
n00b


Joined: 14 Dec 2004
Posts: 23

PostPosted: Wed Dec 15, 2004 3:44 am    Post subject: Reply with quote

I removed OHCI_HCD and my mouse stopped working, then I removed UCHI_HCD as well


I added back each one separately and noticed that only OHCI brought life to my mouse.


I have not rebooted yet, but still no mouse wheel with only OHCI loaded.
Back to top
View user's profile Send private message
jschellhaass
Guru
Guru


Joined: 20 Jan 2004
Posts: 341

PostPosted: Wed Dec 15, 2004 3:56 am    Post subject: Reply with quote

Does your system support USB 2.0? If it does you also need to load ehci if it isn't loaded. ehci should be loaded before ohci I believe.

What shows up dmesg after loading ehci? ohci? unplugging the mouse and plugging it back in?

jeff
Back to top
View user's profile Send private message
TrumpetX
n00b
n00b


Joined: 14 Dec 2004
Posts: 23

PostPosted: Wed Dec 15, 2004 4:09 am    Post subject: Reply with quote

dmesg:

ohci_hcd 0000:00:03.0: wakeup
usb 1-1: new low speed USB device using address 4
input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:03.0-1


I don't think the modules are in the correct order... how does one change that ?

EDIT ADDITION:

During this last reboot (I tried making sure the mods were loaded in order by removing them and readding them in the order you suggested.)
I noticed during the coldplugging USB that the modules "mousedev" and "input" failed -- I've noticed this before, but it does not always happen. My mouse still works; however, still no mouse wheel.



PS-thanks for your help Jeff
Back to top
View user's profile Send private message
jschellhaass
Guru
Guru


Joined: 20 Jan 2004
Posts: 341

PostPosted: Wed Dec 15, 2004 4:25 am    Post subject: Reply with quote

You should be able to unload ohci then load ehci (if needed) then reload ohci.

Once you have determined if you need ehci or not I would go back to my xorg.conf and change the mouse protocol to IMPS/2 and device to /dev/input/mice and see if that helps.

jeff
Back to top
View user's profile Send private message
TrumpetX
n00b
n00b


Joined: 14 Dec 2004
Posts: 23

PostPosted: Wed Dec 15, 2004 4:37 am    Post subject: Reply with quote

glory glory!


thank you very much for your help... I'm going to attribte this to loading those two modules together instead of just one of them. Once i set IMPS/2 & /dev/input/mice & reboot, the wheel suddenly starts working!


Now, do you know anything about wireless cards? j/k new post :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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