Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2005 00:15:54 +0000
From:      Vadim Chekan <vchekan@cox.net>
To:        current@freebsd.org
Subject:   [Patch] Serial ATAPI is not recognized
Message-ID:  <42FBEA3A.5090809@cox.net>

next in thread | raw e-mail | index | archive | help
Hi all!

I've bought a SATA dvd burner, Plextor PX-712-SA and found that FreeBSD 
6 does not recognize it. But freebsd-5 does. After some time spent on 
investigation I found that it needs reset commad be issued before get 
ATAPI_MAGIC_LSB and ATAPI_MAGIC_MSB.

In ata-chipset.c:ata_sata_connect() I put
     ATA_IDX_OUTB(ch, ATA_ALTSTAT, ATA_A_IDS | ATA_A_RESET);
     ata_udelay(10000);
before
    if ((ATA_IDX_INB(ch, ATA_CYL_LSB) == ATAPI_MAGIC_LSB) &&

and it works now. At least I checked burncd in CDRW mode. It hungs or 
gives error at the end but produces valid CD.


Thanks,
Vadim Chekan.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42FBEA3A.5090809>