On Sat, Dec 08 2001, Pierre Rousselet wrote:
> > Is this a new problem?
>
> The same is in 2.5.1-pre5 (i reported the 'Can play audio : 0' to l-k).
How about 2.4.16? Try attached patch.
-- Jens Axboe
--IrhDeMKUP4DT/M7F Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=ide-cd-cap
--- /opt/kernel/linux-2.5.1-pre7/drivers/ide/ide-cd.c Fri Dec 7 20:38:44 2001 +++ drivers/ide/ide-cd.c Sat Dec 8 11:42:47 2001 @@ -2527,8 +2527,10 @@ * page capabilities size, but older drives break. */ if (drive->id) { - if (!(!strcmp(drive->id->model, "ATAPI CD ROM DRIVE 50X MAX") || - !strcmp(drive->id->model, "WPI CDS-32X"))) + if (!(!strcmp(drive->id->model, "ATAPI CD ROM DRIVE 50X MAX") + || !strcmp(drive->id->model, "WPI CDS-32X")) + || !strcmp(drive->id->model, "CRD-8240B")) + size -= sizeof(cap->pad); }
--IrhDeMKUP4DT/M7F-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/