So i've scoured various forums everywhere to try to get my arcade cab to recognize USB flash drive insertion, and while i've made some progress, I'm still being stymied for a final successful result.
There are two separate issues that i'm coming across. First should be relatively simple:
1. The front USB ports (this is a Pump it Up Pro 2 FX cabinet) were not initially being recognized by stepmania (or indeed, linux at all) until i found this thread that had this code to run in terminal:
Once that code is input, then the front USB ports are recognized and fine - however, this is not a setting that appears to save, so i have to execute this every time i boot up the machine. Can i just execute this in a startup script in /etc/rc.local or something? (i'm a linux newbie, still learning about basic autoexec/startup equivalents.)
2. In trying to get SM to recognize the inserted USB drives, i've done the following:
a. modified the /etc/fstab file to force USB drives to mount as 'media' by adding the following lines:
b. modified the preferences.ini file regarding USB mounting the following way:
This has *kind* of worked in that now stepmania recognizes that cards are there (albeit sporadically - sometimes it works, other times it does not), but it gives me a ? 'card check' error and can't create or load a user profile.
any advice would be greatly appreciated.
(by the way, just doing /dev/sdb1 and /dev/sdc1 in those mount points did *not* work, not sure why. i think i could also be missing something regarding file access/permsisions as my home user profile vs root?...)
thanks all. happy july.
There are two separate issues that i'm coming across. First should be relatively simple:
1. The front USB ports (this is a Pump it Up Pro 2 FX cabinet) were not initially being recognized by stepmania (or indeed, linux at all) until i found this thread that had this code to run in terminal:
echo 1 > /sys/class/leds/piuio::output27/brightness
Once that code is input, then the front USB ports are recognized and fine - however, this is not a setting that appears to save, so i have to execute this every time i boot up the machine. Can i just execute this in a startup script in /etc/rc.local or something? (i'm a linux newbie, still learning about basic autoexec/startup equivalents.)
2. In trying to get SM to recognize the inserted USB drives, i've done the following:
a. modified the /etc/fstab file to force USB drives to mount as 'media' by adding the following lines:
/dev/sdb1 /media/sdb1 vfat auto,rw,sync,users 0 0
/dev/sdc1 /media/sdc1 vfat auto,rw,sync,users 0 0
b. modified the preferences.ini file regarding USB mounting the following way:
MemoryCardOsMountPointP1=/media/sdb1
MemoryCardOsMountPointP2=/media/sdc1
MemoryCardUsbBusP1=-1
MemoryCardUsbBusP2=-1
MemoryCardUsbLevelP1=-1
MemoryCardUsbLevelP2=-1
MemoryCardUsbPortP1=-1
MemoryCardUsbPortP2=-1
MemoryCards=1
This has *kind* of worked in that now stepmania recognizes that cards are there (albeit sporadically - sometimes it works, other times it does not), but it gives me a ? 'card check' error and can't create or load a user profile.
any advice would be greatly appreciated.
(by the way, just doing /dev/sdb1 and /dev/sdc1 in those mount points did *not* work, not sure why. i think i could also be missing something regarding file access/permsisions as my home user profile vs root?...)
thanks all. happy july.
Last edited: 6 July 2015 10:03pm
-dn0
(i.e. darknote before it became an icelandic death metal band)
(i.e. darknote before it became an icelandic death metal band)