Forums FAQForums FAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin 

Stepmania, Linux, and USB Drives
 
This topic is locked you cannot edit posts or make replies    DDR Freak Forum Index -> DDR PC and Simulators
View previous topic :: View next topic  
Author Message
CreatorThomas
Trick Member
Trick Member


Joined: 21 May 2003
Location: Fort Wayne, IN
0. PostPosted: Fri Jul 07, 2006 7:52 am    Post subject: Stepmania, Linux, and USB Drives Reply with quote

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
View users profile Send private message Visit posters website AOL Instant Messenger Yahoo Messenger
dongle
Basic Member
Basic Member


Joined: 02 May 2006
1. PostPosted: Fri Jul 07, 2006 9:44 am    Post subject: Reply with quote

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
View users profile Send private message
CreatorThomas
Trick Member
Trick Member


Joined: 21 May 2003
Location: Fort Wayne, IN
2. PostPosted: Fri Jul 07, 2006 1:14 pm    Post subject: Reply with quote

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
View users profile Send private message Visit posters website AOL Instant Messenger Yahoo Messenger
NerveBand
Trick Member
Trick Member


Joined: 11 Nov 2005
Location: NYC...The Capital of The World...
3. PostPosted: Fri Jul 07, 2006 3:22 pm    Post subject: Reply with quote

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
View users profile Send private message Send email Visit posters website AOL Instant Messenger MSN Messenger
Display posts from previous:   
This topic is locked you cannot edit posts or make replies    DDR Freak Forum Index -> DDR PC and Simulators All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group