misc/155925: CD tray is not locked even if using /dev/adc0.
KOIE Hidetaka ( 鯉江英隆@数理技研 )
koie at suri.co.jp
Tue Mar 29 00:30:14 UTC 2011
The following reply was made to PR misc/155925; it has been noted by GNATS.
From: KOIE Hidetaka (=?iso-2022-jp?B?GyRCOHE5PjFRTjQhdz90TX01OzgmGyhC?=)
<koie at suri.co.jp>
To: jh at FreeBSD.org
Cc: arundel at freebsd.org, bug-followup at FreeBSD.org
Subject: Re: misc/155925: CD tray is not locked even if using /dev/adc0.
Date: Tue, 29 Mar 2011 09:20:14 +0900 (JST)
Message-Id: <20110328152329.GA1526 at a91-153-123-205.elisa-laajakaista..
Date: Mon, 28 Mar 2011 18:23:30 +0300
From: Jaakko Heinonen <jh at FreeBSD.org>
Subject: Re: misc/155925: CD tray is not locked even if using /de..
| On 2011-03-28, KOIE Hidetaka wrote:
| > I apply this patch and try:
| > % /usr/obj/usr/src/usr.sbin/cdcontrol/cdcontrol eject
| > cdcontrol: Input/output error
| >
| > ok, buk pushing the eject button still ejects a tray...
|
| Thanks for testing. Could you try if the latest patch in PR kern/125139
| helps?
|
| --
| Jaakko
I try "patch-2.diff".
note: a hunk for acd_modevent() is already applied in the current source.
case1 (using patched cdcontrol):
# mount_cd9660 /dev/acd0 /mnt
# push the eject button -> no action
# /usr/obj/usr/src/usr.sbin/cdcontrol/cdcontrol eject
cdcontrol: Input/output error
# /usr/obj/usr/src/usr.sbin/cdcontrol/cdcontrol eject
cdcontrol: Input/output error
# push the eject button -> ejected
case 2 (using plain cdcontrol):
# mount_cd9660 /dev/acd0 /mnt
# /usr/sbin/cdcontrol eject -> ejected
--
KOIE Hidetaka / koie at suri.co.jp / SURIGIKEN Co.,LTD.
More information about the freebsd-bugs
mailing list