LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-19-2002, 03:18 AM   #1
Captain_Jesus
LQ Newbie
 
Registered: Oct 2002
Location: SD, USA
Distribution: LFS 4.0
Posts: 9

Rep: Reputation: 0
A concole mp3 player with joystick control?


Ok. I've got a few questions...

I was just wondering if anyone knew of a good way of controlling a console mp3 player with a joystick..

I'm using Redhat 8.0, and would appreciate any suggestions you might have.

I would just use Xmms, but I'd prefer a console player, and every timed I tried to start Xmms, it died saying 'segmentation fault' which I translated to mean "nope, I don't feel like working, and I won't say why".

Then Xmms gave me a raspberry and trotted away giggling like a school girl. It was quite embarassing. But that's another story.

I also tried something called jsd, but that was a similar experience.

Also, does Redhat 8 come with joystick support as default? I read that the 2.4 kernels can be compiled to support joysticks (and mine, Gravis GamePad Pro is listed in the supported hardware in the joystick driver docs), but does Redhat 8.0 come precompiled that way, or do I need to re-compile the kernel (which I'm sure will be another adventure) with the joystick drivers? I'm currently running the 2.4.18-14 kernel on Redhat 8.0.

Cheers,

-Cap'n J.
 
Old 10-19-2002, 12:03 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
mp3blaster is great console mp3 player. It also plays oggs and even streaming audio.

It's keys are customizable so if you can figure out what your joystick keys would be called, you can probably get it setup to work with it. the file to edit for your keys is ~/.mp3blasterrc but you need to copy it there from the install folder, the file to copy is .mp3blasterrc.sample

Cool
 
Old 10-19-2002, 07:43 PM   #3
Captain_Jesus
LQ Newbie
 
Registered: Oct 2002
Location: SD, USA
Distribution: LFS 4.0
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks MasterC!

Mp3blaster seems to work great. I couldn't figure out how to map the joystick keys, but I found a Joy2Key program, which does all the hard work for me.

Unfortunately, it seems nothing can access my soundcard or joystick unless I run it as root, which is something I tend to get the feeling I really shouldn't do.

Being a quasi-newb, I have no idea how to fix this (or if it's really an issue). But I'll keep reading docs and see what I come up with.

Thanks again,

-Cap'n J.
 
Old 10-19-2002, 07:48 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 57
Try chowning or chmoding the file so that other users can see/run it. Basically, chown allows you to change the owner of the file, and chmod allows you to change who can see, execute and write-to the given file. If the file is owned by root, and others can't execute it then no-one will be able to run it except root. If you either change the permissions (chmod) so that others can run it, or change the owner of the file (chown) to your username, then you might be able to run it as someone other than root.

Just a thought.
 
Old 10-19-2002, 08:40 PM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Absolutely what Thymox said.

The thing is, you need to know what to "chmod" and "chown". As for your joystick, I hope you have good luck. For your soundcard:

chmod 777 /dev/dsp
chmod 777 /dev/mixer
chmod 777 /dev/audio
chmod 777 /dev/sequencer

As for 777, well that's up to you. I don't really need lots of security on my audio devices, so I allow everyone permission to use them as they please. You might be better off with something like 755 as your chmod value.

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
S1 Mp3 player (Help Create a New Distro for an MP3 player!)) Ian_Hawdon Linux - General 3 12-05-2005 02:14 PM
Media player remotely control? Garma Linux - Software 3 04-02-2005 09:27 AM
mount mp3 player to /mnt/mp3? Muzzy Linux - General 4 05-09-2004 06:31 AM
iRiver iHP-120 20GB MP3 Player, a player for the rest of us ? dukeinlondon General 1 04-04-2004 05:44 AM
MP3 CD player can't read MP3 CD's burned in linux food188 Linux - Software 2 01-11-2004 05:55 PM


All times are GMT -5. The time now is 08:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration