Работа с CD приводом из консоли.

Информация о CD приводе.
===========================

wodim --devices
==========================================
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
0 dev='/dev/scd0' rwrw-- : 'ASUS' 'DRW-2014L1T'
-------------------------------------------------------------------------
===========================================================================

sudo lshw
========================================
*-cdrom
description: DVD-RAM writer
product: DRW-2014L1T
vendor: ASUS
physical id: 0.1.0
bus info: scsi@3:0.1.0
logical name: /dev/cdrom2
logical name: /dev/cdrw2
logical name: /dev/dvd2
logical name: /dev/dvdrw2
logical name: /dev/scd0
logical name: /dev/sr0
version: 1.00
capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
configuration: ansiversion=5 status=nodisc
======================================================================

sudo wodim blank=all
====================================================================
Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/sr0
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'ASUS '
Identification : 'DRW-2014L1T '
Revision : '1.00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Errno: 5 (Input/output error), test unit ready scsi sendcmd: no error
CDB: 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x01 (medium not present - tray closed) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.000s timeout 40s
wodim: No disk / Wrong disk!
=====================================================

sudo hdparm /dev/scd0
========================================================
/dev/scd0:
multcount = 0 (off)
IO_support = 1 (32-bit)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device
====================================================

Запись.
=============================

sudo cdrecord dev=/dev/scd0 -v --eject speed=4 /home/imbicile/FTP/ISO/archlinux-2010.05-core-i686.iso
growisofs growisofs -Z /dev/sr0 -R -J /home/imbicile/FTP/ISO/archlinux-2010.05-core-i686.iso
wodim /home/imbicile/FTP/ISO/archlinux-2010.05-core-i686.iso

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *