misc/155925: CD tray is not locked even if using /dev/adc0.
KOIE Hidetaka ( 鯉江英隆@数理技研 )
koie at suri.co.jp
Mon Mar 28 02:30:15 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: Mon, 28 Mar 2011 11:05:33 +0900 (JST)
Message-Id: <20110326171054.GA1528 at a91-153-123-205.elisa-laajakaista..
Date: Sat, 26 Mar 2011 19:10:55 +0200
From: Jaakko Heinonen <jh at FreeBSD.org>
Subject: Re: misc/155925: CD tray is not locked even if using /de..
| On 2011-03-25, Alexander Best wrote:
| > this issue is not limited to acd. using cdcontrol -f /dev/cd gives the same
| > behavior.
|
| I think this is because cdcontrol(1) first issues the CDIOCALLOW ioctl
| to unlock the tray. Does this patch fix your problem?
|
| http://www.saunalahti.fi/~jh3/patches/cdcontrol-no-CDIOCALLOW.diff
|
| I am inclined to think that the behavior is intentional.
|
| --
| Jaakko
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...
--
KOIE Hidetaka / koie at suri.co.jp / SURIGIKEN Co.,LTD.
More information about the freebsd-bugs
mailing list