FedoraForum.org

FedoraForum.org (http://forums.fedoraforum.org/index.php)
-   General Support (http://forums.fedoraforum.org/forumdisplay.php?f=7)
-   -   Can not connect camera in PTP mode using 2.6.23.1-10 (http://forums.fedoraforum.org/showthread.php?t=170607)

dobrez 2007-11-01 02:16 PM CDT

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?

Wayne 2007-11-01 07:44 PM CDT

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

Wayne 2007-11-02 12:51 AM CDT

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

dobrez 2007-11-02 02:45 AM CDT

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.

bradchaus 2007-11-02 06:51 PM CDT

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.

dobrez 2007-11-03 01:24 PM CDT

Bradchaus thank you for posting your solution. My camera works ok now.

bradchaus 2007-11-03 05:13 PM CDT

my pleasure

Wayne 2007-11-03 06:45 PM CDT

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

Wayne

bradchaus 2007-11-03 11:27 PM CDT

well i just extended your solution so thanx to you too ...

Wayne 2007-11-03 11:31 PM CDT

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 :D

Wayne

beartech 2007-11-10 12:52 PM CST

Thanks, this solution worked for me as well (with a Nikon 4300)

--Simon

virason 2007-11-14 05:12 AM CST

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 :)

Basilicum 2007-11-15 08:17 AM CST

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

Wayne 2007-11-15 07:00 PM CST

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

Paul_Vandenberg 2007-11-21 07:03 PM CST

I have the same problem with my canon Powershot A60. Changing the above file didn't work for me. Very frustrating!


All times are GMT -7. The time now is 12:45 PM CST.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.