QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 965|回复: 1

ML2.0有没有提供联接数码相机的PTP程序?

[复制链接]
发表于 2006-9-19 21:51:44 | 显示全部楼层 |阅读模式
如题,未找到联接相机的应用程序,求教。
 楼主| 发表于 2006-9-21 14:04:58 | 显示全部楼层
ML2.0已经自带了gphoto,运行env LANG=C gphoto2 --debug -P   
一般用户不能下载:
...
1.880340 gphoto2-port(2): Opening USB port...
1.881126 gphoto2-port(0): Could not query kernel driver of device.
1.881674 gphoto2-port(0): Could not claim interface 0 (Operation not permitted). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device. <-----------------------
1.882691 context(0): An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Operation not permitted). Make sure no other program or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.

但是root确可以,那里的设置不对?

1.843730 gphoto2-port(2): Opening USB port...
1.844475 gphoto2-port(0): Could not query kernel driver of device.
1.916192 gphoto2-port(2): Setting timeout to 8000 millisecond(s)... <---
1.919492 ptp(2): PTP: Opening session
1.919936 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
1.920406 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000  10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-28 04:20 , Processed in 0.075737 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表