removing part of a debian package that's interfering with my program
Nigel Haslam
nigelhaslam at gmail.com
Sat Nov 18 22:29:07 UTC 2017
Hi,
I have a RaspberryPi ZeroW running the latest Rasbian
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
I'm trying to get a time lapse script package working, which works fine on
a RaspberryPi B+ but on the Zero I get an error:
Connecting
open_camera_dev_usb:usb_ptp_device_reset(): Device or resource busy
usb_ptp_get_device_status(): Device or resource busy
open_camera_dev_usb: ptp_opensession failed 0x2ff
Looking further into the USB device where my camera is connected I find:
root at raspberrypi_Zero-01:~/multilapse-CHDK/current# lsusb
Bus 001 Device 005: ID 04a9:32aa Canon, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root at raspberrypi_Zero-01:~/multilapse-CHDK/current# fuser
/dev/bus/usb/001/005
/dev/bus/usb/001/005: 999
root at raspberrypi_Zero-01:~/multilapse-CHDK/current# ps ax |grep 999
999 ? Sl 0:00 /usr/lib/gvfs/gvfsd-gphoto2 --spawner :1.4
/org/gtk/g vfs/exec_spaw/4
1014 pts/0 S+ 0:00 grep 999
So it seems that the process which is using the USB is
/usr/lib/gvfs/gvfsd-gphoto2
I had a similar issue with gphoto2 when I originally set up my RaspberryPi
B+, which I resolved by simply uninstalling gphoto2. However, for some
reason, gphoto2 wasn't included in the slightly more recent distribution
that I installed on the PiZero, so I can't uninstall it.
Could you please advise how I might get around this issue?
Thanks in advance for your consideration
Nigel
*N**igel Haslam* *| Director *
*Motion Circus Pty Ltd. Byron Bay*
*t**: + 61 2 8007 7338 **|**m**: * *+ 61 403 020 126*
*w: www.motioncircus.com <http://www.motioncircus.com/>*
link to website
<http://motioncircus.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20171119/50b50c17/attachment-0001.html>
More information about the pkg-gnome-maintainers
mailing list