You are not logged in.
Hello everyone, after installing Wine and it have installed alot of dependencies one of them was the hidapi, after installing it my usb microphone can't be recgnoised by pulseaudio and i cant use it, before it was using the snd-usb-audio-fasttrack-dkms kernel driver now it says it can't find it when i try to load it into the kernel manually, anyway that i can fix this and have a stereo microphone working?
Microphone : Fantech Leviosa
inxi -F output :
Audio:
Device-1: Intel 100 Series/C230 Series Family HD Audio driver: snd_hda_intel
Device-2: AMD Tobago HDMI Audio [Radeon R7 360 / R9 OEM]
driver: snd_hda_intel
Device-3: JMTek LLC. Fantech Leviosa type: USB driver: hid-generic,usbhid
Device-4: Logitech C920 PRO HD Webcam type: USB driver: uvcvideo
Sound API: ALSA v: k6.1.21-1-lts running: yes
Sound Server-1: PulseAudio v: 16.1 running: yes
dmesg output :
[ 4.062269] usb 1-2: new full-speed USB device number 3 using xhci_hcd
[ 4.203294] usb 1-2: New USB device found, idVendor=0c76, idProduct=1618, bcdDevice= 1.00
[ 4.203304] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.203308] usb 1-2: Product: Fantech Leviosa
[ 4.203312] usb 1-2: Manufacturer: V:NO_NO_NONE
lsusb output :
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 0461:0010 Primax Electronics, Ltd HP PR1101U / Primax PMX-KPR1101U Keyboard
Bus 001 Device 005: ID 03f0:094a HP, Inc Optical Mouse [672662-001]
Bus 001 Device 004: ID 046d:08e5 Logitech, Inc. C920 PRO HD Webcam
Bus 001 Device 003: ID 0c76:1618 JMTek, LLC. Fantech Leviosa
Bus 001 Device 002: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Last edited by Zezo (2023-03-29 13:54:13)
Offline
Do you even need that kernel module? What happens if you remove it and opt for the kernel built-in? That wine or hidapi are in any way related to this is pretty unlikely, they can't have that kind of an effect on a kernel module and that is a library that will only get used if you are using something that's using it.
Last edited by V1del (2023-03-28 17:00:55)
Offline
When i ran inxi -F before it said that i was using the snd-usb-audio-fasttrack driver, after i installed wine which installed sdl and other dependencies, the driver changed to (hid-generic-, usbhid), i just need any suggestions for what drivers should i get or what to do cuz im really confused
Offline
Unplug wait a few seconds run
sudo dmesg -W
replug the headset and post the output you get from that terminal as well as
sudo lsusb -vd0c76:1618
lsmod | grep snd
I'm asking why you have that kernel module installed in the first place. You normally don't need custom kernel modules for usb audio devices and these could potentially be incompatible with newer kernels. I find it more likely you rebooted into a new kernel where that module is not compatible anymore but it masks the normal usb-audio module that would be built into the kernel.
Offline
i used the archinstall script, pretty sure it installed it not me, and from what I'm reading it seems like I'm not even using that module
sudo dmesg -W output :
[ 755.051720] usb 1-2: new full-speed USB device number 7 using xhci_hcd
[ 755.192742] usb 1-2: New USB device found, idVendor=0c76, idProduct=1618, bcdDevice= 1.00
[ 755.192749] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 755.192752] usb 1-2: Product: Fantech Leviosa
[ 755.192755] usb 1-2: Manufacturer: V:NO_NO_NONE
[ 755.194827] input: V:NO_NO_NONE Fantech Leviosa as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.3/0003:0C76:1618.0005/input/input21
[ 755.251997] hid-generic 0003:0C76:1618.0005: input,hidraw0: USB HID v1.00 Device [V:NO_NO_NONE Fantech Leviosa] on usb-0000:00:14.0-2/input3
sudo lsusb -vd0c76:1618
Bus 001 Device 007: ID 0c76:1618 JMTek, LLC. Fantech Leviosa
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0c76 JMTek, LLC.
idProduct 0x1618
bcdDevice 1.00
iManufacturer 1 V:NO_NO_NONE
iProduct 2 Fantech Leviosa
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x00f7
bNumInterfaces 4
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 0x0064
bInCollection 2
baInterfaceNr(0) 1
baInterfaceNr(1) 2
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bNrChannels 1
wChannelConfig 0x0000
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 17
wTerminalType 0x0301 Speaker
bAssocTerminal 0
bSourceID 49
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 18
wTerminalType 0x0101 USB Streaming
bAssocTerminal 2
bSourceID 33
iTerminal 0
AudioControl Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 5 (SELECTOR_UNIT)
bUnitID 33
bNrInPins 1
baSourceID(0) 50
iSelector 0
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 49
bSourceID 65
bControlSize 1
bmaControls(0) 0x01
Mute Control
bmaControls(1) 0x02
Volume Control
bmaControls(2) 0x02
Volume Control
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 50
bSourceID 2
bControlSize 1
bmaControls(0) 0x43
Mute Control
Volume Control
Automatic Gain Control
bmaControls(1) 0x00
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 51
bSourceID 2
bControlSize 1
bmaControls(0) 0x03
Mute Control
Volume Control
bmaControls(1) 0x00
iFeature 0
AudioControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 4 (MIXER_UNIT)
bUnitID 65
bNrInPins 2
baSourceID(0) 1
baSourceID(1) 51
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
bmControls(0) 0x00
iMixer 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 1
bDelay 1 frames
wFormatTag 0x0001 PCM
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 9
Transfer Type Isochronous
Synch Type Adaptive
Usage Type Data
wMaxPacketSize 0x00c8 1x 200 bytes
bInterval 1
bRefresh 0
bSynchAddress 0
AudioStreaming Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 1 Milliseconds
wLockDelay 0x0001
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 18
bDelay 1 frames
wFormatTag 0x0001 PCM
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 1
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x00c8 1x 200 bytes
bInterval 1
bRefresh 0
bSynchAddress 0
AudioStreaming Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 0 Undefined
wLockDelay 0x0000
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 62
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 32
Device Status: 0x0000
lsmod | grep snd output :
snd_seq_dummy 16384 0
snd_seq 94208 1 snd_seq_dummy
snd_hda_codec_conexant 32768 1
snd_hda_codec_hdmi 86016 1
snd_hda_codec_generic 98304 1 snd_hda_codec_conexant
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_hda_intel 61440 5
snd_intel_dspcfg 36864 1 snd_hda_intel
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_usbmidi_lib 45056 0
snd_hda_codec 188416 4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel
snd_rawmidi 49152 1 snd_usbmidi_lib
snd_seq_device 16384 2 snd_seq,snd_rawmidi
snd_hda_core 118784 5 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 172032 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 49152 2 snd_seq,snd_pcm
snd 131072 21 snd_hda_codec_generic,snd_seq,snd_hda_codec_conexant,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
soundcore 16384 1 snd
Offline
Any usb audio device needs some form of snd-usb-audio, the chance that the archinstall script installed that should be zero if it isn't then the archinstall script should be removed from the repositories as it installs out of tree AUR packages. Remove that package if you don't know why you installed it, reinstall the linux package to reinstate the normal snd-usb-audio and reboot. The logical turn of events here will be you had it installed, you installed a kernel update that was incompatible , the module didn't get rebuilt properly and it blacklists the in-tree snd-usb-audio.
Last edited by V1del (2023-03-29 13:21:40)
Offline
uhm what do you mean by "reinstall te linux package" ?
Offline
pacman -S linux-lts
in your case. And that patch is fucking stupid and blindly seds random lines that aren't guaranteed to be the same and it blindly seds lines that aren't even necessary since you can disable implicit_fb with a module parameter if you need to.
Last edited by V1del (2023-03-29 13:51:16)
Offline
Thank you soooo much it have worked
Offline