Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jan 2008 01:41:48 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        freebsd-gnome <freebsd-gnome@FreeBSD.org>
Subject:   Re: Here's result.. [WAS Re: Updated hal]
Message-ID:  <1199601708.21632.23.camel@shumai.marcuscom.com>
In-Reply-To: <op.t4hvqjay9aq2h7@mezz.mezzweb.com>
References:  <1199457397.2578.15.camel@shumai.marcuscom.com> <op.t4e0n0rf9aq2h7@mezz.mezzweb.com> <477E6AB4.7070504@FreeBSD.org> <op.t4e1gkhg9aq2h7@mezz.mezzweb.com> <op.t4e7aysg9aq2h7@mezz.mezzweb.com> <477E8F1F.2000409@FreeBSD.org> <op.t4fhy6bc9aq2h7@mezz.mezzweb.com> <1199496861.62092.12.camel@shumai.marcuscom.com> <op.t4fu32iz9aq2h7@mezz.mezzweb.com> <1199506302.62092.27.camel@shumai.marcuscom.com> <op.t4fzfues9aq2h7@mezz.mezzweb.com> <1199515796.62092.29.camel@shumai.marcuscom.com> <op.t4gxncwl9aq2h7@mezz.mezzweb.com> <1199559449.21632.7.camel@shumai.marcuscom.com> <op.t4g3wuia9aq2h7@mezz.mezzweb.com> <1199582515.21632.9.camel@shumai.marcuscom.com> <op.t4hn8efo9aq2h7@mezz.mezzweb.com> <1199593845.21632.12.camel@shumai.marcuscom.com> <op.t4hr9kwe9aq2h7@mezz.mezzweb.com> <1199596905.21632.17.camel@shumai.marcuscom.com> <op.t4ht6sh89aq2h7@mezz.mezzweb.com> <1199598930.21632.20.camel@shumai.marcuscom.com> <op.t4hvqjay9aq2h7@mezz.mezzweb.com>

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

--=-52NCSW4rWwdsEW9lTgwD
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


On Sun, 2008-01-06 at 00:16 -0600, Jeremy Messenger wrote:
> On Sat, 05 Jan 2008 23:55:30 -0600, Joe Marcus Clarke <marcus@FreeBSD.org=
> =20
> wrote:
>=20
> >
> > On Sat, 2008-01-05 at 23:43 -0600, Jeremy Messenger wrote:
> >> On Sat, 05 Jan 2008 23:21:45 -0600, Joe Marcus Clarke =20
> >> <marcus@FreeBSD.org>
> >> wrote:
> >>
> >> >
> >> > On Sat, 2008-01-05 at 23:01 -0600, Jeremy Messenger wrote:
> >> >> On Sat, 05 Jan 2008 22:30:45 -0600, Joe Marcus Clarke
> >> >> <marcus@FreeBSD.org>
> >> >> wrote:
> >> >>
> >> >> >
> >> >> > On Sat, 2008-01-05 at 21:34 -0600, Jeremy Messenger wrote:
> >> >> >>
> >> >> >> There is a simple problem, I couldn't eject data CD and movie DV=
D =20
> >> by
> >> >> >> push
> >> >> >> eject button on the DVD driver. I get error message, 'Cannot eje=
ct
> >> >> >> volume'. Strange, the eject button works great on blank DVD+R bu=
t
> >> >> not on
> >> >> >> data CD and movie DVD. I had to right click on the data CD or =20
> >> movie
> >> >> DVD
> >> >> >> icon on desktop then click on 'Eject', then icon will disappear =
=20
> >> with
> >> >> >> same
> >> >> >> error message. After that I am able to push on eject button to g=
et
> >> >> disc
> >> >> >> out.
> >> >> >
> >> >> > I will need you to run hald as:
> >> >> >
> >> >> > /usr/local/sbin/hald --daemon=3Dno --verbose=3Dyes
> >> >> >
> >> >> > And get the output when the eject button is pressed.
> >> >>
> >> >> Done: http://people.freebsd.org/~mezz/hal-eject.txt
> >> >>
> >> >> It looks like at 414 line is when I tried to press eject button on =
=20
> >> DVD
> >> >> drive. Then later I clicked on 'Eject' in the menu on desktop's CD =
=20
> >> icon.
> >> >
> >> > Please run gnome-volume-manager in a similar manner:
> >> >
> >> > gnome-volume-manager --daemon=3Dno
> >>
> >> =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=3D=3D=3D=3D=3D
> >> manager.c/2628: Device added:
> >> /org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008
> >> manager.c/2441: Changed: /dev/cd0
> >> manager.c/1808: mounting
> >> /org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008.=
..
> >> manager.c/800: executing command: /usr/local/bin/gnome-mount
> >> --hal-udi=3D/org/freedesktop/Hal/devices/volume_label_Personal_Data__J=
an_05__2008
> >> gnome-mount 0.6
> >> manager.c/2721: Mounted:
> >> /org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008
> >> manager.c/800: executing command: /usr/local/bin/nautilus -n =20
> >> --no-desktop
> >> '/media/Personal Data, Jan 05, 2008'
> >> manager.c/2798: ejecting
> >> /org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008.=
..
> >> manager.c/800: executing command: /usr/local/bin/gnome-mount --eject
> >> --hal-udi=3D/org/freedesktop/Hal/devices/volume_label_Personal_Data__J=
an_05__2008
> >> gnome-mount 0.6
> >> =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=3D=3D=3D=3D=3D
> >>
> >> > And also try running gnome-eject manually, and see if you get =20
> >> additional
> >> > messages.  From what I can see, hal only gets an Unmount request, an=
d
> >> > that seems to execute successfully.
> >>
> >> I have copied from above to run and I only get error from dialog 'Cann=
ot
> >> eject volume'. There is no error in console. I have tried to add '-v' =
=20
> >> and
> >> it doesn't show anything.
> >>
> >> /usr/local/bin/gnome-mount -v --eject
> >> --hal-udi=3D/org/freedesktop/Hal/devices/volume_label_Personal_Data__J=
an_05__2008
> >
> > Try with -v --no-ui.
>=20
> Still empty.

Try with --block, too.

>=20
> > You might also try running ktrace -d -i on the PID
> > of hald to see what it actually executes.
>=20
> I see there is a few of 'Eject', 'EjectPressed' and 'CloseTray' in there,=
 =20
> but I normal don't really understand to read in ktrace stuff.
>=20
> http://people.freebsd.org/~mezz/kdump.txt.bz2

Sorry, I also need the same output for hald-runner.  That will be the
process that spawns the actual eject/unmount commands.

Joe

--=20
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

--=-52NCSW4rWwdsEW9lTgwD
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBHgHgsb2iPiv4Uz4cRAi0ZAKCBV/69IELCgcv37dlj7NayDuYuVwCeOXMv
VkKw5z4rFbDe471Bi+pFrrw=
=zJeF
-----END PGP SIGNATURE-----

--=-52NCSW4rWwdsEW9lTgwD--




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