Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2010 11:30:10 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Alexander Churanov <alexanderchuranov@gmail.com>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: USB camera not detected by 8.1, was working in 7
Message-ID:  <4CDA6622.2020002@FreeBSD.org>
In-Reply-To: <AANLkTikHA8beMBFEVG8okBmfgJqT1Yxs%2Bq%2BgZuLJerx1@mail.gmail.com>
References:  <AANLkTik1g-cfjvfKsHLkBVE%2BhO%2BjV%2B1jaNuWDcmFgc1k@mail.gmail.com>	<201011020830.31701.hselasky@c2i.net>	<AANLkTimUGMZC7rTPWRKFUc1GtBzqYj0n7n-%2BqVSoBBs0@mail.gmail.com>	<201011030849.34556.hselasky@c2i.net>	<4CD1176E.4060101@FreeBSD.org> <AANLkTikHA8beMBFEVG8okBmfgJqT1Yxs%2Bq%2BgZuLJerx1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CDA6622.2020002>