LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 746|回复: 0

gphoto2 出错,望指教

[复制链接]
发表于 2004-1-12 15:19:24 | 显示全部楼层 |阅读模式
因为保证权限问题,我这里使用root来access
list port只有USB
auto detect无效
/proc/bus/usb已经mount
插入USB显示正确
相机为Minolta Dimage 5
以下是debug信息, 谢谢

yggdrasil@travel:~$ sudo gphoto2 --camera "Minolta Dimage V" --port usb: --summary --debug
0.000108 main(2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.001992 main(2): gphoto2 2.1.3
0.003627 main(2): gphoto2 has been compiled with the following options:
0.005274 main(2):  + gcc (C compiler used)
0.006786 main(2):  + no popt (for handling command-line parameters)
0.008394 main(2):  + exif (for displaying EXIF information)
0.009912 main(2):  + cdk (for accessing configuration options)
0.011484 main(2):  + no aa (for displaying live previews)
0.013004 main(2):  + jpeg (for displaying live previews in JPEG format)
0.014521 main(2):  + readline (for easy navigation in the shell)
0.016199 main(2): libgphoto2 2.1.3
0.017780 main(2): libgphoto2 has been compiled with the following options:
0.019302 main(2):  + gcc (C compiler used)
0.020905 main(2):  + EXIF (for special handling of EXIF files)
0.022410 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.024018 main(2):  + /proc/meminfo (adapts cache size to memory available)
0.025632 main(2): libgphoto2_port 0.5.1
0.027234 main(2): libgphoto2_port has been compiled with the following options:
0.028758 main(2):  + gcc (C compiler used)
0.030343 main(2):  + USB (for USB cameras)
0.031847 main(2):  + serial (for serial cameras)
0.033436 main(2):  + no resmgr (serial port access and locking)
0.034950 main(2):  + no baudboy (serial port locking)
0.036544 main(2):  + no ttylock (serial port locking)
0.038063 main(2):  + no lockdev (serial port locking)
0.039626 main(2):  + no ltdl (working around buggy libltdl, eh? :-)
0.041275 gp-port-info-list(2): Loading io-drivers from '/usr/lib/gphoto2_port/0.5.1'...
0.044035 gphoto2-port-serial(2): Trying to lock '/dev/ttyS0'...
0.046924 gphoto2-port-serial(2): Trying to lock '/dev/ttyS1'...
0.049115 gphoto2-port-serial(2): Trying to lock '/dev/ttyS2'...
0.051190 gphoto2-port-serial(2): Trying to lock '/dev/ttyS3'...
0.053364 gphoto2-port-serial(2): Trying to lock '/dev/ttyS4'...
0.054980 gphoto2-port-serial(2): Trying to lock '/dev/ttyS5'...
0.056566 gphoto2-port-serial(2): Trying to lock '/dev/ttyS6'...
0.058237 gphoto2-port-serial(2): Trying to lock '/dev/ttyS7'...
0.059794 gphoto2-port-serial(2): Trying to lock '/dev/ttyS8'...
0.061460 gphoto2-port-serial(2): Trying to lock '/dev/ttyS9'...
0.063022 gphoto2-port-serial(2): Trying to lock '/dev/ttyS10'...
0.064559 gphoto2-port-serial(2): Trying to lock '/dev/ttyS11'...
0.065722 gphoto2-port-serial(2): Trying to lock '/dev/ttyS12'...
0.065851 gphoto2-port-serial(2): Trying to lock '/dev/ttyS13'...
0.066029 gphoto2-port-serial(2): Trying to lock '/dev/ttyS14'...
0.066151 gphoto2-port-serial(2): Trying to lock '/dev/ttyS15'...
0.066253 gphoto2-port-serial(2): Trying to lock '/dev/ttyS16'...
0.066352 gphoto2-port-serial(2): Trying to lock '/dev/ttyS17'...
0.066450 gphoto2-port-serial(2): Trying to lock '/dev/ttyS18'...
0.066548 gphoto2-port-serial(2): Trying to lock '/dev/ttyS19'...
0.066651 gphoto2-port-serial(2): Trying to lock '/dev/ttyS20'...
0.066749 gphoto2-port-serial(2): Trying to lock '/dev/ttyS21'...
0.066847 gphoto2-port-serial(2): Trying to lock '/dev/ttyS22'...
0.066945 gphoto2-port-serial(2): Trying to lock '/dev/ttyS23'...
0.067043 gphoto2-port-serial(2): Trying to lock '/dev/ttyS24'...
0.067140 gphoto2-port-serial(2): Trying to lock '/dev/ttyS25'...
0.067238 gphoto2-port-serial(2): Trying to lock '/dev/ttyS26'...
0.067339 gphoto2-port-serial(2): Trying to lock '/dev/ttyS27'...
0.067439 gphoto2-port-serial(2): Trying to lock '/dev/ttyS28'...
0.067538 gphoto2-port-serial(2): Trying to lock '/dev/ttyS29'...
0.067641 gphoto2-port-serial(2): Trying to lock '/dev/ttyS30'...
0.067741 gphoto2-port-serial(2): Trying to lock '/dev/ttyS31'...
0.067842 gphoto2-port-serial(2): Trying to lock '/dev/ttyS32'...
0.068075 gphoto2-port-core(2): Loaded 'Serial Port 0' (serial:/dev/ttyS0) from 'libgphoto2_port_serial.so'
0.068192 gphoto2-port-core(2): Loaded 'Serial Port 1' (serial:/dev/ttyS1) from 'libgphoto2_port_serial.so'
0.068270 gphoto2-port-core(2): Loaded 'Serial Port 2' (serial:/dev/ttyS2) from 'libgphoto2_port_serial.so'
0.068346 gphoto2-port-core(2): Loaded 'Serial Port 3' (serial:/dev/ttyS3) from 'libgphoto2_port_serial.so'
0.068422 gphoto2-port-core(2): Loaded '' (^serial) from 'libgphoto2_port_serial.so'
0.068969 gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb from 'libgphoto2_port_usb.so'
0.069182 gphoto2-port-info-list(2): Looking for path 'usb:' (6 entries available)...
0.069287 gphoto2-port-info-list(2): Getting info of entry 4 (6 available)...
0.069425 gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at 'usb:'...
0.073608 gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
0.073772 gphoto2-port(2): Setting settings...
0.073845 gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
0.073950 gphoto2-setting(2): Saving 2 setting(s) to file "/home/tanxin/.gphoto/settings"
0.075714 gphoto2-camera(2): Setting abilities ('Minolta Dimage V')...
0.075889 gphoto2-setting(2): Setting key 'model' to value 'Minolta Dimage V' (gphoto2)
0.075992 gphoto2-setting(2): Saving 2 setting(s) to file "/home/tanxin/.gphoto/settings"
0.077421 gphoto2-camera(2): Initializing camera...
0.077850 gphoto2-port(0): The supplied vendor or product id (0x0,0x0) is not valid.
0.078116 context(0): An error occurred in the io-library ('Bad parameters'): The supplied vendor or product id (0x0,0x0) is not valid.

*** Error ***              
An error occurred in the io-library ('Bad parameters'): The supplied vendor or product id (0x0,0x0) is not valid.
*** Error (-2: 'Bad parameters') ***      

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --camera "Minolta Dimage V" --port "usb:" --summary --debug

Please make sure there is sufficient quoting around the arguments.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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