----- Original Message ----- From: "Simon Roby" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 01, 2002 2:43 PM Subject: Re: [Xmame] [OT} Preliminary Report: Act-Labs USB Lightgun
> > Mandrake detected it as a generic USB mouse and loaded the modules for > > it. I wasn't happy with this because Mandrake also took liberty to > > change the symlink for /dev/mouse (which was pointing to /dev/psaux) > > to point to /dev/usbmouse (which is of course, a symlink to > > /dev/input/mouse) > > Ugh. Both gpm and X support multiple mice perfectly, however the people who > work at distros like Redhat and Mandrake don't seem to be aware of that, so > getting multiple mice to work properly requires some work. See below for a > reciepe. > > > The mouse doesn't really move to where the gun is pointing. But I think > > this could also be something related the usbmouse drivers. You need to > > set the X and Y resolution in the kernel config (maybe you can do this > > from the command line, I don't know...). I was running at 800X600 and > > the usb resolution was set for 1024 x 768. > > I'm not sure, but I think you can specify this resolution as a parameter to > the hid mouse module. Look at the manpage for modprobe and the output of > modinfo for this module (forgot the name). > > > Another problem I have to overcome is that the PS/2 mouse doesn't work > > when the gun is plugged in, even though it is the "core" pointing > > device. Has anyone had any luck getting both a USB and PS/2 mouse > > working at the same time (I've only been able to get a PS/2 and a > > serial trackball working at the same time) > > The best way to make both PS/2 and USB mice coexist in the same environment > is to tell gpm to use them both and to enable its "repeater" redirection > which sends the combined signal to the pipe /dev/gpmdata, then tell X to use > this repeater as a PS/2 mouse. Last time I checked, Mandrake uses gpm, so > check out the manpage to gpm and edit your bootscripts (manually!) to fix > gpm's parameters. Then, edit your X config to use /dev/gpmdata only. If > everything has been set up correctly, both mice should work correctly under > both the console and X. > NB. This also overcomes the silly limitation in the kernel's PS/2 mouse > driver that won't allow it to be used by more than one program (ie. gpm and > X). The USB mice don't suffer this problem. Forgot to include my own call of gpm as an example: gpm -Rimps2 -m /dev/psaux -t ps2 -M -m /dev/input/mice -t imps2 -Rimps2 -> use repeater feature: send a imps2 signal to /dev/gpmdata so that X can use it -m /dev/psaux -t ps2 -> first mouse: ps2 signal from PS/2 port (this is the 3button trackpoint of my laptop; change to imps2 if your PS/2 mouse has a wheel) -M -> tells gpm to use a second mouse defined after this -m /dev/input/mice -t imps2 -> second mouse: imps2 signal from USB port (the hid mouse driver emulates a PS/2 mouse) > > > Over all I think this gun works well. I was able to shoot my desktop > > and open folders on it when I was able to hit them. I tried xmame, of > > course, but I coulnd't set the fire button to the mouse button. But I > > made do with hitting control while clicking the trigger. I made it to > > the end of the first level of Operation Wolf (opwolf). > > AFAIK, you need to enable mouse support under xmame in order to use mouse > buttons. > > Anyway, I wish you good luck making everything working correctly! Over and > out. _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame
