>Number:         178722
>Category:       usb
>Synopsis:       FreeBSD 9.1-STABLE r250561 breaks support for webcam Logitech 
>C525
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 17 16:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jože Zobec
>Release:        FreeBSD 9.1-STABLE r250560
>Organization:
>Environment:
FreeBSD sless 9.1-STABLE FreeBSD 9.1-STABLE #0 r250560: Fri May 17 14:08:33 
CEST 2013     root@sless:/usr/obj/src/sys/STRIPPED  amd64
>Description:
Updates introduced in r250561 renedered my webcam unsupported. I use Logitech 
C525, which isn't listed on the tested devices, but it was working until now.

In this revision, problem is as follows. Upon plugging the camera in my 
computer, kernel keeps giving me these messages "ad infinitum" or at least 
until I unplug the camera:

..
 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
 ...

which then repeats itself.

In the healthy case, e.g. previous healthy revision, kernel message was

..
 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.

This problem persists for recent revisions.

My webcam was automatically identified and added to the devices as /dev/dsp6.0, 
but now it's not. I tried

# touch /dev/dsp6.0

but it didn't work, since the camera kept reconnecting in a loop. Problem 
persists for GENERIC kernel and for complete world.

My kernel configuration file:
https://github.com/jozzez1/miscConfig/blob/master/FreeBSD/root/STRIPPED

My /etc/make.conf
https://github.com/jozzez1/miscConfig/blob/master/FreeBSD/etc/make.conf

My /etc/src.conf
https://github.com/jozzez1/miscConfig/blob/master/FreeBSD/etc/src.conf

The changes between revisions 250560 and 250561, given by

# svn up -r 250561 /usr/src
U       /usr/src/sys/dev/sound/usb/uaudio.c
 U      /usr/src/sys/dev
 U      /usr/src/sys

I tried fixing it, thinking it can't be that hard and wanted to write my own 
patch, but when I checked

# svn diff -r 250560:250561 /usr/src

I realized this is a large file and there were many changes, so I was a bit 
discouraged.
>How-To-Repeat:
Updating 9.1-STABLE from r250560 to r250561 or any further revision, and trying 
to use the same camera (Logitech C525) will produce the same results.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to