Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get mouse wheel to work to save my life! [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
Ineluki12
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2004
Posts: 93
Location: Missouri

PostPosted: Tue Feb 15, 2005 5:23 pm    Post subject: Can't get mouse wheel to work to save my life! [Solved] Reply with quote

I cant' get my mouse wheel to work in X, andI've tried just about everything I've seen in the forum. My kernel should be peachy. I'm using a laptop and I think some of my problem might be related to the fact that I also have a built-in mouse. I've tried using a PS/2 mouse and various USB mice. xev responds to everything but spinning the wheel, and using cat on the various devices I've tried in xorg.conf shows me it responding to the wheel by moving the cursor backwards. If someone could point me in the right direction, it'd be *much* appreciated. Here's my xorg.conf file (I've tried pretty much all of the options I've commented out.):

Code:

Section "Module"
    Load        "dbe"     # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"
    Load       "glx"
    Load       "dri"
EndSection

######################################################################################################

Section "Files"
    RgbPath   "/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
EndSection

######################################################################################################

Section "ServerFlags"

EndSection

######################################################################################################

Section "InputDevice"
    Identifier   "Built-in KBD"
    Driver   "kbd"

    Option      "AutoRepeat"    "500 30"

#   Option   "Xleds"         "1 2 3"

#   Option     "LeftAlt"       "Meta"
#   Option     "RightAlt"      "ModeShift"

    Option      "XkbRules"   "xorg"
    Option      "XkbModel"   "inspiron"
    Option      "XkbLayout"   "us"
EndSection

######################################################################################################

Section "InputDevice"
    Identifier   "Stick-Pad"
    Driver   "mouse"
    Option      "Protocol"    "Auto"
    Option      "Device"      "/dev/mouse"

#    Option     "Emulate3Buttons"
#    Option     "Emulate3Timeout"    "50"
EndSection

######################################################################################################

Section "InputDevice"
   Identifier   "PS2 Mouse"
   Driver      "mouse"

#   Option      "Protocol"   "Auto"
#   Option      "Protocol"   "IMPS/2"
   Option      "Protocol"   "PS/2"
#   Option      "Protocol"   "Microsoft"

   Option      "Device"        "/dev/input/mice"
#   Option      "Device"        "/dev/input/mouse0"
#   Option      "Device"        "/dev/input/mouse"
#   Option      "Device"        "/dev/usbmouse"
#   Option      "Device"   "/dev/mouse"

   Option      "Buttons"   "5"
   Option      "ZAxisMapping"   "4 5"
EndSection

######################################################################################################

#Section "InputDevice"
#   Identifier   "UsbMouse"
#   Driver      "mouse"
#   Option      "Protocol"   "Auto"
#   Option      "Device"   "/dev/usbmouse"
#   Option      "Buttons"   "5"
#   Option      "ZAxisMapping"   "4 5"
#EndSection

######################################################################################################

Section "Monitor"
    Identifier  "Laptop LCD"
    HorizSync   31.5-110
    VertRefresh 28-90
    Option   "DPMS"   "true"
EndSection

######################################################################################################

Section "Device"
    Identifier   "Standard VGA"
    VendorName   "Unknown"
    BoardName   "Unknown"
#   Chipset   "generic"
    Driver     "vga"
#   BusID      "PCI:0:10:0"
#   VideoRam   256
#   Clocks   25.2 28.3
EndSection

######################################################################################################

Section "Device"
    Identifier  "nVidia GeForce 4 440 Go"
    Driver      "nvidia"
    VideoRam    32768
    # Insert Clocks lines here if appropriate
    # Option "NoLogo" "1" # removes nvidia logo from x11 start
EndSection

######################################################################################################

Section "Screen"
    Identifier  "Screen 1"
    Device      "nVidia GeForce 4 440 Go"
    Monitor     "Laptop LCD"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

######################################################################################################

Section "ServerLayout"
    Identifier  "Simple Layout"

    Screen "Screen 1"

   Option   "BlankTime"   "5"   # Blank the screen after 5 minutes (Fake)
   Option   "StandbyTime"   "10"   # Turn off screen after 10 minutes (DPMS)
   Option   "SuspendTime"   "20"   # Full suspend after 20 minutes

    InputDevice "Stick-Pad"
#    InputDevice   "UsbMouse"
    InputDevice "PS2 Mouse"
    InputDevice "Built-in KBD"

EndSection

######################################################################################################

# Section "DRI"
#    Mode 0666
# EndSection



Also, real quick, what's a good image previewer. I'm running fluxbox, and it's a little ridiculous to use gimp to simply view a jpg or something.

Thanks!!!
-Mitch
_________________
"Before insulting a man, walk a mile in his shoes. That way, he's a mile away and without shoes." --unknown


Last edited by Ineluki12 on Tue Feb 15, 2005 7:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
scmckenzie
n00b
n00b


Joined: 13 Aug 2004
Posts: 20
Location: Salt Lake City

PostPosted: Tue Feb 15, 2005 5:54 pm    Post subject: Reply with quote

The only thing I see in your x.org conf is the mouse protocol. Try changing it from ps/2 to imps/2. I have a built in touchpad that has scrolling capabilities but haven't got it work on X, but when I plug in my USB mouse I can get that scrolling...

Last edited by scmckenzie on Tue Feb 15, 2005 5:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
forgotten1
Guru
Guru


Joined: 11 Jan 2005
Posts: 477
Location: East Coast, USA

PostPosted: Tue Feb 15, 2005 5:55 pm    Post subject: Reply with quote

I thought the ZAxisMapping option should have solved your problem. But it appears that the PS2 doesn't support the wheel, but IMPS2 does.

Check this out:

HOWTO Mouse Scrollwheel

It shows you what to change. Let me know if this helps.
Back to top
View user's profile Send private message
bebzif
n00b
n00b


Joined: 15 Feb 2005
Posts: 9
Location: Brussels

PostPosted: Tue Feb 15, 2005 6:02 pm    Post subject: Reply with quote

forgotten1 wrote:
I thought the ZAxisMapping option should have solved your problem. But it appears that the PS2 doesn't support the wheel, but IMPS2 does.

Check this out:

HOWTO Mouse Scrollwheel

It shows you what to change. Let me know if this helps.


It definitely should : I can confirm I had the same problem and I fixed it using imps/2 and adding ZAxisMapping option.
Back to top
View user's profile Send private message
Ineluki12
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2004
Posts: 93
Location: Missouri

PostPosted: Tue Feb 15, 2005 6:37 pm    Post subject: Reply with quote

I think you guys are looking at the wrong one. I think you're looking at 'Stick-Pad', which is my built-in hardware. It's working great. Take a look at the one below it ('PS2 Mouse'). All the commented lines under that I've tried, including what you suggested. I'll take a look at the link you sent me, but I think it's just going to cover stuff I've already tried. Sorry for not specifying.
_________________
"Before insulting a man, walk a mile in his shoes. That way, he's a mile away and without shoes." --unknown
Back to top
View user's profile Send private message
Ineluki12
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2004
Posts: 93
Location: Missouri

PostPosted: Tue Feb 15, 2005 6:42 pm    Post subject: Reply with quote

I went to the link, and noticed a HowTo for a second mouse at the bottom of the page. This might be my issue. I'll try it and let ya know.
_________________
"Before insulting a man, walk a mile in his shoes. That way, he's a mile away and without shoes." --unknown


Last edited by Ineluki12 on Tue Feb 15, 2005 7:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ineluki12
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2004
Posts: 93
Location: Missouri

PostPosted: Tue Feb 15, 2005 7:07 pm    Post subject: Reply with quote

Hahahahahahahahahah!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Whoooohooooooo!!! I got it! I think it was the "SendCoreEvents" option under serverlayout. Thanks fellas for pointing me down the path!!!
_________________
"Before insulting a man, walk a mile in his shoes. That way, he's a mile away and without shoes." --unknown
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