From owner-freebsd-usb@FreeBSD.ORG Wed Nov 10 09:30:16 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFDFA106566C for ; Wed, 10 Nov 2010 09:30:16 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 525738FC14 for ; Wed, 10 Nov 2010 09:30:15 +0000 (UTC) Received: by bwz2 with SMTP id 2so496733bwz.13 for ; Wed, 10 Nov 2010 01:30:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=TFSIqctRex4WUCsEeTFLgCbfRW8Zl/fEd3QL34y/R88=; b=aYjSB69ON2uFjxI2cLCswY4Kqh9UqeTQ92Aj/eTyY3+DNk+/BSPmVfWBEMNdgWDRVC uPt7U4YBck5Z/f3EXUmV9M8vKbmasePULiw3XahR9+Dbrb6CQt+8ZUsB8DasVx9nfs/w xiesWoEwCbJPqPF+AySZ0bI4tNw/kAyu0rZ8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=sgR5zC/D38whVyJ7UEuBHc1Lci3H+eOPVL4eNKVsVggjhQG/yJK1YVxVDk3Qfh6ont bowbPycdMJLoeUevTDsCn9mV8DkO0gt70djhgEnZF9rMUUFIrkySCWWW7AksdprBdTH9 t4lJuyZuBrAH6xuvPwZTeLANgCCiahBpwciqw= Received: by 10.204.119.133 with SMTP id z5mr4312152bkq.82.1289381415167; Wed, 10 Nov 2010 01:30:15 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id t10sm172597bkj.4.2010.11.10.01.30.13 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Nov 2010 01:30:13 -0800 (PST) Sender: Alexander Motin Message-ID: <4CDA6622.2020002@FreeBSD.org> Date: Wed, 10 Nov 2010 11:30:10 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.24 (X11/20100402) MIME-Version: 1.0 To: Alexander Churanov References: <201011020830.31701.hselasky@c2i.net> <201011030849.34556.hselasky@c2i.net> <4CD1176E.4060101@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: USB camera not detected by 8.1, was working in 7 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 09:30:16 -0000 Hi. Alexander Churanov wrote: > Some time ago I was asking for an advice on USB camera which fails to > work after upgrade to FreeBSD 8 (the /dev/da* don't show up). > > Now I've enabled CAMDEBUG. The entries from /var/log/messages are > available here: > http://alexanderchuranov.com/freebsd8-usb-camera/autosense-failed > > If you have some time to look into this, your comments will be very > much appreciated. As I can see, things go wrong just after first request to device - INQUIRY. After that CAM tries to fetch details of error with REQUEST SENSE and again fails. I think you had no enabled verbose kernel messages at that moment, so I can't see some error messages I would expect there. But from this data I don't think that something is wrong with CAM. I would start digging toward umass driver (enable debug there) to find out what can be the source of these errors. Device should not return error in response to INQUIRY. PS: I can see that umass has special quirk to simulate fake INQUIRY response in some cases. I have no idea what the hell it is, but may be it is related here. -- Alexander Motin