2011-03-13

Slitaz -- wodim

Extract from

SliTaz Burnbox Manual
file:///usr/share/doc/slitaz-tools/burnbox.html
About

Burnbox supports:

* ISO burning
* Backup of data and audio CDs
* Data CD/DVD burning (DVD burning requires an optional package dvd+rw-tools)
* Audio CD burning (MP3 requires an optional package mpg123)
* Video CD (VCD/SVCD) burning (requires packages vcdimager and ffmpeg)
[..]

Common Problems

* Burnbox works as root but not for a user: This happens when the user is not added to the "cdrom" group

addgroup tux cdrom

* Cdrom not readable / writable: Make sure the user has proper permissions and is added to the "cdrom" group
* MP3 audio burn does not work: Check if you have installed mpg123
* VCD option does not work: Check if you have installed vcdimager
* AVI, FLV, WMV files are not decoded to MPG: Check if you have installed ffmpeg
* DVD burn does not work: Check if you have installed dvd+rw-tools


tux@slitaz:~$ wodim --devices
wodim: Overview of accessible drives (1 found) :
-------------------------------------------------------------------------
0 dev='/dev/scd0' rwrw-- : 'ATAPI' 'iHAS324 Y'
-------------------------------------------------------------------------
tux@slitaz:~$ wodim -scanbus
scsibus1:
1,0,0 100) 'ATAPI ' 'iHAS324 Y ' 'BL1X' 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) *
tux@slitaz:~$ ls -al /dev/scd0
lrwxrwxrwx 1 root root 3 Mar 13 21:49 /dev/scd0 -> sr0
tux@slitaz:~$ ls -al /dev/sr0
brw-rw---- 1 root cdrom 11, 0 Mar 13 21:49 /dev/sr0
tux@slitaz:~$ cat /etc/group | grep tux
audio:x:20:tux
cdrom:x:1:tux
video:x:8:tux
tux:x:1000:
tux@slitaz:~$ dmesg | grep -i cd-rom
scsi 1:0:0:0: CD-ROM ATAPI iHAS324 Y BL1X PQ: 0 ANSI: 5
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
tux@slitaz:~$ which wodim
/usr/bin/wodim
tux@slitaz:~$ tazpkg search-file wodim

Search result for file : wodim
================================================================================

Package cdrkit :
/usr/bin/wodim

================================================================================
1 file(s) found for : wodim

tux@slitaz:~$ tazpkg info cdrkit

Tazpkg information
================================================================================
Package : cdrkit
Version : 1.1.9
Category : utilities
Short desc : Wodim for recording/blanking CDs/DVDs and genisoimage for ISO.
Maintainer : pankso@slitaz.org
Depends : libcap zlib bzlib attr
Build deps : cmake libcap-dev zlib-dev bzip2-dev attr attr-dev
Web site : http://www.cdrkit.org/
================================================================================

tux@slitaz:~$ tazpkg info dvd+rw-tools

Tazpkg information
================================================================================
Package : dvd+rw-tools
Version : 7.1
Category : multimedia
Short desc : DVD RW tools
Maintainer : jozee@slitaz.org
Depends : cdrkit
Build deps : cdrkit gcc-lib-base m4
Web site : http://fy.chalmers.se/~appro/linux/DVD+RW
================================================================================

tux@slitaz:~$ tazpkg info dvd+rw-media-tools

Tazpkg information
================================================================================
Package : dvd+rw-media-tools
Version : 7.1
Category : multimedia
Short desc : DVD RW media tools
Maintainer : jozee@slitaz.org
Wanted src : dvd+rw-tools
Web site : http://fy.chalmers.se/~appro/linux/DVD+RW
================================================================================

tux@slitaz:~$


====
[..]

wodim: Asuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 3 = CD-ROM XA mode 2
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/cdrom'
devname: '/dev/cdrom'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.9
SCSI buffer size: 64512
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'ATAPI '
Identification : 'iHAS324 Y '
Revision : 'BL1X'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001A (DVD+RW)
Profile: 0x002B (DVD+R/DL)
Profile: 0x001B (DVD+R)
Profile: 0x001A (DVD+RW) (current)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1769472 = 1728 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size : 4194304 = 4096 KB
Track 01: data 656 MB
Total size: 753 MB (74:38.29) = 335872 sectors
Lout start: 753 MB (74:40/22) = 335872 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
wodim: WARNING: Data may not fit on standard 74min disk.

Speed set to 5540 KB/s
Starting to write CD/DVD at speed 4.0 in real unknown mode for multi session.
Last chance to quit, starting real write in 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...

Starting new track at sector: 0
[..]
.