On Mon, 2006-11-13 at 20:32 +0100, Arjan van de Ven wrote:On Mon, 2006-11-13 at 19:56 +0100, Mathieu Fluhr wrote:On Mon, 2006-11-13 at 13:49 -0500, Phillip Susi wrote:for those there is /dev/scd0 etc...Mathieu Fluhr wrote:Of course for native IDE devices, we are using the /dev/hdXX device, butHello,Please note that the sg interface is depreciated. It is now recommended that you send the CCBs directly to the normal device, i.e. /dev/hdc.
I recently tried to burn some datas on CDs and DVD using a SATA burner
and the latest 2.6.18.2 kernel... using NeroLINUX. (It is controlling
the device by sending SCSI commands over the 'sg' driver)
for SATA devices controlled by the libata, this is not possible ;)
(usually nicely symlinked to /dev/cdrom)
Hummm as we are _writing_ to devices, I think that using /dev/sgXX with
SG_IO is better no?
... and the problem is not in accessing the device itself (this is
working like a charm) but understanding why a SCSI READ(10) cmd
sometimes fails as a ATA-padded READ(10) cmd - as discribed in the Annex
A of the MMC-5 spec - ALWAYS works.
-> I would suspect somehow a synchronisation problem somehow in the
translation of SCSI to ATA command...