====== Ubuntu - CD - Get CD device description ====== Use the command **cdrecord -scanbus** as root to scan your SCSI bus to determine the device description. (i.e. 0,4,0). This will perform a scan and provide results for real SCSI systems or for the virtual SCSI subsystem Linux uses with IDE CD/DVD's. Examples: **SCSI CD system:** cdrecord -scanbus returns: Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jorg Schilling Using libscg version 'schily-0.1' scsibus0: 0,0,0 0) 'SEAGATE ' 'ST36530W ' '1498' Disk 0,1,0 1) 'SEAGATE ' 'ST39173W ' '6244' Disk 0,2,0 2) * 0,3,0 3) * 0,4,0 4) 'HP ' 'CD-Writer+ 9200 ' '1.0c' Removable CD-ROM 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * ---- **CD/DVD ATA system: ** This will report on your SCSI device name to use when burning a CD. In this case "ATA". cdrecord -scanbus returns: Cdrecord-Clone 2.01-dvd (--) Copyright (C) 1995-2004 Jorg Schilling ... scsidev: 'ATA' devname: 'ATA' scsibus: -2 target: -2 lun: -2 Linux sg driver version: 3.5.27 Using libscg version 'schily-0.8'. cdrecord: Warning: using unofficial libscg version (schily Red Hat-scsi-linux-sg.c-1.83-RH scsibus1: 1,0,0 100) '_NEC ' 'DVD_RW ND-2510A ' '2.15' Removable CD-ROM 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * * Linux Kernel 2.2 and 2.4 use SCSI emulation when accessing an IDE/ATAPI CD drive.\\ * Example device reference: dev=0,4,0 * Linux kernel 2.6 allows one to directly access ATAPI. Prefix the device name with "ATAPI:".\\ * Example device reference: dev=ATAPI:0,4,0 * To get a list of supported devices: cdrecord dev=HELP\\ * i.e.: ATAPI, ATA, RSCSI (remote scsi) Device defaults can be found in the configuration file: /etc/cdrecord.conf The default speed can be set: CDR_SPEED=4