cdrecord cannot see DVD-RW with ATAPICAM
Zahemszky Gábor
Gabor at Zahemszky.HU
Fri Dec 17 23:28:32 PST 2004
Peter Radcliffe wrote:
> Zahemszky Gábor <Gabor at Zahemszky.HU> probably said:
> > <TSSTcorp CD/DVDW TS-H552B TS05> at scbus2 target 0 lun 0 (cd1,pass3)
>
> > Can somebody help me to find the reason of this special error?
>
> Have you checked that /dev/pass3 and other device files existx ?
>
> P.
Yes. Sorry for the missing information, but: /dev/acd0, /dev/cd0 and
/dev/cd1, /dev/xpt0 and /dev/pass[0-3] are all exists, and they have (I
think) the correct permissions, generated with devfs.conf) :
$ ll /dev/cd* /dev/pass* /dev/xpt*
crw-r----- 1 zgabor zgabor - 4, 25 Dec 18 08:15 /dev/cd0
crw-r----- 1 zgabor zgabor - 4, 26 Dec 18 08:15 /dev/cd1
lrwxr-xr-x 1 root wheel - 3 Dec 18 08:15 /dev/cdrom@ -> cd0
crw------- 1 zgabor zgabor - 234, 0 Dec 18 08:15 /dev/pass0
crw------- 1 root operator - 234, 1 Dec 18 08:15 /dev/pass1
crw------- 1 root operator - 234, 2 Dec 18 08:15 /dev/pass2
crw------- 1 zgabor zgabor - 234, 3 Dec 18 08:15 /dev/pass3
crw-rw---- 1 root operator - 233, 0 Dec 18 08:15 /dev/xpt0
$
(And yes, I'm in the group of operator)
So the problem exists: how can it be, that "camcontrol devlist" shows an
ATAPICAM-generated "SCSI"-DVD-RW, but cdrecord couldn't see it with
"cdrecord -scanbus":
$ camcontrol devlist
<YAMAHA CRW8824S 1.00> at scbus0 target 4 lun 0 (cd0,pass0)
<IBM DCAS-34330W !# S69D> at scbus0 target 13 lun 0 (da0,pass1)
<DEC RZ1CB-CA (C) DEC LYJ0> at scbus0 target 15 lun 0 (da1,pass2)
<TSSTcorp CD/DVDW TS-H552B TS05> at scbus2 target 0 lun 0 (cd1,pass3)
$ cdrecord -scanbus
Cdrecord 2.00.3 (i386-unknown-freebsd5.2) Copyright (C) 1995-2002 Jörg
Schilling
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) *
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) 'YAMAHA ' 'CRW8824S ' '1.00' Removable CD-ROM
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
$
--
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ
';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ???
]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ???
]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;for
i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l
i;};print "$j"
More information about the freebsd-stable
mailing list