Hi all,

if someone encounters problems with writing RAW/RAW16 on traxdata 
or maybe any Philips OEM. 

I just found a bug in the cdrecord firmware bug detection ;-)

Cdrecord cannot find the right start sector for RAW writing...
Here is a patch:

------- cdrecord.c -------
*** /tmp/sccs.RaaO6a    Die Jun  5 21:30:56 2001
--- cdrecord.c  Die Jun  5 21:30:53 2001
***************
*** 796,802 ****
        }
        if (flags & F_RAW) {
                (*dp->cdr_next_wr_address)(scgp, 0, &track[0], &startsec);
!               if (startsec <= 0 && startsec > -4500) {
                        /*
                         * There must be at least 1 minute lead-in.
                         */
--- 796,803 ----
        }
        if (flags & F_RAW) {
                (*dp->cdr_next_wr_address)(scgp, 0, &track[0], &startsec);
! /*            if (startsec <= 0 && startsec > -4500) {*/
!               if (startsec > -4500) {
                        /*
                         * There must be at least 1 minute lead-in.
                         */
***************
*** 804,810 ****
                                        startsec, ds.ds_first_leadin);
                        startsec = ds.ds_first_leadin;
                }
!               if (startsec <= 0 && startsec > -4500) {
                        comerrno(EX_BAD, "Illegal startsec (%ld)\n", startsec);
                }
                if (debug || lverbose)
--- 805,812 ----
                                        startsec, ds.ds_first_leadin);
                        startsec = ds.ds_first_leadin;
                }
! /*            if (startsec <= 0 && startsec > -4500) {*/
!               if (startsec > -4500) {
                        comerrno(EX_BAD, "Illegal startsec (%ld)\n", startsec);
                }
                if (debug || lverbose)



J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


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

Reply via email to