I've got a cabinet with two Led-Wiz controllers: a Led-Wiz32 (set as device #1) and a Led-Wiz+GP (set as device #2). This is running on a 64-bit Linux system (not a RPi). I've actually reproduced the problem using several systems running Ubuntu 18.04, in addition to the mini-ITX board running Ubuntu 20.04 I have in the cabinet now.
So far, I have been able to get the two Led-Wiz controllers configured and have RGBCommander put on a light show when Attract Mode starts. Yay! Lights from both controllers are flashed, so they are both appears to be working.
The problem is, whenever RGBCommander does anything with the LEDs on the Led-Wiz+GP, the "GP" part of the controller boards (i.e. the gamepad) disappears from the system. This is a problem, as all my admin buttons are hooked up as buttons on this controller.
Here's a demo from the command line using rgbcmdcon:
$ ls /dev/input/js*
/dev/input/js0 /dev/input/js1
$ rgbcmdcon
_____ _____ _____ _
| __ | __| __ |___ ___ _____ _____ ___ ___ _| |___ ___
| -| | | __ -| _| . | | | .'| | . | -_| _|
|__|__|_____|_____|___|___|_|_|_|_|_|_|__,|_|_|___|___|_|
RGBcommanderConsole 0.1.0.1 linux
a *nix arcade cabinet led and joystick driver - GUI dev tool
Copyright 2015-2017 Gijsbrecht De Waegeneer
compilation date Dec 25 2017 17:33:45
connected to localhost:2724 RGBcommander linux build 0.4.0.5
set,button,P1_COIN,Red
<data bool="true"/>
^C
$ ls /dev/input/js*
/dev/input/js0
The P1_COIN button is attached to the Led-Wiz/GP controller. Note that after exiting rgbcmdcon, there is only one js device in /dev/inputs. I don't see anything weird in the Linux logs. In fact, I see nothing in the logs around the time I run the commands on the console... not even something acknowledging that one of the joystick devices just disappeared from the system. I've looked at dmesg, kern.log, and syslog. Nothing seems to notice this.
The rgbcommnder log also doesn't see all that odd...
11/05/20 12:30:55 [WARNING] [startListening] selectserver: bind failed, error: 98
11/05/20 12:33:01 [INFO] [startListening] selectserver: new connection from 127.0.0.1, socket 13
11/05/20 12:33:31 [INFO] [startListening] eot detected on socket - clearing socket buffer 13
11/05/20 12:33:31 [INFO] [startListening] processing command set,button,P1_COIN,Red
11/05/20 12:33:31 [INFO] [processCmd] #args is 4
11/05/20 12:33:31 [INFO] [processCmd] set
11/05/20 12:33:31 [INFO] [processCmd] button
11/05/20 12:33:31 [INFO] [processCmd] P1_COIN
11/05/20 12:33:31 [INFO] [processCmd] Red
11/05/20 12:33:31 [INFO] [write] board initialisation -> SUCCESS
11/05/20 12:33:35 [INFO] [startListening] selectserver: socket 13 disconnected
Any ideas on what's wrong?