Re: libata/PATA: GPCMD_SET_STREAMING via SG_IO does nothing

From: Mark Lord
Date: Wed Nov 14 2007 - 12:49:19 EST


Sebastian Kemper wrote:
On Wed, Nov 14, 2007 at 11:26:06AM -0500, Mark Lord wrote:
Another way to the same thing is with "hdparm -E",
which contrary to my earlier posting actually does
seem to work already with libata.

Hi!

There are DVD-ROM drives that don't react to hdparm -E but do react to
SET_STREAMING, for instance some NEC drives.
..

Mmm.. that's possible. The NEC drive I have here works with either.

I wonder if an update to sr_select_speed() (inside the SCSI code) is needed?
It currently uses GPCMD_SET_SPEED, with no fallback to GPCMD_SET_STREAMING.

Or I suppose this is best left to userspace.
I may change hdparm to try both opcodes.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/