LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-27-2005, 04:31 PM   #1
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
cd copy protection


I recently bought a CD that turns out to have some sort of copy protection. That's all just fine (not really GNU, but I understand the music industry wants to be able to keep making money), but I'd like to be able listen to the music I buy! My home HiFi plays it fine, but my car cd won't recognise it and unfortnately I spend more time listening to music in the car than anywhere else.

I've tried both grip and sound juicer, but whereas the first simply didn't respond, the second started spinning my cd at about a zillion rpm and my only way out was to pull the plug on the system. What can I do to be able to listen to the music I bought in the car?

If you're interested (or if it is any help) I bought Radiohead - Amnsiac.
 
Old 01-27-2005, 04:42 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Do you have itunes in Spain?

If you can't read the CD with your computer CD-ROM drive then your only real out is to record it through your HiFi system.
 
Old 01-27-2005, 05:01 PM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
bother !!

don't know itunes
 
Old 01-27-2005, 08:03 PM   #4
saldek
LQ Newbie
 
Registered: Jan 2005
Location: Northern California
Distribution: Debian testing
Posts: 4

Rep: Reputation: 0
You may have success with the following procedure:

First copy it with cdrdao:

read to a file (adjust device entry as needed for your system):

cdrdao read-cd --source-device /dev/sg0 --device /dev/sg0 --driver generic-mm
c --datafile /tmp/my_cd.dat /tmp/my_cd.toc

write to a cd (again, adjust the device as needed)

cdrdao write --device /dev/sg0 --driver generic-mmc /tmp/my_cd.toc

Then, use grip as normal to rip it. You may have to adjust the start block for
some of the tracks.
 
Old 01-28-2005, 05:22 PM   #5
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
after reading that like 5 times, I have decided to google for a cdrdao rpm for fc3 and see what I can make of it. I'll let you know if I got it to work
 
Old 01-28-2005, 05:57 PM   #6
saldek
LQ Newbie
 
Registered: Jan 2005
Location: Northern California
Distribution: Debian testing
Posts: 4

Rep: Reputation: 0
Sorry it wasn't very clear. You do need to get cdrdao installed. You also need to know which device your CD/CD-R is on. On my system, it happens to be /dev/sg0. This can usually be determined by looking in /etc/fstab, or the output of dmesg.

So, the first thing you need to do is read the CD to a temporary file on the hard drive. To do that, pop the "protected" cd in your drive, and run this command (all on one line):

cdrdao read-cd --source-device /dev/sg0 --device /dev/sg0 --driver generic-mmc --datafile /tmp/my_cd.dat /tmp/my_cd.toc

This will read the disc from device /dev/sg0 and create two files: /tmp/my_cd.dat and /tmp/my_cd.toc.

The next step is to create a new CD from your temp files. Run this command (all on one line):

cdrdao write --device /dev/sg0 --driver generic-mmc /tmp/my_cd.toc

With luck, you will now have a copy of your disc, minus the annoying copy protection. Use grip to rip the newly created disc.

Occasionally, this will result in a disc with tracks that have blank space at the beginning/end. You can either edit the blank space after ripping, or tell grip to adjust the start/end sectors.

Hope this is clearer....
 
Old 01-29-2005, 03:38 AM   #7
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
thanks!!
 
Old 02-06-2005, 04:25 AM   #8
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
I finally installed cdrdao and followed your instructions. Output looked fine, but after about 8 seconds the drive went crazy again and started spinning like mad, making an awful sound. I tried to interrupt the process, but finally managed to open the drive with the eject button on its front.

Just t make sure it wasn't anything to do with my drive I tried the process with another (unprotected) cd and everything went smoothly. The output from the successful read was identical to that of the protected cd.

Where do I go from here?
 
Old 02-10-2005, 09:11 AM   #9
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
Tried burning a cd which I successfully read with dcrdao, but I get a calibration error. cdrdao writes the TOC, but then brakes off, so I lose the cd. I haven't found any options to configure it. Writing went well with k3b. How do I avoid this error with cdrdao?
 
Old 02-16-2005, 11:32 PM   #10
saldek
LQ Newbie
 
Registered: Jan 2005
Location: Northern California
Distribution: Debian testing
Posts: 4

Rep: Reputation: 0
I'm not sure on that one. That error almost sounds like a problem with the type of cd's you are using, but of course the fact that k3b works (with the same batch of discs I assume) kind of point away from the discs.
Any chance of trying with a different drive? I have found in the past that some drives read much better than others.
 
Old 02-17-2005, 07:43 AM   #11
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993

Original Poster
Blog Entries: 1

Rep: Reputation: 46
This is an AOPEN RW-3248 (no other drive for burning available) which outperforms the reading capacity of my LG DVD...

Maybe I could force K3B to read at 2x and so avoid it going into 'overdrive' with the protected CD.
 
  


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
DVDbackup "NEW COPY PROTECTION?" Dummy Sectors? elyk1212 Linux - Software 25 07-01-2005 01:06 PM
Freakin' copy protection in WinXP... Whitehat General 10 06-15-2003 06:22 PM
boot error after using Copy Commander to copy debian system onto larger new drive Interceptor Linux - Hardware 7 05-04-2003 12:40 PM
password protection kushal Linux - Security 4 10-10-2002 09:33 PM
can you copy cd protection with dd? Noerr Linux - Software 3 05-30-2002 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:20 PM.

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