<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi John!<br>
I would check out some of the documentation on the gvfs...<br>
However you can try<br>
<tt>gvfs-mount --unmount</tt> <i><location></i><br>
where <location> is the actual location.<br>
You can also use<br>
<tt>gvfs-mount -o</tt><br>
to watch what it is dong when you plug it in.<br>
(it monitors the output)<br>
<tt>man gvfs-mount</tt><br>
will give you more information.<br>
You can also type<br>
<tt>man gvfs</tt><TAB><TAB><br>
(Use the actual TAB key) to see all the gvfs related commands
listed.<br>
This should at least get you pointed in the right direction<br>
<br>
On 09/23/2014 05:29 PM, John Hupp wrote:<br>
</div>
<blockquote cite="mid:5421F44D.20206@prpcompany.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
I plugged a Kodak EasyShare C182 (supporting PTP file transfer)
into a 14.04.1 desktop today over USB and it responded with:<br>
<br>
"Error initializing camera: -53: Could not claim the USB device"<br>
<br>
OK'ing out of that, it then offered to open the device in the file
manager, where it had mounted 3 devices. One with no contents,
another with DCIM and MISC folders, and another with
something-store1 and something-store2 folders. (I suppose there
would be separate devices for internal memory and an SD card, but
I don't know why there would be 3 devices.)<br>
<br>
It was then only possible to unmount 1 of the 3 devices. To
prevent corruption, I powered down the PC before unplugging the
camera.<br>
<br>
Under 13.04, it responded:<br>
<br>
"Error initializing camera: -60: Could not lock the device"<br>
<br>
And then it opened in the file manager, again showing 3 devices,
only one of which I could unmount, so again I powered down to
disconnect.<br>
<br>
<hr size="2" width="100%"><br>
For a partial comparison, I plugged a Canon Powershot G1 into the
14.04.1 desktop and there was no error, it offered to open in file
manager, and it mounted 2 devices, both with DCIM and MISC
folders. I was only able to unmount one of the devices and so
powered down to disconnect.<br>
<br>
<hr size="2" width="100%"><br>
Searching for non-ancient explanations (of which there are many),
I did find this popular bug:<br>
<br>
<a moz-do-not-send="true"
href="https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1296275">PTP
Cameras not working on 14.04, works flawlessly on 12.04</a><br>
<br>
But that report does not reference either of these errors, and
this machine already has the prescribed libghoto2 update that
should fix the described bug.<br>
<br>
There is also this Launchpad Answer regarding error -53, but it
does not mention the unmount problem:<br>
<br>
<a moz-do-not-send="true"
href="https://answers.launchpad.net/ubuntu/+source/shotwell/+question/157569">Unable
to fetch previews from the camera: Could not claim the USB
device (-53)</a><br>
<br>
The errors and the unmount problem are both troubling, but if I
could find a manual unmount command (perhaps with gvfs?), at least
I would have a workaround that would not involve rebooting.<br>
<br>
Does anyone have the lowdown on all this? What's the best
available solution?<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Regards</pre>
</body>
</html>