LinuxQuestions.org
Help answer threads with 0 replies.
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 10-23-2003, 02:13 PM   #1
MsMittens
Member
 
Registered: Oct 2003
Location: Canada
Distribution: depends on the mood -- these days.. Slack!
Posts: 44

Rep: Reputation: 15
CD Music -- I know..


I've looked through here and other sections and have aquired a nice series of bruises from beating my head against the wall trying to figure this out. Google is getting annoyed.

Sigh.

I've put in music cd and try to play using KsCD. I end up getting told that there is no cd or I do not have permissions. Is there a better player to use? (I've tried XMMS but when I ask it to check the drive it says permissions denied)

Quote:
/dev/hda5 swap swap defaults 0 0
/dev/hda1 / reiserfs defaults 1 1
/dev/hda4 /data reiserfs defaults 1 2
/dev/hda2 /Windows vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
I think I'm missing something for my /dev/cdrom line... anyone have suggestions?
 
Old 10-23-2003, 02:54 PM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Add group root to your user and see if that helps.

RO
 
Old 10-23-2003, 02:57 PM   #3
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
thats what mine looks like:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
and it works
try this:
/dev/cdrom /mnt/cdrom iso9660 noauto,umask=000 0 0
or this:
/dev/cdrom /mnt/cdrom auto noauto,owner 0 0
 
Old 10-23-2003, 03:04 PM   #4
MsMittens
Member
 
Registered: Oct 2003
Location: Canada
Distribution: depends on the mood -- these days.. Slack!
Posts: 44

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by RolledOat
Add group root to your user and see if that helps.

RO
Dumb question but why would I want my regular user part of the root group? Isn't that a security risk?

kasperhans, I tried them all to no avail. =(
 
Old 10-23-2003, 03:21 PM   #5
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
hmm ok i think you did a reboot after changing the fstab each time or? ok so now i have no clue what this could be :/ have to think about it but if you try to play the music from cd as root it works right?
 
Old 10-23-2003, 03:26 PM   #6
MsMittens
Member
 
Registered: Oct 2003
Location: Canada
Distribution: depends on the mood -- these days.. Slack!
Posts: 44

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by kasperhans
hmm ok i think you did a reboot after changing the fstab each time or? ok so now i have no clue what this could be :/ have to think about it but if you try to play the music from cd as root it works right?
Haven't tried it as root since I don't normally log in as root (I try to avoid that but I certainly can try it) -- await for an edit to this as I go and tries that.
 
Old 10-23-2003, 03:33 PM   #7
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
Been busy with other things like networksetup but got kscd up last night,
and listened to Ry Cooder-Bop Till You Drop a couple times.

I'll tell you what I have and what I did.

I'm running slack-9.1

I have a burner so I use append="hdb=ide-scsi" in my /etc/lilo.conf
and end up with my cddrive on /dev/scd0, I use /dev/scdo as /mnt/cdrw, and used

ln -s /dev/scd0 /dev/cdrom

to create a cdrom device and then made an entry in fstab for it.

My fstab lines in this box look like this:

/dev/scd0 /mnt/cdrw auto noauto,owner,users 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,users,ro 0 0

Probably not the best thing but being lazy and hasty /dev/scd0 was set for permission
as such 777 and /mnt/cdrom has permission 755.

Users (thats me) must be member of "sys" group to access /dev/dsp for sound

You will also have to configure alsa if you haven't already; so "su" and run the command

alsaconf

then follow the prompts. I use aumix for adjustments but there is also alsamixer
which you can access as a user to tweek your alsa configuration.

Finally there is kscd which is what I useually use when listening to cd's on the box.

After opening kscd you will have to tell it where to access your cd. I have my kscd set
to /dev/cdrom

This version of kde confused me first time round because kscd will dock as an icon in the
sytem tray unless you untick the radio button in the configuration menu. I couldn't figure out where it was and why it was playing.

Also there is a radio button to stop playing on exit. That threw me until I figured out it was not tic'd :>)

Hope that helps

Rick
 
Old 10-23-2003, 03:38 PM   #8
MsMittens
Member
 
Registered: Oct 2003
Location: Canada
Distribution: depends on the mood -- these days.. Slack!
Posts: 44

Original Poster
Rep: Reputation: 15
We have a "weiner"!

I change the perms on /dev/hdc to 755 (just need read and execute) and *poof* sound. I also added the line for the device directly...

Many thanks.
 
Old 10-23-2003, 03:39 PM   #9
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
Ok so u cant mount it at all??? instead of just trying to play it with ksCD try to mount it then open xmms and select all the files or is that what u did?? If u know what i mean? Also i think u can make ur fstab to

/dev/cdrom /mnt/cdrom auto noauto,ro,pid=1001 0 0

thats what i did change pid=1001 to whatever ur user number is. I hope this helps!!

Matt3333
 
Old 10-23-2003, 06:02 PM   #10
187807
Member
 
Registered: Oct 2003
Location: North Carolina, USA
Distribution: Slackware 11
Posts: 174

Rep: Reputation: 30
re: cd stuff

Quote:
Originally posted by matt3333
Ok so u cant mount it at all??? instead of just trying to play it with ksCD try to mount it then open xmms and select all the files or is that what u did??
IIRC, audio CDs have no filesystem. You cannot mount them.

I'm not saying this because I'm a guru or anything, I just remember wondering why I couldn't mount audio CDs awhile back. Did a google search and found the info I mentioned.
 
Old 10-24-2003, 01:36 PM   #11
excel28
Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 72

Rep: Reputation: 15
In KsCD, set the cd to /dev/sr0.
After I did that I could play CDs.
 
  


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
Music in c++ ? twirl Programming 7 11-13-2009 10:46 PM
music!? NSKL General 362 10-09-2006 03:42 AM
Mood Music, the quest for a music library app GuidoS Linux - Software 6 08-18-2004 01:12 PM
Music cd RRepster Slackware 6 01-07-2003 03:52 AM
Music CD Pedroski Linux - General 15 12-14-2002 04:43 PM

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

All times are GMT -5. The time now is 05:03 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