Here's result.. [WAS Re: Updated hal]
Jeremy Messenger
mezz7 at cox.net
Sat Jan 5 21:48:10 PST 2008
On Sat, 05 Jan 2008 23:43:30 -0600, Jeremy Messenger <mezz7 at cox.net> wrote:
> On Sat, 05 Jan 2008 23:21:45 -0600, Joe Marcus Clarke
> <marcus at 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 at 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 eject
>>> >> 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 movie
>>> DVD
>>> >> icon on desktop then click on 'Eject', then icon will disappear with
>>> >> same
>>> >> error message. After that I am able to push on eject button to get
>>> disc
>>> >> out.
>>> >
>>> > I will need you to run hald as:
>>> >
>>> > /usr/local/sbin/hald --daemon=no --verbose=yes
>>> >
>>> > 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 DVD
>>> 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=no
>
> ===================================
> 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=/org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_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=/org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008
> gnome-mount 0.6
> ===================================
Ummm... Isn't it supposed to umount first be before try to eject it? After
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 additional
>> 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 'Cannot
> 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=/org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008
>
> % lshal | grep Personal
> udi =
> '/org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008'
> info.product = 'Personal Data, Jan 05, 2008' (string)
> info.udi =
> '/org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008'
> (string)
> volume.label = 'Personal Data, Jan 05, 2008' (string)
> volume.mount_point = '/media/Personal Data, Jan 05, 2008' (string)
>
>
> I am not sure which udi I am supposed to use?
>
> udi = '/org/freedesktop/Hal/devices/storage_serial__'
>
> or
>
> udi =
> '/org/freedesktop/Hal/devices/volume_label_Personal_Data__Jan_05__2008'
>
> Cheers,
> Mezz
>
>> Joe
--
mezz7 at cox.net - mezz at FreeBSD.org
FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org
http://wiki.freebsd.org/multimedia - multimedia at FreeBSD.org
More information about the freebsd-gnome
mailing list