From owner-freebsd-gnome@FreeBSD.ORG Wed May 21 15:34:38 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0820D37B401 for ; Wed, 21 May 2003 15:34:38 -0700 (PDT) Received: from lakemtao08.cox.net (lakemtao08.cox.net [68.1.17.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13C4443F85 for ; Wed, 21 May 2003 15:34:37 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from sysinfo.mezzweb.com ([68.103.37.247]) by lakemtao08.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030521223434.UUWT7627.lakemtao08.cox.net@sysinfo.mezzweb.com>; Wed, 21 May 2003 18:34:34 -0400 To: Joe Marcus Clarke References: <1053468403.317.48.camel@gyros> <1053500208.71721.23.camel@shumai.marcuscom.com> <1053533541.317.10.camel@gyros> <1053542616.415.27.camel@gyros> <1053555788.415.99.camel@gyros> Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed From: Jeremy Messenger MIME-Version: 1.0 In-Reply-To: <1053555788.415.99.camel@gyros> User-Agent: Opera7.11/Linux M2 build 406 cc: FreeBSD GNOME Users Subject: Re: HEADS UP TESTERS: Lates nautilus-cd-burner may work X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Wed, 21 May 2003 22:34:38 -0000 X-Original-Date: Wed, 21 May 2003 17:20:43 -0500 X-List-Received-Date: Wed, 21 May 2003 22:34:38 -0000 On 21 May 2003 18:23:09 -0400, Joe Marcus Clarke wrote: > On Wed, 2003-05-21 at 14:49, Jeremy Messenger wrote: >> On 21 May 2003 14:43:36 -0400, Joe Marcus Clarke >> wrote: >> >> > On Wed, 2003-05-21 at 14:15, Jeremy Messenger wrote: >> >> On 21 May 2003 12:12:22 -0400, Joe Marcus Clarke >> >> wrote: >> >> >> >> > On Wed, 2003-05-21 at 04:40, Jeremy Messenger wrote: >> >> >> On 21 May 2003 02:56:48 -0400, Joe Marcus Clarke >> >> >> wrote: >> >> >> >> >> >> > On Wed, 2003-05-21 at 02:22, Jeremy Messenger wrote: >> >> >> >> Oh wait a minute.. Now, I can see over six nautilus-cd-burner >> in >> the >> top >> and ps, which I exited them. Each of them are >> running >> around 10% >> of CPU. >> Seem like they are still running >> without exit. >> >> >> > >> >> >> > Nevermind, I see my mistake. Note, you need to be root, or have >> >> all >> >> >> > your cd devices 0666 (i.e. /dev/acd0c, /dev/cd0c, etc.). Use >> this >> >> >> > patch. >> >> >> >> >> >> I will rebuild and try it again this noon or so. My CD devices are >> on >> >> 0666 already, which burncd, cdrecord, mount and etc works fine >> on the >> >> normal user with operation group. :-) >> >> > >> >> > Ignore acd0c. You need atapicam, and just make sure your cd*c >> devices >> >> > are 0666. >> >> >> >> Yeah, I had this in my kernel for pretty long time, so I can burn the >> >> bin/cue. ;-) However, the create ISO is now working again, but the >> write >> burn is still disable. I tried to ran it under the gdb, but it >> shows >> nothing and normal. It does exit normal now. Looks like I will >> have to >> run under nautilus then run it with 'r burn:///'.. >> > >> > Don't worry with gdb. I'll send you a debugging patch that will spit >> > some messages to the console/error log. In the meantime, compile the >> > attached program using: >> > >> > cc -o xxx -lcam xxx.c >> > >> > And run it. It will try to open /dev/cd0c (cd0). If this isn't >> right, >> > then change it at lines 12 and 30. Send me the output. Thanks. >> >> Ummmm.. I chmod'ed it to 777 and still have the same thing.. Here's >> result: > > Sorry, you'll have to chmod all your pass and xpt devices as well. I'm > working on a new patch to fix some other things as we speak. Oh that was it, thanks! I missed the pass, but I already have xpt correct. Now, it works as normal user with ./xxx... Look forward for your another patch, thanks! Cheers, Mezz > Joe > >> >> ============================== >> $ cc -o xxx -lcam xxx.c >> $ ./xxx >> Failed to get CAM device: Permission denied >> CD read speed: 1, write speed: -1077937035 >> ============================== >> >> ============================== >> $ ls -l /dev/cd* >> crwxrwxrwx 1 root operator 15, 0 May 20 17:17 /dev/cd0 >> >> $ id >> uid=1001(mezz) gid=1001(mezz) groups=1001(mezz), 0(wheel), 5(operator) >> ============================== >> >> So, I ran it under the root and here's result: >> >> ============================== >> # ./xxx >> device_path = >> given_dev_name = cd >> device_name = pass >> dev_unit_num = 0 >> bus_id = 0 >> target_lun = 0 >> target_id = 1 >> vendor = TEAC CD-W516EB 1.0A >> product = CD-W516EB 1.0A >> revision = 1.0A >> CD read speed: 1, write speed: -1077937103 >> ============================== >> >> I don't understand why burncd, mount, cdrecord and others work fine on >> normal user with operation group.. >> >> Cheers, >> Mezz >> >> > Joe >> > >> >> >> >> Cheers, >> >> Mezz >> >> >> >> > Joe >> >> > >> >> >> >> >> >> Cheers, >> >> >> Mezz >> >> >> >> >> >> > Joe >> -- bsdforums.org 's moderator, mezz.