|
发表于 2004-1-7 07:47:08
|
显示全部楼层
还有
[UCLA-LUG] pointing device question
James Lee jwlee@seas.ucla.edu
Wed, 12 Aug 1998 20:26:22 -0700
Previous message: [UCLA-LUG] pointing device question
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
--------------------------------------------------------------------------------
Thanks guys..It is finally working now!! You guys are the best.
Brian Vicente wrote:
> I had something similar before .
> Here's my setup for a ps2 style Microsoft IntelliMouse:
> Protocol "IMPS/2"
> Device "/dev/mouse"
> ZAxisMapping 4 5
> I don'tthink this is a choice ucing the xf86configurator
> I also have :
> /dev/mouse -> psaux
>
> Hope this helps
>
> >On Mon, 10 Aug 1998, you wrote:
> > Is this only for console mode? I tried this but no luck....perhaps, I should
> > mention that my mouse works fine in console mode but not in xwindows? Sorry guys,
> > but I am so eager to get this working so I can finally taste Redhat 6.0! Thanks.
> >
> > Frederick Lee wrote:
> >
> > > Said James Lee <jwlee@seas.ucla.edu>:
> > > >Thanks for your information. I have tried selecting every single protocol
> > > >there is but it's still giving me the same problem. Any other reason why it
> > > >wouldn't work? I can't use Xconfigurator because of my video card. Thanks.
> > > >
> > > >-James
> > > >
> > > >witten wrote:
> > > >
> > > [snip]
> > > >>
> > > >> Sounds to me like you're using the incorrect protocol for the mouse. When
> > > >> I've had that problem before, I've just tried experimenting with different
> > > >> mouse choices until I got the right one. Note that it's preferable to use
> > > >> Xconfigurator instead of xf86config on Redhat 6.
> > > >>
> > > >> Dan
> > >
> > > As a last resort, gpm can be used for the mouse data:
> > >
> > > The General Pupose Mouse (gpm) program is that thingy used to show and use the
> > > mouse in the text console. It has a mode where it can take in the mouse data
> > > and spit it out (translate) into Mouse System protocol. It spits it out into a
> > > named FIFO called "/dev/gpmdata". There are some mouse protocols that gpm
> > > understands that XFree86 can not, so gpm is useful in translating the unknown
> > > mouse movements into something XF68 knows. In the case of bus mice, to use the
> > > mouse in both text console and X, gpm is pretty much required (something about
> > > the bus mouse only allowed to be opened once).
> > >
> > > To set gpm up as a repeater (the translation mode), create a named FIFO called
> > > "/dev/gpmdata" (need to be root):
> > >
> > > bash# mkfifo /dev/gpmdata
> > >
> > > This FIFO should be chown'd to the uid of the gpm that will run. In most
> > > cases, it'll be root (by being exectued from an rc script):
> > >
> > > bash# chown root /dev/gpmdata
> > >
> > > Preferably, the FIFO should be chmod'd to 644, so that any random process won't
> > > mangle mouse data, and it can always be read.
> > >
> > > bash# chmod 644 /dev/gpmdata
> > >
> > > Alternatively, just "chmod 666 /dev/gpmdata" without chown'ing if you don't
> > > expect any rogue processes/users screwing around with the mouse data.
> > >
> > > In X, set it to use Mouse System (I think) protocol, using /dev/gpmdata as the
> > > device.
> > >
> > > In the rc script (or whenever else gpm is being started), gpm needs to be
> > > passed the "-R" (repeater) option. On Red Hat (-based?) boxen, it's in
> > > /etc/rc.d/init.d/gpm. On Debian boxen, /etc/init.d/gpm.
> > >
> > > Also, gpm would need to be configured to recognize the mouse first. If
> > > the mouse works in text console, no need to fiddle with that. Otherwise...
> > > umm... /etc/sysconfig/mouse in RH5.2, /etc/gpm.conf in Debian.
> > >
> > > All this is documented somewhere in one of the HOWTOs, but I can't recall which
> > > one.
> > >
> > > -Fred
> > >
> > > _______________________________________________
> > > Linux maillist - Linux@linux.ucla.edu
> > > http://linux.ucla.edu/mailman/listinfo/linux
> >
> >
> > _______________________________________________
> > Linux maillist - Linux@linux.ucla.edu
> > http://linux.ucla.edu/mailman/listinfo/linux
> --
> "If you would persuade, you must appeal to interest rather than intellect."
> - Benjamin Franklin -
>
> _______________________________________________
> Linux maillist - Linux@linux.ucla.edu
> http://linux.ucla.edu/mailman/listinfo/linux |
|