Here's result.. [WAS Re: Updated hal]

Joe Marcus Clarke marcus at FreeBSD.org
Sat Jan 5 22:41:39 PST 2008


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 at FreeBSD.org>  
> wrote:
> 
> >
> > On Sat, 2008-01-05 at 23:43 -0600, Jeremy Messenger 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
> >> ===================================
> >>
> >> > 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
> >
> > Try with -v --no-ui.
> 
> Still empty.

Try with --block, too.

> 
> > You might also try running ktrace -d -i on the PID
> > of hald to see what it actually executes.
> 
> I see there is a few of 'Eject', 'EjectPressed' and 'CloseTray' in there,  
> but I normal don't really understand to read in ktrace stuff.
> 
> 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

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080106/c84c3e9c/attachment.pgp


More information about the freebsd-gnome mailing list