Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-29 Thread Dave Huang
I finally had a chance to test dvd+rw-booktype for branding +R media
as -ROM, and it doesn't work. It seems that byte 4 of the CDB is not
the unit vs. media flag. For whatever reason, it has to be 0 to brand
as DVD-ROM, and 1 to brand as +/-R.

It doesn't make any sense to me either, but it's probably best to do
exactly as the Windows utility does (as outlined in
http://lists.debian.org/cdwrite/2004/cdwrite-200403/msg00185.html).
Pending feedback from Dave Woodward, that might also mean sending 20
zero bytes of data along with the command.

Here's a patch make -unit+r -dvd-rom-spec work:
--- dvd+rw-booktype.cpp.orig2004-04-19 00:28:03.0 -0500
+++ dvd+rw-booktype.cpp 2004-04-29 14:55:15.0 -0500
@@ -418,7 +418,7 @@
 
cmd[0]=0xFA;
cmd[3]=book;
-   cmd[4]=1;
+   cmd[4]=book==0x01?0:1;
cmd[10]=0xAA;
cmd[11]=0xFF;
if ((err=cmd.transport()))

-- 
Name: Dave Huang |  Mammal, mammal / their names are called /
INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-28 Thread Dave Huang
On Wed, Apr 28, 2004 at 12:16:49PM +, Dave Woodward wrote:
> Also I have tried contacting BTC about the firmware revisions where 0258 seems
> to be the latest rather than 0657, but had nothing back yet, is there some
> mystery to their numbering scheme?

As far as I can tell, their version numbers are a bit backwards. The
last two digits are the version number of the core firmware code, and
the first two are the minor revision number. Updated revision numbers
signify support for new media codes, whereas a new version means
actual code changs in the firmware.

So think of 0657 as 57.06 and 0258 as 58.02. Their change logs (e.g.,
) have the details
on what each version has.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-28 Thread Dave Woodward
Ok

I will try the windows utility and also upgrade to firmware 0258 to see what
happens.

Also I have tried contacting BTC about the firmware revisions where 0258 seems
to be the latest rather than 0657, but had nothing back yet, is there some
mystery to their numbering scheme?

Thanks

Dave



-- Original Message ---
From: Dave Huang <[EMAIL PROTECTED]>
To: Dave Woodward <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Sent: Mon, 26 Apr 2004 16:48:59 -0500
Subject: Re: DVD+RW-Booktype and BTC 1008 Drive

> On Mon, Apr 26, 2004 at 01:34:58PM +, Dave Woodward wrote:
> > Thanks for the pointer, however I have corrected this and now get the
> > following error with +RW media
> > 
> > [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec -media
> > /dev/cdrom1
> > :-[ BTC_FAh[2] failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
> > Current media Book Type Field is 92h: DVD+RW specification [revision 2]
> > 
> > Any ideas?
> 
> I'm stumped :( Since you've updated the firmware, I assume that you
> can reboot into Windows or put the drive in a Windows machine... have
> you tried the Windows BitSetting utility from BTC
> <http://www.drvupdate.com/download.htm>?
> 
> The official Windows utility sends 20 zero bytes as data along with
> the command, but that doesn't seem to be needed for me. Maybe it's
> worth trying though...
> -- 
> Name: Dave Huang |  Mammal, mammal / their names are called /
> INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
> FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
> Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ 
> PA+ PL++
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--- End of Original Message ---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-26 Thread Dave Huang
On Mon, Apr 26, 2004 at 01:34:58PM +, Dave Woodward wrote:
> Thanks for the pointer, however I have corrected this and now get the
> following error with +RW media
> 
> [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
> -media
> /dev/cdrom1
> :-[ BTC_FAh[2] failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
> Current media Book Type Field is 92h: DVD+RW specification [revision 2]
> 
> Any ideas?

I'm stumped :( Since you've updated the firmware, I assume that you
can reboot into Windows or put the drive in a Windows machine... have
you tried the Windows BitSetting utility from BTC
?

The official Windows utility sends 20 zero bytes as data along with
the command, but that doesn't seem to be needed for me. Maybe it's
worth trying though...
-- 
Name: Dave Huang |  Mammal, mammal / their names are called /
INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-26 Thread Dave Huang
On Mon, Apr 26, 2004 at 01:34:58PM +, Dave Woodward wrote:
> Thanks for the pointer, however I have corrected this and now get the
> following error with +RW media
> 
> [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec -media
> /dev/cdrom1
> :-[ BTC_FAh[2] failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
> Current media Book Type Field is 92h: DVD+RW specification [revision 2]
> 
> Any ideas?

I'm stumped :( Since you've updated the firmware, I assume that you
can reboot into Windows or put the drive in a Windows machine... have
you tried the Windows BitSetting utility from BTC
?

The official Windows utility sends 20 zero bytes as data along with
the command, but that doesn't seem to be needed for me. Maybe it's
worth trying though...
-- 
Name: Dave Huang |  Mammal, mammal / their names are called /
INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-26 Thread Dave Woodward
Thanks for the pointer, however I have corrected this and now get the
following error with +RW media

[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-media
/dev/cdrom1
:-[ BTC_FAh[2] failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
Current media Book Type Field is 92h: DVD+RW specification [revision 2]

Any ideas?

I have also now updated to FW 0657, but this did not make any difference.

Thanks

Dave


-- Original Message ---
From: Dave Huang <[EMAIL PROTECTED]>
To: Dave Woodward <[EMAIL PROTECTED]>
Cc: cdwrite@other.debian.org
Sent: Mon, 26 Apr 2004 04:43:14 -0500
Subject: Re: DVD+RW-Booktype and BTC 1008 Drive

> > I have modified the file dvd+rw-booktype.cpp with the patch mentioned
> > in msg00126.html, have added the extra reporting patch and the
> > additional patch from your last message, so that the source code looks
> > like the following:
> > 
> > ---
> > { // See if it's BTC design...
> > cmd[0]=0xFA;
> > cmd[4]=1;
> > cmd[10]=0xAA;
> > cmd[11]=0xFF;
> > if (!(err=cmd.transport()|| ASC(err)==0x24))
> > return btc (cmd,action,book);
> 
> Double-check Andy Polyakov's patch in msg00137.html; you have the
> parentheses in the wrong place. It should be:
> 
> if (!(err=cmd.transport()) || ASC(err)==0x24)
> 
> instead of
> 
> if (!(err=cmd.transport()|| ASC(err)==0x24))
> 
> Not sure why the original code with the 0x1F -> 0x1E patch for
> PREVENT/ALLOW MEDIA REMOVAL didn't work for you though... it works 
> for me with 1008 firmware 0557.
> 
> BTW, BTC is now making firmware changelogs available on their site:
> <http://www.btc.com.tw/big-5/ChangeList_DRW1008.TXT>, and it looks
> like firmware xx58 supports reading the booktype branding status for
> +/-R media. However, I don't think they've updated their Windows
> utility to use that command, so I have no idea how to use it.
> -- 
> Name: Dave Huang |  Mammal, mammal / their names are called /
> INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
> FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
> Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ 
> PA+ PL++
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--- End of Original Message ---



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-26 Thread Dave Woodward
Thanks for the pointer, however I have corrected this and now get the
following error with +RW media

[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec -media
/dev/cdrom1
:-[ BTC_FAh[2] failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
Current media Book Type Field is 92h: DVD+RW specification [revision 2]

Any ideas?

I have also now updated to FW 0657, but this did not make any difference.

Thanks

Dave


-- Original Message ---
From: Dave Huang <[EMAIL PROTECTED]>
To: Dave Woodward <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Sent: Mon, 26 Apr 2004 04:43:14 -0500
Subject: Re: DVD+RW-Booktype and BTC 1008 Drive

> > I have modified the file dvd+rw-booktype.cpp with the patch mentioned
> > in msg00126.html, have added the extra reporting patch and the
> > additional patch from your last message, so that the source code looks
> > like the following:
> > 
> > ---
> > { // See if it's BTC design...
> > cmd[0]=0xFA;
> > cmd[4]=1;
> > cmd[10]=0xAA;
> > cmd[11]=0xFF;
> > if (!(err=cmd.transport()|| ASC(err)==0x24))
> > return btc (cmd,action,book);
> 
> Double-check Andy Polyakov's patch in msg00137.html; you have the
> parentheses in the wrong place. It should be:
> 
> if (!(err=cmd.transport()) || ASC(err)==0x24)
> 
> instead of
> 
> if (!(err=cmd.transport()|| ASC(err)==0x24))
> 
> Not sure why the original code with the 0x1F -> 0x1E patch for
> PREVENT/ALLOW MEDIA REMOVAL didn't work for you though... it works 
> for me with 1008 firmware 0557.
> 
> BTW, BTC is now making firmware changelogs available on their site:
> <http://www.btc.com.tw/big-5/ChangeList_DRW1008.TXT>, and it looks
> like firmware xx58 supports reading the booktype branding status for
> +/-R media. However, I don't think they've updated their Windows
> utility to use that command, so I have no idea how to use it.
> -- 
> Name: Dave Huang |  Mammal, mammal / their names are called /
> INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
> FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
> Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ 
> PA+ PL++
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--- End of Original Message ---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-26 Thread Dave Huang
> I have modified the file dvd+rw-booktype.cpp with the patch mentioned
> in msg00126.html, have added the extra reporting patch and the
> additional patch from your last message, so that the source code looks
> like the following:
> 
> ---
> { // See if it's BTC design...
> cmd[0]=0xFA;
> cmd[4]=1;
> cmd[10]=0xAA;
> cmd[11]=0xFF;
> if (!(err=cmd.transport()|| ASC(err)==0x24))
> return btc (cmd,action,book);

Double-check Andy Polyakov's patch in msg00137.html; you have the
parentheses in the wrong place. It should be:

if (!(err=cmd.transport()) || ASC(err)==0x24)

instead of

if (!(err=cmd.transport()|| ASC(err)==0x24))

Not sure why the original code with the 0x1F -> 0x1E patch for
PREVENT/ALLOW MEDIA REMOVAL didn't work for you though... it works for
me with 1008 firmware 0557.

BTW, BTC is now making firmware changelogs available on their site:
, and it looks
like firmware xx58 supports reading the booktype branding status for
+/-R media. However, I don't think they've updated their Windows
utility to use that command, so I have no idea how to use it.
-- 
Name: Dave Huang |  Mammal, mammal / their names are called /
INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-26 Thread Dave Huang
> I have modified the file dvd+rw-booktype.cpp with the patch mentioned
> in msg00126.html, have added the extra reporting patch and the
> additional patch from your last message, so that the source code looks
> like the following:
> 
> ---
> { // See if it's BTC design...
> cmd[0]=0xFA;
> cmd[4]=1;
> cmd[10]=0xAA;
> cmd[11]=0xFF;
> if (!(err=cmd.transport()|| ASC(err)==0x24))
> return btc (cmd,action,book);

Double-check Andy Polyakov's patch in msg00137.html; you have the
parentheses in the wrong place. It should be:

if (!(err=cmd.transport()) || ASC(err)==0x24)

instead of

if (!(err=cmd.transport()|| ASC(err)==0x24))

Not sure why the original code with the 0x1F -> 0x1E patch for
PREVENT/ALLOW MEDIA REMOVAL didn't work for you though... it works for
me with 1008 firmware 0557.

BTW, BTC is now making firmware changelogs available on their site:
, and it looks
like firmware xx58 supports reading the booktype branding status for
+/-R media. However, I don't think they've updated their Windows
utility to use that command, so I have no idea how to use it.
-- 
Name: Dave Huang |  Mammal, mammal / their names are called /
INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-25 Thread Dave Woodward

Just a quick update but I have updated to Firmware version 0657, but this has
made no effect.

Thanks

Dave


-- Original Message ---
From: Dave Woodward <[EMAIL PROTECTED]>
To: Andy Polyakov <[EMAIL PROTECTED]>
Cc: Dave Woodward <[EMAIL PROTECTED]>, cdwrite@other.debian.org
Sent: Sun, 25 Apr 2004 11:05:52 +0100
Subject: Re: DVD+RW-Booktype and BTC 1008 Drive

> I have modified the file dvd+rw-booktype.cpp with the patch 
> mentioned in msg00126.html, have added the extra reporting patch and 
> the additional patch from your last message, so that the source code 
> looks like the following:
> 
> ---
> {   // See if it's BTC design...
> cmd[0]=0xFA;
> cmd[4]=1;
> cmd[10]=0xAA;
> cmd[11]=0xFF;
> if (!(err=cmd.transport()|| ASC(err)==0x24))
> return btc (cmd,action,book);
> else if (ASC(err)==0x3A)
> return fprintf (stderr,":-( BTC_FAh: no media mounted\n")
> ,1;elsesperror ("BTC_FAh",err);
> 
> case OPT_MEDIA:
> if (profile!=0x1A)
> {   fprintf (stderr,":-( action is applicable to 
> DVD+RW only\n");break;}  
>   if (book != 0x92 && book != 0x01){   fprintf 
> (stderr,":-( BookType#%02x is not applicable\n",book);   
>  break;}
> #if 0
> cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
> cmd[4]=1;   // "Prevent"
> cmd[5]=0;
> if ((err=cmd.transport()))
> {   sperror ("PREVENT MEDIA REMOVAL",err);
> break;
> }
> #endif
> cmd[0]=0xFE;
> cmd[1]=2;
> cmd[2]=book;
> ---
> obligatory = (profile==0x1A)?0x92:0x32;
> if (book!=obligatory && book!=0x01)
> {   fprintf (stderr,":-( BookType#%02x is not 
> applicable\n",book);
> break;
> }
> 
> cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
> cmd[4]=1;   // "Prevent"
> cmd[5]=0;
> if ((err=cmd.transport()))
> {   sperror ("PREVENT MEDIA REMOVAL",err);
> break;
> }
> ---
> 
> However I seem to get the same error when I am trying to set the 
> booktype on a +R and a +RW as follows :
> 
> [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]#
> [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-
> spec -unit+r /dev/cdrom1 :-[ BTC_FAh failed with 
> SK=0h/ASC=00h/ACQ=01h]: Input/output error This program targets 
> units of RICOH, BENQ and BTC designs. /dev/cdrom1 doesn't appear to 
> be one. Exiting. [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# [EMAIL 
> PROTECTED] 
> dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec -unit+r /dev/cdrom1
> :-[ BTC_FAh failed with SK=0h/ASC=00h/ACQ=01h]: Input/output error
> This program targets units of RICOH, BENQ and BTC designs.
> /dev/cdrom1 doesn't appear to be one. Exiting.
> [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]#
> 
> Could you please advise of anything further that may help.
> 
> Thanks
> 
> Dave
> 
> Andy Polyakov wrote:
> 
> >> I have made the modifications and here are the results for a +RW Disk
> >>
> >> [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype 
> >> -dvd-rom-spec 
> >> -unit+r /dev/cdrom1
> >> :-[ BTC_FAh failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
> >> This program targets units of RICOH, BENQ and BTC designs.
> >> /dev/cdrom1 doesn't appear to be one. Exiting.
> >
> >
> > Note 
> > http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg00126.html. It 
> > obviously varies from firmware to firmware. In addition to the patch 
> > posted at above mentioned URL try modifying dvd+rw-booktype.cpp as 
> > following:
> >
> > if (!(err=cmd.transport()) || ASC(err)==0x24)
> > return btc (cmd,action,book);
> > else if (ASC(err)==0x3A)
> > return fprintf (stderr,":-( BTC_FAh: no media mounted\n"),1;
> >
> > Note extra || ASC(err)==0x24 in first if statement. A.
> >
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--- End of Original Message ---



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-25 Thread Dave Woodward
I have modified the file dvd+rw-booktype.cpp with the patch mentioned in 
msg00126.html, have added the extra reporting patch and the additional 
patch from your last message, so that the source code looks like the 
following:

---
   {   // See if it's BTC design...
   cmd[0]=0xFA;
   cmd[4]=1;
   cmd[10]=0xAA;
   cmd[11]=0xFF;
   if (!(err=cmd.transport()|| ASC(err)==0x24))
   return btc (cmd,action,book);
   else if (ASC(err)==0x3A)
   return fprintf (stderr,":-( BTC_FAh: no media mounted\n"),1;
   else
   sperror ("BTC_FAh",err);

   case OPT_MEDIA:
   if (profile!=0x1A)
   {   fprintf (stderr,":-( action is applicable to DVD+RW 
only\n");
   break;
   }
   if (book != 0x92 && book != 0x01)
   {   fprintf (stderr,":-( BookType#%02x is not 
applicable\n",book);
   break;
   }
#if 0
   cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
   cmd[4]=1;   // "Prevent"
   cmd[5]=0;
   if ((err=cmd.transport()))
   {   sperror ("PREVENT MEDIA REMOVAL",err);
   break;
   }
#endif
   cmd[0]=0xFE;
   cmd[1]=2;
   cmd[2]=book;
---
   obligatory = (profile==0x1A)?0x92:0x32;
   if (book!=obligatory && book!=0x01)
   {   fprintf (stderr,":-( BookType#%02x is not 
applicable\n",book);
   break;
   }
   

   cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
   cmd[4]=1;   // "Prevent"
   cmd[5]=0;
   if ((err=cmd.transport()))
   {   sperror ("PREVENT MEDIA REMOVAL",err);
   break;
   }
---
However I seem to get the same error when I am trying to set the 
booktype on a +R and a +RW as follows :

[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]#
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=0h/ASC=00h/ACQ=01h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]#
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=0h/ASC=00h/ACQ=01h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]#

Could you please advise of anything further that may help.
Thanks
Dave

Andy Polyakov wrote:
I have made the modifications and here are the results for a +RW Disk
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.

Note 
http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg00126.html. It 
obviously varies from firmware to firmware. In addition to the patch 
posted at above mentioned URL try modifying dvd+rw-booktype.cpp as 
following:

if (!(err=cmd.transport()) || ASC(err)==0x24)
return btc (cmd,action,book);
else if (ASC(err)==0x3A)
return fprintf (stderr,":-( BTC_FAh: no media mounted\n"),1;
Note extra || ASC(err)==0x24 in first if statement. A.



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-25 Thread Dave Woodward

Just a quick update but I have updated to Firmware version 0657, but this has
made no effect.

Thanks

Dave


-- Original Message ---
From: Dave Woodward <[EMAIL PROTECTED]>
To: Andy Polyakov <[EMAIL PROTECTED]>
Cc: Dave Woodward <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Sent: Sun, 25 Apr 2004 11:05:52 +0100
Subject: Re: DVD+RW-Booktype and BTC 1008 Drive

> I have modified the file dvd+rw-booktype.cpp with the patch 
> mentioned in msg00126.html, have added the extra reporting patch and 
> the additional patch from your last message, so that the source code 
> looks like the following:
> 
> ---
> {   // See if it's BTC design...
> cmd[0]=0xFA;
> cmd[4]=1;
> cmd[10]=0xAA;
> cmd[11]=0xFF;
> if (!(err=cmd.transport()|| ASC(err)==0x24))
> return btc (cmd,action,book);
> else if (ASC(err)==0x3A)
> return fprintf (stderr,":-( BTC_FAh: no media mounted\n")
> ,1;elsesperror ("BTC_FAh",err);
> 
> case OPT_MEDIA:
> if (profile!=0x1A)
> {   fprintf (stderr,":-( action is applicable to 
> DVD+RW only\n");break;}  
>   if (book != 0x92 && book != 0x01){   fprintf 
> (stderr,":-( BookType#%02x is not applicable\n",book);   
>  break;}
> #if 0
> cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
> cmd[4]=1;   // "Prevent"
> cmd[5]=0;
> if ((err=cmd.transport()))
> {   sperror ("PREVENT MEDIA REMOVAL",err);
> break;
> }
> #endif
> cmd[0]=0xFE;
> cmd[1]=2;
> cmd[2]=book;
> ---
> obligatory = (profile==0x1A)?0x92:0x32;
> if (book!=obligatory && book!=0x01)
> {   fprintf (stderr,":-( BookType#%02x is not 
> applicable\n",book);
> break;
> }
> 
> cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
> cmd[4]=1;   // "Prevent"
> cmd[5]=0;
> if ((err=cmd.transport()))
> {   sperror ("PREVENT MEDIA REMOVAL",err);
> break;
> }
> ---
> 
> However I seem to get the same error when I am trying to set the 
> booktype on a +R and a +RW as follows :
> 
> [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]#
> [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-
> spec -unit+r /dev/cdrom1 :-[ BTC_FAh failed with 
> SK=0h/ASC=00h/ACQ=01h]: Input/output error This program targets 
> units of RICOH, BENQ and BTC designs. /dev/cdrom1 doesn't appear to 
> be one. Exiting. [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# [EMAIL PROTECTED] 
> dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec -unit+r /dev/cdrom1
> :-[ BTC_FAh failed with SK=0h/ASC=00h/ACQ=01h]: Input/output error
> This program targets units of RICOH, BENQ and BTC designs.
> /dev/cdrom1 doesn't appear to be one. Exiting.
> [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]#
> 
> Could you please advise of anything further that may help.
> 
> Thanks
> 
> Dave
> 
> Andy Polyakov wrote:
> 
> >> I have made the modifications and here are the results for a +RW Disk
> >>
> >> [EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
> >> -unit+r /dev/cdrom1
> >> :-[ BTC_FAh failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
> >> This program targets units of RICOH, BENQ and BTC designs.
> >> /dev/cdrom1 doesn't appear to be one. Exiting.
> >
> >
> > Note 
> > http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg00126.html. It 
> > obviously varies from firmware to firmware. In addition to the patch 
> > posted at above mentioned URL try modifying dvd+rw-booktype.cpp as 
> > following:
> >
> > if (!(err=cmd.transport()) || ASC(err)==0x24)
> > return btc (cmd,action,book);
> > else if (ASC(err)==0x3A)
> > return fprintf (stderr,":-( BTC_FAh: no media mounted\n"),1;
> >
> > Note extra || ASC(err)==0x24 in first if statement. A.
> >
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--- End of Original Message ---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-25 Thread Dave Woodward
I have modified the file dvd+rw-booktype.cpp with the patch mentioned in 
msg00126.html, have added the extra reporting patch and the additional 
patch from your last message, so that the source code looks like the 
following:

---
   {   // See if it's BTC design...
   cmd[0]=0xFA;
   cmd[4]=1;
   cmd[10]=0xAA;
   cmd[11]=0xFF;
   if (!(err=cmd.transport()|| ASC(err)==0x24))
   return btc (cmd,action,book);
   else if (ASC(err)==0x3A)
   return fprintf (stderr,":-( BTC_FAh: no media mounted\n"),1;
   else
   sperror ("BTC_FAh",err);

   case OPT_MEDIA:
   if (profile!=0x1A)
   {   fprintf (stderr,":-( action is applicable to DVD+RW 
only\n");
   break;
   }
   if (book != 0x92 && book != 0x01)
   {   fprintf (stderr,":-( BookType#%02x is not 
applicable\n",book);
   break;
   }
#if 0
   cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
   cmd[4]=1;   // "Prevent"
   cmd[5]=0;
   if ((err=cmd.transport()))
   {   sperror ("PREVENT MEDIA REMOVAL",err);
   break;
   }
#endif
   cmd[0]=0xFE;
   cmd[1]=2;
   cmd[2]=book;
---
   obligatory = (profile==0x1A)?0x92:0x32;
   if (book!=obligatory && book!=0x01)
   {   fprintf (stderr,":-( BookType#%02x is not 
applicable\n",book);
   break;
   }
   

   cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
   cmd[4]=1;   // "Prevent"
   cmd[5]=0;
   if ((err=cmd.transport()))
   {   sperror ("PREVENT MEDIA REMOVAL",err);
   break;
   }
---
However I seem to get the same error when I am trying to set the 
booktype on a +R and a +RW as follows :

[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]#
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=0h/ASC=00h/ACQ=01h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]#
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=0h/ASC=00h/ACQ=01h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]#

Could you please advise of anything further that may help.

Thanks

Dave



Andy Polyakov wrote:

I have made the modifications and here are the results for a +RW Disk

[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.


Note 
http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg00126.html. It 
obviously varies from firmware to firmware. In addition to the patch 
posted at above mentioned URL try modifying dvd+rw-booktype.cpp as 
following:

if (!(err=cmd.transport()) || ASC(err)==0x24)
return btc (cmd,action,book);
else if (ASC(err)==0x3A)
return fprintf (stderr,":-( BTC_FAh: no media mounted\n"),1;
Note extra || ASC(err)==0x24 in first if statement. A.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-21 Thread Dave Huang
On Wed, Apr 21, 2004 at 10:23:56PM +0200, Andy Polyakov wrote:
> I've sent you one off-list with download instructions. But never mind...

No idea where it went... ah well :)

> As you might have noticed another user can't even to btc()... Is there 
> any data on which firmwares support this? A.

I believe the 1008 requires 0256 or later; Dave Woodward has 0557,
same as I do, so it should be fine. The 1004 requires firmware 0050 or
later.
-- 
Name: Dave Huang |  Mammal, mammal / their names are called /
INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-21 Thread Dave Huang
On Wed, Apr 21, 2004 at 10:23:56PM +0200, Andy Polyakov wrote:
> I've sent you one off-list with download instructions. But never mind...

No idea where it went... ah well :)

> As you might have noticed another user can't even to btc()... Is there 
> any data on which firmwares support this? A.

I believe the 1008 requires 0256 or later; Dave Woodward has 0557,
same as I do, so it should be fine. The 1004 requires firmware 0050 or
later.
-- 
Name: Dave Huang |  Mammal, mammal / their names are called /
INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-21 Thread Andy Polyakov
I have made the modifications and here are the results for a +RW Disk
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.
Note http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg00126.html. 
It obviously varies from firmware to firmware. In addition to the patch 
posted at above mentioned URL try modifying dvd+rw-booktype.cpp as 
following:

if (!(err=cmd.transport()) || ASC(err)==0x24)
return btc (cmd,action,book);
else if (ASC(err)==0x3A)
return fprintf (stderr,":-( BTC_FAh: no media mounted\n"),1;
Note extra || ASC(err)==0x24 in first if statement. A.


Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-21 Thread Andy Polyakov
First of all I want to say that BTC support was released practically
untested, as the user who provided the information about BTC extension
never replied to the request to verify the suggested code.

Hmm, I never received any request... the last email I received from
you was this one:
http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg5.html
I've sent you one off-list with download instructions. But never mind...
In any case, I haven't had a chance to try to set a DVD+R disc to
DVD-ROM book type, but changing the book type of DVD+RW and DVD-RW
discs works fine, after correcting a minor typo:
As you might have noticed another user can't even to btc()... Is there 
any data on which firmwares support this? A.



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-21 Thread Andy Polyakov
I have made the modifications and here are the results for a +RW Disk

[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.
Note http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg00126.html. 
It obviously varies from firmware to firmware. In addition to the patch 
posted at above mentioned URL try modifying dvd+rw-booktype.cpp as 
following:

if (!(err=cmd.transport()) || ASC(err)==0x24)
return btc (cmd,action,book);
else if (ASC(err)==0x3A)
return fprintf (stderr,":-( BTC_FAh: no media mounted\n"),1;
Note extra || ASC(err)==0x24 in first if statement. A.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-21 Thread Andy Polyakov
First of all I want to say that BTC support was released practically
untested, as the user who provided the information about BTC extension
never replied to the request to verify the suggested code.


Hmm, I never received any request... the last email I received from
you was this one:
http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg5.html
I've sent you one off-list with download instructions. But never mind...

In any case, I haven't had a chance to try to set a DVD+R disc to
DVD-ROM book type, but changing the book type of DVD+RW and DVD-RW
discs works fine, after correcting a minor typo:
As you might have noticed another user can't even to btc()... Is there 
any data on which firmwares support this? A.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-21 Thread scdbackup
For a minor aspect of your message on cdwrite@other.debian.org :

> Note that I'm not subscribed to the cdwrite mailing list. I had tried
> to subscribe in late March, but my requests seem to have been silently
> discarded by the list software :(

I had the same impression when i tried to subscribe via the web form at
  http://lists.debian.org/cdwrite/

Then i read http://www.debian.org/MailingLists/ and noticed that they
talk about   [EMAIL PROTECTED],
while this is cdwrite@other.debian.org

So i sent a mail with subject "subscribe" to 
  [EMAIL PROTECTED] 
Some minutes later i got a mail from there with a confimation code
which i sent back. That did the trick.

Have a nice day :)

Thomas




Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-21 Thread scdbackup
For a minor aspect of your message on [EMAIL PROTECTED] :

> Note that I'm not subscribed to the cdwrite mailing list. I had tried
> to subscribe in late March, but my requests seem to have been silently
> discarded by the list software :(

I had the same impression when i tried to subscribe via the web form at
  http://lists.debian.org/cdwrite/

Then i read http://www.debian.org/MailingLists/ and noticed that they
talk about   [EMAIL PROTECTED],
while this is [EMAIL PROTECTED]

So i sent a mail with subject "subscribe" to 
  [EMAIL PROTECTED] 
Some minutes later i got a mail from there with a confimation code
which i sent back. That did the trick.

Have a nice day :)

Thomas



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-20 Thread Dave Huang
> First of all I want to say that BTC support was released practically
> untested, as the user who provided the information about BTC extension
> never replied to the request to verify the suggested code.

Hmm, I never received any request... the last email I received from
you was this one:
http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg5.html

Note that I'm not subscribed to the cdwrite mailing list. I had tried
to subscribe in late March, but my requests seem to have been silently
discarded by the list software :(

In any case, I haven't had a chance to try to set a DVD+R disc to
DVD-ROM book type, but changing the book type of DVD+RW and DVD-RW
discs works fine, after correcting a minor typo:

--- dvd+rw-booktype.cpp.orig2004-04-10 10:50:15.0 -0500
+++ dvd+rw-booktype.cpp 2004-04-19 00:28:03.0 -0500
@@ -258,7 +258,7 @@
break;
}
 #if 0
-   cmd[0]=0x1F;// PREVENT/ALLOW MEDIA REMOVAL
+   cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
cmd[4]=1;   // "Prevent"
cmd[5]=0;
if ((err=cmd.transport()))
@@ -375,7 +375,7 @@
break;
}
 
-   cmd[0]=0x1F;// PREVENT/ALLOW MEDIA REMOVAL
+   cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
cmd[4]=1;   // "Prevent"
cmd[5]=0;
if ((err=cmd.transport()))

I was also going to report another bug, but it's already been reported
and fixed:
http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg00118.html
-- 
Name: Dave Huang |  Mammal, mammal / their names are called /
INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++



Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-20 Thread Dave Huang
> First of all I want to say that BTC support was released practically
> untested, as the user who provided the information about BTC extension
> never replied to the request to verify the suggested code.

Hmm, I never received any request... the last email I received from
you was this one:
http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg5.html

Note that I'm not subscribed to the cdwrite mailing list. I had tried
to subscribe in late March, but my requests seem to have been silently
discarded by the list software :(

In any case, I haven't had a chance to try to set a DVD+R disc to
DVD-ROM book type, but changing the book type of DVD+RW and DVD-RW
discs works fine, after correcting a minor typo:

--- dvd+rw-booktype.cpp.orig2004-04-10 10:50:15.0 -0500
+++ dvd+rw-booktype.cpp 2004-04-19 00:28:03.0 -0500
@@ -258,7 +258,7 @@
break;
}
 #if 0
-   cmd[0]=0x1F;// PREVENT/ALLOW MEDIA REMOVAL
+   cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
cmd[4]=1;   // "Prevent"
cmd[5]=0;
if ((err=cmd.transport()))
@@ -375,7 +375,7 @@
break;
}
 
-   cmd[0]=0x1F;// PREVENT/ALLOW MEDIA REMOVAL
+   cmd[0]=0x1E;// PREVENT/ALLOW MEDIA REMOVAL
cmd[4]=1;   // "Prevent"
cmd[5]=0;
if ((err=cmd.transport()))

I was also going to report another bug, but it's already been reported
and fixed:
http://lists.debian.org/cdwrite/2004/cdwrite-200404/msg00118.html
-- 
Name: Dave Huang |  Mammal, mammal / their names are called /
INet: [EMAIL PROTECTED] |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 28 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-18 Thread Dave Woodward
I have made the modifications and here are the results for a +RW Disk
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.

Also here are the results from a +R disk
[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.

Thanks
Dave


Re: Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-18 Thread Dave Woodward
I have made the modifications and here are the results for a +RW Disk

[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.

Also here are the results from a +R disk

[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# ./dvd+rw-booktype -dvd-rom-spec 
-unit+r /dev/cdrom1
:-[ BTC_FAh failed with SK=5h/ASC=24h/ACQ=00h]: Input/output error
This program targets units of RICOH, BENQ and BTC designs.
/dev/cdrom1 doesn't appear to be one. Exiting.

Thanks

Dave

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-17 Thread Andy Polyakov
Can anybody help me on this one.
First of all I want to say that BTC support was released practically 
untested, as the user who provided the information about BTC extension 
never replied to the request to verify the suggested code.

I cannot seem to set the bitsetting of a DVD+R disk to DVD-ROM, if there is
anything I can try please let me know, I have seen a previous post about
setting the booktype with a BSD scsi command, but I cannot seem to locate it,
however the output of the dvd+rw-booktype is as follows:
[EMAIL PROTECTED] ide]# dvd+rw-booktype -dvd-rom-spec -unit+r /dev/scd1
This program targets units of RICOH, BENQ and BTC designs.
/dev/scd1 doesn't appear to be one. Exiting.
Modify dvd+rw-booktype source code to print an explicit error code:
else if (ASC(err)==0x3A)
return fprintf (stderr,":-( BTC_FAh: no media mounted\n"),1;
else
sperror ("BTC_FAh",err);
Can you test it with some rewritable media? A.


Re: DVD+RW-Booktype and BTC 1008 Drive

2004-04-17 Thread Andy Polyakov
Can anybody help me on this one.
First of all I want to say that BTC support was released practically 
untested, as the user who provided the information about BTC extension 
never replied to the request to verify the suggested code.

I cannot seem to set the bitsetting of a DVD+R disk to DVD-ROM, if there is
anything I can try please let me know, I have seen a previous post about
setting the booktype with a BSD scsi command, but I cannot seem to locate it,
however the output of the dvd+rw-booktype is as follows:
[EMAIL PROTECTED] ide]# dvd+rw-booktype -dvd-rom-spec -unit+r /dev/scd1
This program targets units of RICOH, BENQ and BTC designs.
/dev/scd1 doesn't appear to be one. Exiting.
Modify dvd+rw-booktype source code to print an explicit error code:

else if (ASC(err)==0x3A)
return fprintf (stderr,":-( BTC_FAh: no media mounted\n"),1;
else
sperror ("BTC_FAh",err);
Can you test it with some rewritable media? A.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


DVD+RW-Booktype and BTC 1008 Drive

2004-04-12 Thread Dave Woodward
Can anybody help me on this one.

I cannot seem to set the bitsetting of a DVD+R disk to DVD-ROM, if there is
anything I can try please let me know, I have seen a previous post about
setting the booktype with a BSD scsi command, but I cannot seem to locate it,
however the output of the dvd+rw-booktype is as follows:

[EMAIL PROTECTED] ide]# dvd+rw-booktype -dvd-rom-spec -unit+r /dev/scd1
This program targets units of RICOH, BENQ and BTC designs.
/dev/scd1 doesn't appear to be one. Exiting.


I have recently installed dvd+rw-tools v5.19 as shown by the following command:

[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# growisofs -version
* growisofs by <[EMAIL PROTECTED]>, version 5.19,
  front-ending to mkisofs: mkisofs 2.01a17 (i686-redhat-linux-gnu)


The DVD writer I am using is a BTC 1008 with firmware revision 0557 as shown
by the following command:

[EMAIL PROTECTED] ide]# scsi_info /dev/scd1
SCSI_ID="0,1,0"
MODEL="DVDRW IDE1008"
FW_REV="0557"


Also here is a dump of the media information:

[EMAIL PROTECTED] ide]# dvd+rw-mediainfo /dev/scd1
INQUIRY:[DVDRW   ][IDE1008 ][0557]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 1Bh, DVD+R
 Current Write Speed:   4.0x1385=5540KB/s
 Write Speed #0:4.0x1385=5540KB/s
 Write Speed #1:2.0x1385=2770KB/s
 Speed Descriptor#0:00/2295103 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
 Speed Descriptor#1:00/2295103 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:   A1h, DVD+R book [revision 1]
 Media ID:  MEDIA ID/001
 Legacy lead-out at:2295104*2KB=4700372992
READ DISC INFORMATION:
 Disc status:   blank
 Number of Sessions:1
 State of Last Session: empty
 Number of Tracks:  1
READ TRACK INFORMATION[#1]:
 Track State:   blank
 Track Start Address:   0*2KB
 Next Writable Address: 0*2KB
 Free Blocks:   2295104*2KB
 Track Size:2295104*2KB


Many Thanks

Dave Woodward



DVD+RW-Booktype and BTC 1008 Drive

2004-04-12 Thread Dave Woodward
Can anybody help me on this one.

I cannot seem to set the bitsetting of a DVD+R disk to DVD-ROM, if there is
anything I can try please let me know, I have seen a previous post about
setting the booktype with a BSD scsi command, but I cannot seem to locate it,
however the output of the dvd+rw-booktype is as follows:

[EMAIL PROTECTED] ide]# dvd+rw-booktype -dvd-rom-spec -unit+r /dev/scd1
This program targets units of RICOH, BENQ and BTC designs.
/dev/scd1 doesn't appear to be one. Exiting.


I have recently installed dvd+rw-tools v5.19 as shown by the following command:

[EMAIL PROTECTED] dvd+rw-tools-5.19.4.9.7]# growisofs -version
* growisofs by <[EMAIL PROTECTED]>, version 5.19,
  front-ending to mkisofs: mkisofs 2.01a17 (i686-redhat-linux-gnu)


The DVD writer I am using is a BTC 1008 with firmware revision 0557 as shown
by the following command:

[EMAIL PROTECTED] ide]# scsi_info /dev/scd1
SCSI_ID="0,1,0"
MODEL="DVDRW IDE1008"
FW_REV="0557"


Also here is a dump of the media information:

[EMAIL PROTECTED] ide]# dvd+rw-mediainfo /dev/scd1
INQUIRY:[DVDRW   ][IDE1008 ][0557]
GET [CURRENT] CONFIGURATION:
 Mounted Media: 1Bh, DVD+R
 Current Write Speed:   4.0x1385=5540KB/s
 Write Speed #0:4.0x1385=5540KB/s
 Write Speed #1:2.0x1385=2770KB/s
 Speed Descriptor#0:00/2295103 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
 Speed Descriptor#1:00/2295103 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:   A1h, DVD+R book [revision 1]
 Media ID:  MEDIA ID/001
 Legacy lead-out at:2295104*2KB=4700372992
READ DISC INFORMATION:
 Disc status:   blank
 Number of Sessions:1
 State of Last Session: empty
 Number of Tracks:  1
READ TRACK INFORMATION[#1]:
 Track State:   blank
 Track Start Address:   0*2KB
 Next Writable Address: 0*2KB
 Free Blocks:   2295104*2KB
 Track Size:2295104*2KB


Many Thanks

Dave Woodward


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]