Main > Software Forum
Servo-Stik & Linux
ZoOl007:
Yes, RGBcommander 0.4 has ServoStik support and runs on linux. Have a look at the site.
PhoneGuy:
I am attempting to try using RGBcommander to control my servostiks in the latest version Groovyarcade which uses Arch Linux. I get errors when running setup.sh. There is no init.d directory in /etc. There is an init.d file.
--- Code: ---RGBcommander installing
0.4.0.2 beta1
-------------------------------------------
rgbcommander->/usr/sbin OK
minimame.bin->/usr/sbin/rgbcommander OK
rgbcmdd->/usr/sbin/rgbcommander OK
rgbcmdcon->/usr/sbin/rgbcommander OK
libstdc++.so.6->/usr/sbin/rgbcommander OK
21-rgbcmdd.rules->/etc/udev/rules.d OK
rgbcmdd->/etc/init.d ERROR
chmod: cannot access '/etc/init.d/rgbcmdd': Not a directory
ln: failed to create symbolic link '/usr/sbin/rgbcmdd': File exists
ln: failed to create symbolic link '/usr/bin/rgbcmdcon': File exists
chmod: cannot access '/etc/init.d/rgbcmdd': Not a directory
./setup.sh: line 64: update-rc.d: command not found
./setup.sh: line 67: /etc/init.d/rgbcmdd: Not a directory
--- End code ---
ZoOl007:
yes that is correct. Arch has a different init system. I once ran it on a colleague's from source compiled arch and it did function as designed.
The init system is only used to start and stop the daemon - it has nothing to do with its functional behaviour.
If you adapt the installer to cope with Arch I'll be happy to include it.
If I find the time I'll look at it myself.
ps: I recently installed GroovyArcade myself so at a given moment it'll likely happen but I just don't have the spare time right now but anyone with some bash scripting knowledge will be able to do it.
PhoneGuy:
I can look at the install but first I want see if I can make use of this for my ServoStiks. Based on your website it looks like my options are limited since I'm running groovymame .184 for linux. It sounds like the set,rom feature would be my only option. I would have to send a rom name to rgbcmdd rather than just passing the setting I want for the ServoStiks? On my windows XP setup I could have Mamewah pass the rom info to a batch file that based on the joystick type from the rom info would run the ServoStick app with the 4 or 8 way setting needed. For Qbert and Congo Bongo I would specifically run the ServoStick app with 8-way rather than 4-way as specified by the rom since in those games, 8-way works better when the sticks are not mounted rotated 45 degrees. Could I have have something like a dummy 8way rom and 4way rom I use with the frontend?
ZoOl007:
yes, the set,rom feature is your only option atm - it is a pity the mame devs dropped the linux integration...
(but that makes it just as (in)efficient as your xp implementation as you need to tell that one what to do too)
yes, you tell rgbcmdd the rom name before the process appears because it can't detect it itself on 0.184
based on the name it'll switch to 4 or 8 way
Qbert and Congo Bongo - you can configure overrides but if I am not mistaking Qbert is 8way in the xml
frontend -> default is 8 but can be overriden
you can try if it works on GroovyArcade(it has never been tried) before investing time in the installer - it is installed so normally you open a shell
su
cd /usr/sbin/rgbcommander
./rgbcmdd
at this point the daemon runs and you can ./rgbcdmcon and type ? to see the commands.
You can try the set,stick,4 and set stick,8 commands to test them
You can stop the daemon by ./rgbcmdcon stop daemon
you'll have to switch the servostiks on in the rgbcmdd.xml - it contains cfg docu
do note that the binaries have been linked to use the supplied libstdc++ lib so they have to be in the same dir.
if you decide to invest time in it I'm willing to do the same from my side - it would be good to have it running on GroovyArcade next to debian and pi2/3
we'll need to convert(?) my init.d script to an rc.d script it seems and have the installer detect it is running arch and copy the files to the correct locations but for starters just try to switch your sticks as described above.
If you'd like to give it a go contact me by mail otherwise we'll pollute this site with :blah: nobody cares about.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version