LinuxQuestions.org
Visit Jeremy's Blog.
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 01-06-2003, 03:32 PM   #1
RRepster
Member
 
Registered: Dec 2002
Location: aksarben
Distribution: Several
Posts: 116

Rep: Reputation: 15
Question Music cd


How do I read and rip a music cd? Google results taught me that media disks aren't "mounted" but rather work via the software to use them with so I d/loaded ripperX to do this work for me which complains the following error:

============
Error Code 14:
Make sure an audio disk is in the drive and that you are either running ripperX as root or cdparanoia is setuid root.
error: cdparanoia monplains:

"/dev/cdrom exists but isn't accessible by default"
====================

I would like to be able to use this in all user modes not just root btw.

And while we're at it anyone know of a better program to use for ripping/encoding in KDE3 so that I can encode as .ogg? ripperX only does .wave or mp3 / and or a .wave to .ogg program.

here's my /etc/fstab file if this helps: (i added the /dev/cdrom part to see if that would fix this problem but it didn't)

/dev/hda4 swap swap defaults 0 0
/dev/hda3 / ext3 defaults 1 1
/dev/hda1 /boot ext3 defaults 1 2
/dev/hda2 /home ext3 defaults 1 2
/dev/sr0 /mnt/cdrom iso9660 noauto,user,rw 0 0
/dev/fd0 /mnt/floppy auto noauto,user,rw 0 0
/dev/hdd4 /mnt/zip auto noauto,user,rw 0 0
/dev/sda1 /mnt/usbstick auto noauto,user,rw 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0

thanks!

Rob
 
Old 01-06-2003, 04:36 PM   #2
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Well, you need to chmod 666 your /dev/hdX where X is the cdrom device, then link it to /dev/cdrom (ln -s /dev/hdX /dev/cdrom) and you need to be root to rip CDs, or chmod cdparanoia to be setuid root, which isn't the best of ideas since it can pose security risks.
Although i never used it, i heard grip was a good ripper/encoder, or you can simply stay old school and do everything on the command line with cdparanoia, lame, BladeENC and the other myraid of encoding programs.
HTH
-NSKL
 
Old 01-06-2003, 10:17 PM   #3
RRepster
Member
 
Registered: Dec 2002
Location: aksarben
Distribution: Several
Posts: 116

Original Poster
Rep: Reputation: 15
okies, nothing's working same error.

$chmod 666 /dev/hdc (cdrw drive is secondary master)
$ln -s /dev/hdc /dev/cdrom
$chmod 777 /usr/bin/cdparanoia

ripperX still complains with the same error as origin post and other programs such as KsCD don't detect any music cd's or work etc...

why oh why does Lycoris have to drag their feet so long on their kde upgrade? if not for that fact (coupled with the fact that compiling anything right on it is like pulling molars plus its sucky way of storing their kernel sources makes it so recompiling it breaks the entire thing) it would be a perfect Desktop/LX.

thought I had everything perfect last night after I had resolved my Sony Clie problems but I hadn't anticipated that useing cd music of all things would be such a freaking nightmare.

Last edited by RRepster; 01-06-2003 at 11:10 PM.
 
Old 01-06-2003, 11:40 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
If the CD drive is a CDRW unit and it is controlled by generic SCSI drivers then try using /dev/scd0 instead of /dev/hdc. Because CD Audio media is not mountable media, the fstab doesn't matter. But if the /dev/cdrom device is a proper link then it can used to mount iso9660 media.

Also, I believe that /dev/sr0 and /dev/scd0 are equivalent.

Last edited by Excalibur; 01-06-2003 at 11:43 PM.
 
Old 01-06-2003, 11:46 PM   #5
RRepster
Member
 
Registered: Dec 2002
Location: aksarben
Distribution: Several
Posts: 116

Original Poster
Rep: Reputation: 15
aye it is /dev/sr0 cdrw problem is now I think I have a kernel-module issue going on due to errors i'm getting when i use "cdrecord -scanbus"

really don't know what I screwed up with this reinstall because I had cdrecord at least working and reporting properly when this was all just on the 10 gig partition.

edit/add

ok I did rm /dev/cdrom then

chmod 666 /dev/sr0
ln -s /dev/sr0 /dev/cdrom

same errors as originally reported though.

the fact that cdrecord -scanbus is giving me errors too tells me I have something really messed up though.

Rob

Last edited by RRepster; 01-07-2003 at 12:02 AM.
 
Old 01-07-2003, 12:09 AM   #6
RRepster
Member
 
Registered: Dec 2002
Location: aksarben
Distribution: Several
Posts: 116

Original Poster
Rep: Reputation: 15
FOUND IT!!! took a look at my kernel again and the one flag I forgot to turn "ON" (wasn't even moduled) was "SCSI generic support".

flagged it on, now gonna set my /etc/inittab back to 3, recompile kernel and try it!

--edit/add---

that fixed it! can play music in all users, can rip and cdburn in root mode. (would like to be able to in user mode but not a big deal)

thanks for your help all!!! must sleep now my pillow calls my name heh

Rob



Last edited by RRepster; 01-07-2003 at 12:51 AM.
 
Old 01-07-2003, 03:52 AM   #7
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
To rip and burn CDs in user mode you can either set SUID root bit on cdparanoia and programs you use for burning, or create a special group, and add the useres to that group, then give it permissions over all the necessary files and programs. The first solution can pose security risks, the second can be a pain to setup, so if it's not important you might want to stay how you are.
HTH
-NSKL
 
  


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
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 iouzero Linux - Newbie 5 06-18-2004 04:09 PM
Music CD Pedroski Linux - General 15 12-14-2002 04:43 PM


All times are GMT -5. The time now is 01:50 PM.

Main Menu
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