Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[SOLVED] Razer USB sound card doesn't work

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
g-virus
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Sat Aug 26, 2017 8:14 pm

[SOLVED] Razer USB sound card doesn't work

  • Quote

Post by g-virus » Wed Aug 31, 2022 7:27 pm

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
Last edited by g-virus on Thu Sep 01, 2022 12:31 am, edited 1 time in total.
"A computer is like air conditioning: it becomes useless when you open windows" - Linus Torvalds.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56106
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Aug 31, 2022 7:44 pm

g-virus,

Code: Select all

lsusb
will give its Vendor and Device ID that will help.

Code: Select all

lsusd -vvv
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.
Top
g-virus
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Sat Aug 26, 2017 8:14 pm

  • Quote

Post by g-virus » Wed Aug 31, 2022 8:46 pm

Done:
  • Kernel
  • dmesg
  • lsusb short
  • lsusb full
"A computer is like air conditioning: it becomes useless when you open windows" - Linus Torvalds.
Top
pietinger
Administrator
Administrator
Posts: 6640
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Wed Aug 31, 2022 10:04 pm

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: Select all

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: Select all

# CONFIG_USB_GADGET is not set
then you can enable "CONFIG_USB_AUDIO".

Code: Select all

Device Drivers  --->
    [*] USB support  --->
        [*]   USB Gadget Support  --->
            USB Gadget precomposed configurations  --->
                [*] Audio Gadget
Top
g-virus
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Sat Aug 26, 2017 8:14 pm

  • Quote

Post by g-virus » Thu Sep 01, 2022 12:31 am

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.
Top
dbtx
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 122
Joined: Mon Jan 20, 2020 5:31 am
Contact:
Contact dbtx
Website

  • Quote

Post by dbtx » Thu Sep 01, 2022 9:01 am

'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
Top
pietinger
Administrator
Administrator
Posts: 6640
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Thu Sep 01, 2022 9:33 am

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. :oops: So please take my apologize. (Yes, I am an old man). As @dbtx already wrote these are different things. Again, I am sorry.
Top
g-virus
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Sat Aug 26, 2017 8:14 pm

  • Quote

Post by g-virus » Thu Sep 01, 2022 1:28 pm

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.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic