LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 04-11-2002, 10:51 AM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 14.04
Posts: 1,385

Rep: Reputation: 42
Music CD


Hi David et al
Maybe you know this:
I have DVD, it mounts in /media/dvd
There is also a link in /dev to /dev/hdc, and then there is a link /dvd, which points at /media/dvd.

In etc/fstab is a line
/dev/dvd, /media/dvd, auto, ro,users,exec,unhide 0 0

It mounts fine if I insert a windows or Linux CDRom, but refuses to recognize a music CD. Unknown filesystem and no filesystem given.
However, Konquerer can display its contents, and CD player can play it. I just want to copy it, but it has first to be mounted.

Any tips? I thought (read) CDs were iso9660??? Not true?
Anyway, auto should detect all but very dodgy file types, es verdad?

Thanks Peter
 
Old 04-11-2002, 11:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
you don't mount audio cd's windows doesn't mount, it just lies through it's teeth... you play audio cd's just by a driect reference to the device, e.g. "xmms /dev/cdrom"
 
Old 04-12-2002, 01:33 AM   #3
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 14.04
Posts: 1,385

Original Poster
Rep: Reputation: 42
Well, thanks for your reply. The problem with not mounting the audio CD is, the program KonCD, which I got with SuSe Linux, can't see a CD which is not mounted, and so I can't copy it onto another CD. It recognizes an ATAPI CDRom drive, and reading the help I came across the idea that it should be mounted, but wasn't, which is why KonCD can't find anything to copy.
But, I can't mount it!
Is it not possible to mount an AudioCD? If not, how does Konquerer see what is on the disc? I would rather copy it with a GUI than all this cryptical console stuff. An audioCD must also have a filesystem, because I can see the different types of files on it, wav ,ogg, cdda.

Any bright ideas how to get KonCD to see the CD?

Thanks, Peter
 
