LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-03-2014, 03:53 AM   #1
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Rep: Reputation: Disabled
Copy from mixed mode audio disk


I am working with openSUSE 12.2.
I have a mixed-mode audio CD that contains besides the wav-files
already folders with the flac, mp3 ann ogg files.
So it should be easy to copy e.g. the flac files on my computer and
use it with my minidlna music server at home. No ripping necessary.
But, all my efforts so far were without success:

The CD opens nicely with the Dolphin file manager, also the flac-folder
could be opened showing the individual files.
Drag-and-Drop copy of a single file resulted after a very long wait
and after I lost patience in a partial copy (2613604 out of 24 697 000 Bytes).
The CD was already very hot at this point, so I had to let it cool
down before doing anything else.

The attempt to mount the device

mount -t auto -o ro /dev/sr0 /export/home/i12pc8/pschmitt/

produced the output:

mount: /dev/sr0: can't read superblock

Next attempt:

dd if=/dev/sr0 ibs=512 count=1

results in
dd: reading ‘/dev/sr0’: Input/output error
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00882414 s, 0.0 kB/s


Who knows help?
Could there be a write protection? But, what is the use of a folder with
flac files if you can neither access nor copy it?

Thanks in advance
Peter
 
Old 06-03-2014, 09:40 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by pschmitt View Post
I am working with openSUSE 12.2.
I have a mixed-mode audio CD that contains besides the wav-files already folders with the flac, mp3 ann ogg files.
are you sure? ;-)
I rather guess it's your file manager that fakes these additional directories, converting the raw CDDA audio data on the fly when you access one of these files. You may try to verify that assumption of mine by trying a plain ordinary audio CD - I guess you'll see these extra directories as well.
I remember using an alternate CD ROM driver in Windows that also worked this way.

Quote:
Originally Posted by pschmitt View Post
So it should be easy to copy e.g. the flac files on my computer and use it with my minidlna music server at home. No ripping necessary.
Yes, that would be the general idea.

Quote:
Originally Posted by pschmitt View Post
The CD opens nicely with the Dolphin file manager, also the flac-folder could be opened showing the individual files. Drag-and-Drop copy of a single file resulted after a very long wait and after I lost patience in a partial copy (2613604 out of 24 697 000 Bytes).
The CD was already very hot at this point, so I had to let it cool down before doing anything else.
Does the drive make some suspicious noise during the operation? Like trying to re-position again and again, spinning down and up again? Which would mean the surface is bad to a point where the disc is hardly readable any more. Does it play without trouble in a standard audio player?

Quote:
Originally Posted by pschmitt View Post
The attempt to mount the device

Code:
mount -t auto -o ro /dev/sr0 /export/home/i12pc8/pschmitt/
produced the output:

Code:
mount: /dev/sr0: can't read superblock
That convinces me even more that it's not a mixed-mode, but a pure audio CD. They don't have a file system, so they can't be mounted like that. Trying to read them with 'dd', which you tried next, won't work either, because audio CDs have a different sector structure from data CDs, and the drive refuses this operation.

From what you describe, I think everything is working fine as far as it can, but the disc is on the verge of being unreadable. Or the CD drive is close to breaking down.

[X] Doc CPU
 
1 members found this post helpful.
Old 06-05-2014, 05:06 PM   #3
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
Copy from mixed mode audio disk

Thanks a lot.
Yes, I will no longer claim that I am talking about a mixed mode CD.
I should have known this, if I had read the Dolphin file manager tutorial to the end.
In a way it is cute. You open an audio CD with Dolphin, you see the wav, flac, mp3, and ogg folders and when you
drag one of the folders into one of your directories ripping is started behind the scene. No need to
worry about ripping software on your own.

But, now I am back on square one with my problem. In my case the magic does not work.
Could be that the CD is copy protected, could be, as you suggested, that my drive is about to give out.
At this point I am not prepared to give up.
What really is on the disk? Is it a file system slightly different from iso9660?
or really a pure audio disk? and why can it not be ripped by cdparanoia?
cdrdao disk-info provided no answer. I also tried on a windows 7 system IOCTL_CDROM_READ_TOC_EX, but the command was not found.
 
