Hello,
Hate for my first post to be a controller issue, but I have been hitting my head against the wall the past couple days trying to get it to work, and am now pretty much admitting defeat and asking for help.
First my setup:
Mupen64plus version 2.0.0
Running on ubuntu 14.04 LTS 64-bit
Here is my situation, I purchased two USB N64 controllers off Amazaon, one of them is a Retro link, the other a no-name generic (did not buy them at the same time). My problem though is they both show up in Mupen as 'Generic USB Joystick '. Now this wouldn't be a problem if i could have the mapping the same, but I cannot as they keys do not match between the controllers. IE the trigger is button 7 on one and 8 on the other.
I cannot find where it is coming up with this name ('Generic USB Joystick ') or how to change it. I have tried all sorts of things, creating udev rules, to editing the udev ID file with no luck. I was able to get lsusb to display different names by editing the usb.ids file in (/var/lib/usbutils) but this has no affect on the name that Mupen shows or that doing a "cat /proc/bus/input/devices".
Here is my (relevant) output from "lsusb"
Bus 003 Device 019: ID 0079:0006 DragonRise Inc. RetroLink
Bus 003 Device 020: ID 0079:0002 DragonRise Inc. GenericN64
(NOTE: I set those names "RetroLink" and "GenericN64" in the usb.ids file)
Here is my (relevant) output from "cat /proc/bus/input/devices"
I: Bus=0003 Vendor=0079 Product=0006 Version=0110
N: Name="Generic USB Joystick "
P: Phys=usb-0000:00:14.0-9/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.0/input/input33
U: Uniq=
H: Handlers=event15 js0
B: PROP=0
B: EV=20001b
B: KEY=fff00000000 0 0 0 0
B: ABS=3002f
B: MSC=10
B: FF=107030000 0
I: Bus=0003 Vendor=0079 Product=0002 Version=0110
N: Name="Generic USB Joystick "
P: Phys=usb-0000:00:14.0-10/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/input/input34
U: Uniq=
H: Handlers=event20 js4
B: PROP=0
B: EV=1b
B: KEY=fff00000000 0 0 0 0
B: ABS=3002f
B: MSC=10
What I would like to know, is where does the N: Name="Generic USB Joystick " come from in that output, and can I change it? Seemingly wherever this is being pulled from is also what Muppen is looking at (only spot I have found that had the odd spacing in it). If I can change it for one controller (assuming I can as they have different Product ID numbers) then I can get these things to have separate mappings. This is an example of the udev rule I tried to create, though looking through docs on udev it appears the "NAME" option may only be for network interfaces. This was placed in another working udev file for some flight sim pedals I have.
KERNEL=="event*", ATTRS{idProduct}=="0002", ATTRS{idVendor}=="0079", NAME="GenericN64"
Or, is there a way for the AutoCfg.ini file to look for something other than the name? such as the vendor and product ID?
But was of no use.
Appreciate any assistance. Hopefully there is some easy option that I am just missing!
Thanks,
Nick
EDIT: I think this removes some of the extra spaces in the name that mupen shows for some reason, so here it is but instead of spaces dashes.
"Generic---USB--Joystick--"
Hate for my first post to be a controller issue, but I have been hitting my head against the wall the past couple days trying to get it to work, and am now pretty much admitting defeat and asking for help.
First my setup:
Mupen64plus version 2.0.0
Running on ubuntu 14.04 LTS 64-bit
Here is my situation, I purchased two USB N64 controllers off Amazaon, one of them is a Retro link, the other a no-name generic (did not buy them at the same time). My problem though is they both show up in Mupen as 'Generic USB Joystick '. Now this wouldn't be a problem if i could have the mapping the same, but I cannot as they keys do not match between the controllers. IE the trigger is button 7 on one and 8 on the other.
I cannot find where it is coming up with this name ('Generic USB Joystick ') or how to change it. I have tried all sorts of things, creating udev rules, to editing the udev ID file with no luck. I was able to get lsusb to display different names by editing the usb.ids file in (/var/lib/usbutils) but this has no affect on the name that Mupen shows or that doing a "cat /proc/bus/input/devices".
Here is my (relevant) output from "lsusb"
Bus 003 Device 019: ID 0079:0006 DragonRise Inc. RetroLink
Bus 003 Device 020: ID 0079:0002 DragonRise Inc. GenericN64
(NOTE: I set those names "RetroLink" and "GenericN64" in the usb.ids file)
Here is my (relevant) output from "cat /proc/bus/input/devices"
I: Bus=0003 Vendor=0079 Product=0006 Version=0110
N: Name="Generic USB Joystick "
P: Phys=usb-0000:00:14.0-9/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9:1.0/input/input33
U: Uniq=
H: Handlers=event15 js0
B: PROP=0
B: EV=20001b
B: KEY=fff00000000 0 0 0 0
B: ABS=3002f
B: MSC=10
B: FF=107030000 0
I: Bus=0003 Vendor=0079 Product=0002 Version=0110
N: Name="Generic USB Joystick "
P: Phys=usb-0000:00:14.0-10/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/input/input34
U: Uniq=
H: Handlers=event20 js4
B: PROP=0
B: EV=1b
B: KEY=fff00000000 0 0 0 0
B: ABS=3002f
B: MSC=10
What I would like to know, is where does the N: Name="Generic USB Joystick " come from in that output, and can I change it? Seemingly wherever this is being pulled from is also what Muppen is looking at (only spot I have found that had the odd spacing in it). If I can change it for one controller (assuming I can as they have different Product ID numbers) then I can get these things to have separate mappings. This is an example of the udev rule I tried to create, though looking through docs on udev it appears the "NAME" option may only be for network interfaces. This was placed in another working udev file for some flight sim pedals I have.
KERNEL=="event*", ATTRS{idProduct}=="0002", ATTRS{idVendor}=="0079", NAME="GenericN64"
Or, is there a way for the AutoCfg.ini file to look for something other than the name? such as the vendor and product ID?
But was of no use.
Appreciate any assistance. Hopefully there is some easy option that I am just missing!
Thanks,
Nick
EDIT: I think this removes some of the extra spaces in the name that mupen shows for some reason, so here it is but instead of spaces dashes.
"Generic---USB--Joystick--"
Last edited: