Re: [PATCH] cdrom: longer timeout for "Read Track Info" command

Alan
2007-01-02T10:18:34Z

On Mon, 1 Jan 2007 18:36:24 -0800
Jeremy Higdon <jeremy@sgi.com> wrote:

> I have a DVD combo drive and a CD in which the
> "READ TRACK INFORMATION" command (implemented in the
> cdrom_get_track_info() function) takes about 7 seconds to run.
> The current implementation of cdrom_get_track_info() uses the
> default timeout of 5 seconds. So here's a patch that increases
> the timeout from 5 to 15 seconds.
>
> The drive in question is a TSSTcorpCD/DVDW SN-S082D, and I have
> a Silicon Image 680A adapter, in case that's of interest.
>
> signed-off-by: <jeremy@sgi.com>

Please test with a seven second timeout rather than fifteen which is way
longer than anyone wants to wait. Seven is the magic value used by
another major vendor so ought to be right for all hardware 8)