Main > Linux

current status of gentoo linux / advmame

<< < (9/16) > >>

elvis:
That is pretty crazy.  When the suspect mouse is plugged in, run the "top" program to see your load averages.

All I can suspect is that there's an issue with polling the PS/2 mouse port.  God knows why though.

Out of curiosity, what kernel are you running?  There were known problems with 2.6.10 that had a bad kernel paging issue that ate up all available RAM.  It killed my cocktail cab, and I dropped back to 2.6.9 to fix it.  2.6.13 is all good and fixed, however.

Major Rock Hardy:

--- Quote from: Major Rock Hardy on December 05, 2005, 03:02:25 pm ---My OS:
gentoo-sources 2.6.14-r2 kernel, emerge'd advancemame, alsa

--- End quote ---

not to be pompous - I couldn't remember myself...

anyway, I am really stumped by the PS/2 mouse issue - but I'm not attached to it in the least.  The mouse is only going to be used for development, and I have a USB optipac for my trackballs.  I have switched to a USB mouse for development now, and as far as I'm concerned, the PS/2 driver (or whatever the hell was the problem) can just fahk right off.

I am now in the throes of getting joysticks to work.  I would like to get event to work, but so far only raw has worked.  Any good resources you know of?  And even when I use raw, I can't calibrate it under advmame.  I go to the TAB menu and when I highlight 'calibrate joystick' and hit enter, the menu just kinda blinks and then comes back.  I don't know what it is supposed to do.  I have tried this with both my USB Groovy Game Gear GPWiz49 and my Ultimarc A-PAC.   Any ideas?

Thanks,
Rock

Major Rock Hardy:
ah ha,

I believe I have found part of the event issues... from http://gentoo-wiki.com/HOWTO_Joystick_Setup , I realized I didn't have event stuff set up in my kernel config.  Apparently you need:


--- Code: ---Device Drivers -->
 Input Device Support -->
  <*> Joystick Interface
  <*> Event Interface
   [*] Joysticks
 USB Support -->
  <*> Support for Host-side USB
   [*] USB device filesystem
  <*> EHCI HCD (USB 2.0) support
  <*> OHCI HCD support
  <*> UHCI HCD (most Intel and VIA) support
  <*> USB Human Interface Device (full HID) support
   [*] HID input layer support
--- End code ---

I'll post again to let you know if this helped.

Rock

Major Rock Hardy:
success!  well, at least partially... the changes to the kernel caused the joysticks, keyboard, and mouse to show up as /dev/input/event#!

I had a couple hiccups w/ permissions, for which, I did the following:

chown -R root:games /dev/input/

since my mame user is a member of the group 'games'.  Still not perfect, needed:

chmod 660 /dev/input/event*

I understand from a buddy that this will only change the ownership/permissions temporarily and to do it the right way, permanently, I need to modify some 'udev' stuff.  I'll look into that soon.

Geez, after all this, building the cab is going to be the easy part!

Additionally, this still did not solve my calibration issues... going through the TAB menu to 'Calibrate Joystick' just blinked the menu again.  Is joystick calibration working for anyone under advmame?  If so, please let me know what game and what are your settings for that game (post your .rc file).  Whammoed, you use event joysticks right?  Or are you using a keyboard encoder?

Thanks,
Rock

whammoed:
I use a keyboard encoder.  Don't have any analog sticks anyway, so I still couldn't help there.  I only use the event interface for mice.
Has something changed since 2.6.5 as far as setting permissions?  I seem to remember only using chmod for access to the dev/input and it stuck after reboot...  :-\

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version