From owner-freebsd-questions@FreeBSD.ORG Sat Jan 22 19:33:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BB08106566C for ; Sat, 22 Jan 2011 19:33:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2EB8B8FC0A for ; Sat, 22 Jan 2011 19:33:31 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx02.qsc.de (Postfix) with ESMTP id 8E1C61E3B9; Sat, 22 Jan 2011 20:33:30 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p0MJXTwg003307; Sat, 22 Jan 2011 20:33:29 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 22 Jan 2011 20:33:29 +0100 From: Polytropon To: Jens Jahnke Message-Id: <20110122203329.ebeafb8b.freebsd@edvax.de> In-Reply-To: <20110122194718.3e625aae.jan0sch@gmx.net> References: <20110122194718.3e625aae.jan0sch@gmx.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd questions Subject: Re: Burning a DVD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2011 19:33:32 -0000 On Sat, 22 Jan 2011 19:47:18 +0100, Jens Jahnke wrote: > Hi, > > I tried to burn a dvd after doing setup according to the handbook. > > /boot/loader.conf: > atapicam_load="YES" > hw.ata.atapi_dma="1" > > /etc/devfs.conf: > link acd0 cdrom > link acd0 dvd > perm acd0 0660 And HERE is the mistake: You need to specify the /dev/cd0 device which gets accessed by the ATAPICAM facility. The /dev/acd0 device does not understand SCSI commands. > But when I try > growisofs -dvd-compat -dry-run -Z /dev/acd0 /path/to/video > I get: > :-( unable to CAMGETPASSTHRU for /dev/acd0: Inappropriate ioctl for > device Fully correct. See "man growisofs" for an explaination of what /dev/dvd refers to. You can either use growisofs -dvd-compat -Z /dev/dvd=/path/to/file.iso or growisofs -dvd-compat -Z /dev/dvd -r -J /path/to/files if you have devfs.conf point dvd to cd0 - or you simply specify /dev/cd0 instead of /dev/dvd. > No matter if I try as regular user or as root the error message stays > the same. Of course. :-) Remember: ATA -> /dev/acd0, ATAPICAM ("SCSI over ATAPI") -> /dev/cd0, and therefore /dev/dvd -> /dev/cd0 for simplified access. Given you set the permissions correctly, burning DVDs as a non-root user should be no problem. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...