Bug 142989

Summary: [usb8] canon eos 50D attaches but detaches after few seconds (1 - 4)
Product: Base System Reporter: robert blacquiere <robert>
Component: usbAssignee: freebsd-usb (Nobody) <usb>
Status: Closed FIXED    
Severity: Affects Only Me CC: miwi
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description robert blacquiere 2010-01-19 21:00:20 UTC
Canon EOS 50D dslr connected to usb ports attaches but detaches after
few seconds, between 1 and 4 seconds. 

ugen6.2: <Canon Inc.> at usbus6
ugen6.2: <Canon Inc.> at usbus6 (disconnected)

usbconfig list does not show any Canon device any more.

How-To-Repeat: attach canon eos 50D firmware version 1.07 with usb on freebsd 8.0 laptop.
Comment 1 Hans Petter Selasky 2010-01-20 09:14:31 UTC
Can you try with an 9-current kernel?

--HPS
Comment 2 robert blacquiere 2010-01-20 09:23:37 UTC
I will try this later this week. Maybe tomorrow time allowing.

Regards

Robert Blacquiere
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2010-02-08 06:27:49 UTC
State Changed
From-To: open->feedback

Note that submitter has been asked to test vs. -current.
Comment 4 Hans Petter Selasky 2010-07-25 13:10:11 UTC
Hi,

Maybe your device needs a UMASS quirk to be able to function.

In FreeBSD-8+, see /usr/src/sys/dev/usb/storage/umass.c and 
/usr/src/sys/dev/usb/quirk/usb_quirk.c .

--HPS
Comment 5 danfe 2011-08-02 02:47:58 UTC
I experience the same problem with Canon EOS 450D and 8.2-STABLE from around
this May.  Any further pointers (except trying 9.0-CURRENT, which is not an
option for me right now)?

A bit more information: apparently, this happens when camera is plugged in,
but not being accessed for some time, so it will disconnect after several
seconds.  Plugging it in and using gphoto2 to query information or start
transferring images works reliably, it does not disconnect in the middle of
the process.  Unfortunately, I cannot recall what was the behavior on 7.X.