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

Re: *nix flash utility for BTC DVD recorders



>From khym@azeotrope.org  Thu May 13 03:18:22 2004

>It's old, but I was under the impression that it is the current
>release... Are the version in the alpha subdirectory not alpha
>pre-releases?

They are the base of development bugreports and discussions.
The other releases are frozen and will only be changed if a fatal
problem occurs.

>> I just uploaded a new btcflash-1.6-sspm.tar.bz2 to
>> 
>> ftp://ftp.berlios.de/pub/cdrecord/alpha/

>Just tried it (updated from version 0358 to 0458), and the update
>worked fine. However, I forgot to mention this problem last time, so
>the problem still exists:

>Uploading firmware...
>Flashing drive...
>./btcflash: Input/output error. test unit ready: scsi sendcmd: retryable 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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
>Drive is now:           [DVDRW   ][IDE1008         ][0458]

>My original code waited until the drive was ready, or it returned
>"medium not present". The SSPM version stops waiting if it gets
>"medium not present", which is good, but it shouldn't print an error
>message for that case.

OK, could you test this patch:

------- btcflash.c -------
*** /tmp/sccs.Aiaqiy    Fri May 14 11:47:47 2004
--- btcflash.c  Fri May 14 11:47:24 2004
***************
*** 273,279 ****
--- 273,281 ----
  
        sleep(50);      /* Let drive sit for a while before bothering it */
  
+       scgp->silent++;
        wait_unit_ready(scgp, 300);
+       scgp->silent--;
  
        if (inquiry(scgp, (char *)inq, 36) < 0)
                return (1);


It should run it "more silently".

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily



Reply to: