Fedora Linux Support Community & Resources Center
  #1  
Old 1st January 2006, 09:33 PM
LarryJ Offline
Registered User
 
Join Date: Nov 2005
Location: W. Montana, USA
Posts: 103
Unhappy digiKam Failed connection to camera FC4 USB Canon Digital Rebel

digiKam from Fedora Extras is installed and seeminly working OK. I found my camera in the dropdown within digiKam's Camera, Add Camera menu. However either normal or PTP mode triggers an error message box that says "Failed to connect to camera. Please make sure its connected ..."

So I read somewhere that I should look in /proc/bus/usb/devices to see if the camera was in there. It is here's part of that file:
Quote:
T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#= 20 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs= 1
P: Vendor=04a9 ProdID=30ee Rev= 0.01
S: Manufacturer=Canon Inc.
S: Product=Canon Digital Camera
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=64ms
Next I read somewhere that I should look at /var/log/messages . When I turn the USB connected camera on and off I see
Quote:
Jan 1 14:13:50 localhost kernel: usb 1-5: new high speed USB device using ehci_hcd and address 8
Jan 1 14:13:54 localhost kernel: usb 1-5: USB disconnect, address 8
But I never see a /dev directory entry that even looks remotely like a camera. I was expecting something like /dev/sda1. My usb scanner shows up with this entry:
Quote:
"scanner-usb-:proc:bus:usb:005:002"
So therefore without the knowing the directory entry /dev/sda , I cannot do the next step which is something like (I think!!)
Code:
mkdir /mnt/canon
mount -o uid=1000,gid=100 /dev/sda1 /mnt/canon
I've tried everything I can think of. Is there anything you can think of that I should try?
Thanks,
Larry :(
Reply With Quote
  #2  
Old 1st January 2006, 09:35 PM
Tashiro Offline
Retired Community Manager
 
Join Date: May 2004
Posts: 1,149
Moved to Hardware.

Tashiro
__________________
Respect the FedoraForum.org guidelines
Reply With Quote
  #3  
Old 2nd January 2006, 04:01 PM
ttrainor Offline
Registered User
 
Join Date: Dec 2005
Posts: 3
I have a similar problem with a USB 2.0 mp3 player. ehci is loaded, and device is recognized, but no device node is created. I am beginning to think it may be a bug in FC4 with usb 2.0 mass-storage devices. Can anyone with knowledge of udev help us out?

http://forums.fedoraforum.org/showthread.php?p=426884
http://www.linuxquestions.org/questi...d.php?t=395072
Reply With Quote
  #4  
Old 2nd January 2006, 08:48 PM
LarryJ Offline
Registered User
 
Join Date: Nov 2005
Location: W. Montana, USA
Posts: 103
trainor,
I installed a copy of usbview 1.0-13. My camera is displayed in there seconds after I plug it's usb cable in. Also I'm certain the kernel was compiled with hotplug support. which I read is necessary. I've struggled with trying to fathom what the problem is for about two days now. I tried "modeprobe usb-storage" to get SCSI emulation started but that wasn't any help.

Another interesting item is that I have a second computer (older) with FC4 installed from the same installation CD's. When I run gphoto2 --auto-detect on it, I get the same result as on my other FC4 box. (Just emits the words Model and Port with a dashed line underneath. No camera info) However, usbview on the olde shows the camera info immediately just like the newer box.

In the mean time, my old DeskStar HardDrive (in olde) is getting ready to die. That will keep me occupied for a while!

Glad I'm not the only one experiencing this problem.
Larry

Last edited by LarryJ; 2nd January 2006 at 09:09 PM.
Reply With Quote
  #5  
Old 3rd January 2006, 01:56 PM
LarryJ Offline
Registered User
 
Join Date: Nov 2005
Location: W. Montana, USA
Posts: 103
TTrainor and all,

Look at BugZilla https://bugzilla.redhat.com/bugzilla....cgi?id=160362

At this step in the learning curve (the learning curve is jagged for me, some days I don't learn anything!), I wonder if our problem is that we have not defined a udev rule for our hardware. I'm going to download doc for udev and read that.

Edit1 ... At my level, info HOTPLUG and udev are barely readable so no help there. However, http://linux-hotplug.sourceforge.net/ looks much more promising.

Edit2 ...Changed /etc/udev/udev.conf syslog(3) priority to "info" as shown:
udev_log="info"
Now /var/log/messages shows
Quote:
Jan 3 09:32:02 localhost default.hotplug[29431]: invoke /etc/hotplug/usb.agent ()
Jan 3 09:32:03 localhost usb.agent[29431]: ... no modules for USB product 4a9/30ee/1
Jan 3 09:32:03 localhost udev[29449]: udev_rules.c: no rule found, use kernel name 'usbdev1.14'
Jan 3 09:32:03 localhost udev[29449]: udev_add.c: creating device node '/dev/usbdev1.14'
when I plug in the Canon camera (vendor 04a9 Product ID 30ee).

Edit3: Loads of information about hotplug and writing udev available here:
Udev Info from kernel.org

Edit4: Some progress. As suggested in the info pub in Edit3, I created a file
10-local.rules as root in the directory /etc/udev/rules.d . In this file I placed the
following lines. The vendor id and product id came from information provided by usbview.
Code:
#  Written by LJ Wed 04 Jan 2006 10:27:27 AM MST 
BUS="usb", SYSFS{idVendor}="04a9", SYSFS{idProduct}="30ee", NAME="canon"
Now when I turn on the usb connected camera, my /var/log/messages shows the following:
Quote:
Jan 4 11:05:06 localhost default.hotplug[6927]: invoke /etc/hotplug/usb.agent ()
Jan 4 11:05:06 localhost usb.agent[6927]: ... no modules for USB product 4a9/30ee/1
Jan 4 11:05:06 localhost udev[6945]: udev_rules.c: configured rule in '/etc/udev/rules.d/10-local.rules[2]' applied, 'usbdev1.10' becomes 'canon'
Jan 4 11:05:06 localhost udev[6945]: udev_add.c: creating device node '/dev/canon'
And sure enough, in the /dev directory is a node named
crw-rw---- 1 root root 189, 8 Jan 4 10:58 canon
Now to see if I can mount this dev and read from it. (I don't understand all this but it looks promising. )

Edit 5: so I command as root
Quote:
mount -t vfat /dev/canon /mnt/canon
mount replies
Quote:
mount: /dev/canon is not a block device
Well yes, "crw-rw---- 1 root root 189, 8 Jan 4 10:58 canon" reveals
that /dev/canon is a character "c" and not a block "b" device. The question is how do I create /dev/canon as a block device?




LJ

Last edited by LarryJ; 5th January 2006 at 04:10 PM.
Reply With Quote
  #6  
Old 9th January 2006, 02:47 AM
LarryJ Offline
Registered User
 
Join Date: Nov 2005
Location: W. Montana, USA
Posts: 103
Exclamation Success! Download from Canon Digital Rebel XT

I've been carrying on a conversation with myself now for a week or so. Tonight I was browsing through the menu on my Canon Digital Rebel XT model 350D (USB idProduct 30ee and USB idVendor 04a9). Over on the right most menu, I found the Communication menu and it was selectable between options "PC connection" and "Print/PTP" mode. It was set to PC Connection and that didn't do anything so I set it to Print/PTP.

Pluged in the USB cord, turned on the camera, and there's a window that says "Import photos from camera?" When you click Import Photos, gphoto2 is triggered and away you go.

I hope this saves you some time.

Larry
Reply With Quote
  #7  
Old 17th September 2007, 09:22 PM
jacquessupp Offline
Registered User
 
Join Date: Sep 2007
Posts: 2
protocol for cannon rebel xt

somebody know where I can find the communication protocol of rebel cannon xt

it look like it is secret my ...

nobody know what is look like

jack 47'N 7!'O
Reply With Quote
  #8  
Old 18th August 2008, 04:39 AM
srivathsa.b Offline
Registered User
 
Join Date: Aug 2008
Posts: 1
I was also having similar problem , thanks for the info
Reply With Quote
Reply

Tags
camera, canon, connection, digikam, digital, failed, fc4, rebel, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Current GMT-time: 03:53 (Saturday, 20-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat