Hi,
Ubuntu also uses wodim instead of cdrecord with a similar symlinking device, it is actually only me who uses the real cdrecord on Ubuntu .
But I am not one to ignore advice so I tested on my freshly reloaded Ubuntu Intrepid Ibex system with the default cdrdao and wodim installed. Forgive me if this reply is somewhat long-winded but I have investigated this thoroughly:
Code:
andrew@skamandros:~$ sudo cdrdao scanbus
Cdrdao version 1.2.2 - (C) Andreas Mueller <andreas@daneb.de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
Using libscg version 'ubuntu-0.8ubuntu1'
1,0,0 : Optiarc , DVD+-RW AD-5560A, DD11
and with wodim:
Code:
andrew@skamandros:~$ wodim --devices
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
0 dev='/dev/scd0' rwrw-- : 'Optiarc' 'DVD+-RW AD-5560A'
-------------------------------------------------------------------------
which all looks reasonable. So to try the wodim syntax with cdrdao:
Code:
andrew@skamandros:~/Desktop$ sudo cdrdao read-cd --source-device /dev/scd0 --driver generic-mmc \
> --paranoia-mode 3 audiocd.toc
Cdrdao version 1.2.2 - (C) Andreas Mueller <andreas@daneb.de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
Using libscg version 'ubuntu-0.8ubuntu1'
/dev/cdrw: Optiarc DVD+-RW AD-5560A Rev: DD11
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)
Reading toc and track data...
Track Mode Flags Start Length
------------------------------------------------------------
1 AUDIO 0 00:00:32( 32) 04:19:63( 19488)
2 AUDIO 0 04:20:20( 19520) 02:47:45( 12570)
3 AUDIO 0 07:07:65( 32090) 04:17:65( 19340)
4 AUDIO 0 11:25:55( 51430) 03:35:70( 16195)
5 AUDIO 0 15:01:50( 67625) 03:43:45( 16770)
6 AUDIO 0 18:45:20( 84395) 03:51:65( 17390)
7 AUDIO 0 22:37:10(101785) 03:02:62( 13712)
8 AUDIO 0 25:39:72(115497) 04:37:35( 20810)
9 AUDIO 0 30:17:32(136307) 02:24:33( 10833)
10 AUDIO 0 32:41:65(147140) 03:06:40( 13990)
11 AUDIO 0 35:48:30(161130) 03:34:17( 16067)
12 AUDIO 0 39:22:47(177197) 04:07:00( 18525)
13 AUDIO 0 43:29:47(195722) 03:26:18( 15468)
14 AUDIO 0 46:55:65(211190) 03:16:70( 14770)
15 AUDIO 0 50:12:60(225960) 04:57:27( 22302)
16 AUDIO 0 55:10:12(248262) 02:18:15( 10365)
17 AUDIO 0 57:28:27(258627) 03:28:28( 15628)
Leadout AUDIO 0 60:56:55(274255)
PQ sub-channel reading (audio track) is supported, data format is BCD.
Raw P-W sub-channel reading (audio track) is supported.
Cooked R-W sub-channel reading (audio track) is supported.
Copying audio tracks 1-17: start 00:00:00, length 60:56:55 to "data.bin"...
Track 1...
And this works perfectly, as does the syntax that I give in the guide:
Code:
andrew@skamandros:~/Desktop$ sudo cdrdao read-cd --source-device 1,0,0 --driver generic-mmc \
> --paranoia-mode 3 audiocd.toc
Cdrdao version 1.2.2 - (C) Andreas Mueller <andreas@daneb.de>
SCSI interface library - (C) Joerg Schilling
Paranoia DAE library - (C) Monty
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.
Using libscg version 'ubuntu-0.8ubuntu1'
/dev/cdrw: Optiarc DVD+-RW AD-5560A Rev: DD11
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)
Reading toc and track data...
Track Mode Flags Start Length
------------------------------------------------------------
1 AUDIO 0 00:00:32( 32) 04:19:63( 19488)
2 AUDIO 0 04:20:20( 19520) 02:47:45( 12570)
3 AUDIO 0 07:07:65( 32090) 04:17:65( 19340)
4 AUDIO 0 11:25:55( 51430) 03:35:70( 16195)
5 AUDIO 0 15:01:50( 67625) 03:43:45( 16770)
6 AUDIO 0 18:45:20( 84395) 03:51:65( 17390)
7 AUDIO 0 22:37:10(101785) 03:02:62( 13712)
8 AUDIO 0 25:39:72(115497) 04:37:35( 20810)
9 AUDIO 0 30:17:32(136307) 02:24:33( 10833)
10 AUDIO 0 32:41:65(147140) 03:06:40( 13990)
11 AUDIO 0 35:48:30(161130) 03:34:17( 16067)
12 AUDIO 0 39:22:47(177197) 04:07:00( 18525)
13 AUDIO 0 43:29:47(195722) 03:26:18( 15468)
14 AUDIO 0 46:55:65(211190) 03:16:70( 14770)
15 AUDIO 0 50:12:60(225960) 04:57:27( 22302)
16 AUDIO 0 55:10:12(248262) 02:18:15( 10365)
17 AUDIO 0 57:28:27(258627) 03:28:28( 15628)
Leadout AUDIO 0 60:56:55(274255)
PQ sub-channel reading (audio track) is supported, data format is BCD.
Raw P-W sub-channel reading (audio track) is supported.
Cooked R-W sub-channel reading (audio track) is supported.
Copying audio tracks 1-17: start 00:00:00, length 60:56:55 to "data.bin"...
Track 1...
So on an Ubuntu Intrepid Ibex system both types of syntax will work. This is probably not a huge suprise when I looked more closely at the man pages and found:
--device [prot:]bus,id,lun
Sets the SCSI address of the CD-recorder in form of a bus/id/lun triple, e.g. ’0,2,0’ for the
logical unit 0 of SCSI device with ID 2 on bus 0. ATAPI devices can be specified by using the
prefix ’ATAPI:’, e.g. ’ATAPI:0,0,0’.
On some systems a device node may be specified directly,
e.g. ’/dev/sg0’ on Linux systems. Linux 2.6 users may also try the newer ATAPI interface with
the ’ATA:’ prefix.
You will note the slight difference between the ATA syntax you have spoken of and the scsi syntax I demonstrate in the guide.
So my conclusion is that in Ubuntu at least both the scsi syntax and the device address specified by wodim can be successfully used with cdrdao. The ATA style syntax also works on my machine but this may not be the case universally I suspect.
As for one being deprecated in favour of the other, this is a battle that Jorg Schilling and Debian can continue to fight out without me .
All the best,
Andrew Strong
Bookmarks