Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2011 02:30:14 GMT
From:      KOIE Hidetaka (=?iso-2022-jp?B?GyRCOHE5PjFRTjQhdz90TX01OzgmGyhC?=) <koie@suri.co.jp>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/155925: CD tray is not locked even if using /dev/adc0.
Message-ID:  <201103280230.p2S2UEbD018618@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/155925; it has been noted by GNATS.

From: KOIE Hidetaka (=?iso-2022-jp?B?GyRCOHE5PjFRTjQhdz90TX01OzgmGyhC?=)
 <koie@suri.co.jp>
To: jh@FreeBSD.org
Cc: arundel@freebsd.org, bug-followup@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@a91-153-123-205.elisa-laajakaista..
   Date:       Sat, 26 Mar 2011 19:10:55 +0200
   From:       Jaakko Heinonen <jh@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@suri.co.jp / SURIGIKEN Co.,LTD.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103280230.p2S2UEbD018618>