LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2004, 03:54 PM   #1
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
Get XMMS to see CD


Ok, I've done some searching on this. I know it has worked in the past.
I just reinstalled slackware on my laptop.

My question is so basic, I couldn't find a thread about it. I don't think the search funtion knows what to do with a two character search string like "CD".

Anywy, I have XMMS 1.2.10 installed. It will play files from /usr/share/sounds.
Under Options/Preferences I have Output Plugin is ALSA 1.2.10 [libALSA.so]
Under Input Plugins CD Audio Player 1.2.10 [libcdaudio.so] is in the list. Under Configure for that, the Device is /dev/cdrom and the Directory is /mnt/cdrom.
Now, I know you don't 'mount /dev/cdrom /mnt/cdrom' to play audio CDs.

I put a CD in the drive. Now, how do I play it in XMMS? I can't get the tracks to show up in the playlist.

Maybe I need to go into fstab and change noauto to auto on the /dev/cdrom line. Maybe I need to tap the laptop with my hammer.

Last edited by itsjustme; 05-28-2004 at 04:09 PM.
 
Old 05-28-2004, 04:03 PM   #2
bengo
Member
 
Registered: Mar 2003
Distribution: Slackware Current
Posts: 42

Rep: Reputation: 15
you put the cd in then go to Play > Directory > /mnt/cdrom and it should work
 
Old 05-28-2004, 04:08 PM   #3
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
Quote:
Originally posted by bengo
you put the cd in then go to Play > Directory > /mnt/cdrom and it should work
Well, of course, that's what I tried, and it doesn't work.
 
Old 05-28-2004, 04:10 PM   #4
bengo
Member
 
Registered: Mar 2003
Distribution: Slackware Current
Posts: 42

Rep: Reputation: 15
maybe you need to change permissions on /dev/hdd or whatever ur CD drive is
 
Old 05-28-2004, 04:22 PM   #5
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
/dev/cdrom is 777 and /dev/hdb is 660.

This is good for the data CD's. I don't think permissions is the problem. Do the x bits on /dev/hdb need to be turned on for playing CD's?

It's a CDRW/DVD player. Maybe I need to add some other entry in fstab besides:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

Last edited by itsjustme; 05-28-2004 at 04:26 PM.
 
Old 05-28-2004, 04:31 PM   #6
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
hmm. first of all, i would change /dev/hdb to 777 too, because i'm pretty sure you can't access a directory unless you have execute permissions...at least i think that's true. second, you might change your fstab entry to "users" instead of "owner", so that any user can mount/umount . also, if that doesn't work, then after "ro" add "umask=000"
 
Old 05-28-2004, 04:45 PM   #7
bengo
Member
 
Registered: Mar 2003
Distribution: Slackware Current
Posts: 42

Rep: Reputation: 15
this is my fstab entry for CD:

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

my /dev/hdd permissions:

brw-rw---- 1 bengo disk notice that I am the owner of the CD not root.

as for /mnt/cdrom I set the permission to 755 so root can read write and execute and every1 else can read and execute
 
Old 05-28-2004, 05:13 PM   #8
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
Quote:
Originally posted by mcd
hmm. first of all, i would change /dev/hdb to 777 too, because i'm pretty sure you can't access a directory unless you have execute permissions...at least i think that's true. second, you might change your fstab entry to "users" instead of "owner", so that any user can mount/umount . also, if that doesn't work, then after "ro" add "umask=000"
/dev/hdb doesn't need to be 777. At least it's not on my red hat machine. On that machine I have a regular CD player and a CDRW. One is /dev/hdc and the other is /dev/scd0. They are both only 600. However, I can't get XMMS to play CD's there either. kscd is launched when I insert a CD and it plays CD's just fine.

I tried the users and umask thing in fstab, but it had no effect.

Anybody else?

All I wanna do is listen to a CD with XMMS.

I'm thinking that /dev/cdrom is enough for data CD's, but since it's a CDRW/DVD then maybe it should be something else, similar to the CDRW on my red hat machine being /dev/scd0.

On my windows machine I just pop in a CD and ....
 
Old 05-28-2004, 05:30 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
For certain functionality the permissions on the
raw device you want to use need to be ugo=rw.

That includes playing dvd, gripping audio CD's,
playing audio-CD's. The mount points permissions
don't make a difference for these three.


As for XMMS : check whether the plugin is
actually installed/enabled, it's NOT part of XMMS'
core functionality.


Cheers,
Tink
 
Old 05-28-2004, 05:49 PM   #10
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
ugo=rw gives me 666 as opposed to the original 660 for /dev/hdb. I can change that easy enough.

As for the plugin, here's what I see.

And, alsa is installed because I had to reinstall it from the CD after swaret installed a newer version that wanted a new kernel. But, the issue here is not the sound. It's the finding the CD.

What about the fstab issue?

Thanks...

Last edited by itsjustme; 05-28-2004 at 05:53 PM.
 
Old 05-28-2004, 06:00 PM   #11
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
OK...
That did it.

/dev/hdb chmod'ed to 666 (ugo=rw)

Weird. It's obviously the devil's work!

Edit: Man... that sounds weak (laptop)! But, not too bad through the headphones.
Now, on to the DVD playing.

Edit2: So, mcd, 777 would have worked too then, but it would have been just a little over what's needed, eh?

Thanks...

Last edited by itsjustme; 05-28-2004 at 06:19 PM.
 
Old 05-28-2004, 06:17 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by itsjustme
What about the fstab issue?
There is no fstab-issue :)

As I pointed out in the prior post that functionality
does use the RAW device, nothing to do with any
mount-points.



Cheers,
Tink
 
Old 05-28-2004, 06:20 PM   #13
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
[slaps forehead]

 
Old 05-28-2004, 06:24 PM   #14
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
hehe, yeah, just a little over-the-top. does anyone know though, I thought when you're dealing with cdroms rw doesn't allow you to access a directory, you need x also...was it another filesystem i'm thinking of, or am i totally making that up?
 
Old 05-28-2004, 06:26 PM   #15
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by mcd
hehe, yeah, just a little over-the-top. does anyone know though, I thought when you're dealing with cdroms rw doesn't allow you to access a directory, you need x also...was it another filesystem i'm thinking of, or am i totally making that up?
And again: it's a RAW device, and no, you can't execute those,
and no, they're not directories, either.
 
  


Reply



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
xmms-wma makes xmms to exit while try playing .wma deepclutch Debian 12 12-02-2005 06:53 PM
xmms-infopipe can't find xmms.. minm Linux - Software 9 10-18-2004 10:00 PM
ALSA w/ XMMS : No PCM control in xmms Astro Slackware 1 08-08-2004 11:19 PM
Xmms Plugin 1.2.8 [xmms-config problem] MDMA Mandriva 2 01-29-2004 09:55 AM
red hat 9 xmms and nvidia driver-xmms ronss Red Hat 3 09-26-2003 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:24 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
Open Source Consulting | Domain Registration