【问题标题】:Can't detect camera with gphoto2 in Ubuntu(VM)在 Ubuntu(VM)中无法使用 gphoto2 检测相机
【发布时间】:2018-09-23 19:56:33
【问题描述】:

我正在尝试使用 gphoto2 控制我的 EOS 1000D。 但不能用 gphoto2 检测到它。

使用 lsusb 我可以找到相机。

知道出了什么问题吗?

我的设置: VirtualBox 版本 5.2.18 r124319 (Qt5.6.2),Ubuntu 18.04.1 LTS, gphoto2 2.5.15,libgphoto2 2.5.17,libgphoto2_port 0.12.0

【问题讨论】:

    标签: ubuntu virtual-machine libgphoto2


    【解决方案1】:
    apt-get install libusb-1.0-0-dev 
    

    + 编译,手动安装 libgphoto 和 gphoto2 就可以了。

    由于某种原因,libgphoto2_port 0.12.0 不支持 USB(您可以通过gphoto --version 查询)。它需要 libusb (see here) 。 libusb-1.0-0 已安装。看起来您需要 libusb-1.0-0-dev 才能正常运行。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-09-29
      • 2022-06-10
      • 2021-04-19
      • 2018-12-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多