From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 05:30:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7B5B16A4CE for ; Thu, 8 Apr 2004 05:30:36 -0700 (PDT) Received: from infidel.fajita.org (oldhallfarm.demon.co.uk [80.176.128.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2B4743D5E for ; Thu, 8 Apr 2004 05:30:33 -0700 (PDT) (envelope-from lewiz@fajita.org) Received: from black.fajita.org (black.fajita.org [192.168.0.13]) by infidel.fajita.org (8.12.10/8.12.10) with ESMTP id i38CURun010622 for ; Thu, 8 Apr 2004 13:30:27 +0100 (BST) (envelope-from lewiz@fajita.org) Received: (from lewiz@localhost) by black.fajita.org (8.12.10/8.12.10/Submit) id i38CUWLJ061213 for questions@freebsd.org; Thu, 8 Apr 2004 13:30:32 +0100 (BST) (envelope-from lewiz) Date: Thu, 8 Apr 2004 13:30:32 +0100 From: Lewis Thompson To: FreeBSD-questions Message-ID: <20040408123032.GB61173@fajita.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.lewiz.org/~lewiz/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.6i X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-MailScanner-From: lewiz@fajita.org Subject: [OT] Porting help / cdio.h. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 12:30:36 -0000 --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm attempting to port some software (MythTV) to FreeBSD. My knowledge of this is fairly limited and I'm wondering how to convert from linux/cdrom.h to sys/cdio.h. I see I can determine the capabilities of the drive quite easily. However, what I want is to (for example) lock/unlock the tray. The CDDOLOCK define is merely a Boolean value that tells me the drive's capability. Can anybody please tell me how I go about actually locking the tray? Thanks very much and sorry this is a little off-topic, -lewiz. --=20 I was so much older then, I'm younger than that now. --Bob Dylan, 1964. ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jabber:lewiz@jabber.org | url:www.lewiz.org |- --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAdUXoItq0KFQv7T8RAuhBAKCqNI6IuS/tYiWkOqXFRkKtiP/+DgCeNWK6 WqI57yrTaf8EIgy6q3+/nDM= =xwVw -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O--