From owner-freebsd-usb@FreeBSD.ORG Fri May 17 16:30:05 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6745C7D6; Fri, 17 May 2013 16:30:05 +0000 (UTC) (envelope-from jozze.zepl@gmail.com) Received: from mail-ve0-x234.google.com (mail-ve0-x234.google.com [IPv6:2607:f8b0:400c:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id 148299FC; Fri, 17 May 2013 16:30:05 +0000 (UTC) Received: by mail-ve0-f180.google.com with SMTP id c13so1568335vea.11 for ; Fri, 17 May 2013 09:30:04 -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=YDjZjJ2+e5mJdkkVEM05AcjTzYMFg3VXx4g0AdpNEbQ=; b=wnJKUnG32yFWqROhqFHOAHhN2xRWg4yakiEsXHLiM9fH3LMFGVR0prbX06n7xQI71T h/ZGcZ6MPlU8avhoN7j65n2slTz2YpFDusN9Fak49xW03f+B9ciOT6NgDZMznlDWoZv/ K4QuwLsDYIkE2MYFUUiy7Sz8/waoWw3kkzR0pYJ3651hgw/71onVdV0WFFu5ZKGTRSf0 GqTZ2l061UgaHzTwXPaqm67O6gZjJB9dtDU6Kj4+vGzVX22WUYzArqcVXydV7c2qORka YVwmfVLjD8n/uyehsp802O+y2wcRZBwt7hRxqzcE+NYhkWUz0h5etPQ3OfYEqgxBJ//5 +UlA== MIME-Version: 1.0 X-Received: by 10.52.117.7 with SMTP id ka7mr8871768vdb.109.1368808204413; Fri, 17 May 2013 09:30:04 -0700 (PDT) Received: by 10.58.95.233 with HTTP; Fri, 17 May 2013 09:30:04 -0700 (PDT) In-Reply-To: References: <20130517040331.GA73930@icarus.home.lan> Date: Fri, 17 May 2013 18:30:04 +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:30:05 -0000 This will also probably be useful: my kernel config file: http://pastebin.com/FKGHJ2yj my /etc/make.conf http://pastebin.com/hqvvKWUU and my /etc/src.conf http://pastebin.com/A6e599E8 I tried building with more conservative options (full world and using GENERIC kernel, without -O3 flag and so on) but to no avail. In all cases, I used clang as the compiler. 2013/5/17 Jo=BEe Zobec > > 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 >> below. >> >> =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 >> lot 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 >> > >