Ok, here's what I did to set it up:

Mandrake detected it automatically:
Jun  7 16:26:00 ste kernel: hub.c: new USB device 00:10.2-2.1, assigned
address 3
Jun  7 16:26:00 ste kernel: usb.c: USB device 3 (vend/prod 0x61c/0xa700)
is not claimed by any active driver.
Jun  7 16:26:01 ste CROND[13671]: (mail) CMD (/usr/bin/python -S
/var/lib/mailman/cron/qrunner)
Jun  7 16:26:03 ste /etc/hotplug/usb.agent: Setup hid for USB product
61c/a700/100
Jun  7 16:26:04 ste kernel: usb.c: registered new driver hiddev
Jun  7 16:26:04 ste kernel: usb.c: registered new driver hid
Jun  7 16:26:04 ste kernel: usb-uhci.c: interrupt, status 2, frame# 760
Jun  7 16:26:09 ste kernel: usb_control/bulk_msg: timeout
Jun  7 16:26:09 ste kernel: input0: USB HID v1.10 Mouse [ACT LABS ACT
LABS PC USB Light Gun] on usb1:3.0
Jun  7 16:26:09 ste kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech
Pavlik <[EMAIL PROTECTED]>
Jun  7 16:26:09 ste kernel: hid-core.c: USB HID support drivers
Jun  7 16:26:09 ste kernel: mice: PS/2 mouse device common for all mice

lsmod tells me it loaded:
keybdev                 2720   0  (unused)
mousedev                5268   1
hid                    20900   0  (unused)
input                   5664   0  [keybdev mousedev hid]

In my /etc/X11/XF86Config-4 I added a new input device:


Section "InputDevice"
    Identifier "Lightgun"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
EndSection

and added it to my server layout section:

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "SpinnerTrackball" "SendCoreEvents"
    InputDevice "Lightgun" "SendCoreEvents"
    Screen "screen1"
EndSection

Send core events let you use the device as though it were the
corepointer.

Re-strarted X, and did the calibration and it "works." By work I mean,
the mouse moves,the screen flashes but my aim is way off or it's not
calibrated correctly. The docs say the gun prefers 70 refresh rate for
operation, my desktop is running at 60 at 1280x1024. Using xrandr to
switch to one of my lower-res modes, say 800x600 at 85 and recalibrating
gives me the same behavior. 

I read somewhere about getting the device to work as a HID without the
mousedev module somewhere that I'm trying to relocate. More on that as I
find it... Lets see what "damage" I can do in xmame... hmm Operation
wold has always been close to my heart...

Ste




_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to