1 |
>>>> This is actually a portage question. How can I install udisks-2 in a |
2 |
>>>> way that will fix this problem? I'm confused by how to handle the |
3 |
>>>> slotting behavior. |
4 |
> |
5 |
> I think the issue here is that we are not understanding what the |
6 |
> problem is. It happens with an application in particular, or with a |
7 |
> desktop environment? It happens when you try to umount the device, or |
8 |
> when you disconnect it from the computer? Do you loose data in the |
9 |
> camera, or when transferring photos to your computer? Or is only that |
10 |
> you don't like the error reported? |
11 |
|
12 |
When trying to eject a USB camera in thunar in xfce4, the error |
13 |
appears and the device does not umount. Here is a command that also |
14 |
produces the error: |
15 |
|
16 |
# udisks --detach /dev/sdb |
17 |
Detach failed: Error detaching: helper exited with exit code 1: |
18 |
Detaching device /dev/sdb |
19 |
USB device: /sys/devices/pci0000:00/0000:00:02.0/usb2/2-6) |
20 |
SYNCHRONIZE CACHE: FAILED: No such file or directory |
21 |
(Continuing despite SYNCHRONIZE CACHE failure.) |
22 |
STOP UNIT: FAILED: No such file or directory |
23 |
|
24 |
> udisks is deprecated and (AFAIK) unmaintained. Do you *really* need |
25 |
> it? Or perhaps is being pulled by a package that actually supports |
26 |
> udisks2, but you have a USE flag that pulls udisks1? |
27 |
> |
28 |
> In GNOME, if you have gvfs with the gdu USE flag, it pulls libgdu, |
29 |
> which pulls udisks1. But you don't actually need it; everything is |
30 |
> covered by the udisks USE flag (which pulls udisks2). |
31 |
> |
32 |
> Do a "equery depends udisks" and see what is pulling udisks1. |
33 |
|
34 |
I get the following: |
35 |
|
36 |
# equery depends udisks |
37 |
* These packages depend on udisks: |
38 |
gnome-base/gvfs-1.12.3-r1 (udisks ? >=sys-fs/udisks-1.90:2) |
39 |
gnome-base/libgdu-3.0.2 (=sys-fs/udisks-1.0*:0) |
40 |
|
41 |
# emerge -pv gvfs libgdu |
42 |
[ebuild R ] gnome-base/libgdu-3.0.2 USE="-avahi -doc -gnome-keyring" 0 kB |
43 |
[ebuild R ] gnome-base/gvfs-1.12.3-r1 USE="cdda gdu http udev |
44 |
-afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring |
45 |
-gphoto2 -ios -samba (-udisks)" 0 kB |
46 |
|
47 |
- Grant |