From owner-freebsd-gnome@FreeBSD.ORG Sun Jan 6 06:41:39 2008 Return-Path: Delivered-To: freebsd-gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 479DE16A418 for ; Sun, 6 Jan 2008 06:41:39 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 0C2C913C46A for ; Sun, 6 Jan 2008 06:41:38 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.2/8.14.2) with ESMTP id m066gdG9022447; Sun, 6 Jan 2008 01:42:39 -0500 (EST) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Jeremy Messenger In-Reply-To: References: <1199457397.2578.15.camel@shumai.marcuscom.com> <477E6AB4.7070504@FreeBSD.org> <477E8F1F.2000409@FreeBSD.org> <1199496861.62092.12.camel@shumai.marcuscom.com> <1199506302.62092.27.camel@shumai.marcuscom.com> <1199515796.62092.29.camel@shumai.marcuscom.com> <1199559449.21632.7.camel@shumai.marcuscom.com> <1199582515.21632.9.camel@shumai.marcuscom.com> <1199593845.21632.12.camel@shumai.marcuscom.com> <1199596905.21632.17.camel@shumai.marcuscom.com> <1199598930.21632.20.camel@shumai.marcuscom.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-52NCSW4rWwdsEW9lTgwD" Organization: FreeBSD, Inc. Date: Sun, 06 Jan 2008 01:41:48 -0500 Message-Id: <1199601708.21632.23.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on creme-brulee.marcuscom.com Cc: freebsd-gnome Subject: Re: Here's result.. [WAS Re: Updated hal] X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2008 06:41:39 -0000 --=-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 =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 > >> > >> 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 > >> >> > >> >> 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--