Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2011 13:30:23 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        freebsd-multimedia@FreeBSD.org
Subject:   Re: kern/152622: [pcm] uaudio recording problem
Message-ID:  <201104091330.p39DUNCh067378@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/152622; it has been noted by GNATS.

From: Thierry Thomas <thierry@FreeBSD.org>
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: <vendor 0x046d> at usbus4
 Apr  9 14:12:33 graf kernel: uaudio0: <vendor 0x046d product 0x0825, class 239/2, rev 2.00/0.10, addr 3> 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: <USB audio> on uaudio0
 
 # cat /dev/sndstat                                                                                ~
 FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
 Installed devices:
 pcm0: <HDA CMedia CMI9880 PCM #0 Analog> (play) default
 pcm1: <USB audio> (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: <product 0x0825 vendor 0x046d> 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  <no string>
   iProduct = 0x0000  <no string>
   iSerialNumber = 0x0002  <A47160A0>
   bNumConfigurations = 0x0001 
 
 Truly yours,
 -- 
 Th. Thomas.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104091330.p39DUNCh067378>