Hello,

I'm trying to get my new Olympus digital camera to work with Mandrake
8.2 and I'm having some problems. I'm hoping someone can help me out.

The camera connects to the computer using USB. When I run the gphoto2
command:

gphoto2 --port usb: --auto-detect

I get the following results:

Model                          Port
----------------------------------------------------------
Olympus C-2040Z                usb:


The Camera's case says it is a D-40ZOOM but I'm assuming the firmware
on
this camera and the C-2040Z is the same. According to
http://www.gphoto.org/cameras.html, the Olympus C-2040Z is supported by
gphoto2.

Following the tutorial at http://www.gphoto.org/gphoto2/cli.html, I
next
try to run the following command to see the folders on the camera:

gphoto2 --camera "Olympus C-2040Z" --port "usb:" --list-folders

However, at this point, I get the following error:

*** Error ***
An error occurred in the io-library ('Could not claim the USB device'):
Could not claim interface 0 (Device or resource busy). Make sure no
other program or kernel module (i.e. dc2xx) is using the device and you
have read/write access to the device.
*** Error ('Could not claim the USB device') ***

The error goes on telling you to run the command with a --debug option.
When I do, I get the following result:

cli: checking "--debug":

cli: checking "--camera":

cli: checking "--port":

cli: checking "--list-folders":

cli: ALWAYS INCLUDE THE FOLLOWING LINE WHEN SENDING DEBUG MESSAGES TO
THE MAILING LIST:
cli: gphoto2 2.0: Turning on debug mode
cli: Setting port to usb:
cli: Setting camera model to Olympus C-2040Z
cli: Setting globals...
gphoto2-filesystem(2): Internally appending folder /...
gphoto2-port(2): Creating new device...
gphoto2-abilities-list(2): Loading camera libraries in
'/usr/lib/gphoto2/2.0'...
gphoto2-abilities-list(2): Note that failing to load *.a and *.la is
NOT an error!
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_ricoh.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_sony_dscf1.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_jd11.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_directory.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_dimera3500.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_jamcam.so'...
jamcam/jamcam.c(2): * camera_id
jamcam/jamcam.c(2): * camera_abilities
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_panasonic_coolshot.so'...
coolshot/coolshot.c(2): * camera_id
coolshot/coolshot.c(2): * camera_abilities
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_sierra.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc120.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_ptp.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc240.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_kodak_dc3200.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_konica.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_sony_dscf55.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_barbie.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_panasonic_dc1000.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_panasonic_l859.so'...
l859/l859.c(2): Camera ID
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_stv0680.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_panasonic_dc1580.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_dimagev.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_samsung.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_polaroid_pdc320.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_digita.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_agfa.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_casio_qv.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_polaroid_pdc640.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_polaroid_pdc700.so'...
gphoto2-abilities-list(2): Trying to load
'/usr/lib/gphoto2/2.0/libgphoto2_canon.so'...
canon/library.c(2): camera_id()
canon/library.c(2): camera_abilities()
gp-port-info-list(2): Loading io-drivers from
'/usr/lib/gphoto2_port/0.0.4'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/0'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/1'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/2'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/3'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/4'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/5'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/6'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/7'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/8'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/9'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/10'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/11'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/12'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/13'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/14'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/15'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/16'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/17'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/18'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/19'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/20'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/21'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/22'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/23'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/24'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/25'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/26'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/27'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/28'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/29'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/30'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/31'...
gphoto2-port-serial(2): Trying to lock '/dev/tts/32'...
gphoto2-port-core(2): Loaded 'Serial Port 0' (serial:/dev/tts/0) from
'libgphoto2_port_serial.so'
gphoto2-port-core(2): Loaded 'Serial Port 1' (serial:/dev/tts/1) from
'libgphoto2_port_serial.so'
gphoto2-port-core(2): Loaded '' (^serial) from
'libgphoto2_port_serial.so'
gphoto2-port-core(2): Loaded 'Universal Serial Bus' (usb:) from
'libgphoto2_port_usb.so'
gphoto2-camera(2): Setting abilibites ('Olympus C-2040Z')...
setting/gphoto2-setting.c(2): Creating $HOME/.gphoto
setting/gphoto2-setting.c(2): Loading settings from file
"/home/davidj/.gphoto/settings"
gphoto2-setting(2): Setting key 'model' to value 'Olympus C-2040Z'
(gphoto2)
gphoto2-setting(2): Saving 2 setting(s) to file
"/home/davidj/.gphoto/settings"
gphoto2-port-info-list(2): Looking for path 'usb:' (4 entries
available)...
gphoto2-port-info-list(2): Getting info of entry 2 (4 available)...
gphoto2-camera(2): Setting port info for port 'Universal Serial Bus' at
'usb:'...
gphoto2-port(2): Setting timeout to 5000 millisecond(s)...
gphoto2-port(2): Setting settings...
gphoto2-setting(2): Setting key 'port' to value 'usb:' (gphoto2)
gphoto2-setting(2): Saving 2 setting(s) to file
"/home/davidj/.gphoto/settings"
gphoto2-camera(2): Listing folders in '/'...
gphoto2-camera(2): Initializing camera...
gphoto2-port-usb(1): Looking for USB device (vendor 0x7b4, product
0x105)... found.
gphoto2-port-usb(1): Detected defaults: config 1, interface 0,
altsetting 0, inep 83, outep 04
gphoto2-camera(2): Loading
'/usr/lib/gphoto2/2.0/libgphoto2_sierra.so'...
gphoto2-port(2): Opening USB port...
gphoto2-port(ERROR): Could not claim interface 0 (Device or resource
busy). Make sure no other program or kernel module (i.e. dc2xx) is
using the device and you have read/write access to the device.
context(ERROR): An error occurred in the io-library ('Could not claim
the USB device'): Could not claim interface 0 (Device or resource
busy). Make sure no other program or kernel module (i.e. dc2xx) is
using the device
and you have read/write access to the device.

