简体   繁体   English

在Ubuntu(VM)中无法使用gphoto2检测摄像头

[英]Can't detect camera with gphoto2 in Ubuntu(VM)

I'm trying to control my EOS 1000D with gphoto2. 我正在尝试使用gphoto2控制EOS 1000D。 But can't detect with gphoto2 it. 但是用gphoto2无法检测到它。 在此处输入图片说明

with lsusb I can find the Camera. 使用lsusb可以找到相机。 在此处输入图片说明

Any idea what is going wrong? 知道出了什么问题吗?

My setup: VirtualBox Version 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 我的设置: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

apt-get install libusb-1.0-0-dev 

+ compiling, install libgphoto and gphoto2 by hand did the trick. +编译,手动安装libgphoto和gphoto2可以达到目的。

For some reason libgphoto2_port 0.12.0 did not suport USB (you can check with gphoto --version ). 由于某种原因,libgphoto2_port 0.12.0不能支持USB(可以使用gphoto --version进行检查)。 It require libusb ( see here ) . 它需要libusb( 请参阅此处 )。 libusb-1.0-0 was installed. libusb-1.0-0已安装。 Looks like you need libusb-1.0-0-dev to run it proper. 看来您需要libusb-1.0-0-dev才能正常运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法连接到VM(Ubuntu)中的postgreSQL:对数据库的访问被拒绝 - Can't connect to postgreSQL in VM (Ubuntu): Access to database denied 无法在Ubuntu 16.04 VM上运行Flask应用 - Can't run a Flask app on Ubuntu 16.04 VM Ubuntu VM上的Python脚本无法连接到Twitter API - Python script on Ubuntu VM can't connect to twitter API Fontello在Azure的Ubuntu Server VM上运行,但无法在浏览器中查看 - Fontello running on Ubuntu Server VM in Azure, but can't view in browser 如何让 Hyper V 检测我的 Ubuntu VM 的 IP 地址 - How can I get Hyper V to detect my Ubuntu VM's IP Address 我无法将grafana与运行在同一个ubuntu服务器VM中的mysql数据库连接起来 - I can't connect grafana with mysql database running in the same ubuntu server VM 在 Ubuntu VM 中运行 python3 文件时无法打开 lib 'SQL Server Native Client 11.0' - Can't open lib 'SQL Server Native Client 11.0' when running python3 file in Ubuntu VM 并行任务在VM Workstation中的Ubuntu 12.04上不起作用 - Parallel tasks don't work on Ubuntu 12.04 in VM Workstation xdotool mousemove 不适用于 ubuntu vmware vm - xdotool mousemove won't work on ubuntu vmware vm Ubuntu上的Cloudera QuickStarts VM - Cloudera QuickStarts VM on Ubuntu
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM