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
Attachment:
signature.asc
Description: PGP signature