LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-27-2003, 01:58 PM   #1
edfinegan
Member
 
Registered: Jul 2003
Location: New Jersey, USA
Distribution: Debian unstable
Posts: 33

Rep: Reputation: 15
X config problem with scroll mouse


I'm running a Debian unstable system. The system as been running for about 6 months now and i have been very happy with it. However for some reason the scroll mouse is not fully functional. I can scroll with the wheel but any click with is no longer does anything. These worked in the passed and i'm not sure if i broke it, or i broke during an apt-get update. Anyway here is my XF86Conifg-4 file. I'm guessing the problem is in it, altough i haven't been able to find it.

### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree87
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "yes"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-110
VertRefresh 48-170
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

### END DEBCONF SECTION

If there is any other info that may be need please let me know, this problem has stumped me for a while. I hope someone out there has the magic answer that will fix this.

Thanks
Ed
 
Old 07-27-2003, 02:02 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You have two mouse sections if your file, perhaps that's confusing it. Is it a usb mouse or does it plug into the mouse socket or do you have 2 mouses hooked up?

# Configuring X
Linux Hardware Compatibility HOWTO - video cards
The Linux XFree86 HOWTO
Common X configuring tools:
Debian - dpkg-reconfigure xserver-xfree86
Mandrake - XFdrake
Redhat 7.3 down - the setup utility leads to several config tools
Redhat 7.3 up - redhat-config-xfree86
You may have these tools:
XF86Setup
XFree86 -configure
Xconfigurator
xf86cfg
xf86config
xconf
ATI Linux drivers
If you need the nVidia driver, most likely, you want the Linux IA32 driver
 
Old 07-27-2003, 02:07 PM   #3
edfinegan
Member
 
Registered: Jul 2003
Location: New Jersey, USA
Distribution: Debian unstable
Posts: 33

Original Poster
Rep: Reputation: 15
Yeah i saw that 2 mouse thing. I was leaving it in originally because i want to be able to plug in a usb mouse if i ever needed to. But since i haven't yet i don't think i really will be. I"ll back that file up and take that out. I also am gong to take out all the extra monitor setting. I don't Think i really need those eaither
Thanks
 
Old 07-27-2003, 02:11 PM   #4
edfinegan
Member
 
Registered: Jul 2003
Location: New Jersey, USA
Distribution: Debian unstable
Posts: 33

Original Poster
Rep: Reputation: 15
Ok here is my new XFree86 file. All i did was take out some of the extra stuff. I'm not a expert on confing X so if anyone has any other ideas let me know


### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-110
VertRefresh 48-170
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x1200" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

### END DEBCONF SECTION


Thanks again
Ed
 
Old 07-27-2003, 05:59 PM   #5
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
To your

Section "InputDevice"
Identifier "Configured Mouse"


add the line

Option "Buttons" "5"

and see if that works.

I am pretty certain that you need to tell X that you have 5 buttons in order to get the ZAxisMapping for Buttons 4 and 5.

And why 5 buttons you ask?

Button 1 -- left

Button 2 -- wheel click

Button 3 -- right

Button 4 -- wheel rotation forward

Button 5 -- wheel rotation backward

(I may have the forward and backward back to front thought!)
 
Old 07-27-2003, 10:10 PM   #6
edfinegan
Member
 
Registered: Jul 2003
Location: New Jersey, USA
Distribution: Debian unstable
Posts: 33

Original Poster
Rep: Reputation: 15
I added the:
Option "Buttons" "5"
thing and I had no luck. I'm wondering if it is somthing in the lastest X package in debain unstable???
 
Old 10-07-2003, 02:32 AM   #7
Avancer
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Lightbulb

Did you try to change the protocol for the standard mouse?
ImPS/2 is for the USB mouse only (as far as I know).
Try changing to "PS/2" that should work, if you use a generic PS/2 Mouse.

HTH.
 
Old 10-07-2003, 03:11 AM   #8
Avancer
LQ Newbie
 
Registered: Oct 2003
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Talking success: scroll mouse under Xfree4.3.0

ok now... I tried it by myself!

I found http://www.xfree86.org/current/mouse.html
was a good source for configuring.

My HP PS/2 scroll mouse now scrolls
and does anything as wanted.

I just corrected the mouse section as followed:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "Auto"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "Auto"
Option "ZAxisMapping" "4 5"
EndSection

This should work with your USB Mouse too now!

But be shure to activate the kernel drivers for USB-HID and
USB-mouse support.
And dont't forget Input core support and Mouse support (mousedev under kernel/drivers/input) because otherwise
/dev/input/mice won't be available.
For debian you can do this under modconf.

Have more fun now with your scroll mouse
 
Old 10-07-2003, 06:57 PM   #9
edfinegan
Member
 
Registered: Jul 2003
Location: New Jersey, USA
Distribution: Debian unstable
Posts: 33

Original Poster
Rep: Reputation: 15
Hey thanks, I think I found my probelm. Thanks for the help
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mouse scroll problem blueprobe Linux - Newbie 2 02-22-2005 12:22 PM
scroll mouse problem after edit salahuddin_66 Slackware 5 09-01-2004 04:55 AM
Problem with SB Live and scroll on mouse. teekaay Slackware 11 01-09-2004 03:31 AM
Scroll mouse problem cyberswami Linux - Hardware 2 01-08-2004 06:51 AM
Scroll feature in Logitech Scroll mouse does not work ssmaitra Linux - Hardware 6 11-11-2003 07:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:11 PM.

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