From owner-freebsd-usb@FreeBSD.ORG Fri May 17 16:15:41 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2543F614; Fri, 17 May 2013 16:15:41 +0000 (UTC) (envelope-from jozze.zepl@gmail.com) Received: from mail-vb0-x233.google.com (mail-vb0-x233.google.com [IPv6:2607:f8b0:400c:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id C79D296C; Fri, 17 May 2013 16:15:40 +0000 (UTC) Received: by mail-vb0-f51.google.com with SMTP id x17so355904vbf.10 for ; Fri, 17 May 2013 09:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=cI2V4U0uhlNh2nMsfT7m26f8I5fwBaz7DY8qzFEghB0=; b=P7N9e//vW9P/tAFa8lsd2UBjDmqjxnpQ1u5UJxkVNjrdZyBLnN77hf+aPT12MdNW10 z1B/daKLv9M4P3d+y3HNoUarCE4tWbyOdCnVI84JZVy8ph4u1Rgy90u142VeG0eK3VqV Uhkq/uaWB/4PQF7qzBQU2/7bC+HbAzndZHdd1tdhDNBMRNLXG0xW4onAehs1VW2vpmfI 2diV4uFMBIB17FYccUlD1blNXBCeMqbqzKkWtjn5hUu04uKlXTXJrao1MUwAza0v+UJp pjHPRRa+xeabYsXqDZMhO0OrmjYxqYHMYoAsn+jGLWPP4nAd9t82fuFRTDgI9Th28FOU YxNw== MIME-Version: 1.0 X-Received: by 10.58.56.161 with SMTP id b1mr30450975veq.42.1368807340286; Fri, 17 May 2013 09:15:40 -0700 (PDT) Received: by 10.58.95.233 with HTTP; Fri, 17 May 2013 09:15:40 -0700 (PDT) In-Reply-To: References: <20130517040331.GA73930@icarus.home.lan> Date: Fri, 17 May 2013 18:15:40 +0200 Message-ID: Subject: Re: revision higher than 250508 breaks webcam support From: =?ISO-8859-2?Q?Jo=BEe_Zobec?= To: Adrian Chadd , freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 16:15:41 -0000 Thank you for the help! I really find this community warm and friendly. I filed the PR. There is another symptom, which I forgot to mention earlier. My camera's microphone is usually added to /dev as /dev/dsp6.0 but in this case, it isn't because it's reconnecting in an infinite loop (it tries to connect, gives error, disconnects and so on). 2013/5/17 Adrian Chadd > 'ola! > > Cool, you've nailed it down to a specific revision. > > Can you create a PR (www.freebsd.org/send-pr.html) with all of this > information? > > Hans/USB folk - here's an interesting problem. The original email is belo= w. > > =3D=3D=3D > > Sorry, for waiting this long to post this problem, I thought it would > be dealt with this week, but since it wasn't better to report it now. > I hope this is the right mailing list for this particular problem. > > I am running FreeBSD 9.1-STABLE and using Logitech Webcam C525. I it's > not listed amongst the supported hardware, but it was working > perfectly until the updates that came this Sunday, 2013-05-12. > > The problem I'm getting is this: > > I keep getting this error message from the kernel, if I'm using > 9.1-STABLE r250707 > > ... > pcm6: detached > ugen7.2: at asbus7 > uaudio0: addr 2> on usbus7 > uaudio0: No playback. > uaudio0: Record: 48000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Record: 32000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Record: 24000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio0: Record: 16000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. > uaudio: No MIDI squencer. > pcm6: on uaudio0 > uaudio0: No HID volume keys found. > ugen7.2: at usbus7 (disconnected) > uaudio0: at uhub7, port4, addr 2 (disconnected) > pcm6: detached > ... > > This message is displayed periodically "ad infinitum" or at least > until I unplug the webcam. It stays this way, even if I use the > GENERIC kernel. In a "healthy" case, revision 250508, kernel message > upon plugging the webcam, is > > ... > ugen7.2: at usbus7 > uaudio0: addr2> on usbus7 > uaudio: No playback. > uaudio: Record: 48000 Hz, 1 ch, 16 bit S-LE PCM format, 2x8ms buffer. > uaudio: No MIDI sequencer. > pcm6: on uaudio0 > uaudio0: No HID volume keys found. > > And there it stops, and the webcam works in Skype. > > =3D=3D=3D > > > adrian > > On 17 May 2013 04:14, Jo=BEe Zobec wrote: > > OK, I compiled and tried different revisions > > r250559 -- OK > > r250560 -- OK > > r250561 -- error > > > > Upon updating from r250560 to r250561, svn give me > > > > ... > > U /usr/src/sys/dev/sound/usb/uaudio.c > > U /usr/src/sys/dev > > U /usr/src/sys > > ... > > > > I tried > > > > # svn diff -r 250560:250561 /usr/src | less > > > > to see if I could localize the problem even further, but there are a lo= t > of > > changes so I don't know where it could go wrong, since I'm not the one > who > > wrote it. > > > > I am looking forward to your fast reply, > > > > Jo=BEe >