Re: Can mount external CD but can't play or rip tracks
Hi,
Kete wrote:
> > cdparanoia is "Unable to open disc."
The source search offers me two occasions
https://codesearch.debian.net/search?q=package%3Acdparanoia+Unable+to+open+disc
If there is really no text "Is there an audio CD in the drive?",
then it's
https://sources.debian.org/src/cdparanoia/3.10.2+debian-14/main.c/?hl=1041#L1041
I.e. cdda_open() did not return one of {0, -2 ... -6}.
The "cdda" in the function name indicates that this function looks for
CD-DA audio tracks, in contrast to CD-ROM data tracks.
Dan Ritter wrote:
> Some file browsers mix the two, and present CD audio tracks as
> though they were files. They aren't, really.
Indeed.
> 1. What kind of disc are you using?
To determine the CD track structure, put it into the drive (/dev/sr0 if
it is the only CD capable drive of the computer) and do:
cdrskin dev=/dev/sr0 -minfo
which should report for CD-DA tracks something like:
Track Sess Type Start Addr End Addr Size
==============================================
1 1 Audio 0 3289 3290
2 1 Audio 3290 6350 3061
3 1 Audio 6351 7643 1293
and for a CD-ROM track something like:
Track Sess Type Start Addr End Addr Size
==============================================
1 1 Data 0 172027 172028
With
wodim dev=/dev/sr0 -toc
it looks a bit more cryptic.
CD-DA is "control" 4:
track: 1 lba: 0 ( 0) 00:02:00 adr: 1 control: 0 mode: -1
track: 2 lba: 3290 ( 13160) 00:45:65 adr: 1 control: 0 mode: -1
track: 3 lba: 6351 ( 25404) 01:26:51 adr: 1 control: 0 mode: -1
CD-ROM is "control" 0:
track: 1 lba: 0 ( 0) 00:02:00 adr: 1 control: 4 mode: 1
Have a nice day :)
Thomas
Reply to: