Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jan 2008 23:48:39 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Joe Marcus Clarke" <marcus@freebsd.org>
Cc:        freebsd-gnome <freebsd-gnome@freebsd.org>
Subject:   Re: Here's result.. [WAS Re: Updated hal]
Message-ID:  <op.t4hufdhg9aq2h7@mezz.mezzweb.com>
In-Reply-To: <op.t4ht6sh89aq2h7@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 05 Jan 2008 23:43:30 -0600, Jeremy Messenger <mezz7@cox.net> wro=
te:

> On Sat, 05 Jan 2008 23:21:45 -0600, Joe Marcus Clarke  =

> <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 DVD=
 by
>>> >> push
>>> >> eject button on the DVD driver. I get error message, 'Cannot ejec=
t
>>> >> volume'. Strange, the eject button works great on blank DVD+R but=
  =

>>> not on
>>> >> data CD and movie DVD. I had to right click on the data CD or mov=
ie  =

>>> DVD
>>> >> icon on desktop then click on 'Eject', then icon will disappear w=
ith
>>> >> same
>>> >> error message. After that I am able to push on eject button to ge=
t  =

>>> 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 D=
VD
>>> drive. Then later I clicked on 'Eject' in the menu on desktop's CD  =

>>> 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  =

> --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

Ummm... Isn't it supposed to umount first be before try to eject it? Aft=
er  =

looked at gnome-mount and I see there has umount option.

Cheers,
Mezz

>> And also try running gnome-eject manually, and see if you get additio=
nal
>> messages.  From what I can see, hal only gets an Unmount request, and=

>> 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' =
 =

> 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
>
> % lshal | grep Personal
> udi =3D  =

> '/org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008=
'
>    info.product =3D 'Personal Data, Jan 05, 2008'  (string)
>    info.udi =3D  =

> '/org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008=
'   =

> (string)
>    volume.label =3D 'Personal Data, Jan 05, 2008'  (string)
>    volume.mount_point =3D '/media/Personal Data, Jan 05, 2008'  (strin=
g)
>
>
> I am not sure which udi I am supposed to use?
>
> udi =3D '/org/freedesktop/Hal/devices/storage_serial__'
>
> or
>
> udi =3D  =

> '/org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008=
'
>
> Cheers,
> Mezz
>
>> Joe


-- =

mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



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