LINUX.ORG.RU

Настройка USB-микрофона FIFINE A6V

 ,


0

1

У кого это чудо работает? Питание есть, система его как аудиовход видит, но и только. В dmesg вот такое падает:

usb 1-1: new full-speed USB device number 7 using xhci_hcd
[34766.231078] usb 1-1: New USB device found, idVendor=3142, idProduct=5060, bcdDevice= 1.00
[34766.231086] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[34766.231089] usb 1-1: Product: Fifine Microphone
[34766.313780] usb 1-1: Warning! Unlikely big volume range (=496), cval->res is probably wrong.
[34766.313786] usb 1-1: [50] FU [Mic Capture Volume] ch = 1, val = 0/7936/16
[34766.319098] input: Fifine Microphone as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-1/1-1:1.2/0003:3142:5060.0008/input/input22
[34766.374958] hid-generic 0003:3142:5060.0008: input,hidraw5: USB HID v1.00 Device [Fifine Microphone] on usb-0000:02:00.0-1/input2

Вот этот варнинг меня смущает, потому как звук не пишется, хотя вроде ничего ему не мешает.

Стоит у меня gentoo-kernel-bin, 6.1.55

emerge --info

Portage 3.0.52 (python 3.11.5-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r5, 6.1.55-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.1.55-gentoo-dist-x86_64-AMD_Ryzen_7_5700X_8-Core_Processor-with-glibc2.38
KiB Mem:    32781600 total,   6174100 free
KiB Swap:   41634808 total,  41634808 free
Timestamp of repository gentoo: Thu, 19 Oct 2023 04:16:56 +0000
Head commit of repository gentoo: becd021bf279c05abb5da86d821032ff9ada7549

Timestamp of repository gentoo-zh: Wed, 18 Oct 2023 10:46:48 +0000
Head commit of repository gentoo-zh: bfac8b5d826f7cb98bc7930f39fb2b5aaa1f7e9e

Timestamp of repository java: Wed, 18 Oct 2023 08:01:52 +0000
Head commit of repository java: 58ae2bdb88a7fb89a52cf5bd90a5bc97bb3da877

Timestamp of repository qt: Sun, 15 Oct 2023 20:21:38 +0000
Head commit of repository qt: 259891e69c0e62b59d61d2dc9ace25f78c5e2932

Timestamp of repository steam-overlay: Mon, 09 Oct 2023 11:02:51 +0000
Head commit of repository steam-overlay: ddede83b687eabedeb5dc5aff2d33d2e62296f90

Timestamp of repository supertux88: Mon, 09 Oct 2023 20:32:32 +0000
Head commit of repository supertux88: 24c62b169fd64ff3cf85c144a8293949a47bc09b

sh bash 5.2_p15-r7
ld GNU ld (Gentoo 2.41 p2) 2.41.0
ccache version 4.8.3 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r7::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.5::gentoo
dev-lang/rust-bin:         1.73.0::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.2-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.51::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.3::gentoo
sys-devel/gcc:             13.2.1_p20231014::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.6::gentoo, 17.0.3::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.3::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

free2all
    location: /var/db/repos/free2all
    masters: gentoo
    volatile: False

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
    masters: gentoo
    volatile: False

java
    location: /var/db/repos/java
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/java.git
    masters: gentoo
    volatile: False

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

supertux88
    location: /var/db/repos/supertux88
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/supertux88.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver3 -O2 -pipe"
DISTDIR="/home/aspnet"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=znver3 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=znver3 -O2 -pipe"
GENTOO_MIRRORS="http://mirror.mephi.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="ru"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 apparmor bash-completion branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc lto mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt6 readline sdl seccomp sound spell split-usr ssl startup-notification svg symlink test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wxwidgets x264 x265 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

Upd. Не знал, что там есть регулятор записи. Покрутил и завелось.

★★★★★

Последнее исправление: LongLiveUbuntu (всего исправлений: 2)

Найди его в alsamixer-е (он будет как отдельная звуковая карта показан) и подними громкость, ну или убери мют.

Потом проверь работу через arecord | aplay указав нужные устройства.

firkax ★★★★★
()
Последнее исправление: firkax (всего исправлений: 2)
Ответ на: комментарий от firkax
pacmd list-sources
index: 3
	name: <alsa_input.usb-3142_Fifine_Microphone-00.mono-fallback>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9040
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 19944 /  30% / -31.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 1-канальный 4410
	channel map: mono
	             Моно
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 3 <alsa_card.usb-3142_Fifine_Microphone-00>
	module: 23
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "Fifine Microphone"
		alsa.long_card_name = "Fifine Microphone at usb-0000:02:00.0-8.4, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:02:00.0-usb-0:8.4:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-8/1-8.4/1-8.4:1.0/sound/card2"
		udev.id = "usb-3142_Fifine_Microphone-00"
		device.bus = "usb"
		device.vendor.id = "3142"
		device.vendor.name = "3142"
		device.product.id = "5060"
		device.product.name = "Fifine Microphone"
		device.serial = "3142_Fifine_Microphone"
		device.form_factor = "microphone"
		device.string = "hw:2"
		device.buffering.buffer_size = "176400"
		device.buffering.fragment_size = "88200"
		device.access_mode = "mmap+timer"
		device.profile.name = "mono-fallback"
		device.profile.description = "Моно"
		device.description = "Fifine Microphone Моно"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-input-microphone-usb"
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-mic>

Собственно, вот; status: SUSPENDED. Как его перевести из этого состояния?

LongLiveUbuntu ★★★★★
() автор топика