misc/155925: CD tray is not locked even if using /dev/adc0.

Jaakko Heinonen jh at FreeBSD.org
Sat Mar 26 17:40:11 UTC 2011


The following reply was made to PR misc/155925; it has been noted by GNATS.

From: Jaakko Heinonen <jh at FreeBSD.org>
To: Alexander Best <arundel at freebsd.org>, koie at suri.co.jp
Cc: bug-followup at FreeBSD.org
Subject: Re: misc/155925: CD tray is not locked even if using /dev/adc0.
Date: Sat, 26 Mar 2011 19:10:55 +0200

 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


More information about the freebsd-bugs mailing list