View previous topic :: View next topic |
Author |
Message |
g-virus Tux's lil' helper
Joined: 26 Aug 2017 Posts: 113
|
Posted: Wed Aug 31, 2022 7:27 pm Post subject: [SOLVED] Razer USB sound card doesn't work |
|
|
Hello everyone!
I've got a Razer BlackShark v2 headset with USB sound card dongle and I'm trying to get it work. pavucontrol doesn't show up any external sound devices, only built in and graphics card outputs.
I have the generic ALSA USB/MIDI option enabled in kernel, the card also listed in both lsusb and dmesg with no errors, but it still doesn't work and I'm unable to choose it in pavucontrol. Could you give me an idea, please?
thanks in advance _________________ "A computer is like air conditioning: it becomes useless when you open windows" - Linus Torvalds.
Last edited by g-virus on Thu Sep 01, 2022 12:31 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54809 Location: 56N 3W
|
Posted: Wed Aug 31, 2022 7:44 pm Post subject: |
|
|
g-virus,
will give its Vendor and Device ID that will help.
ill tell us a lot more. So much more that its unlikely to fit in a post.
However, knowing the device class and having information about your entire USB device tree may well be useful.
We may want to see the kernel config. too.
That's another pastebin.
Are they are hints in dmesg?
Who is missing but should be present is as important as what is actually there so please don't filter it.
So, three pastebins please. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
g-virus Tux's lil' helper
Joined: 26 Aug 2017 Posts: 113
|
Posted: Wed Aug 31, 2022 8:46 pm Post subject: |
|
|
Done:
_________________ "A computer is like air conditioning: it becomes useless when you open windows" - Linus Torvalds. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5370 Location: Bavaria
|
Posted: Wed Aug 31, 2022 10:04 pm Post subject: |
|
|
g-virus,
in your lsusb you see hardware ID of your razer soundcard. If you google "linux 1532:0529" you will get:
https://linux-hardware.org/?id=usb:1532-0529
Here you will see all needed kernel modules. Two of them you have already enabled:
Code: | CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y |
Other are missing. Now if you search with / in "make menuconfig" you will find them.
Hint: To get your needed "CONFIG_USB_AUDIO" you have to enable BEFORE other option:
Code: | # CONFIG_USB_GADGET is not set |
then you can enable "CONFIG_USB_AUDIO".
Code: | Device Drivers --->
[*] USB support --->
[*] USB Gadget Support --->
USB Gadget precomposed configurations --->
[*] Audio Gadget |
|
|
Back to top |
|
|
g-virus Tux's lil' helper
Joined: 26 Aug 2017 Posts: 113
|
Posted: Thu Sep 01, 2022 12:31 am Post subject: |
|
|
pietinger, thank you! It's true that I actually forgot to enable USB_GADGET option. But I have to say that the problem was actually in kernel that I forgot to install after I have built it. It works well without USB_GADGET in kernel 5.15.59. Sorry guys, I wasted your time However, I followed the link you have provided and I didn't find those "missing" options. According to this website, for that hardware only both CONFIG_SND and CONFIG_SND_USB_AUDIO are required for kernel > 2.6.35. How did you see the other options, USB_GADGET for example? In the kernel that I have the option USB_AUDIO is available without gadget enabled _________________ "A computer is like air conditioning: it becomes useless when you open windows" - Linus Torvalds. |
|
Back to top |
|
|
dbtx Tux's lil' helper
Joined: 20 Jan 2020 Posts: 117
|
Posted: Thu Sep 01, 2022 9:01 am Post subject: |
|
|
'Ordinary' USB audio and audio gadget are mostly different things-- one is CONFIG_SND_USB_AUDIO and one is CONFIG_USB_AUDIO. The first is under Device Drivers -> Sound card support -> Advanced Linux Sound Architecture -> USB sound devices ...which you can guess by how lots of things in ALSA have SND in the module names and so on, while the second is under Device Drivers -> USB support -> USB Gadget Support just like pietinger showed. I always use CONFIG_SND_USB_AUDIO, usually for MIDI controllers and sometimes for audio --like the builtin microphone on a USB webcam-- and I have never enabled the gadget. So I guess that agrees with how it already worked for you, and the gadget support is for another function or feature that you didn't need yet... maybe.
Yes, definitely search for things with '/' in menuconfig ! It also shows the various related options across the whole tree that would need to be enabled or disabled in order for an option to be available at all. Sometimes an option is just not even visible until all the things it "Depends on:" are lined up right. Then, it doesn't tell you where all those other required items are, so you just search for those, too. _________________ quasi-religious systemic wrongism pessimizes indiscriminately |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5370 Location: Bavaria
|
Posted: Thu Sep 01, 2022 9:33 am Post subject: |
|
|
g-virus wrote: | According to this website, for that hardware only both CONFIG_SND and CONFIG_SND_USB_AUDIO are required for kernel > 2.6.35. How did you see the other options, USB_GADGET for example? |
g-virus,
sometimes I am completely blind and havent see the kernel versions. So please take my apologize. (Yes, I am an old man). As @dbtx already wrote these are different things. Again, I am sorry. |
|
Back to top |
|
|
g-virus Tux's lil' helper
Joined: 26 Aug 2017 Posts: 113
|
Posted: Thu Sep 01, 2022 1:28 pm Post subject: |
|
|
pietinger, it's ok, you don't have to sorry, you did nothing wrong =)
thank you guys for your help! _________________ "A computer is like air conditioning: it becomes useless when you open windows" - Linus Torvalds. |
|
Back to top |
|
|
|