[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debconf configuring XF86Config-4 with two mice



On Thu, Apr 25, 2002 at 11:09:05PM -0400, Jerome Acks Jr wrote:
> Although I have a working XF86Config-4, I put it together without using
> debconf so it does not have any DEBCONF SECTION. Anyway I decided to
> give debconf a try at managing the file and ran dpkg-reconfigure
> xserver-xfree86. The resulting XF86Config-4 includes a configuration
> for two mice. The configuation works for the most part except for some
> funkyness with the mouse wheel. For example, I use WindowMaker with
> four workspaces. When I roll the mouse wheel to cycle through the
> workspaces, it cycles 2-4-2-4 or 1-3-1-3 rather that 1-2-3-4-1.
> 
> XF86Config-4 from debconf includes: 
> 
> Section "InputDevice"
>         Identifier      "Configured Mouse"
>         Driver          "mouse"
>         Option          "CorePointer"
>         Option          "Device"                "/dev/gpmdata"
>         Option          "Protocol"              "ImPS/2"
>         Option          "ZAxisMapping"          "4 5"
> EndSection
> 
> Section "InputDevice"
>         Identifier      "Generic Mouse"
>         Driver          "mouse"
>         Option          "SendCoreEvents"        "true
>         Option          "Device"                "/dev/input/mice"
>         Option          "Protocol"              "ImPS/2"
>         Option          "ZAxisMapping"          "4 5"
> EndSection
> 
> When I run dpkg-reconfigure, I am only asked question about the
> "Configured Mouse" and I don't seem to have any way to change the
> configuration of the "Generic Mouse" or to remove it entirely. After
> going through the debconf documentation, it is still not clear to me
> how to delete the generic mouse entry from the debconf database.
> Any suggestions on how to do this?  

I use gpm and my mouse wheel works fine in kde. Here are my settings
from Debian/unstable:


#  /etc/gpm.conf - configuration file for gpm(1)
#
#  If mouse response seems to be to slow, try using
#  responsiveness=15. append can contain any random arguments to be
#  appended to the commandline.  
#
#  If you edit this file by hand, please be aware it is sourced by
#  /etc/init.d/gpm and thus all shell meta characters must be
#  protected from evaluation (i.e. by quoting them).
#
#  This file is used by /etc/init.d/gpm and can be modified by
#  /usr/sbin/gpmconfig.
#
device=/dev/psaux
responsiveness=
repeat_type=
type=imps2
append=""


My XF86Config-4 file:

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/ttyS0"
	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"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection
.
.
.

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


/dev/input/mice is a soft link to /dev/psaux.

-Andy


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: