[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cdrecod and profile 0x40 (BD-ROM): -atip exits with 255



OS: LINUX   kernel 2.4.33  
USB Blu-ray writer.

I use cdrecord/cdrskin "-atip -v" to detect mounted media type.

Media is BD-R written using cdrskin.

When BD-R is new/unused, both cdrecord and cdrskin tell me "BD-R" and exit
0.

After being written (single session, closed, so it's now a BD-ROM):
- cdrecord tells me it's a BD-ROM but then it exits > 0, not ok for scripts.
- cdrskin exits 0.

== cdrecord command
cdrecord-2.01.01a53 dev=1,0,0 -atip -v
echo "EXIT CODE: $?"

== cdrecord output
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.1.25
SCSI buffer size: 129024
Cdrecord-ProDVD-ProBD-Clone 2.01.01a53 (i686-pc-linux-gnu) Copyright (C)
1995-2008 Jörg Schilling
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.9'.
atapi: 1
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   :
Vendor_info    : 'HL-DT-ST'
Identifikation : 'BD-RE  BE06LU10 '
Revision       : 'YE03'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Current: BD-ROM
Profile: BD-ROM (current)
Profile: BD-R sequential recording
Profile: BD-R random recording
Profile: BD-RE
Profile: HD DVD-ROM
Profile: DVD-RAM
Profile: DVD-R sequential recording
Profile: DVD-R/DL sequential recording
Profile: DVD-R/DL layer jump recording
Profile: DVD-RW sequential recording
Profile: DVD-RW restricted overwrite
Profile: DVD+RW
Profile: DVD+R
Profile: DVD+R/DL
Profile: DVD-ROM
Profile: CD-R
Profile: CD-RW
Profile: CD-ROM
Profile: Removable Disk
cdrecord-2.01.01a53: Found unsupported 0x40 profile.           <===========
cdrecord-2.01.01a53: Sorry, no supported CD/DVD/BD-Recorder found on this
target.
EXIT CODE: 255


== cdrskin command
cdrskin dev=1,0,0 -atip -v
echo "EXIT CODE: $?"

== cdrskon output  (OK)
cdrskin 0.5.4 : limited cdrecord compatibility wrapper for libburn
cdrskin: verbosity level : 1
cdrskin: NOTE : greying out all drives besides given dev='/dev/sg1'
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
 
cdrskin: WARNING : THIS PROGRAM WAS TREATED WITH chmod u+s WHICH IS
INSECURE!
cdrskin: HINT : Consider to allow rw-access to the writer device and
cdrskin: HINT : to run cdrskin under your normal user identity.
cdrskin: HINT : Option  --allow_setuid  disables this safety check.
 
scsidev: '1,0,0'
cdrskin: pseudo-atip on drive 0
cdrskin: status 4 burn_disc_full "There is a disc with data on it in the
drive"
Device type    : Removable CD-ROM
Vendor_info    : 'HL-DT-ST'
Identifikation : 'BD-RE BE06LU10'
Revision       : 'YE03'
Driver flags   : BURNFREE
Supported modes: TAO SAO
cdrskin: burn_drive_get_write_speed = 26973  (6.0x)
Current: BD-ROM
Mounted Media:   40h, BD-ROM


== cdrecord -minfo
errors out with
./cdrecord-2.01.01a53: Found unsupported 0x40 profile.
./cdrecord-2.01.01a53: Sorry, no supported CD/DVD/BD-Recorder found on this
target.
 before printing media data.
-- 
giulioo@pobox.com


Reply to: