From: Márton Németh <[email protected]>
The "TEAC CD-ROM CD-224E" cannot close its tray, so add it to the NO_AUTOCLOSE list. This
will correct the "Can close tray" field of /proc/sys/dev/cdrom/info.
Signed-off-by: Márton Németh <[email protected]>
---
--- linux-2.6.27/drivers/ide/ide-cd.c.orig 2008-10-10 00:13:53.000000000 +0200
+++ linux-2.6.27/drivers/ide/ide-cd.c 2008-10-23 11:34:59.000000000 +0200
@@ -1863,6 +1863,7 @@ static const struct cd_list_entry ide_cd
{ "Optiarc DVD RW AD-5200A", NULL, IDE_AFLAG_PLAY_AUDIO_OK },
{ "Optiarc DVD RW AD-7200A", NULL, IDE_AFLAG_PLAY_AUDIO_OK },
{ "Optiarc DVD RW AD-7543A", NULL, IDE_AFLAG_NO_AUTOCLOSE },
+ { "TEAC CD-ROM CD-224E", NULL, IDE_AFLAG_NO_AUTOCLOSE },
{ NULL, NULL, 0 }
};
On Thu, Oct 23, 2008 at 1:51 PM, N?meth M?rton <[email protected]> wrote:
> From: M?rton N?meth <[email protected]>
>
> The "TEAC CD-ROM CD-224E" cannot close its tray, so add it to the NO_AUTOCLOSE list. This
> will correct the "Can close tray" field of /proc/sys/dev/cdrom/info.
>
> Signed-off-by: M?rton N?meth <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
> ---
> --- linux-2.6.27/drivers/ide/ide-cd.c.orig 2008-10-10 00:13:53.000000000 +0200
> +++ linux-2.6.27/drivers/ide/ide-cd.c 2008-10-23 11:34:59.000000000 +0200
> @@ -1863,6 +1863,7 @@ static const struct cd_list_entry ide_cd
> { "Optiarc DVD RW AD-5200A", NULL, IDE_AFLAG_PLAY_AUDIO_OK },
> { "Optiarc DVD RW AD-7200A", NULL, IDE_AFLAG_PLAY_AUDIO_OK },
> { "Optiarc DVD RW AD-7543A", NULL, IDE_AFLAG_NO_AUTOCLOSE },
> + { "TEAC CD-ROM CD-224E", NULL, IDE_AFLAG_NO_AUTOCLOSE },
> { NULL, NULL, 0 }
> };
>
>
--
Regards/Gruss,
Boris
On Thursday 23 October 2008, Boris Petkov wrote:
> On Thu, Oct 23, 2008 at 1:51 PM, N?meth M?rton <[email protected]> wrote:
> > From: M?rton N?meth <[email protected]>
> >
> > The "TEAC CD-ROM CD-224E" cannot close its tray, so add it to the NO_AUTOCLOSE list. This
> > will correct the "Can close tray" field of /proc/sys/dev/cdrom/info.
> >
> > Signed-off-by: M?rton N?meth <[email protected]>
>
> Acked-by: Borislav Petkov <[email protected]>
applied