Skip site navigation (1)Skip section navigation (2)
Date:      21 May 2003 18:23:09 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: HEADS UP TESTERS: Lates nautilus-cd-burner may work
Message-ID:  <1053555788.415.99.camel@gyros>
In-Reply-To: <oprpjc8zhq8ckrg5@smtp.central.cox.net>
References:  <1053468403.317.48.camel@gyros> <oprphvplly8ckrg5@smtp.central.cox.net> <oprpieep1o8ckrg5@smtp.central.cox.net> <oprpieoft58ckrg5@smtp.central.cox.net> <1053500208.71721.23.camel@shumai.marcuscom.com> <1053533541.317.10.camel@gyros><1053542616.415.27.camel@gyros> <oprpjc8zhq8ckrg5@smtp.central.cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-/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 <marcus@marcuscom.com>=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 <marcus@marcuscom.com=
>=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
> >> <marcus@marcuscom.com> >> 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
> <snip>
--=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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1053555788.415.99.camel>