Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

revision higher than 250508 breaks webcam support

13 views
Skip to first unread message

Jože Zobec

unread,
May 16, 2013, 9:00:41 PM5/16/13
to
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.

_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"

Jeremy Chadwick

unread,
May 17, 2013, 12:03:31 AM5/17/13
to
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
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 j...@koitsu.org |
| UNIX Systems Administrator http://jdc.koitsu.org/ |
| Mountain View, CA, US |
| Making life hard for others since 1977. PGP 4BD6C0CB |

Jože Zobec

unread,
May 17, 2013, 7:51:08 AM5/17/13
to
---------- Forwarded message ----------
From: Jože Zobec <jozze...@gmail.com>
Date: 2013/5/17
Subject: Re: revision higher than 250508 breaks webcam support
To: Jeremy Chadwick <j...@koitsu.org>, Adrian Chadd <adr...@freebsd.org>


OK, I compiled and tried different revisions
r250559 -- OK
r250560 -- OK
r250561 -- error

Upon updating from r250560 to r250561, svn gave 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že
0 new messages