Date: Tue, 05 Oct 2021 19:33:11 +0900 From: KIRIYAMA Kazuhiko <kiri@truefc.org> To: Tomasz CEDRO <tomek@cedro.info> Cc: Hans Petter Selasky <hps@selasky.org>, KIRIYAMA Kazuhiko <kiri@truefc.org>, freebsd-multimedia@freebsd.org Subject: Re: Mic does not work with Zoom on Chromium 92.0.4515.159. Message-ID: <202110051033.195AXBsX059249@kx.truefc.org> In-Reply-To: <CAM8r67A7jH2H5G-hvTfxyF%2B49Za%2ByZsNDRN=s1OxeYKHLvJ4YQ@mail.gmail.com> References: <202110041017.194AHqZ9085897@kx.truefc.org> <6323c7c6-1221-1bb4-6028-344fded44558@selasky.org> <202110041052.194AqeLc086237@kx.truefc.org> <a5eefd8b-c4aa-36fe-0ccf-269b010e65a8@selasky.org> <9d9fcf6b-8c2d-8659-bd42-dfb61d2d74f7@selasky.org> <CAM8r67A7jH2H5G-hvTfxyF%2B49Za%2ByZsNDRN=s1OxeYKHLvJ4YQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 04 Oct 2021 20:18:52 +0900, Tomasz CEDRO wrote: > > [1 <text/plain; UTF-8 (7bit)>] > 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: <GenesysLogic USB2.1 Hub> at usbus0 uhub3 numa-domain 0 on uhub2 uhub3: <GenesysLogic USB2.1 Hub, class 9/0, rev 2.10/6.54, addr 48> on usbus0 uhub3: 4 ports with 4 removable, self powered ugen0.6: <PFU Limited HHKB-Hybrid> at usbus0 ukbd1 numa-domain 0 on uhub3 ukbd1: <keyboard> on usbus0 kbd3 at ukbd1 ukbd2 numa-domain 0 on uhub3 ukbd2: <Multi-Media> on usbus0 kbd4 at ukbd2 uhid0 numa-domain 0 on uhub3 uhid0: <PFU Limited HHKB-Hybrid, class 0/0, rev 1.10/0.01, addr 58> on usbus0 ugen0.7: <Logitech Wireless Receiver> at usbus0 ums1 numa-domain 0 on uhub3 ums1: <Logitech Wireless Receiver, class 0/0, rev 1.10/3.02, addr 61> on usbus0 ums1: 5 buttons and [XYZ] coordinates ID=1 ugen0.8: <Sonix Technology Co., Ltd. USB Live camera> at usbus0 uaudio0 numa-domain 0 on uhub3 uaudio0: <USB Live Camera audio> 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: <USB audio> numa-domain 0 on uaudio0 uaudio0: No HID volume keys found. ugen0.9: <GenesysLogic USB2.1 Hub> at usbus0 uhub4 numa-domain 0 on uhub3 uhub4: <GenesysLogic USB2.1 Hub, class 9/0, rev 2.10/6.54, addr 53> on usbus0 uhub4: 4 ports with 4 removable, self powered ugen0.10: <Solid State System Co.,Ltd. TKGOU PnP USB Microphone> at usbus0 uaudio1 numa-domain 0 on uhub4 uaudio1: <Solid State System Co.,Ltd. TKGOU PnP USB Microphone, class 0/0, rev 1.10/1.00, addr 62> 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: <USB audio> numa-domain 0 on uaudio1 uaudio1: HID volume keys found. ugen0.11: <Harman Multimedia JBL Pebbles> at usbus0 uaudio2 numa-domain 0 on uhub4 uaudio2: <Harman Multimedia JBL Pebbles, class 0/0, rev 1.10/1.00, addr 60> 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: <USB audio> 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: <NVIDIA (0x0094) (HDMI/DP 8ch)> (play) pcm1: <NVIDIA (0x0094) (HDMI/DP 8ch)> (play) pcm2: <NVIDIA (0x0094) (HDMI/DP 8ch)> (play) pcm3: <USB audio> (rec) pcm4: <USB audio> (rec) pcm5: <USB audio> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110051033.195AXBsX059249>