From owner-freebsd-multimedia@FreeBSD.ORG Sat Apr 9 13:30:24 2011 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA220106567C for ; Sat, 9 Apr 2011 13:30:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BD7DE8FC20 for ; Sat, 9 Apr 2011 13:30:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p39DUNfF067388 for ; Sat, 9 Apr 2011 13:30:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p39DUNCh067378; Sat, 9 Apr 2011 13:30:23 GMT (envelope-from gnats) Date: Sat, 9 Apr 2011 13:30:23 GMT Message-Id: <201104091330.p39DUNCh067378@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Thierry Thomas Cc: Subject: Re: kern/152622: [pcm] uaudio recording problem X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Thomas List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2011 13:30:24 -0000 The following reply was made to PR kern/152622; it has been noted by GNATS. From: Thierry Thomas To: FreeBSD-gnats-submit@FreeBSD.org Cc: bug-followup@FreeBSD.org, laddassm@gmail.com Subject: Re: kern/152622: [pcm] uaudio recording problem Date: Sat, 9 Apr 2011 15:03:05 +0200 Hello, Same problem here with a webcam Logitech C270: the image is fine with webcamd / pwcview, but the microphone is ignored. Some details, hoping that could help: #uname -a 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Apr 8 22:32:35 CEST 2011 # dmesg (extract) Apr 9 14:12:33 graf kernel: ugen4.3: at usbus4 Apr 9 14:12:33 graf kernel: uaudio0: on usbus4 Apr 9 14:12:33 graf kernel: uaudio0: No playback! Apr 9 14:12:33 graf kernel: uaudio0: Record: 48000 Hz, 1 ch, 16-bit S-LE PCM format Apr 9 14:12:33 graf kernel: uaudio0: No midi sequencer Apr 9 14:12:33 graf kernel: pcm1: on uaudio0 # cat /dev/sndstat ~ FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (play) default pcm1: (rec) Note: pcm0 is the internal card - OK - rec is seen for the webcam on pcm1 # mixer -f /dev/mixer1 Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 No entry for mic nor igain! # sysctl hw.snd hw.snd.feeder_rate_quality: 1 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.feeder_rate_polyphase_max: 183040 hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 hw.snd.feeder_eq_exact_rate: 0 hw.snd.feeder_eq_presets: PEQ:16000,0,2500,62,0,2500:-9,9,1,0:44100,48000,88200,96000,176400,192000 hw.snd.vpc_reset: 0 hw.snd.vpc_0db: 45 hw.snd.vpc_autoreset: 1 hw.snd.latency_profile: 1 hw.snd.latency: 5 hw.snd.report_soft_matrix: 1 hw.snd.report_soft_formats: 1 hw.snd.compat_linux_mmap: 0 hw.snd.vpc_mixer_bypass: 1 hw.snd.verbose: 0 hw.snd.maxautovchans: 4 hw.snd.default_unit: 0 hw.snd.version: 2009061500/i386 hw.snd.default_auto: 0 # sysctl dev.pcm | grep pcm.1 dev.pcm.1.%desc: USB audio dev.pcm.1.%driver: pcm dev.pcm.1.%parent: uaudio0 dev.pcm.1.rec.vchans: 1 dev.pcm.1.rec.vchanmode: fixed dev.pcm.1.rec.vchanrate: 48000 dev.pcm.1.rec.vchanformat: s16le:2.0 dev.pcm.1.buffersize: 0 dev.pcm.1.bitperfect: 0 # usbconfig -u 4 -a 3 dump_device_desc ugen4.3: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x00ef bDeviceSubClass = 0x0002 bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x046d idProduct = 0x0825 bcdDevice = 0x0010 iManufacturer = 0x0000 iProduct = 0x0000 iSerialNumber = 0x0002 bNumConfigurations = 0x0001 Truly yours, -- Th. Thomas.