From owner-freebsd-usb@FreeBSD.ORG Sun Feb 8 08:58:54 2015 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 47D80834 for ; Sun, 8 Feb 2015 08:58:54 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06A89E0A for ; Sun, 8 Feb 2015 08:58:53 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 1D6CA1FE023; Sun, 8 Feb 2015 09:58:49 +0100 (CET) Message-ID: <54D7257A.5020200@selasky.org> Date: Sun, 08 Feb 2015 09:59:38 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Matthias Apitz , freebsd-usb@freebsd.org Subject: Re: Canon EOS 300D not working in -HEAD with gphoto 2.5.5 References: <20150208085437.GA1504@c720-r276659> In-Reply-To: <20150208085437.GA1504@c720-r276659> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2015 08:58:54 -0000 On 02/08/15 09:54, Matthias Apitz wrote: > > Hello, > > I have the above cam attached to an Acer C720 Chromebook running HEAD > from January. gphoto can not read from the cam, it is detecting the name > of the cam as EOS 300D but can not read bytes from USB. With truss the > situation looks like this: > > ... > open("/dev/ugen0.3",O_RDWR,00) = 5 (0x5) > open("/dev/ugen0.3",O_RDWR,00) = 6 (0x6) > ioctl(6,USB_GET_PLUGTIME,0xbfbf9f6c) = 0 (0x0) > ioctl(6,USB_FS_INIT,0xbfbf9f70) = 0 (0x0) > write(4,"\0",1) = 1 (0x1) > ioctl(5,USB_IFACE_DRIVER_ACTIVE,0xbfbfa008) ERR#6 'Device not configured' > write(2,"Detected a 'Canon:EOS 300D (norm"...,43) = 43 (0x2b) > ioctl(5,USB_DO_REQUEST,0xbfbf9050) = 0 (0x0) > write(2,"\n",1) = 1 (0x1) > write(2,"*** Error *** \n",28) = 28 (0x1c) > write(2,"Could not establish initial cont"...,48) = 48 (0x30) > > In messages on cam attach it says: > > Feb 8 09:41:06 c720-r276659 kernel: ugen0.3: at usbus0 > Feb 8 09:41:06 c720-r276659 root: Unknown USB device: vendor 0x04a9 product 0x3084 bus uhub0 > > Any ideas? > > matthias > Hi, Did you chmod /dev/usb/X.Y.0 properly? Output from usbdump will help. --HPS