revision higher than 250508 breaks webcam support

Jeremy Chadwick jdc at koitsu.org
Fri May 17 04:03:33 UTC 2013


On Thu, May 16, 2013 at 08:38:39PM -0700, Adrian Chadd wrote:
> Are you able to narrow down the specific commit along 9-stable that broke it?
> 
> Thanks!
> 
> 
> 
> Adrian
> 
> On 16 May 2013 18:00, Jože Zobec <jozze.zepl at hotmail.com> wrote:
> > 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: <vendor 0x046d> at asbus7
> > uaudio0: <vendor 0x046d HD Webcam C525, class 239/2, rev 2.00/0.10, 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: <USB audio> on uaudio0
> > uaudio0: No HID volume keys found.
> > ugen7.2: <vendor 0x046d> 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: <vendor 0x046d> at usbus7
> > uaudio0: <vendor 0x046d HD Webcam C525, class 239/2, rev 2.00/1.00, 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: <USB audio> on uaudio0
> > uaudio0: No HID volume keys found.
> >
> > And there it stops, and the webcam works in Skype.

Note: I told Joe to mail freebsd-usb@ about this, since it looks like it
pertains to the USB stack, and Hans tends to respond to stuff there.

That said...

Looking at commits between r250508 and r250707, my gut says it's very
likely one of these (with the most probable being marked with arrows):

http://www.freshbsd.org/commit/freebsd/r250581
http://www.freshbsd.org/commit/freebsd/r250561 <---
http://www.freshbsd.org/commit/freebsd/r250560 <---
http://www.freshbsd.org/commit/freebsd/r250559

How I got that list was by manually reviewing the following:

http://www.freshbsd.org/?branch=RELENG_9&project=freebsd

So I would recommend rolling back to r250558 (the last stable/9 commit
to happen before r250559) and see if things improve.  Again, my gut
feeling says that they will, and that r250561 or r250560 are
responsible.

-- 
| Jeremy Chadwick                                   jdc at koitsu.org |
| UNIX Systems Administrator                http://jdc.koitsu.org/ |
| Mountain View, CA, US                                            |
| Making life hard for others since 1977.             PGP 4BD6C0CB |


More information about the freebsd-stable mailing list