From owner-freebsd-questions@FreeBSD.ORG Sat Apr 7 06:13:54 2012 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 31FDA106566B for ; Sat, 7 Apr 2012 06:13:54 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mailout-us.mail.com (mailout-us.mail.com [74.208.122.35]) by mx1.freebsd.org (Postfix) with SMTP id E1B578FC14 for ; Sat, 7 Apr 2012 06:13:53 +0000 (UTC) Received: (qmail invoked by alias); 07 Apr 2012 06:13:52 -0000 Received: from host117.apollo.lv (EHLO blazon-pc.runningwild.local) [81.198.136.117] by mail.gmx.com (mp-us011) with SMTP; 07 Apr 2012 02:13:52 -0400 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX1/1e00Pf5X1vyMfCWXkni5Kp8TiktcIDEMzGZwfVx PaphWsmTNDl9GH Message-ID: <4F7FDB1D.6020608@mail.com> Date: Sat, 07 Apr 2012 09:13:49 +0300 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: xfburn and k3b on FreeBSD9.0-RELEASE can't find LITE-ON DVDRW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2012 06:13:54 -0000 Hi, I can't get any GUI tool working with my LITE-ON DVDRW SHW-160P6S (IDE) on 9.0-RELEASE (packages and ports tree are in sync from the release date). atapicam is compiled in GENERIC kernel now, so no need for this module. I recompiled cdrtools, dvd+rw-tools, and hal. cdrecord works after that (tried to blank some CDs and burn some ISOs). But xfburn crashes: (process:6957): GLib-WARNING **: goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 0 (process:6957): GLib-WARNING **: goption.c:2132: ignoring no-arg, optional-arg or filename flags (8) on option of type 0 ** Message: Using Thunar-VFS 1.2.0 ** Message: Using HAL xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device ** ERROR **: Device address does not lead to a burner '/dev/cd0' (ret=0). aborting... [1] Abort xfburn (core dumped) Exactly the same result when run as root. k3b starts but shows a warning message in a popup window: No optical drive found. K3b did not find any optical device in your system. Solution: Make sure HAL daemon is running, it is used by K3b for finding devices. Of course, HAL is running. brasero starts ok and doesn't complain at all; it just doesn't show any devices. camcontrol devlist output: at scbus0 target 0 lun 0 (pass0,ada0) at scbus0 target 1 lun 0 (pass1,ada1) at scbus1 target 0 lun 0 (cd0,pass2) This is what I tried to set to make it work: /etc/devfs.conf: # CDROM own cd0 root:operator perm cd0 0660 own pass2 root:operator perm pass2 0666 own xpt0 root:operator perm xpt0 0666 /etc/devfs.rules: [system=5] #CD/DVD add path 'cd*' mode 0666 group operator add path 'pass*' mode 0666 group operator add path 'xpt*' mode 0666 group operator /etc/rc.conf: devfs_system_ruleset="system" No CD-related entries in /etc/fstab. Added myself to the operator group. SUID flags: ll /usr/local/bin | grep cdr -rws--x--- 1 root operator 578088 Dec 3 02:30 cdrdao -rws--x--- 1 root operator 402768 Feb 22 15:33 cdrecord -rws--x--- 1 root operator 136428 Dec 3 10:08 cdrskin Permissions on /dev files: #ll /dev |grep cd crw-rw---- 1 root operator 0, 91 Apr 6 15:18 cd0 # ll /dev | grep pass crw-rw---- 1 root operator 0, 83 Apr 6 15:18 pass0 crw-rw---- 1 root operator 0, 84 Apr 6 15:18 pass1 crw-rw---- 1 root operator 0, 85 Apr 6 15:18 pass2 # ll /dev | grep xpt crw-rw---- 1 root operator 0, 68 Apr 6 15:18 xpt0 # sysctl hw.ata.atapi_dma hw.ata.atapi_dma: 1 What could be wrong?