The plot thickens.

The next time I tried this it no longer worked  ... having spent quite
a while with strace(1) and rebooting the two systems I think I now
understand why.

1: I have two (or more) 'cameras' (one is my phone.)
2: With the Google .deb file you get a file called /opt/google/picasa/
3.0/bin/wrapper this removes 'old' removable drives.
3: It seem I need:
          $HOME/.google/picasa/3.0/dosdevices/     ...
                   d:: -> /dev/sdc1
                   d: -> /media/1029-C898

Where this matches the mount ....
             /dev/sdc1 on /media/1029-C898 type vfat
(rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)

4: Wrapper REMOVES old (stale) symlinks ... thus preventing access to
the 'removable' drive

5: So if you launch picasa as picasa /media/1029-C898  it will
immediately offer to IMPORT from /media/1029-C898 IFF the two symlinks
above are in place
    (if they are not and create them by hand it it offers to
import ... however it refers to d: as a CD (rather than removable
device)  ... it still lets me delete files though!

6: Turns out "wrapper" will delete symlinks if it finds the filesystem
is not mounted ...the idea being (I guess) to remove old stale
links ... so drive letters are left clean.

7: So the big question is if "wrarper" is deleting them how is
creating them? I was guessing at a udev rule ... but lots of digging
failed to unearth one...then I spotted the comment in wrapper:

  # Clean up any removable drive symlinks that no longer point to
attached
  # devices. These are automatically created by Wine (in programs/
explorer/hal.c)
  # but don't appear to ever get removed.

8: So when I plug either (or both) cameras in under Ubuntu 10.04 ..the
active (mounted) dosdevice is created and all other removed

9: when I use 10.10 if it's the same camera the symlink is left alone
but if I switch the unmounted camera dosdevice is remove and since no
new one was created, all is lost.

Which explains things on two fronts:

   i:  wine is supposed to create these
   ii: looks like it should be done in HAL ... I guess HAL has been
deprecated in favor of devicekit

So, listeners ... if you have a picasa under wine (ie just the .exe
running under 'normal' wine) ...what do you see under

 $HOME/.google/picasa/3.0/dosdevices/ ?  (hummm 3.0 I guess your name
may differ)

a: Before plugging in camera
b: after plugging in camera and before picasa runs (only possible if
you don't autostart)
c: after launching picasa

-- 
You received this message because you are subscribed to the Google Groups 
"Google-Labs-Picasa-for-Linux" group.
To post to this group, send email to 
[email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-labs-picasa-for-linux?hl=en.

Reply via email to