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

Re: mouse doesnt work in console



Andres LG wrote:
> I cant use mouse in console, even though I installed gpm.
> this is my /etc/gpm.conf

I think you have an error in your config file.

> device=/dev/psaux
> responsiveness=
> repeat_type=raw
> type=imps2
> append=""
> sample_rate=

Looks fine to me.  I presume by this you have a ps2 wheelmouse.

> In X, it is working OK because I have it configured like this in XF86Config-4:
> 
> Section "InputDevice"
> 	Identifier	"Configured Mouse"
> 	Driver		"mouse"
> 	Option		"CorePointer"
> 	Option		"Device"		"/dev/psaux"

That is incorrect.  It should be /dev/gpmdata.  But you knew that.

> 	Option		"Protocol"		"ImPS/2"

Correct if the gpm.conf was correct.

> I want it to work fine in console before changing to /dev/gpmdata in X
> 
> any suggestion? 

Yes.  Stop X first.  Get it working on the console before worrying
about it working in X.  By leaving X reading from /dev/psaux you now
have two different processes reading the same device.

Note that depending upon the presence of 'mousedev' as a kernel module
mouse events will be automatically repeated to /dev/input/mice which
should also be in your X config file.  See the kernel docs on mousedev
for more information.

Bob

Attachment: pgpoi6n5C2qcR.pgp
Description: PGP signature


Reply to: