Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244809

Re: USB sound device present but NOT visible in ‘alsamixer’

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: USB sound device present but NOT visible in ‘alsamixer’
Date 2022-01-30 09:40 +0100
Message-ID <DLdUC-4G9-5@gated-at.bofh.it> (permalink)
References (3 earlier) <DL9nY-1Sf-7@gated-at.bofh.it> <DLa0F-2jL-1@gated-at.bofh.it> <DLb6p-30L-1@gated-at.bofh.it> <DLcvv-3Z5-3@gated-at.bofh.it> <DLcFc-42g-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Du, 30 ian 22, 12:47:27, Pankaj Jangid wrote:
> Andrei POPESCU <andreimpopescu@gmail.com> writes:
> 
> >> During the boot process, the system detects everything. So there must be
> >> something in the init sequence that I can trigger manually.
> >
> > You can try to unload and reload the corresponding kernel module. Check 
> > the output of
> >
> >     lsmod | grep snd
> >
> > (it's probably snd-usb-audio)
> >
> > If it works it might be possible to add the module to some list so that 
> > it is removed on suspend and loaded on resume.
> 
> Thanks Andrei.
> 
> "lsmod|grep snd" results in,
> 
> --8<---------------cut here---------------start------------->8---
> pankaj@anant:~$ sudo lsmod |grep snd
> snd_usb_audio         315392  3
> snd_usbmidi_lib        40960  1 snd_usb_audio
> snd_rawmidi            45056  1 snd_usbmidi_lib
> snd_seq_device         16384  1 snd_rawmidi
> mc                     61440  1 snd_usb_audio
> snd_hda_codec_hdmi     73728  2
> snd_hda_intel          57344  3
> snd_intel_dspcfg       28672  1 snd_hda_intel
> soundwire_intel        45056  1 snd_intel_dspcfg
> snd_soc_core          315392  1 soundwire_intel
> snd_compress           32768  1 snd_soc_core
> snd_hda_codec         172032  2 snd_hda_codec_hdmi,snd_hda_intel
> snd_hda_core          110592  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
> snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
> snd_pcm               135168  8 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core
> snd_timer              49152  1 snd_pcm
> snd                   110592  24 snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
> soundcore              16384  1 snd
> usbcore               323584  6 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci
> --8<---------------cut here---------------end--------------->8---
> 
> when I say "modprobe -r snd_usb_audio". It says "Module snd_usb_audio is
> in use". I tried with "-f" option as well. Still cannot unload. Then I
> tried to it again after "alsactl kill quit"; but still cannot unload.

Something is keeping the module busy, but according to lsmod it's not 
another module.

In case you get any output from

    lsof | grep /dev/snd

    (this needs root or sudo)

try stopping the applications listed in the first column (the second 
column is the process number).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

USB sound device present but visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-01-29 07:30 +0100
  Re: USB sound device present but NOT visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-01-29 18:00 +0100
    Re: USB sound device present but NOT visible in ‘alsamixer’ "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-29 18:30 +0100
      Re: USB sound device present but NOT visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-01-30 04:50 +0100
        Re: USB sound device present but NOT visible in ‘alsamixer’ Jude DaShiell <jdashiel@panix.com> - 2022-01-30 05:30 +0100
          Re: USB sound device present but NOT visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-01-30 06:40 +0100
            Re: USB sound device present but NOT visible in ‘alsamixer’ Jude DaShiell <jdashiel@panix.com> - 2022-01-30 06:40 +0100
              Re: USB sound device present but NOT visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-01-30 07:00 +0100
                Re: USB sound device present but NOT visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-01-30 08:10 +0100
                Re: USB sound device present but NOT visible in ‘alsamixer’ Jude DaShiell <jdashiel@panix.com> - 2022-01-30 10:00 +0100
                Re: USB sound device present but NOT visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-01-30 10:10 +0100
            Re: USB sound device present but NOT visible in ‘alsamixer’ Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-30 08:10 +0100
              Re: USB sound device present but NOT visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-01-30 08:20 +0100
                Re: USB sound device present but NOT visible in ‘alsamixer’ Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-30 09:40 +0100
                Re: USB sound device present but NOT visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-01-30 10:30 +0100
                Re: USB sound device present but NOT visible in ‘alsamixer’ Andrei POPESCU <andreimpopescu@gmail.com> - 2022-01-30 12:40 +0100
                Re: USB sound device present but NOT visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-01-30 21:20 +0100
                Re: USB sound device present but NOT visible in ‘alsamixer’ Jude DaShiell <jdashiel@panix.com> - 2022-01-31 00:40 +0100
  Re: USB sound device present but visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-02-06 16:50 +0100
    Re: USB sound device present but visible in ‘alsamixer’ Nicholas Geovanis <nickgeovanis@gmail.com> - 2022-02-08 06:10 +0100
      Re: USB sound device present but visible in ‘alsamixer’ Pankaj Jangid <pankaj@codeisgreat.org> - 2022-02-09 14:00 +0100

csiph-web