From nobody Tue Oct 5 10:33:11 2021 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B3C3112DEB58 for ; Tue, 5 Oct 2021 10:33:26 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (1.212.52.36.ap.yournet.ne.jp [36.52.212.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HNv7V2775z4mqM for ; Tue, 5 Oct 2021 10:33:25 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [36.52.212.1]) by kx.truefc.org (8.16.1/8.16.1) with ESMTP id 195AXBsX059249; Tue, 5 Oct 2021 19:33:12 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202110051033.195AXBsX059249@kx.truefc.org> Date: Tue, 05 Oct 2021 19:33:11 +0900 From: KIRIYAMA Kazuhiko To: Tomasz CEDRO Cc: Hans Petter Selasky , KIRIYAMA Kazuhiko , freebsd-multimedia@freebsd.org Subject: Re: Mic does not work with Zoom on Chromium 92.0.4515.159. In-Reply-To: References: <202110041017.194AHqZ9085897@kx.truefc.org> <6323c7c6-1221-1bb4-6028-344fded44558@selasky.org> <202110041052.194AqeLc086237@kx.truefc.org> <9d9fcf6b-8c2d-8659-bd42-dfb61d2d74f7@selasky.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-2022-JP X-Rspamd-Queue-Id: 4HNv7V2775z4mqM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, 04 Oct 2021 20:18:52 +0900, Tomasz CEDRO wrote: > > [1 ] > audio backend changed in chromium recently to sndio only? > > for me the problem of no microphone sound on chromium was invalid default > microphone selected using hdmi input. > > after selecting different microphone with sndio things work fine :-) > > https://www.tomek.cedro.info/bsd-chromium-audio-mic/ I set `export AUDIORECDEVICE="rsnd/4"', but could not grow /dev/dsp.4.0 ;-( # dmesg | tail -50 uhub4: detached uhub3: detached ugen0.5: at usbus0 uhub3 numa-domain 0 on uhub2 uhub3: on usbus0 uhub3: 4 ports with 4 removable, self powered ugen0.6: at usbus0 ukbd1 numa-domain 0 on uhub3 ukbd1: on usbus0 kbd3 at ukbd1 ukbd2 numa-domain 0 on uhub3 ukbd2: on usbus0 kbd4 at ukbd2 uhid0 numa-domain 0 on uhub3 uhid0: on usbus0 ugen0.7: at usbus0 ums1 numa-domain 0 on uhub3 ums1: on usbus0 ums1: 5 buttons and [XYZ] coordinates ID=1 ugen0.8: at usbus0 uaudio0 numa-domain 0 on uhub3 uaudio0: on usbus0 uaudio0: No playback. uaudio0: Record[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 11025 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: No MIDI sequencer. pcm3: numa-domain 0 on uaudio0 uaudio0: No HID volume keys found. ugen0.9: at usbus0 uhub4 numa-domain 0 on uhub3 uhub4: on usbus0 uhub4: 4 ports with 4 removable, self powered ugen0.10: at usbus0 uaudio1 numa-domain 0 on uhub4 uaudio1: on usbus0 uaudio1: No playback. uaudio1: Record[0]: 48000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: No MIDI sequencer. pcm4: numa-domain 0 on uaudio1 uaudio1: HID volume keys found. ugen0.11: at usbus0 uaudio2 numa-domain 0 on uhub4 uaudio2: on usbus0 uaudio2: Play[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio2: No recording. uaudio2: No MIDI sequencer. pcm5: numa-domain 0 on uaudio2 uaudio2: HID volume keys found. pid 6614 (wmaker), jid 5, uid 4098: exited on signal 10 # export AUDIORECDEVICE="rsnd/4" # service sndiod restart Stopping sndiod. Waiting for PIDS: 58999. Starting sndiod. # ls -alg /dev/dsp* crw-rw-rw- 1 root wheel 0x10d 10月 5 10:46 /dev/dsp0.0 crw-rw-rw- 1 root wheel 0xa7 9月 17 20:28 /dev/dsp1.0 crw-rw-rw- 1 root wheel 0xa9 9月 17 20:28 /dev/dsp2.0 crw-rw-rw- 1 root wheel 0x111 10月 5 11:22 /dev/dsp5.0 # cat /dev/sndstat Installed devices: pcm0: (play) pcm1: (play) pcm2: (play) pcm3: (rec) pcm4: (rec) pcm5: (play) default No devices installed from userspace. # I set `sysctl hw.snd.default_unit=5', then grew /dev/dsp5.0. Is there any kernel parameter should be set ? In sndctl(1), if allow audio recording, set kern.audio.record to input device number, but in 14.0-CURRENT, there is not oid of kern.audio.record. # sysctl kern.audio.record=4 sysctl: unknown oid 'kern.audio.record' # --- Kazuhiko Kiriyama