Can not connect camera in PTP mode using 2.6.23.1-10
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 24
  1. #1
    Join Date
    Jul 2005
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can not connect camera in PTP mode using 2.6.23.1-10

    as stated above
    When I attach the camera (Sony P73) "camera detected" window pops out asking me if I want to import photos. If I chose "import" I get following message:
    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.

    I had no troubles using previous kernel 2.6.22.9-91

    I have no troubles if I choose "normal" mode

    Does anyone else have same problem?

  2. #2
    Wayne Guest
    On reading your post, I just had to try it.... Yep, I've got it too and my fix for FC5 didn't work

    http://www.fedoraforum.org/forum/sho...digital+camera

    Wayne

  3. #3
    Wayne Guest
    This is strange. I thought the symptoms were similar to the bug that crept into FC5, which the change to the UDEV rules solved. In that case, the camera was only operable by root until the change, but in this case, the camera doesn't even mount for root (on my box) but does for the user!

    Wayne

  4. #4
    Join Date
    Jul 2005
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wayne thank you for your reply. It's good to know I'm not alone experiencing this trouble. I hope it will soon be solved.

  5. #5
    Join Date
    May 2006
    Posts
    547
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i too have this problem with a Canon A460 ... looks a recurrence of something previous I had in FC5

    edit 50-udev.rules

    find the lines as follws and change mode 0644 to 0666.

    SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", \
    NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644"

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

    This is problably a kludge (I dont know for sure what impact this would have), but it lets my camera work for now.
    Last edited by bradchaus; 3rd November 2007 at 02:00 AM. Reason: solved
    * AMD Phenom 9750, 8GB DDR-1066, Gigabyte MA770UD3, ATI X550, F12 64bit
    * Dual Athlon MP2800+, Gigabyte GA-7DPXDWP, 1GB, Centos 5.4

    Linux Rules

  6. #6
    Join Date
    Jul 2005
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bradchaus thank you for posting your solution. My camera works ok now.

  7. #7
    Join Date
    May 2006
    Posts
    547
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my pleasure
    * AMD Phenom 9750, 8GB DDR-1066, Gigabyte MA770UD3, ATI X550, F12 64bit
    * Dual Athlon MP2800+, Gigabyte GA-7DPXDWP, 1GB, Centos 5.4

    Linux Rules

  8. #8
    Wayne Guest
    Ahh, so, you've found a second place where the rule needs to be changed. I never noticed that!

    Wayne

  9. #9
    Join Date
    May 2006
    Posts
    547
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well i just extended your solution so thanx to you too ...
    * AMD Phenom 9750, 8GB DDR-1066, Gigabyte MA770UD3, ATI X550, F12 64bit
    * Dual Athlon MP2800+, Gigabyte GA-7DPXDWP, 1GB, Centos 5.4

    Linux Rules

  10. #10
    Wayne Guest
    Quote Originally Posted by bradchaus
    well i just extended your solution so thanx to you too ...
    Thanks and I'm happy to say that changing the other value worked here too! I'd already removed the new kernel and went back to the previous one but now I'm updated again

    Wayne

  11. #11
    Join Date
    Nov 2006
    Location
    London
    Age
    57
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, this solution worked for me as well (with a Nikon 4300)

    --Simon

  12. #12
    Join Date
    Jul 2007
    Location
    Northwestern Carolina
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mucho thanks for this solution!

    My Fuji FinePix worked fine with FC7 up until 2007-11-13. After which, connecting the camera caused the same error message as above. It doesn't appear that 50-udev.rules had been changed as the datestamp was unchanged, but bradchaus' suggestion works for me.

    Thanks again

  13. #13
    Join Date
    Nov 2007
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In my FC8 there is no 50-udev.rules, only a 50-udev-default.rules. Moreover in the latter file there i could only one place with the 0644 number.

    Seems I have some symptom that FC8 does recognize my camera initially, but when it tries to grab the images, it thinks another camera is atached . . .

    See also my post http://forums.fedoraforum.org/forum/...ght=canon+ixus

  14. #14
    Wayne Guest
    Right, in Fedora 8, you have to change this line to "0666" in 50-udev-default.rules

    # libusb device nodes
    SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666"

    What's worse this time is gThumb doesn't automatically start when I plug-in my camera and I have to launch it manually Come on devs, get it together!

    Wayne

  15. #15
    Join Date
    Feb 2004
    Location
    Canada
    Posts
    354
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have the same problem with my canon Powershot A60. Changing the above file didn't work for me. Very frustrating!

Page 1 of 2 1 2 LastLast

Similar Threads

  1. ad-hoc mode won't connect with madwifi
    By stabone in forum Servers & Networking
    Replies: 2
    Last Post: 21st December 2009, 05:56 PM
  2. Replies: 0
    Last Post: 26th November 2007, 01:04 AM
  3. Cannot connect to camera
    By ms1234 in forum Hardware
    Replies: 0
    Last Post: 15th October 2006, 04:24 PM
  4. I can't connect to Internet after change to text mode
    By mikezang in forum Servers & Networking
    Replies: 5
    Last Post: 5th November 2005, 05:15 AM
  5. Can't get FC4 to connect to digital camera
    By LucysDad in forum Hardware
    Replies: 3
    Last Post: 30th July 2005, 09:13 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
  •