Old 04-12-2002, 05:59 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
well i wouldn't normally give advice ion using an individual app, and certainly not a kde one... but i tried it out, and it crashed 3 times in nearly as many minutes, so i still couldn't say... All i can say is that it looks like a pretty naff program. there's preseumably a way to directly copy the cd, you wouldn't use the audio cd thing to copy the disk tho, you'd just use the copy one. I'd suggest using eroaster personally (http://eclipt.at) damn good.

i don't get what you say about audio cd's having wav's and ogg's on them.. that's blatantly not true.
 
Old 04-12-2002, 06:26 AM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 57
Quote:
i don't get what you say about audio cd's having wav's and ogg's on them.. that's blatantly not true.
Erm, the audio CD itself doesn't have these files on them, just plain ol' digitally encoded audio. What you're seeing is Konqueror being clever and looking at the device, determining that it's an audio CD, reading all the information it can (including track-name, if it's on there) and presenting you with various options. It's a bit of a crude method, but it can work quite well for ripping tracks.

I tried KOnCD once, didn't like it. As with what Master Kewps said, I would also recommend Eroaster.

Oh, as for mounting audio CDs. You can't - it doesn't have a filesystem. It has a Table Of Contents, which shows where each track begins and ends, and then the raw data. I know Konqueror makes it look like it has, but it hasn't. You should be able to copy audio CDs with Eroaster.

If you're getting really stuck, and you need/want to copy the whole audio CD, then you could try (sorry, command line time):
dd if=/dev/cdrom of=AUDIOCDFILE
It makes a copy of the entire CD and saves it as an ISO file (of a sort). You should be able to burn this file to CD with most burning programs.

Oh, a word of warning though: Presuming you're using LiLo to boot, and you have an ATAPI CD Burner, then you'll need to make sure you have this in your lilo.conf file:

append="hdc=ide-scsi"

Which, of course, goes in the relavent kernel section.
 
Old 04-13-2002, 06:05 AM   #6
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 14.04
Posts: 1,385

Original Poster
Rep: Reputation: 42
Well, thanks again for the tips. Tried the link to eroaster. Was down, but I have xcdroast with my SuSe 7.3.
I'll install that and try again.

That dd command: does it produce a cd that will work in an ordinary cdplayer?

Thanks
Peter
 
Old 04-13-2002, 06:52 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
sorry that was the wrong link
http://eclipt.uni-klu.ac.at/eroaster.php

xcdroast is VERY nasty. even worse than koncd
 
Old 04-13-2002, 08:06 AM   #8
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 57
No, the dd command doesn't produce a CD, it copies a CD to an image file.
Quote:
It makes a copy of the entire CD and saves it as an ISO file (of a sort). You should be able to burn this file to CD with most burning programs.
 
Old 04-13-2002, 10:05 AM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Hi everyone.
Thymox, are you sure dd makes an ISO image off an audio CD? I tried it just for curiousity, it didn't work, spits an I/O error, it works with data CD's just fine, even though I prefer to use mkisofs to make an iso images of data CD's. As for audio CD, to rip I use grip, to copy to another CD I use gcombust by dumping CD using cdda2wav.
 
Old 04-13-2002, 10:11 AM   #10
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 57
Actually, I can't remember. To be honest, it's been a very long time since I've tried ripping an audio CD to anything other than wav file. If dd doesn't work, you could try cp /dev/cdrom outfile, but if memory serves me this will take a direct copy, so even if there's only 1mb on the disk, the outfile will still be 658mb.

I did state, however that it should only be done if really stuck.

Sorry if I caused any inconveniece to anyone.
 
Old 04-14-2002, 12:44 PM   #11
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 14.04
Posts: 1,385

Original Poster
Rep: Reputation: 42
Copying (continued)

The good news: I managed to get the CD copied using cdrtao read-cd --device 0,0,0 --driver generic-mmc audiocd.toc, then
the same again, but with write.
Worked perfect and plays in my ordinary CD player . I don't have the driver for my Sony CRX, but generic worked.

Now I want to copy a playstation game for my boy: any tips on what program to use? Before I ruin a load of CD RWs, just thought I'd ask.
 
Old 04-14-2002, 04:13 PM   #12
no1zhome
Member
 
Registered: Apr 2002
Location: ON, Canada
Distribution: Debian, Gentoo
Posts: 48

Rep: Reputation: 15
You can use cdrdao: http://cdrdao.sourceforge.net/index.html
There is a Gnome/Gtk GUI frontend for it called gcdmaster (it can be found at the same link). If the game is copy protected you will have to patch it with something like ppf4linux: http://balder.prohosting.com/norteo/ppf4linux/

Check out these links for more help:
http://www.megagames.com/psx/psx_copy_patch_linux.shtml
http://www.psxforum.com/
 
Old 12-14-2002, 04:48 AM   #13
dt'
LQ Newbie
 
Registered: Dec 2002
Location: New York
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Hi. I don't have a single problem with my cdrom except for playing audio cd's. I have tried 2 or 3 different players all with the same results. It see's the cd, and plays it, but there is no sound. Mp3's and all other sounds play fine, I only have this problem with audio cd's. Any ideas and help will be greatly appreciated. Thanks in advance.

Slackware 8.0
Kernel 2.2.19

Last edited by dt'; 12-14-2002 at 04:50 AM.
 
Old 12-14-2002, 12:51 PM   #14
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Is there an audio cable running from the back of the drive to your soundcard?

Cool
 
Old 12-14-2002, 02:51 PM   #15
dt'
LQ Newbie
 
Registered: Dec 2002
Location: New York
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Quote:
Originally posted by MasterC
Is there an audio cable running from the back of the drive to your soundcard?

Cool
Yes there is... NOW! Yeah that cable runs over my videocard, and my videocard blocks in my harddrive. So when I removed my videocard to put in a bigger harddrive I forgot to plug that little cable back in. I knew it had to be something stupid. Thanks.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Music in c++ ? twirl Programming 7 11-13-2009 11:46 PM
music!? NSKL General 362 10-09-2006 04:42 AM
Mood Music, the quest for a music library app GuidoS Linux - Software 6 08-18-2004 02:12 PM
Music iouzero Linux - Newbie 5 06-18-2004 05:09 PM
Music cd RRepster Slackware 6 01-07-2003 04:52 AM


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