Main > Linux

current status of gentoo linux / advmame

<< < (13/16) > >>

Major Rock Hardy:

--- Quote from: MotorHedJr on February 04, 2006, 08:57:56 am ---
BTW-- Be sure to go into your udev rules and change permissions for the event driver.  I had to do this -- otherwise the RAW driver will take precedence over it...


--- End quote ---

... strange... I was pretty sure that the raw vs. event mode inputs were an advancemame concept and it basically meant:

EVENT MODE: advmame takes its input from anything it can find by opening /dev/input/event0 through /dev/input/event31

RAW MODE: advmame takes its input from anything it can find by opening /dev/input/js0 through /dev/input/js3 , /dev/input/mouse0 through /dev/input/mouse3 , etc.

... the fact that you had to change permissions in order for one to take precedence over the other probably means you have (in your advmame.rc):
device_joystick raw event
-or-
device_joystick auto

If you desire to use event and not raw, then just make it read:
device_joystick event
...
thanks for posting our PM thread - hopefully it will help someone.
...
as for your calibration utility - what are your joystick symptoms that make you feel like you need to calibrate?

also, I'm afraid the gentoo joystick wiki is a bit geared towards installing joysticks that run off the gameport of a sound card... I would reccommend reading your kernel documentation on inputs here:

/usr/src/linux-2.6.14-gentoo-r2/Documentation/input/input.txt (read this one first)
and maybe
/usr/src/linux-2.6.14-gentoo-r2/Documentation/input/joystick.txt


--- Quote from: screaming on February 03, 2006, 11:16:59 am ---MRH: Keep up the great work! 

--- End quote ---

Hey thanks man, I hope all my hard work at least will help someone other than myself - although sometimes I kind of feel like I'm either crazy or masochistic or both.

just for my information, is there anyone out there following this thread that is interested in a gpwiz49 driver for linux?

Rock

whammoed:

--- Quote from: Major Rock Hardy on February 04, 2006, 12:20:18 pm ---
just for my information, is there anyone out there following this thread that is interested in a gpwiz49 driver for linux?

Rock


--- End quote ---

I have no current plans for the gpwiz49 but I'd love to have that option there.

Also, are there any issues with using a non-analog usb gamepad type device in linux...like the regular gpwiz?  I was thinking of using one on my next project.

thanks!

Major Rock Hardy:
I have no regular gpwiz to try but I would guess there shouldn't be a problem at all.

I have plugged in this cheapy gamepad that I mentioned in this thread:
http://forum.arcadecontrols.com/index.php?topic=49364.0

and advj recognized it as a joystick.  All 10 buttons work, including SELECT and START, however the gamepad axes were mapped to Z and something else, instead of X and Y.  Wierd.  You should be able to take care of this with input mapping though.

Major Rock Hardy:
Hey all -

I realized today that I didn't have any sound coming when I ran advmame.  You know you've been screwing around with joystick code too long when you don't realize your sound is broken!  I checked my .rc file and nothing is out of place.  After some websearching about "alsa no sound" etc., I came to the realization that I haven't had sound for a while - and I did some playing around with a newer kernel.  Anyway, I had ended up staying with kernel gentoo-sources-2.6.14-r2 (my original).  Well, I couldn't remember having sound working since then.  Hmmm...

I remember at some point a few days after trying 2.6.15, I re-linked /usr/src/linux to point to the older 2.6.14 directory.  Thought that might have something to do with it, so I checked and it was still pointing to my older 2.6.14 directory. 

I mucked around with alsamixer for a while, nothing there fixed anything.  I even did a make menuconfig, removed everything alsa, then a make && make modules_install.  Then went back in to make menuconfig, re-added alsa stuff, then a make && make modules_install.  Still didn't fix anything.  Then finally went in as root and ran alsaconf.  Upon exiting, sound worked!  Alsaconf does several things (not to mention rebuilding the kernel twice), one of which is modules-update.

I'm not sure which of these things did the trick, but if you have problems try one of the above!

Rock

Major Rock Hardy:
WOO HOO!  :o

I got my analog controls working!  It took a similar, but slightly more involved hack of the usb input driver but my A-PAC is working like a charm now!  And I would say it almost feels better playing stunrun than in win2k.

Now on to write the program to switch the modes of the gpwiz49 boards... which apparently only one person (other than myself) is partially interested in...

Word to yo' moms...

Rock

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version