From owner-freebsd-gnome@FreeBSD.ORG Wed May 21 15:23:22 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 0700637B408 for ; Wed, 21 May 2003 15:23:22 -0700 (PDT) Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BFB643F93 for ; Wed, 21 May 2003 15:23:21 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h4LMLlAg022074; Wed, 21 May 2003 18:21:48 -0400 (EDT) Received: from vpn-client-4.marcuscom.com (vpn-client-4.marcuscom.com [10.2.1.4])h4LMM7rT039609; Wed, 21 May 2003 18:22:08 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: creme-brulee.marcuscom.com: vpn-client-4.marcuscom.com [10.2.1.4] didn't use HELO protocol From: Joe Marcus Clarke To: Jeremy Messenger In-Reply-To: References: <1053468403.317.48.camel@gyros> <1053500208.71721.23.camel@shumai.marcuscom.com> <1053533541.317.10.camel@gyros><1053542616.415.27.camel@gyros> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-/faggAaLgjdZL0OWfa3o" Organization: MarcusCom, Inc. Message-Id: <1053555788.415.99.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.3 (Preview Release) Date: 21 May 2003 18:23:09 -0400 X-Spam-Status: No, hits=-8.4 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,HOT_NASTY,IN_REP_TO, PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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: , X-List-Received-Date: Wed, 21 May 2003 22:23:22 -0000 --=-/faggAaLgjdZL0OWfa3o Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2003-05-21 at 14:49, Jeremy Messenger wrote: > On 21 May 2003 14:43:36 -0400, Joe Marcus Clarke =20 > wrote: >=20 > > On Wed, 2003-05-21 at 14:15, Jeremy Messenger wrote: > >> On 21 May 2003 12:12:22 -0400, Joe Marcus Clarke =20 > >> wrote: > >> > >> > On Wed, 2003-05-21 at 04:40, Jeremy Messenger wrote: > >> >> On 21 May 2003 02:56:48 -0400, Joe Marcus Clarke=20 > >> >> 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= =20 > >> the >> top >> and ps, which I exited them. Each of them are running=20 > >> 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=20 > >> all > >> >> > your cd devices 0666 (i.e. /dev/acd0c, /dev/cd0c, etc.). Use thi= s > >> >> > patch. > >> >> > >> >> I will rebuild and try it again this noon or so. My CD devices are = on=20 > >> >> 0666 already, which burncd, cdrecord, mount and etc works fine on t= he=20 > >> >> normal user with operation group. :-) > >> > > >> > Ignore acd0c. You need atapicam, and just make sure your cd*c devic= es > >> > are 0666. > >> > >> Yeah, I had this in my kernel for pretty long time, so I can burn the=20 > >> bin/cue. ;-) However, the create ISO is now working again, but the wri= te=20 > >> burn is still disable. I tried to ran it under the gdb, but it shows=20 > >> nothing and normal. It does exit normal now. Looks like I will have to= =20 > >> 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. >=20 > Ummmm.. I chmod'ed it to 777 and still have the same thing.. Here's resul= t: 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. Joe >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > $ cc -o xxx -lcam xxx.c > $ ./xxx > Failed to get CAM device: Permission denied > CD read speed: 1, write speed: -1077937035 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > $ ls -l /dev/cd* > crwxrwxrwx 1 root operator 15, 0 May 20 17:17 /dev/cd0 >=20 > $ id > uid=3D1001(mezz) gid=3D1001(mezz) groups=3D1001(mezz), 0(wheel), 5(operat= or) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >=20 > So, I ran it under the root and here's result: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > # ./xxx > device_path =3D > given_dev_name =3D cd > device_name =3D pass > dev_unit_num =3D 0 > bus_id =3D 0 > target_lun =3D 0 > target_id =3D 1 > vendor =3D TEAC CD-W516EB 1.0A > product =3D CD-W516EB 1.0A > revision =3D 1.0A > CD read speed: 1, write speed: -1077937103 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >=20 > I don't understand why burncd, mount, cdrecord and others work fine on=20 > normal user with operation group.. >=20 > Cheers, > Mezz >=20 > > Joe > > > >> > >> Cheers, > >> Mezz > >> > >> > Joe > >> > > >> >> > >> >> Cheers, > >> >> Mezz > >> >> > >> >> > Joe > --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-/faggAaLgjdZL0OWfa3o Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+y/xMb2iPiv4Uz4cRAvybAJ4u5GeNqXR0x/lJ2E4Wnda2ICAqoQCgqUUt BD//3XG/gOeqKSLsKiDmh1w= =7Jmt -----END PGP SIGNATURE----- --=-/faggAaLgjdZL0OWfa3o--