Old 06-06-2014, 03:05 AM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by pschmitt View Post
I will no longer claim that I am talking about a mixed mode CD.
I should have known this, if I had read the Dolphin file manager tutorial to the end.
don't bother; it's often like that with things you don't use regularly.

Quote:
Originally Posted by pschmitt View Post
In a way it is cute. You open an audio CD with Dolphin, you see the wav, flac, mp3, and ogg folders and when you
drag one of the folders into one of your directories ripping is started behind the scene. No need to
worry about ripping software on your own.
I see. As I mentioned, I had a CD driver in Windows 98 (I think) that did this kind of thing, too. Well, it didn't offer mp3 and other advanced formats, but WAV audio in different sampling rates and resolutions. You know, downsampling a WAV audio file from 44100 to 22050Hz, or reducing the samples from 16 to 8bit doesn't require much effort and CPU power.
By the way, Nautilus in Gnome (or Caja in MATE, for that matter) also does that.

Quote:
Originally Posted by pschmitt View Post
But, now I am back on square one with my problem. In my case the magic does not work.
Could be that the CD is copy protected, could be, as you suggested, that my drive is about to give out.
At this point I am not prepared to give up.
The CDDA spec doesn't leave much freedom of incorporating copy protection. Some record companies tried in the 90's, but all these discs were somehow out of spec, and some wouldn't play on CD ROM drives, on portabled CD players, on DVD players or on a car stereo. AFAIK they have all dismissed that nonsense again.

Quote:
Originally Posted by pschmitt View Post
What really is on the disk? Is it a file system slightly different from iso9660?
or really a pure audio disk?
Actually, there is no file system at all on an audio disc. It's just a linear chain of sectors, each containing 2352 bytes of audio data and representing exactly 1/75 of a second. The TOC (Table Of Contents) is merely a list of the starting sector numbers of each track and is written into the sub-channel of the lead-in.

Quote:
Originally Posted by pschmitt View Post
and why can it not be ripped by cdparanoia?
That's a very good question. ;-)

Quote:
Originally Posted by pschmitt View Post
cdrdao disk-info provided no answer. I also tried on a windows 7 system IOCTL_CDROM_READ_TOC_EX, but the command was not found.
But the disc does play in a regular audio player? - That's weird. Occasionally, a DVD is giving me a hard time, but I've never had trouble reading/ripping an audio CD.

[X] Doc CPU
 
1 members found this post helpful.
Old 06-10-2014, 01:40 AM   #5
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
Well, that is embarrassing. The CD plays in a normal DVD player. But, it does not play on my PC, neither with amarok nor kaffeine.
I guess that gives a completely new angle to the problem.

Peter
 
Old 06-10-2014, 08:18 AM   #6
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
What CD is it? (artist/album/country/year...pressing number if you can find it) Just out of interest (see below)

I've seen a couple of mixed mode and 'proteted' CDs display simialr behaviour.

In the end I found no solution and just d/led the files off the internet (yes, yes, but AFAIK its not really 'illegal' to do that if you own the CD)
 
Old 06-10-2014, 09:19 AM   #7
pschmitt
Member
 
Registered: May 2014
Location: Karlsruhe Germany
Distribution: OpenSUSE Leap 15.1
Posts: 57

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cascade9 View Post
What CD is it? (artist/album/country/year...pressing number if you can find it) Just out of interest (see below)
The group is called "The GOTAN Project"
The album is Tango 3.0 published in 2010 and contains Argentinean tango music.
See also http://www.gotanproject.com/

Quote:
Originally Posted by cascade9 View Post
I've seen a couple of mixed mode and 'proteted' CDs display simialr behaviour.

In the end I found no solution and just d/led the files off the internet (yes, yes, but AFAIK its not really 'illegal' to do that if you own the CD)
Thanks for your interest.

One thing is to get things done, i.e. to have an electronic copy of the disk that I can include in my music server at home.

The other thing is to understand what is happening here.

all the best Peter
 
  


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
copy-mode extract of audio from youtube flv video moob8 Linux - Desktop 18 10-05-2013 08:44 AM
Reading data from mixed mode CD DragonMaster Linux - Software 6 06-15-2006 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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