Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Advmame v90 and ADvmenu 2.4.5 is out  (Read 1040 times)

0 Members and 1 Guest are viewing this topic.

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:Yesterday at 08:38:47 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

whammoed

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2310
  • Last login:August 10, 2025, 01:14:45 pm
  • Crack don't smoke itself
    • NiceMite
Re: Advmame v90 and ADvmenu 2.4.5 is out
« Reply #1 on: January 07, 2005, 09:06:37 am »
One of the interesting things in this release:

The USB devices in Linux now have always the same order in the input_map[] specifications

What has been done here is that the devices are now sorted by manufacturer and model number first and the order they are recognized second.  This is the fix for those of you who hack multiple usb game pads but they flip flop order on boot.  Of course the catch is you don't want to use the exact same game pads....need to use different models.  I submitted this feature request because I have three usb mice (optipac and tornado spinner) and one time they changed order.  Although they haven't changed order again since I plugged them in to different sections of the motherboard (I have on set of two and on set of four ports) I thought it would still be a great feature for those using a hub or with only one set of ports.   ***haven't had a chance to test it out yet, I'll report back on it later***

elvis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1154
  • Last login:January 13, 2025, 08:48:40 am
  • penguin poker
    • StickFreaks
Re: Advmame v90 and ADvmenu 2.4.5 is out
« Reply #2 on: January 07, 2005, 04:47:11 pm »
whammoed: what kernel are you using?  For me in 2.6, my USB devices are detected by their entry point on the bus.

For instance, running 2.6.10, my dmesg output says:

usb 2-1: new low speed USB device using ohci_hcd and address 3
input: USB HID v1.00 Gamepad [Mega World] on usb-0000:00:02.0-1
usb 2-2: new low speed USB device using ohci_hcd and address 4
input: USB HID v1.00 Gamepad [Mega World] on usb-0000:00:02.0-2

These never change.  I use them for ZSNES mostly, and they always work in the correct order, even after reboot.

[EDIT] re-reading your post I see you've moved their location.  That's why they change.  You need to always keep them in the same location.  Adding a hub doesn't hurt, as the usb identifier just reports a different location.

eg: here's me adding the same two gamepads above, but this time on a hub:

usb 2-1.1: new low speed USB device using ohci_hcd and address 6
input: USB HID v1.00 Gamepad [Mega World] on usb-0000:00:02.0-1.1
usb 2-1.3: new low speed USB device using ohci_hcd and address 7
input: USB HID v1.00 Gamepad [Mega World] on usb-0000:00:02.0-1.3

Notice the extra digits and at the end of the usb identifier as it becomes aware of a serial hub.

If you develop a MAME setup with USB inputs under linux, you need to do all of your configuration with the devices in the same ports as the final cab will be.
« Last Edit: January 07, 2005, 04:52:58 pm by elvis »

whammoed

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2310
  • Last login:August 10, 2025, 01:14:45 pm
  • Crack don't smoke itself
    • NiceMite
Re: Advmame v90 and ADvmenu 2.4.5 is out
« Reply #3 on: January 08, 2005, 02:18:13 pm »
Using kernel 2.6.5
I only changed the position after they switched order to try and rectify this.  Like I said it only happened once so I am really starting to think it was just a fluke.  I thought they would never change either...but they did, even if it was only once.  Oh well, its still nice to know I will be able to change the way things are plugged in and still have my advmame.rc be valid.

thanks for the info, I'm still new to linux so a lot of it is still magic to me ;)