[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usb storage и /dev/sdX?



Nicholas wrote:
Artem Chuprina wrote:

aptitude install gphoto2
Корявая, конечно, хрень, но USB mass storage ты с него вообще не получишь.


фотик находит, а скачать не может:
computer# gphoto2 --auto-detect --port=usb -P  --debug
...
6.860407 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x30b5)... found. 6.862904 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01 6.865213 gphoto2-abilities-list.c(2): Found 'Canon PowerShot A75' (0x4a9,0x30b5)
6.869969 gphoto2-port(2): Freeing port...
6.876690 gphoto2-port(2): Closing port...
Model                          Port
----------------------------------------------------------
Canon PowerShot A75            usb:
7.007011 gphoto2-camera(2): Listing files in '/'...
7.009259 gphoto2-camera(2): Initializing camera...
7.011267 gphoto2-port-usb(1): Looking for USB device (vendor 0x4a9, product 0x30b5)... found. 7.013472 gphoto2-port-usb(1): Detected defaults: config 1, interface 0, altsetting 0, inep 81, outep 02, intep 83, class 06, subclass 01 7.044352 gphoto2-camera(2): Loading '/usr/lib/gphoto2/2.1.5/libgphoto2_canon.so'...
7.047555 gphoto2-port(2): Opening USB port...
7.050151 gphoto2-port(0): Could not query kernel driver of device.
7.052217 canon/library.c(2): canon camera_init()
7.054146 canon/library.c(2): GPhoto tells us that we should use a USB link.
7.056211 canon/usb.c(2): Initializing the (USB) camera.

7.132453 gphoto2-port(2): Setting settings...
7.139088 gphoto2-port(0): Could not set config 0/1 (Device or resource busy)
7.141297 context(0): Could not apply USB settings

*** Error ***
Could not apply USB settings
7.175247 gphoto2-port(2): Closing port...
7.179322 context(0): An error occurred in the io-library ('Error updating the port settings'): Could not set config 0/1 (Device or resource busy)

*** Error ***
An error occurred in the io-library ('Error updating the port settings'): Could not set config 0/1 (Device or resource busy)
*** Error (-37: 'Error updating the port settings') ***

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 --auto-detect --port=usb -P --debug "option"

Please make sure there is sufficient quoting around the arguments.
7.268860 gphoto2-port(2): Closing port...
7.271165 libgphoto2/gphoto2-filesys.c(2): Clearing fscache LRU list...
7.273097 libgphoto2/gphoto2-filesys.c(2): fscache LRU list already empty
7.275508 gphoto2-filesystem(2): Internally deleting all folders from '/'..
7.264838 gp-camera(2): Freeing camera...
7.267086 gphoto2-port(2): Freeing port...

Строчка ниже говорит о нехватке драйвера в кернеле? если до то какого?
7.050151 gphoto2-port(0): Could not query kernel driver of device.
Гугление фирменных модулей не обнаружило.

Для начала надо бы посмотреть на сайте разработчиков gphoto2 поддерживается ли камера,
полагаю что A75 поддерживается, но надо уточнить.
У меня A520, файлы скачиваю так: gphoto2 --get-all-files
Правда я gphoto2 ставил поновее, чем в sarge - 2.1.6, не помню где брал deb пакеты.



Reply to: