bug: cd-rom autoclose no longer works (fix attempt)
From: Stas Sergeev (stsp_at_aknet.ru)
Date: 12/29/04
- Previous message: Julien BLACHE: "Re: unkillable processes using samba, xfs and lvm2 snapshots (k 2.6.10)"
- Next in thread: Stas Sergeev: "Re: bug: cd-rom autoclose no longer works (fix attempt)"
- Maybe reply: Stas Sergeev: "Re: bug: cd-rom autoclose no longer works (fix attempt)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Dec 2004 21:12:22 +0300 To: Linux kernel <linux-kernel@vger.kernel.org>
Hello.
CD-ROM autoclose stopped working in
2.6 kernels quite some time ago.
Attached is the patch that fixes it
for me.
The ide-cd.c change is as per 2.4.20
which works. For some reasons
sense.ascq == 0 for me when the tray
is opened.
The cdrom.c change is here because
rigth after the tray closed,
drive_status() returns CDS_DISK_OK
even when there is no disk, which
probably only means that the tray
was successfully closed. Calling
drive_status() again gets the right
status.
With this patch autoclose works again.
Can someone please make any sense
out of it?
-
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/
- text/x-patch attachment: cd_clo.diff
- Previous message: Julien BLACHE: "Re: unkillable processes using samba, xfs and lvm2 snapshots (k 2.6.10)"
- Next in thread: Stas Sergeev: "Re: bug: cd-rom autoclose no longer works (fix attempt)"
- Maybe reply: Stas Sergeev: "Re: bug: cd-rom autoclose no longer works (fix attempt)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|