FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Wayne Guest

    Unhappy Importing photos from camera with gThumb

    Did the problem of importing photos from digital cameras with gThumb ever get solved? I guess it's a permission problem because it works fine as root and if I go into /dev/bus/usb/ and change the permissions of the /dev/bus/usb/00x file as root when I switch on the camera it works too. Obviously, that file is created when the camera is turned on and only lasts for that session so doing it every time is a PIA. The only problem is being a clueless noob I haven't the foggiest idea what to do about it! Any help appreciated.

    This is the problem to refresh any memories:

    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.

    Wayne

  2. #2
    Wayne Guest
    Well, it looks like this noob fixed it by trial and error. I found this link while looking through another forum:

    http://reactivated.net/writing_udev_rules.html

    Although most of it went right over my head, I did learn one little thing so I went to:

    /etc/udev/rules.d

    and opened the file:

    50-udev.rules

    Then changed one line so it looks like this:

    ACTION=="add", SUBSYSTEM=="usb_device", \
    PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \
    NAME="%c", MODE="0666"

    The important part is the "MODE" part, I just changed that value from what was originally there. It now means that the device is readable and writeable to everyone. A small price to pay for a functioning camera for users!

    Wayne

  3. #3
    Join Date
    Jul 2005
    Location
    Vulcan
    Posts
    284
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot rondonjin
    P.S. Never take candy from strangers... money is ok, but not candy.

    FC 12 - 64 bits

    Dell Vostro 1710 | Intel Core 2 Duo T9500 @ 2.60GHz | DDR 2GB | nVidia GeForce 8600M GS 512MB | WLAN Broadcom BCM4328 802.11a/b/g/n | Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller | Dell Wireless 360 Bluetooth | Seagate 5400rpm 160GB | Western Digital 5400rpm 320GB

    Maemo 5

    Nokia N900 | ARM Cortex A8 600 MHz | PowerVR SGX graphics | 32GB | Designed in Finland

  4. #4
    Join Date
    Apr 2005
    Posts
    344
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This worked for me also! thanx

  5. #5
    Join Date
    Mar 2006
    Location
    Gulbene - Latvia - Europe
    Age
    43
    Posts
    292
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up

    Thanks a lot, rondonjin!
    I changed 0644 to 0666
    And it works smooth and is OK.

    you smart and patient, I also find posts, but could not figure out that I need 50-udev.rules.

    jou...

    supaaaa!

    Maris

  6. #6
    Wayne Guest
    Quote Originally Posted by marisdembovskis
    Thanks a lot, rondonjin!
    I changed 0644 to 0666
    And it works smooth and is OK.

    you smart and patient, I also find posts, but could not figure out that I need 50-udev.rules.

    jou...

    supaaaa!

    Maris
    Glad it worked for you too... and everyone else, of course!

    Wayne

  7. #7
    Join Date
    Oct 2004
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks alot Rondonjin

    I used the advice you gave and my digital camera works perfectly in Fedora Core 5.

  8. #8
    Wayne Guest
    Quote Originally Posted by jeffy5
    Thanks alot Rondonjin

    I used the advice you gave and my digital camera works perfectly in Fedora Core 5.
    Good. I'm surprised this issue hasn't been 'fixed' yet.

    Wayne

  9. #9
    Join Date
    Mar 2005
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for that tip. Worked great for my camera. This one was very frustration. Running gthumb as root worked, but that was a hack workaround. The udev stuff is a little unwieldy, thanks for the pointer. I don't know why the permissions would be defaulted to 644 rather that 666? Anyway - thanks

  10. #10
    Wayne Guest
    Quote Originally Posted by dann
    Thanks for that tip. Worked great for my camera. This one was very frustration. Running gthumb as root worked, but that was a hack workaround. The udev stuff is a little unwieldy, thanks for the pointer. I don't know why the permissions would be defaulted to 644 rather that 666? Anyway - thanks
    Just as a FYI, in another thread I started yesterday I noticed that a recent update, probably to udev, created a new rules file (and backed up the old one) and set it back to 0664!

    Cheers

    Wayne

  11. #11
    Join Date
    Apr 2005
    Location
    Fragrant Harbour
    Posts
    1,365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rondonjin
    Good. I'm surprised this issue hasn't been 'fixed' yet.
    I couldn't say I ever had a problem with uploading images from digital cameras, but there is a better way.

    Buy an USB card (flash card) reader. One of those 18 or 23 in 1 things that can read Compact Flash, etc., etc. Remove the card from your camera and plug it in. Then connect that baby to an USB port. In a few seconds the card should show up as an external storage device. Viola, you can do all the copying you want.

  12. #12
    Wayne Guest
    Quote Originally Posted by Omega Blue
    I couldn't say I ever had a problem with uploading images from digital cameras, but there is a better way.

    Buy an USB card (flash card) reader. One of those 18 or 23 in 1 things that can read Compact Flash, etc., etc. Remove the card from your camera and plug it in. Then connect that baby to an USB port. In a few seconds the card should show up as an external storage device. Viola, you can do all the copying you want.
    Yes, I bought an SD card reader for my camera phone a long while back. When the phone broke I got a new one but that took Mini SD, luckily my card reader came with a Mini SD converter! I don't think I want to get another reader for my ancient camera though. I've decided that I'm going to spend very little, if any money on this hobby in the future and divert all my hobby funds over to beer making. My only use for a PC is to keep in touch with people, watch my PAL DVDs and save and organise my digital pics. When Fedora, or the distro I use in the future gets too space or memory hungry for the PC I'm now running I might consider upgrading but this one does everything I need.

    Cheers

    Wayne

  13. #13
    leigh123linux Guest
    Quote Originally Posted by rondonjin
    Well, it looks like this noob fixed it by trial and error. I found this link while looking through another forum:

    http://reactivated.net/writing_udev_rules.html

    Although most of it went right over my head, I did learn one little thing so I went to:

    /etc/udev/rules.d

    and opened the file:

    50-udev.rules

    Then changed one line so it looks like this:

    ACTION=="add", SUBSYSTEM=="usb_device", \
    PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \
    NAME="%c", MODE="0666"

    The important part is the "MODE" part, I just changed that value from what was originally there. It now means that the device is readable and writeable to everyone. A small price to pay for a functioning camera for users!

    Wayne
    Thanks

    This got my camera working sweet in F7

  14. #14
    Wayne Guest
    Another satisfied customer

    I'm amazed that this tip is still relevant as it was originally for FC5. Still, Dan (AKA TangledWeb) apparently makes the change as a matter of course when installing.

    I didn't need to do it in FC6 or in F7, my camera works fine without the change.

    Wayne

  15. #15
    Join Date
    Nov 2006
    Location
    Finland
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My 2 cents:

    In FC6 I had no problems with photo import.

    But in Fedora 7, I noticed that after updating kernel to 2.6.22.1-27.fc7 I got the same error message that mentioned in the first post. Everything worked fine with earlier kernel versions. And after updating to 2.6.22.1-41.fc7 things were back in normal. The fix mentioned in this thread didn't help when running the "broken" kernel.
    Mikko

Page 1 of 2 12 LastLast

Similar Threads

  1. Sony Digital Camera not Downloading Photos
    By Eric54 in forum Hardware
    Replies: 7
    Last Post: 21st November 2007, 04:05 AM
  2. Replies: 28
    Last Post: 10th March 2007, 04:58 AM
  3. Replies: 2
    Last Post: 3rd April 2005, 10:17 AM
  4. Problem Importing via Gthumb w/ HP 735
    By nutbrownhares in forum Hardware
    Replies: 0
    Last Post: 20th February 2005, 03:38 PM
  5. digital camera and gThumb 2.4.2
    By Fnx in forum Hardware
    Replies: 4
    Last Post: 14th February 2005, 08:53 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •