Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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
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
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.
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.
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
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
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
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
and why can it not be ripped by cdparanoia?
That's a very good question. ;-)
Quote:
Originally Posted by pschmitt
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.