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

Joe Marcus Clarke marcus at FreeBSD.org
Fri Jan 4 22:49:50 PST 2008


On Fri, 2008-01-04 at 23:41 -0600, Jeremy Messenger wrote:
> On Fri, 04 Jan 2008 22:11:42 -0600, Joe Marcus Clarke <marcus at FreeBSD.org>  
> wrote:
> 
> >
> > On Fri, 2008-01-04 at 22:08 -0600, Jeremy Messenger wrote:
> >> On Fri, 04 Jan 2008 19:34:21 -0600, Joe Marcus Clarke  
> >> <marcus at FreeBSD.org>
> >> wrote:
> >>
> >> >
> >> > On Fri, 2008-01-04 at 17:24 -0600, Jeremy Messenger wrote:
> >> >> <snip>
> >> >> >>>> I will testing with GNOME 2.20 first. A stable desktop should  
> >> give
> >> >> a
> >> >> >>>> better result to figure which problem is in hal or GNOME.
> >> >> >>
> >> >> >>> The GNOME comes up fine. If I put either blank CD or DVD and the
> >> >> 'blank
> >> >> >>> CD/DVD' doesn't appear in the desktop anymore. It couldn't
> >> >> recogize. If
> >> >> >>> I put USB flash drive and I can see icon pops up in nautilus,  
> >> but I
> >> >> >>> couldn't mount and double click on icon to get in. It would keeps
> >> >> take
> >> >> >>> me to / instead of in USB flash drive. When I tried to mount in  
> >> USB
> >> >> >>> flash drive (vfat) and I get this below.
> >> >> >>
> >> >> >>> Jan  4 13:17:34 mezz kernel: mount option <uhelper> is unknown
> >> >> >>
> >> >> >>> I am not sure if it has to do with disable PK. I will going to  
> >> our
> >> >> FAQ
> >> >> >>> to learn how to debug HAL and get back to you this afternoon.
> >> >> >
> >> >> > Remove the --enable-umount-helper from the Makefile, and remove
> >> >> > umount.hal from pkg-plist.  See if that helps.
> >> >>
> >> >> Remove the --enable-umount-helper from Makefile helps to get USB  
> >> flash
> >> >> drive to function correct. Now icon of USB flash drive appears on
> >> >> desktop
> >> >> and auto-mount/open nautilus to browser in there. It works perfect. I
> >> >> always wondering why HAL is damn faster than Windows to recognize the
> >> >> USB
> >> >> flash drive. ;-)
> >> >>
> >> >> As for the CD/DVD, it makes no difference. It is still same with no
> >> >> --enable-umount-helper. Do you want me to fill out more details from  
> >> our
> >> >> FAQ for this issue?
> >> >
> >> > At line 380 of hald/freebsd/probing/probe-volume.c, change the line  
> >> to:
> >> >
> >> > if (! has_children)
> >> >
> >> > And see if that fixes this problem.
> >>
> >> Nope, still same result.
> >
> > Then you'll need to get the debugging output on the FAQ.  Also, look at
> > my recent email, and get the lshal comparisons as that may shed some
> > light on why this is not working.
> 
> I have grab your update hal.diff, I had to manual (no big deal) patch on  
> three Makefile.in. The three patches in files/patch-*Makefile.in don't  
> apply clean. Anyway, here are complete info from FAQ and your other email.  
> I kept blank DVD+R in drive, so it shows the difference between old and  
> new.
> 
> http://people.freebsd.org/~mezz/hal-mezz.tar.bz2
> =====================================================
> % ls -l hal-mezz
> total 280
> -rw-r--r--  1 mezz  mezz   6181 Jan  4 22:36 dmesg
> -rw-r--r--  1 mezz  mezz    199 Jan  4 22:38 fstab
> -rw-r--r--  1 mezz  mezz    350 Jan  4 22:37 kern.geom.conftxt
> -rw-r--r--  1 mezz  mezz  60317 Jan  4 23:10 lshal.new
> -rw-r--r--  1 mezz  mezz  60317 Jan  4 23:10 lshal.news
> -rw-r--r--  1 mezz  mezz  57756 Jan  4 22:33 lshal.old
> -rw-r--r--  1 mezz  mezz  57756 Jan  4 22:34 lshal.olds
> -rw-r--r--  1 mezz  mezz    199 Jan  4 22:38 mount
> -rw-r--r--  1 mezz  mezz  29900 Jan  4 23:25 typescript
> =====================================================
> 
> The typescript came from '/usr/local/sbin/hald --daemon=no  
> --verbose=yes'.. As for the gnome-mount, I am getting this:
> 
> =====================================================
> % gnome-mount --block --no-ui --verbose --hal-udi  
> /org/freedesktop/Hal/devices/storage_serial__
> gnome-mount 0.6
> 
> ** (gnome-mount:23667): WARNING **: Drive  
> /org/freedesktop/Hal/devices/storage_serial__ does not contain media.
> 
> % gnome-mount --block --no-ui --verbose --hal-udi  
> /org/freedesktop/Hal/devices/storage_model_NEC_DVD_RW_ND_3550A
> gnome-mount 0.6
> 
> ** (gnome-mount:23668): WARNING **: Given device  
> '/org/freedesktop/Hal/devices/storage_model_NEC_DVD_RW_ND_3550A' is not a  
> volume or a drive.
> =====================================================
> 
> I had to use two different /org/freedesktop/Hal/[...] since I don't know  
> which one is more correct to use for gnome-mount --hal-udi.
> 
> > Even though the discs don't "mount" can you still burn them?
> 
> Nope, I can't burn anything to blank CD/DVD.

I think I found the problem.  I posted a new hal.diff which takes the
snap version to 20080105.  It patches just fine (make sure you start
with a clean sysutils/hal).

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/20080105/a951bb8d/attachment.pgp


More information about the freebsd-gnome mailing list