error running cdrdao

Help
doc
2006-03-30
2013-04-30
  • doc
    doc
    2006-03-30

    hi to the list,
    i am working on demudi 1.2.1 using alsa 1.0.9, jackd 0.100.0 and ardour
    0.99.2
    now i am trying to learn how to export .toc files by ardour.
    getting help on the ardour list, i did it and ardour exported a file.wav.toc
    for burning it to a cd i have to use cdrdao now.
    first i type cdrdao show-toc /file.wav.toc, and i get information about
    3 tracks, so everything fine. now i try to write:

    nowhiskey@murija2:~$ cdrdao write /home/nowhiskey/jaaa/800export.wav.toc
    Cdrdao version 1.2.1 - (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.

    ERROR: Cannot open SCSI device '/dev/cdrecorder': Cannot open
    '/dev/cdrecorder'
    Supported SCSI transports for this platform:

    Transport name:         sg
    Transport descr.:       Generic transport independent SCSI
    Transp. layer ind.:
    Target specifier:       bus,target,lun
    Target example:         1,2,0
    SCSI Bus scanning:      supported
    Open via UNIX device:   not supported

    Transport name:         pg
    Transport descr.:       SCSI transport for ATAPI over Parallel Port
    Transp. layer ind.:
    Target specifier:       bus,target,lun
    Target example:         1,2,0
    SCSI Bus scanning:      supported
    Open via UNIX device:   not supported
    Transport name:         ATA
    Transport descr.:       ATA Packet specific SCSI transport
    Transp. layer ind.:     ATAPI:
    Target specifier:       bus,target,lun
    Target example:         ATAPI:1,2,0
    SCSI Bus scanning:      supported
    Open via UNIX device:   not supported

    Transport name:         ATA
    Transport descr.:       ATA Packet specific SCSI transport using sg
    interface
    Transp. layer ind.:     ATA:
    Target specifier:       bus,target,lun
    Target example:         1,2,0
    SCSI Bus scanning:      supported
    Open via UNIX device:   not supported
    ERROR: Please use option '--device [proto:]bus,id,lun', e.g. --device
    0,6,0 or --device ATA:0,0,0
    ERROR: Cannot setup device /dev/cdrecorder.
    nowhiskey@murija2:~$

    if i try to specify:

    nowhiskey@murija2:~$ cdrdao write --device 0,0,0
    /home/nowhiskey/jaaa/900export.wav.toc
    Cdrdao version 1.2.1 - (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.

    ERROR: Cannot open SCSI device '0,0,0': Cannot open '/dev/sg9'
    Supported SCSI transports for this platform:

    Transport name:         sg
    Transport descr.:       Generic transport independent SCSI
    Transp. layer ind.:
    Target specifier:       bus,target,lun
    Target example:         1,2,0
    SCSI Bus scanning:      supported
    Open via UNIX device:   not supported

    Transport name:         pg
    Transport descr.:       SCSI transport for ATAPI over Parallel Port
    Transp. layer ind.:
    Target specifier:       bus,target,lun
    Target example:         1,2,0
    SCSI Bus scanning:      supported
    Open via UNIX device:   not supported

    Transport name:         ATA
    Transport descr.:       ATA Packet specific SCSI transport
    Transp. layer ind.:     ATAPI:
    Target specifier:       bus,target,lun
    Target example:         ATAPI:1,2,0
    SCSI Bus scanning:      supported
    Open via UNIX device:   not supported

    Transport name:         ATA
    Transport descr.:       ATA Packet specific SCSI transport using sg
    interface
    Transp. layer ind.:     ATA:
    Target specifier:       bus,target,lun
    Target example:         1,2,0
    SCSI Bus scanning:      supported
    Open via UNIX device:   not supported
    ERROR: Please use option '--device [proto:]bus,id,lun', e.g. --device
    0,6,0 or --device ATA:0,0,0
    ERROR: Cannot setup device 0,0,0.
    nowhiskey@murija2:~$

    the same happens if i specify with --device ATA:0,0,0

    typing cdrdao scanbus:

    nowhiskey@murija2:~$ cdrdao scanbus
    Cdrdao version 1.2.1 - (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 'schily-0.8'

    ATA:1,0,0            HL-DT-ST, DVDRAM GSA-4080N, 0X21
    nowhiskey@murija2:~$

    the same error i get if i do all of this as root.

    does anyone have any subgestion?
    i hope that asking hier i am on better place than on the ardour list.

    normally my device has a adress: /dev/cdrom, is that perhaps the error,
    cdrdao is looking for /dev/cdrecorder and /dev/sg9 ???

    hope that someone can help,
    regards,
    doc

     
    • klappnase
      klappnase
      2006-03-30

      Hi doc,

      if you are running linux with a 2.6 series kernel, and you have an ATAPI cd writer, you should be fine to use --device /dev/hdx (at least this works well for me).

      Hope this helps

      Michael