*** Error ***
An error occurred in the io-library ('Could not claim the USB device'):
Could not claim interface 0 (Device or resource busy). Make sure no
other program or kernel module (i.e. dc2xx) is using the device and you
have read/write access to the device.
*** Error ('Could not claim the USB device') ***

gp-camera(2): Freeing camera...
gphoto2-port(2): Freeing port...
gphoto2-port(2): Closing port...
gphoto2-port(ERROR): Could not release interface 0 (Invalid argument).
gphoto2-filesystem(2): Internally deleting all folders from '/'...


At this point, it looks like a USB problem rather than a gphoto
probelm.

If I look at /var/log/messages, I see the following entry when I
connect my camera:

Apr 17 23:06:19 zippy kernel: hub.c: USB new device connect on bus1/2,
assigned device number 3
Apr 17 23:06:19 zippy /etc/hotplug/usb.agent: Setup usb-storage for USB
product 7b4/105/100
Apr 17 23:06:19 zippy /etc/hotplug/usb.agent: missing kernel or user
mode driver usb-storage

which seems to imply some sort of missing kernel parameter for usb mass
storage. However, lsmod seems to imply I do have usb mass storage
loaded:

Module                  Size  Used by    Tainted: P
isofs                  25792   0  (autoclean)
inflate_fs             19328   0  (autoclean) [isofs]
sd_mod                 11644   0  (autoclean)
sr_mod                 15160   0  (autoclean) (unused)
agpgart                31552   3  (autoclean)
es1371                 26656   0
soundcore               4068   4  [es1371]
ac97_codec              9568   0  [es1371]
gameport                1756   0  [es1371]
lp                      6464   0
parport_pc             22088   1
parport                23968   1  [lp parport_pc]
af_packet              12488   2  (autoclean)
ip_vs                  65400   0  (autoclean)
ipchains               35816   0
usb-storage            52236   0
usb-uhci               21668   0  (unused)
usbcore                59072   1  [usb-storage usb-uhci]
3c59x                  25928   1  (autoclean)
supermount             62180   3  (autoclean)
NVdriver              947232  10
ide-scsi                8032   0
scsi_mod               92488   4  [sd_mod sr_mod usb-storage ide-scsi]
rtc                     5912   0  (autoclean)
reiserfs              169312   1

If I try the desparate and do a insmod usb-storage, I'm told a module
named usb-storage already exists.

At this point, I'm clueless as to what to do next. I've tried this on
two separate computers with the same results. One computer had a
"recommended" install while the other had an "expert" install with just
about everything under the sun installed. I'm new to USB (this being my
first USB device) and also to gphoto2 so if there is an obvious
solution, please be kind :)

Any ideas?

Thanks

David




__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to