Bug 24227 - gphoto - trouble when selecting device
gphoto - trouble when selecting device
Product: Red Hat Linux
Classification: Retired
Component: gphoto (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2001-01-17 13:15 EST by Inger Karin Haarbye
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-17 16:48:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Inger Karin Haarbye 2001-01-17 13:15:24 EST
I have kamera kodak dc280, and I use it with usb (dc2xx module -
After some trouble with selecting device in beta1 and beta2,(bug
#23213) I upgraded to gphoto-4.3-10 (rawhide, recompiled src-rpm).

I still have problem. When I first time select camera and device,
everything is OK, and next time I open gphoto it works - if I don't try to
look at the configuration again and press "save". Looks like gphoto then
will try to open the device once again, and get the "please chech the
permissions" and "failed to open /dev/usb/dc2xx0" error.

Now with "strace -eopen gphoto", everything looks OK so far, the last lines:

open("/root/.gphoto/gphotorc", O_RDONLY) = 4
open("/dev/usb/dc2xx0", O_RDWR|O_NONBLOCK) = 4
state_machine_set_baud: tcgetattr: Inappropriate ioctl for device
Assuming USB connection.

Then I try "configuration" - and "save" - and I get:

open("/dev/usb/dc2xx0", O_RDWR)         = -1 EBUSY (Device or resource busy)
open("/dev/usb/dc2xx0", O_RDWR|O_NONBLOCK) = -1 EBUSY (Device or resource busy)
state_machine_construct: open: Device or resource busy
kdc240_initialize: could not create state machine!

Maybe it is nok the right thing to do to press "save" when the
configuration is OK already, but anyway, I don't think I like the way
gphoto is doing this.
Comment 1 Tim Waugh 2001-01-17 13:47:39 EST
I've had a look at this, and it's basically a bit of a headache to fix.  I've reported it to the upstream maintainers.
Comment 2 Inger Karin Haarbye 2001-01-17 14:36:06 EST
This is working OK in gphoto-4.3-8 in RH7.
Comment 3 Tim Waugh 2001-01-17 14:38:42 EST
With a USB camera?
Comment 4 Inger Karin Haarbye 2001-01-17 15:04:31 EST
Yes. I have not seen _this_ bug before... But gphoto is not very stable.
Comment 5 Tim Waugh 2001-01-17 16:45:58 EST
It may appear to be working in -8, but I expect it will fail if you try it
several times in a row.
Comment 6 Tim Waugh 2001-10-19 09:04:03 EDT
Really, the solution will be to switch over to gphoto2 when it is released.

Note You need to log in before you can comment on or make changes to this bug.