View previous topic :: View next topic |
Author |
Message |
CreatorThomas Trick Member
Joined: 21 May 2003 Location: Fort Wayne, IN |
0. Posted: Fri Jul 07, 2006 7:52 am Post subject: Stepmania, Linux, and USB Drives |
|
|
Ok, I've searched the forums with no help. I was wondering if anybody knew how to get Linux Stepmania configured to use mounted usb drives.
Does anyone use any special tools to find the information (Bus, Level, and Port) to edit the Stepmania.ini file? I've tried using usbview with 2 lexar drives but they didn't have any different information other than model and serial number (firefly and jumpdrive sport). I wanted to rig it so player 1 and player 2 have dedicated usb ports.
Thomas |
|
Back to top |
|
|
dongle Basic Member
Joined: 02 May 2006
|
1. Posted: Fri Jul 07, 2006 9:44 am Post subject: |
|
|
I don't understand what you mean by players 1 and 2 having dedicated usb ports. Do you mean dedicated controllers? Dedicated external drives?
What distro & kernel are you running?
Use a udev script to give the usb drives distinct mount points and make symlinks from the Stepmania dirs under your home.
if you need more info on the device, cat /proc/bus/usb/devices. if it's not specific enough, you can kludge it by putting identifying files on each drive and having your udev script use the files to differentiate and mount accordingly. |
|
Back to top |
|
|
CreatorThomas Trick Member
Joined: 21 May 2003 Location: Fort Wayne, IN |
2. Posted: Fri Jul 07, 2006 1:14 pm Post subject: |
|
|
I meant dedicated usb ports like itg, so port a is mounts player1's profile, and port b mounts player2's profile.
i'm running Mandriva 2006, 2.6.12-12mdk (or that's the source, i forget the command to find the running kernel)
cat /proc/bus/usb/devices gives me bus, level, and port numbers for stepmania.ini, but it still won't read flash drives. i've never worked with udev scripts or symlinks, so give me an explanation.
one more thing, should i be using the MemoryCardOSMountPoint lines in stepmania.ini? i don't see a need to if i can direct it to the location of the drive, but you never know. |
|
Back to top |
|
|
NerveBand Trick Member
Joined: 11 Nov 2005 Location: NYC...The Capital of The World... |
3. Posted: Fri Jul 07, 2006 3:22 pm Post subject: |
|
|
Use MemoryCardOSMountPoint to refer to the directory that you want to "mount" as your usb drive. Like "F:\" or "/mnt/usb1/". See? (I ain't that nooby linux.) _________________
|
|
Back to top |
|
|
|