* [gentoo-user] No sound. Please, help! @ 2020-10-17 13:35 gevisz 2020-10-17 11:57 ` David Haller 2020-10-17 12:07 ` Walter Dnes 0 siblings, 2 replies; 34+ messages in thread From: gevisz @ 2020-10-17 13:35 UTC (permalink / raw To: gentoo-user At different times during the last one and a half years, I tried to make sound work on my new Gentoo install on a computer with Gigabyte GA-MA790FXT-UD5P motherboard and MSI ATI Radeon R4770 graphic card. Previously, I successfully solved the sound problems in Gentoo either with alsamixer or by compiling the right driver into the kernel but on this computer these two approaches failed so far. In my penultimate attempt to solve this problem, I spent no less than one week trying to compile the right driver into the then 4th Linux kernel with no result. At the beginning, I managed to get a sound from this computer after some kernel configurations but they turned out to be unstable in the sense that later the same kernel configurations resulted in no sound. (I have used git to control all my experiments with the kernel configurations, so I am quite sure that configurations of the kernel for which I sometimes got the sound and later did not was indeed the same.) My first explanation to this phenomena was that after recompiling a kernel I also have to recompile xorg-server and some sound related packages. So I have tried this with no result again. And, of course, I have always used alsamixer to make sure that no sound channels are muted. Finally, I decided that I just cannot find the right combination of sound drivers and gave up because at that time I could not spend on this more than one week. But last month I found out about the gentoo-kernel package and decided to try once more. I was almost sure that, after installing this package, I will finally get the sound. So, I have installed the latest, 5.4.64, version of this package. As a result, the computer rebooted in the new Linux kernel and everything worked and still works like a charm except for the sound as it is still absent. :( So I definitely (and desperately) need your help and promise to follow all your suggestions. (But, please, take into account that I can compile on this computer only during weekends.) As the following command shows lspci | grep "Audio" 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series] This computer has two sound devices. The first of them, SBx00 Azalia, is probably built into the motherboard, and it is where I am trying to get a sound from. The second one is probably built into the Radeon graphic card and I am not going to use it at all unless it can output the sound through the motherboard audio jacks. My current kernel configuration is exactly the same as in the gentoo-kernel-5.4.64 package as I have not changed anything there. And finally: installed on the same computer legacy operating system never had any sound problems. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-17 13:35 [gentoo-user] No sound. Please, help! gevisz @ 2020-10-17 11:57 ` David Haller 2020-10-17 18:39 ` gevisz 2020-10-17 12:07 ` Walter Dnes 1 sibling, 1 reply; 34+ messages in thread From: David Haller @ 2020-10-17 11:57 UTC (permalink / raw To: gentoo-user Hello, On Sat, 17 Oct 2020, gevisz wrote: [.. reordering ..] >And finally: installed on the same computer legacy operating system >never had any sound problems. Ah, oh, so the HW works and you got the speaker connector in the hole. That's good![1] ;) >At different times during the last one and a half years, I tried to >make sound work on my new Gentoo install on a computer with Gigabyte >GA-MA790FXT-UD5P motherboard and MSI ATI Radeon R4770 graphic card. Ok, that board should be rather closeish to mine (GA-MA770TA-UD3. Might use a different soundchip though, but those should work automatically. [..] >lspci | grep "Audio" >00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 >Azalia (Intel HDA) >01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 >HDMI Audio [Radeon HD 4000 series] Simliar here, but it'd be interesting, what actual device is that onboard sound, here it's: $ /sbin/lspci -nn | grep Audio 00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] [plus the HDMI of the video card] According to the MoBo manual, it's a Realtek ALC888 codec. >My current kernel configuration is exactly the same as in the >gentoo-kernel-5.4.64 package as I have not changed anything there. This works here: CONFIG_SND=y CONFIG_SND_TIMER=y CONFIG_SND_PCM=y CONFIG_SND_HWDEP=m CONFIG_SND_DRIVERS=y CONFIG_SND_PCI=y CONFIG_SND_HDA=m CONFIG_SND_HDA_INTEL=m CONFIG_SND_HDA_HWDEP=y CONFIG_SND_HDA_RECONFIG=y CONFIG_SND_HDA_CODEC_REALTEK=m CONFIG_SND_HDA_GENERIC=m CONFIG_SND_HDA_CORE=m CONFIG_SND_SPI=y Not sure if CONFIG_SND_SPI and CONFIG_SND_HDA_GENERIC are needed, but the other ones seem crucial. Oh, the above is for a 4.14 kernel, but has been the same for a looong time now. HTH, -dnh [1] happend to me a few days ago when I, after a long time again, un- and then wrongly replugged the speaker on my MoBo ;) -- WoKo ist so etwas, wie eine seltsame Schleife. Wenn zwei von ihnen zusammen- kommen, erklären sie sich gegenseitig für nichtexistent und löschen sich auf diese Weise aus. Zum Schluß wird einer übrigbleiben. Und den können wir dann ganz leicht am nächsten Baum aufknüpfen... [Daniel Reutter in dag°] ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-17 11:57 ` David Haller @ 2020-10-17 18:39 ` gevisz 2020-10-18 4:35 ` David Haller 0 siblings, 1 reply; 34+ messages in thread From: gevisz @ 2020-10-17 18:39 UTC (permalink / raw To: gentoo-user сб, 17 окт. 2020 г. в 14:57, David Haller <gentoo@dhaller.de>: > On Sat, 17 Oct 2020, gevisz wrote: > >At different times during the last one and a half years, I tried to > >make sound work on my new Gentoo install on a computer with Gigabyte > >GA-MA790FXT-UD5P motherboard and MSI ATI Radeon R4770 graphic card. > > Ok, that board should be rather closeish to mine (GA-MA770TA-UD3. > Might use a different soundchip though, but those should work > automatically. > > [..] > >lspci | grep "Audio" > >00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 > >Azalia (Intel HDA) > >01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 > >HDMI Audio [Radeon HD 4000 series] > > Simliar here, but it'd be interesting, what actual device is that > onboard sound, here it's: > > $ /sbin/lspci -nn | grep Audio > 00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383] > [plus the HDMI of the video card] > > According to the MoBo manual, it's a Realtek ALC888 codec. My documentation says that it is Realtek ALC889A. > >My current kernel configuration is exactly the same as in the > >gentoo-kernel-5.4.64 package as I have not changed anything there. > > This works here: > > CONFIG_SND=y > CONFIG_SND_TIMER=y > CONFIG_SND_PCM=y > CONFIG_SND_HWDEP=m > CONFIG_SND_DRIVERS=y > CONFIG_SND_PCI=y > CONFIG_SND_HDA=m > CONFIG_SND_HDA_INTEL=m > CONFIG_SND_HDA_HWDEP=y > CONFIG_SND_HDA_RECONFIG=y > CONFIG_SND_HDA_CODEC_REALTEK=m > CONFIG_SND_HDA_GENERIC=m > CONFIG_SND_HDA_CORE=m > CONFIG_SND_SPI=y > > Not sure if CONFIG_SND_SPI and CONFIG_SND_HDA_GENERIC are needed, but > the other ones seem crucial. > > Oh, the above is for a 4.14 kernel, but has been the same for a looong > time now. Here is the comparative table for your kernel parameters vs those of gentoo-kernel 5.4.64 and my last tried configuration in gentoo-sources-4.19.86: --------------------------------------------------------- CONFIG | 4.14 | 5.4.64 | 4.19.86 SND | y | m | y SND_TIMER | y | m | y SND_PCM | y | m | y SND_HWDEP | m | m | y SND_DRIVERS | y | y | y SND_PCI | y | y | y SND_HDA | m | m | y SND_HDA_INTEL | m | m | y SND_HDA_HWDEP | y | y | n SND_HDA_RECONFIG | y | y | y SND_HDA_CODEC_REALTEK | m | m | y SND_HDA_GENERIC | m | m | y SND_HDA_CORE | m | m | y SND_SPI | y | n | absent The last option is absent from my config file of gentoo-source-4.19.86. However, it seems that in gentoo-kernel-5.4-64 it also means nothing because it leads to an empty section even if it is chosen. So, it seems that at least the configuration for kernel 5.4.64 should work. However, it does not. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-17 18:39 ` gevisz @ 2020-10-18 4:35 ` David Haller 2020-10-18 16:03 ` gevisz 0 siblings, 1 reply; 34+ messages in thread From: David Haller @ 2020-10-18 4:35 UTC (permalink / raw To: gentoo-user Hello, On Sat, 17 Oct 2020, gevisz wrote: >??, 17 ???. 2020 ?. ? 14:57, David Haller <gentoo@dhaller.de>: [..] >Here is the comparative table for your kernel parameters vs those of >gentoo-kernel 5.4.64 and my last tried configuration in >gentoo-sources-4.19.86: >CONFIG | 4.14 | 5.4.64 | 4.19.86 >SND | y | m | y >SND_TIMER | y | m | y >SND_PCM | y | m | y >SND_HWDEP | m | m | y >SND_DRIVERS | y | y | y >SND_PCI | y | y | y >SND_HDA | m | m | y >SND_HDA_INTEL | m | m | y >SND_HDA_HWDEP | y | y | n >SND_HDA_RECONFIG | y | y | y >SND_HDA_CODEC_REALTEK | m | m | y >SND_HDA_GENERIC | m | m | y >SND_HDA_CORE | m | m | y >SND_SPI | y | n | absent Looks ok. [..] >So, it seems that at least the configuration for kernel 5.4.64 should >work. However, it does not. Try this in /etc/modprobe.d/alsa.conf (or some file there): ==== alias char-major-116 snd alias snd-card-0 snd-hda-intel options snd-hda-intel model=auto ==== HTH, -dnh -- "Getting a penguin to pee on demand is _messy_." -- Linus Torvalds ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 4:35 ` David Haller @ 2020-10-18 16:03 ` gevisz 2020-10-18 14:18 ` David Haller 2020-10-18 16:14 ` gevisz 0 siblings, 2 replies; 34+ messages in thread From: gevisz @ 2020-10-18 16:03 UTC (permalink / raw To: gentoo-user вс, 18 окт. 2020 г. в 09:09, David Haller <gentoo@dhaller.de>: > On Sat, 17 Oct 2020, gevisz wrote: > >??, 17 ???. 2020 ?. ? 14:57, David Haller <gentoo@dhaller.de>: > [..] > >Here is the comparative table for your kernel parameters vs those of > >gentoo-kernel 5.4.64 and my last tried configuration in > >gentoo-sources-4.19.86: > >CONFIG | 4.14 | 5.4.64 | 4.19.86 > >SND | y | m | y > >SND_TIMER | y | m | y > >SND_PCM | y | m | y > >SND_HWDEP | m | m | y > >SND_DRIVERS | y | y | y > >SND_PCI | y | y | y > >SND_HDA | m | m | y > >SND_HDA_INTEL | m | m | y > >SND_HDA_HWDEP | y | y | n > >SND_HDA_RECONFIG | y | y | y > >SND_HDA_CODEC_REALTEK | m | m | y > >SND_HDA_GENERIC | m | m | y > >SND_HDA_CORE | m | m | y > >SND_SPI | y | n | absent > > Looks ok. > > [..] > >So, it seems that at least the configuration for kernel 5.4.64 should > >work. However, it does not. > > Try this in /etc/modprobe.d/alsa.conf (or some file there): > > ==== > alias char-major-116 snd > alias snd-card-0 snd-hda-intel > options snd-hda-intel model=auto > ==== I have not tried to edit any alsa configuration files before. Here is a content of my current /etc/modprobe.d/alsa.conf --------------------------------------------------------------------------------- # Alsa kernel modules' configuration file. # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `update-modules' command. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ## ## ALSA portion ## alias snd-card-0 snd-interwave ## alias snd-card-1 snd-ens1371 ## OSS/Free portion ## alias sound-slot-0 snd-card-0 ## alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss ## OSS/Free portion - card #2 ## alias sound-service-1-0 snd-mixer-oss ## alias sound-service-1-3 snd-pcm-oss ## alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. options snd cards_limit=1 ----------------------------------------------------------- So, after changes you suggested, it looks as follows: -------------------------------------------------------------------------- # Alsa kernel modules' configuration file. # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `update-modules' command. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ## ## ALSA portion ## alias snd-card-0 snd-interwave alias snd-card-0 snd-hda-intel ## alias snd-card-1 snd-ens1371 ## OSS/Free portion ## alias sound-slot-0 snd-card-0 ## alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss ## OSS/Free portion - card #2 ## alias sound-service-1-0 snd-mixer-oss ## alias sound-service-1-3 snd-pcm-oss ## alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. options snd-hda-intel model=auto options snd cards_limit=1 ---------------------------------------------------------------------- Tried to run 'update-modules' command but got bash: update-modules: command not found message. Will reboot now and report the result. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 16:03 ` gevisz @ 2020-10-18 14:18 ` David Haller 2020-10-18 16:21 ` gevisz 2020-10-18 16:14 ` gevisz 1 sibling, 1 reply; 34+ messages in thread From: David Haller @ 2020-10-18 14:18 UTC (permalink / raw To: gentoo-user Hello, On Sun, 18 Oct 2020, gevisz wrote: >??, 18 ???. 2020 ?. ? 09:09, David Haller <gentoo@dhaller.de>: [..] >> Try this in /etc/modprobe.d/alsa.conf (or some file there): >> >> ==== >> alias char-major-116 snd >> alias snd-card-0 snd-hda-intel >> options snd-hda-intel model=auto >> ==== [..] >So, after changes you suggested, it looks as follows: ># Alsa kernel modules' configuration file. > ># ALSA portion >alias char-major-116 snd ># OSS/Free portion >alias char-major-14 soundcore > >## >## IMPORTANT: >## You need to customise this section for your specific sound card(s) >## and then run `update-modules' command. >## Read alsa-driver's INSTALL file in /usr/share/doc for more info. >## >## ALSA portion >## alias snd-card-0 snd-interwave >alias snd-card-0 snd-hda-intel >## alias snd-card-1 snd-ens1371 >## OSS/Free portion >## alias sound-slot-0 snd-card-0 >## alias sound-slot-1 snd-card-1 >## > ># OSS/Free portion - card #1 >alias sound-service-0-0 snd-mixer-oss >alias sound-service-0-1 snd-seq-oss >alias sound-service-0-3 snd-pcm-oss >alias sound-service-0-8 snd-seq-oss >alias sound-service-0-12 snd-pcm-oss >## OSS/Free portion - card #2 >## alias sound-service-1-0 snd-mixer-oss >## alias sound-service-1-3 snd-pcm-oss >## alias sound-service-1-12 snd-pcm-oss > >alias /dev/mixer snd-mixer-oss >alias /dev/dsp snd-pcm-oss >alias /dev/midi snd-seq-oss > ># Set this to the correct number of cards. >options snd-hda-intel model=auto >options snd cards_limit=1 Looks good, but snd-hda-codec-hdmi might still get loaded, so try with: options snd cards_limit=2 (or even more)... >Tried to run 'update-modules' command but got >bash: update-modules: command not found >message. Should not be necessary. [still no sound after reboot in FF/Skype] Try: aplay /usr/share/sounds/alsa/test.wav before tackling FF etc. And check alsamixer etc. for it might have wrong options set as the device might have been moved.. HTH, -dnh -- Two atoms are walking along. Suddenly, one stops. The other says, "What's wrong?" "I've lost an electron." "Are you sure?" "I'm positive!" ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 14:18 ` David Haller @ 2020-10-18 16:21 ` gevisz 2020-10-18 18:20 ` Dale 0 siblings, 1 reply; 34+ messages in thread From: gevisz @ 2020-10-18 16:21 UTC (permalink / raw To: gentoo-user вс, 18 окт. 2020 г. в 17:19, David Haller <gentoo@dhaller.de>: > On Sun, 18 Oct 2020, gevisz wrote: > >??, 18 ???. 2020 ?. ? 09:09, David Haller <gentoo@dhaller.de>: > [..] > >> Try this in /etc/modprobe.d/alsa.conf (or some file there): > >> > >> ==== > >> alias char-major-116 snd > >> alias snd-card-0 snd-hda-intel > >> options snd-hda-intel model=auto > >> ==== > [..] > >So, after changes you suggested, it looks as follows: > ># Alsa kernel modules' configuration file. > > > ># ALSA portion > >alias char-major-116 snd > ># OSS/Free portion > >alias char-major-14 soundcore > > > >## > >## IMPORTANT: > >## You need to customise this section for your specific sound card(s) > >## and then run `update-modules' command. > >## Read alsa-driver's INSTALL file in /usr/share/doc for more info. > >## > >## ALSA portion > >## alias snd-card-0 snd-interwave > >alias snd-card-0 snd-hda-intel > >## alias snd-card-1 snd-ens1371 > >## OSS/Free portion > >## alias sound-slot-0 snd-card-0 > >## alias sound-slot-1 snd-card-1 > >## > > > ># OSS/Free portion - card #1 > >alias sound-service-0-0 snd-mixer-oss > >alias sound-service-0-1 snd-seq-oss > >alias sound-service-0-3 snd-pcm-oss > >alias sound-service-0-8 snd-seq-oss > >alias sound-service-0-12 snd-pcm-oss > >## OSS/Free portion - card #2 > >## alias sound-service-1-0 snd-mixer-oss > >## alias sound-service-1-3 snd-pcm-oss > >## alias sound-service-1-12 snd-pcm-oss > > > >alias /dev/mixer snd-mixer-oss > >alias /dev/dsp snd-pcm-oss > >alias /dev/midi snd-seq-oss > > > ># Set this to the correct number of cards. > >options snd-hda-intel model=auto > >options snd cards_limit=1 > > Looks good, but snd-hda-codec-hdmi might still get loaded, so try with: > > options snd cards_limit=2 > > (or even more)... > > >Tried to run 'update-modules' command but got > >bash: update-modules: command not found > >message. > > Should not be necessary. > > [still no sound after reboot in FF/Skype] > > Try: > > aplay /usr/share/sounds/alsa/test.wav > > before tackling FF etc. And check alsamixer etc. for it might have > wrong options set as the device might have been moved.. Thank you for your help. I turned on the computer, changed options snd cards_limit to 2 and ran aplay /usr/share/sound/alsa/*.wav (I have a different named wav files). There was a sound. Then I started Firefox and opened some youtube videos. The sound was present as well. Then I opened alsamixer. Some of the channels were muted and some had no full sound. Nevertheless, the sound had been present. I unmuted all the channels and set the full sound level on all of them. Then I again checked that the sound is present. It was. So, I rebooted the computer, ran alsamixer and made sure that all channels are unmuted and have full sound level. But this time the sound was absent exactly as I expected. Neither aplay nor Firefox produced any sound. I have already seen this behavior when I experimented with the kernel configuration about 8 months ago: the same kernel options, the same configuration files, all alsamixer channels are unmuted but after one reboot I have a sound and on another I have no sound. Any thoughts? ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 16:21 ` gevisz @ 2020-10-18 18:20 ` Dale 2020-10-18 19:20 ` David Haller 0 siblings, 1 reply; 34+ messages in thread From: Dale @ 2020-10-18 18:20 UTC (permalink / raw To: gentoo-user gevisz wrote: > > Thank you for your help. I turned on the computer, changed options snd > cards_limit to 2 and ran aplay /usr/share/sound/alsa/*.wav (I have a > different named wav files). There was a sound. Then I started Firefox > and opened some youtube videos. The sound was present as well. Then I > opened alsamixer. Some of the channels were muted and some had no full > sound. Nevertheless, the sound had been present. I unmuted all the > channels and set the full sound level on all of them. Then I again > checked that the sound is present. It was. So, I rebooted the > computer, ran alsamixer and made sure that all channels are unmuted > and have full sound level. But this time the sound was absent exactly > as I expected. Neither aplay nor Firefox produced any sound. I have > already seen this behavior when I experimented with the kernel > configuration about 8 months ago: the same kernel options, the same > configuration files, all alsamixer channels are unmuted but after one > reboot I have a sound and on another I have no sound. Any thoughts? > > Try adding alsasound to the default runlevel. And then: /etc/init.d/alsasound start and then /etc/init.d/alsasound save I think it is save. If it pukes, may have to peek into the init script and see what option it is. That should make it survive a reboot. Dale :-) :-) P. S. I found a new sledge hammer. Is this being sent as plain text only? No HTML at all? ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 18:20 ` Dale @ 2020-10-18 19:20 ` David Haller 2020-10-18 23:20 ` Dale 0 siblings, 1 reply; 34+ messages in thread From: David Haller @ 2020-10-18 19:20 UTC (permalink / raw To: gentoo-user Hello, On Sun, 18 Oct 2020, Dale wrote: >gevisz wrote: >> Thank you for your help. I turned on the computer, changed options snd >> cards_limit to 2 and ran aplay /usr/share/sound/alsa/*.wav (I have a >> different named wav files). There was a sound. [..] >> reboot I have a sound and on another I have no sound. Any thoughts? > >Try adding alsasound to the default runlevel. And then: > >/etc/init.d/alsasound start > >and then > >/etc/init.d/alsasound save One should run that '/etc/init.d/alsasound save' once when sound works, so that later save on stop and restore on reboot work ;) BTW: I liked the SUSE way of symlinking init-scripts to /usr/sbin/rc*, e.g. /usr/sbin/rcalsasound -> /etc/init.d/alsasound I now do that (to /usr/local/sbin/rc*) for stuff that I don't want in a runlevel, but still start/stop occasionally ;) >P. S. I found a new sledge hammer. Is this being sent as plain text >only? No HTML at all? Yes. -dnh -- All technology is suspect, and must be considered potentially dangerous. -- BUTLERIAN JIHAD, Handbook for Our Grandchildren ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 19:20 ` David Haller @ 2020-10-18 23:20 ` Dale 0 siblings, 0 replies; 34+ messages in thread From: Dale @ 2020-10-18 23:20 UTC (permalink / raw To: gentoo-user David Haller wrote: > Hello, > > On Sun, 18 Oct 2020, Dale wrote: >> gevisz wrote: >>> Thank you for your help. I turned on the computer, changed options snd >>> cards_limit to 2 and ran aplay /usr/share/sound/alsa/*.wav (I have a >>> different named wav files). There was a sound. > [..] >>> reboot I have a sound and on another I have no sound. Any thoughts? >> Try adding alsasound to the default runlevel. And then: >> >> /etc/init.d/alsasound start >> >> and then >> >> /etc/init.d/alsasound save > One should run that '/etc/init.d/alsasound save' once when sound > works, so that later save on stop and restore on reboot work ;) > > BTW: I liked the SUSE way of symlinking init-scripts to /usr/sbin/rc*, > e.g. /usr/sbin/rcalsasound -> /etc/init.d/alsasound > I now do that (to /usr/local/sbin/rc*) for stuff that I don't want in > a runlevel, but still start/stop occasionally ;) Well, I was hoping it was obvious. I just came home to snack before headed back out into the woods so I was in a bit of a rush. >> P. S. I found a new sledge hammer. Is this being sent as plain text >> only? No HTML at all? > Yes. > > -dnh > Thank goodness. I been trying to get that to do the right thing for months. Thanks for confirming. Dale :-) :-) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 16:03 ` gevisz 2020-10-18 14:18 ` David Haller @ 2020-10-18 16:14 ` gevisz 2020-10-18 14:20 ` Dale 1 sibling, 1 reply; 34+ messages in thread From: gevisz @ 2020-10-18 16:14 UTC (permalink / raw To: gentoo-user вс, 18 окт. 2020 г. в 19:03, gevisz <gevisz@gmail.com>: > > вс, 18 окт. 2020 г. в 09:09, David Haller <gentoo@dhaller.de>: > > On Sat, 17 Oct 2020, gevisz wrote: > > >??, 17 ???. 2020 ?. ? 14:57, David Haller <gentoo@dhaller.de>: > > [..] > > >Here is the comparative table for your kernel parameters vs those of > > >gentoo-kernel 5.4.64 and my last tried configuration in > > >gentoo-sources-4.19.86: > > >CONFIG | 4.14 | 5.4.64 | 4.19.86 > > >SND | y | m | y > > >SND_TIMER | y | m | y > > >SND_PCM | y | m | y > > >SND_HWDEP | m | m | y > > >SND_DRIVERS | y | y | y > > >SND_PCI | y | y | y > > >SND_HDA | m | m | y > > >SND_HDA_INTEL | m | m | y > > >SND_HDA_HWDEP | y | y | n > > >SND_HDA_RECONFIG | y | y | y > > >SND_HDA_CODEC_REALTEK | m | m | y > > >SND_HDA_GENERIC | m | m | y > > >SND_HDA_CORE | m | m | y > > >SND_SPI | y | n | absent > > > > Looks ok. > > > > [..] > > >So, it seems that at least the configuration for kernel 5.4.64 should > > >work. However, it does not. > > > > Try this in /etc/modprobe.d/alsa.conf (or some file there): > > > > ==== > > alias char-major-116 snd > > alias snd-card-0 snd-hda-intel > > options snd-hda-intel model=auto > > ==== > > I have not tried to edit any alsa configuration files before. > Here is a content of my current /etc/modprobe.d/alsa.conf > --------------------------------------------------------------------------------- > # Alsa kernel modules' configuration file. > > # ALSA portion > alias char-major-116 snd > # OSS/Free portion > alias char-major-14 soundcore > > ## > ## IMPORTANT: > ## You need to customise this section for your specific sound card(s) > ## and then run `update-modules' command. > ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. > ## > ## ALSA portion > ## alias snd-card-0 snd-interwave > ## alias snd-card-1 snd-ens1371 > ## OSS/Free portion > ## alias sound-slot-0 snd-card-0 > ## alias sound-slot-1 snd-card-1 > ## > > # OSS/Free portion - card #1 > alias sound-service-0-0 snd-mixer-oss > alias sound-service-0-1 snd-seq-oss > alias sound-service-0-3 snd-pcm-oss > alias sound-service-0-8 snd-seq-oss > alias sound-service-0-12 snd-pcm-oss > ## OSS/Free portion - card #2 > ## alias sound-service-1-0 snd-mixer-oss > ## alias sound-service-1-3 snd-pcm-oss > ## alias sound-service-1-12 snd-pcm-oss > > alias /dev/mixer snd-mixer-oss > alias /dev/dsp snd-pcm-oss > alias /dev/midi snd-seq-oss > > # Set this to the correct number of cards. > options snd cards_limit=1 > ----------------------------------------------------------- > So, after changes you suggested, it looks as follows: > -------------------------------------------------------------------------- > # Alsa kernel modules' configuration file. > > # ALSA portion > alias char-major-116 snd > # OSS/Free portion > alias char-major-14 soundcore > > ## > ## IMPORTANT: > ## You need to customise this section for your specific sound card(s) > ## and then run `update-modules' command. > ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. > ## > ## ALSA portion > ## alias snd-card-0 snd-interwave > alias snd-card-0 snd-hda-intel > ## alias snd-card-1 snd-ens1371 > ## OSS/Free portion > ## alias sound-slot-0 snd-card-0 > ## alias sound-slot-1 snd-card-1 > ## > > # OSS/Free portion - card #1 > alias sound-service-0-0 snd-mixer-oss > alias sound-service-0-1 snd-seq-oss > alias sound-service-0-3 snd-pcm-oss > alias sound-service-0-8 snd-seq-oss > alias sound-service-0-12 snd-pcm-oss > ## OSS/Free portion - card #2 > ## alias sound-service-1-0 snd-mixer-oss > ## alias sound-service-1-3 snd-pcm-oss > ## alias sound-service-1-12 snd-pcm-oss > > alias /dev/mixer snd-mixer-oss > alias /dev/dsp snd-pcm-oss > alias /dev/midi snd-seq-oss > > # Set this to the correct number of cards. > options snd-hda-intel model=auto > options snd cards_limit=1 > ---------------------------------------------------------------------- > Tried to run 'update-modules' command but got > bash: update-modules: command not found > message. > > Will reboot now and report the result. No sound at least in Firefox. Tried it on youtube. Skype is currently uninstalled. So, I cannot check using it. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 16:14 ` gevisz @ 2020-10-18 14:20 ` Dale 2020-10-18 16:26 ` gevisz 0 siblings, 1 reply; 34+ messages in thread From: Dale @ 2020-10-18 14:20 UTC (permalink / raw To: gentoo-user gevisz wrote: > > No sound at least in Firefox. Tried it on youtube. Skype is currently > uninstalled. So, I cannot check using it. > > Just a thought. Are you sure that everything is unmuted? Years ago, all the sound control software, Kmix, alsa and others, default to mute. If just one of them is muted, no sound. I seem to recall when I did my install on this rig that I had to unmute the sound in three places, Kmix, alsa and one other that I can't recall the name of. I think I had to turn up the volume on alsa as it was set to a really low level once it was unmuted. Usually, I turn all of them to the max except the one I mainly use. In my case, Kmix is the one I use to really control things since it sits on the panel thingy. The others are set at the max. It's a silly thing but thought it worth a mention just in case there is a muted setting somewhere. Dale :-) :-) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 14:20 ` Dale @ 2020-10-18 16:26 ` gevisz 2020-10-18 18:15 ` Dale 0 siblings, 1 reply; 34+ messages in thread From: gevisz @ 2020-10-18 16:26 UTC (permalink / raw To: gentoo-user вс, 18 окт. 2020 г. в 17:20, Dale <rdalek1967@gmail.com>: > gevisz wrote: > > > > No sound at least in Firefox. Tried it on youtube. Skype is currently > > uninstalled. So, I cannot check using it. > > Just a thought. Are you sure that everything is unmuted? Years ago, > all the sound control software, Kmix, alsa and others, default to mute. > If just one of them is muted, no sound. I seem to recall when I did my > install on this rig that I had to unmute the sound in three places, > Kmix, alsa and one other that I can't recall the name of. I think I had > to turn up the volume on alsa as it was set to a really low level once > it was unmuted. Usually, I turn all of them to the max except the one I > mainly use. In my case, Kmix is the one I use to really control things > since it sits on the panel thingy. The others are set at the max. > > It's a silly thing but thought it worth a mention just in case there is > a muted setting somewhere. Thank you for your input. Yes, it seems that something is muted but what? I have no KDE and no kmix installed. No pulseaudio. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 16:26 ` gevisz @ 2020-10-18 18:15 ` Dale 2020-10-18 21:15 ` gevisz 0 siblings, 1 reply; 34+ messages in thread From: Dale @ 2020-10-18 18:15 UTC (permalink / raw To: gentoo-user gevisz wrote: > вс, 18 окт. 2020 г. в 17:20, Dale <rdalek1967@gmail.com>: >> gevisz wrote: >>> No sound at least in Firefox. Tried it on youtube. Skype is currently >>> uninstalled. So, I cannot check using it. >> Just a thought. Are you sure that everything is unmuted? Years ago, >> all the sound control software, Kmix, alsa and others, default to mute. >> If just one of them is muted, no sound. I seem to recall when I did my >> install on this rig that I had to unmute the sound in three places, >> Kmix, alsa and one other that I can't recall the name of. I think I had >> to turn up the volume on alsa as it was set to a really low level once >> it was unmuted. Usually, I turn all of them to the max except the one I >> mainly use. In my case, Kmix is the one I use to really control things >> since it sits on the panel thingy. The others are set at the max. >> >> It's a silly thing but thought it worth a mention just in case there is >> a muted setting somewhere. > Thank you for your input. Yes, it seems that something is muted but what? > I have no KDE and no kmix installed. No pulseaudio. > > Type in alsamixer in a console or whatever you use and hit tab twice. I suspect you have that installed. You should have a text version, like a console uses, and a gui version, that should work in any DM. Pick your poison and see if anything there is muted or the volume is set really low, like 1 out of 100 or something. I think hitting the "m" key toggles the mute. I think it's the arrow keys to increase or decrease volume and move from channel to channel. It has been a while since I used that so can't recall. Let's just hope it is that simple. Dale :-) :-) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 18:15 ` Dale @ 2020-10-18 21:15 ` gevisz 2020-10-18 21:17 ` gevisz 2022-03-11 18:15 ` gevisz 0 siblings, 2 replies; 34+ messages in thread From: gevisz @ 2020-10-18 21:15 UTC (permalink / raw To: gentoo-user вс, 18 окт. 2020 г. в 21:15, Dale <rdalek1967@gmail.com>: > > gevisz wrote: > > вс, 18 окт. 2020 г. в 17:20, Dale <rdalek1967@gmail.com>: > >> gevisz wrote: > >>> No sound at least in Firefox. Tried it on youtube. Skype is currently > >>> uninstalled. So, I cannot check using it. > >> Just a thought. Are you sure that everything is unmuted? Years ago, > >> all the sound control software, Kmix, alsa and others, default to mute. > >> If just one of them is muted, no sound. I seem to recall when I did my > >> install on this rig that I had to unmute the sound in three places, > >> Kmix, alsa and one other that I can't recall the name of. I think I had > >> to turn up the volume on alsa as it was set to a really low level once > >> it was unmuted. Usually, I turn all of them to the max except the one I > >> mainly use. In my case, Kmix is the one I use to really control things > >> since it sits on the panel thingy. The others are set at the max. > >> > >> It's a silly thing but thought it worth a mention just in case there is > >> a muted setting somewhere. > > Thank you for your input. Yes, it seems that something is muted but what? > > I have no KDE and no kmix installed. No pulseaudio. > > Type in alsamixer in a console or whatever you use and hit tab twice. I > suspect you have that installed. You should have a text version, like a > console uses, and a gui version, that should work in any DM. Pick your > poison and see if anything there is muted or the volume is set really > low, like 1 out of 100 or something. I think hitting the "m" key > toggles the mute. I am sorry to confess that I should use M to unmute a channel in alsamixer (as I did about 14 years ago) and thought that arrows up and down do all the work. :( So, now the problem has been solved and I can return to the custom kernel. One last question: Is it better to compile the driver for my HDMI audio device or not, if I am not going to use HDMI audio output? And thank you all who replied to this thread. > I think it's the arrow keys to increase or decrease volume > and move from channel to channel. It has been a while > since I used that so can't recall. > > Let's just hope it is that simple. > > Dale ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 21:15 ` gevisz @ 2020-10-18 21:17 ` gevisz 2020-10-18 23:17 ` Dale 2022-03-11 18:15 ` gevisz 1 sibling, 1 reply; 34+ messages in thread From: gevisz @ 2020-10-18 21:17 UTC (permalink / raw To: gentoo-user пн, 19 окт. 2020 г. в 00:15, gevisz <gevisz@gmail.com>: > > вс, 18 окт. 2020 г. в 21:15, Dale <rdalek1967@gmail.com>: > > > > gevisz wrote: > > > вс, 18 окт. 2020 г. в 17:20, Dale <rdalek1967@gmail.com>: > > >> gevisz wrote: > > >>> No sound at least in Firefox. Tried it on youtube. Skype is currently > > >>> uninstalled. So, I cannot check using it. > > >> Just a thought. Are you sure that everything is unmuted? Years ago, > > >> all the sound control software, Kmix, alsa and others, default to mute. > > >> If just one of them is muted, no sound. I seem to recall when I did my > > >> install on this rig that I had to unmute the sound in three places, > > >> Kmix, alsa and one other that I can't recall the name of. I think I had > > >> to turn up the volume on alsa as it was set to a really low level once > > >> it was unmuted. Usually, I turn all of them to the max except the one I > > >> mainly use. In my case, Kmix is the one I use to really control things > > >> since it sits on the panel thingy. The others are set at the max. > > >> > > >> It's a silly thing but thought it worth a mention just in case there is > > >> a muted setting somewhere. > > > Thank you for your input. Yes, it seems that something is muted but what? > > > I have no KDE and no kmix installed. No pulseaudio. > > > > Type in alsamixer in a console or whatever you use and hit tab twice. I > > suspect you have that installed. You should have a text version, like a > > console uses, and a gui version, that should work in any DM. Pick your > > poison and see if anything there is muted or the volume is set really > > low, like 1 out of 100 or something. I think hitting the "m" key > > toggles the mute. Correction: I am sorry to confess that I FORGOT that I should use M to unmute a channel in alsamixer (as I did about 14 years ago) and thought that arrows up and down do all the work. :( > So, now the problem has been solved and I can return to the custom kernel. > > One last question: Is it better to compile the driver for my HDMI > audio device or not, if I am not going to use HDMI audio output? > > And thank you all who replied to this thread. > > > I think it's the arrow keys to increase or decrease volume > > and move from channel to channel. It has been a while > > since I used that so can't recall. > > > > Let's just hope it is that simple. > > > > Dale ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 21:17 ` gevisz @ 2020-10-18 23:17 ` Dale 2020-10-19 8:49 ` gevisz 0 siblings, 1 reply; 34+ messages in thread From: Dale @ 2020-10-18 23:17 UTC (permalink / raw To: gentoo-user gevisz wrote: > > Correction: > I am sorry to confess that I FORGOT that I should use M to unmute > a channel in alsamixer (as I did about 14 years ago) and thought > that arrows up and down do all the work. :( > Well, when I did my first install, I had no idea. I had to google it or something to get it to unmute. Once I found it, it was like, duh. :-D On the modules or in kernel, I compile all mine in the kernel. The only modules I have is my nvidia video drivers. There's pro's and con's to each so whatever works and you like. Glad it's working now. I need a shower. I been cutting down trees and dragging them to a pile to rot or burn. I'm tired, I stink which requires a shower and I'm hungry. Cutting and getting rid of a 24 inch across tree isn't easy when you have a 20 inch bar on the chainsaw. :/ Dale :-) :-) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 23:17 ` Dale @ 2020-10-19 8:49 ` gevisz 2020-10-19 15:12 ` Dale 0 siblings, 1 reply; 34+ messages in thread From: gevisz @ 2020-10-19 8:49 UTC (permalink / raw To: gentoo-user пн, 19 окт. 2020 г. в 02:18, Dale <rdalek1967@gmail.com>: > > On the modules or in kernel, I compile all mine in the kernel. The only > modules I have is my nvidia video drivers. There's pro's and con's to > each so whatever works and you like. I actually asked a question not about the choice between "in kernel" or "as a module" but about "to build or not to build" at all. :) So, once more: Is it better to compile the driver for my HDMI audio device or not, if I am not going to use HDMI audio output? > Glad it's working now. I need a shower. I been cutting down trees and > dragging them to a pile to rot or burn. I'm tired, I stink which > requires a shower and I'm hungry. Cutting and getting rid of a 24 inch > across tree isn't easy when you have a 20 inch bar on the chainsaw. :/ Thank you once more. And you should not rush to answer: my initial intention was to finally solve this problem till the end of this month, and now it is solved during only one weekend. :) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-19 8:49 ` gevisz @ 2020-10-19 15:12 ` Dale 2020-10-20 18:28 ` gevisz 0 siblings, 1 reply; 34+ messages in thread From: Dale @ 2020-10-19 15:12 UTC (permalink / raw To: gentoo-user gevisz wrote: > пн, 19 окт. 2020 г. в 02:18, Dale <rdalek1967@gmail.com>: >> On the modules or in kernel, I compile all mine in the kernel. The only >> modules I have is my nvidia video drivers. There's pro's and con's to >> each so whatever works and you like. > I actually asked a question not about the choice between "in kernel" > or "as a module" but about "to build or not to build" at all. :) > > So, once more: Is it better to compile the driver for my HDMI audio > device or not, if I am not going to use HDMI audio output? > Ahh. Well, if you build it and then need it later, it's already there. If you don't and then need it later, you have to go back and build it and may be in a hurry. I tend to get all hardware working even if I'm not using it at the time. Of course, you could plan to do that when you update your next kernel and it's just a little more to do but you will be doing most of it anyway since you're updating. It's a thought. >> Glad it's working now. I need a shower. I been cutting down trees and >> dragging them to a pile to rot or burn. I'm tired, I stink which >> requires a shower and I'm hungry. Cutting and getting rid of a 24 inch >> across tree isn't easy when you have a 20 inch bar on the chainsaw. :/ > Thank you once more. And you should not rush to answer: my initial > intention was to finally solve this problem till the end of this > month, and now it is solved during only one weekend. :) > > Well, when on this mailing list, you will get ideas pretty fast. Given that you had things working but not making noise, my first thought was the mute. I ran into that a couple times myself in the past. One would think it would default to a low level but something you can hear. I guess tho they think you should be forced to adjust the mixers and other sound control settings so that you can enable/leave disabled to your liking. It's 6 of one or half a dozen of the other I guess. ;-) Back to cutting trees. Got my insect spray on today tho. Things sound like large helicopters flying around out there. O-o Dale :-) :-) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-19 15:12 ` Dale @ 2020-10-20 18:28 ` gevisz 2020-10-20 17:09 ` Dale 0 siblings, 1 reply; 34+ messages in thread From: gevisz @ 2020-10-20 18:28 UTC (permalink / raw To: gentoo-user пн, 19 окт. 2020 г. в 18:13, Dale <rdalek1967@gmail.com>: > > gevisz wrote: > > пн, 19 окт. 2020 г. в 02:18, Dale <rdalek1967@gmail.com>: > >> On the modules or in kernel, I compile all mine in the kernel. The only > >> modules I have is my nvidia video drivers. There's pro's and con's to > >> each so whatever works and you like. > > > > I actually asked a question not about the choice between "in kernel" > > or "as a module" but about "to build or not to build" at all. :) > > > > So, once more: Is it better to compile the driver for my HDMI audio > > device or not, if I am not going to use HDMI audio output? > > > > Ahh. Well, if you build it and then need it later, it's already there. > If you don't and then need it later, you have to go back and build it > and may be in a hurry. I tend to get all hardware working even if I'm > not using it at the time. I have just thought that it may be better if the kernel knows how to deal with this piece of hardware even if it is not going to use it. > >> Glad it's working now. I need a shower. I been cutting down trees and > >> dragging them to a pile to rot or burn. I'm tired, I stink which > >> requires a shower and I'm hungry. Cutting and getting rid of a 24 inch > >> across tree isn't easy when you have a 20 inch bar on the chainsaw. :/ > > Thank you once more. And you should not rush to answer: my initial > > intention was to finally solve this problem till the end of this > > month, and now it is solved during only one weekend. :) > > > > > > > Well, when on this mailing list, you will get ideas pretty fast. Given > that you had things working but not making noise, my first thought was > the mute. I ran into that a couple times myself in the past. One would > think it would default to a low level but something you can hear. I > guess tho they think you should be forced to adjust the mixers and other > sound control settings so that you can enable/leave disabled to your > liking. It's 6 of one or half a dozen of the other I guess. ;-) > > Back to cutting trees. Got my insect spray on today tho. Things sound > like large helicopters flying around out there. O-o Maybe, it makes sense to find an easier job? :) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-20 18:28 ` gevisz @ 2020-10-20 17:09 ` Dale 0 siblings, 0 replies; 34+ messages in thread From: Dale @ 2020-10-20 17:09 UTC (permalink / raw To: gentoo-user gevisz wrote: > пн, 19 окт. 2020 г. в 18:13, Dale <rdalek1967@gmail.com>: >> gevisz wrote: >>> пн, 19 окт. 2020 г. в 02:18, Dale <rdalek1967@gmail.com>: >>>> On the modules or in kernel, I compile all mine in the kernel. The only >>>> modules I have is my nvidia video drivers. There's pro's and con's to >>>> each so whatever works and you like. >>> I actually asked a question not about the choice between "in kernel" >>> or "as a module" but about "to build or not to build" at all. :) >>> >>> So, once more: Is it better to compile the driver for my HDMI audio >>> device or not, if I am not going to use HDMI audio output? >>> >> Ahh. Well, if you build it and then need it later, it's already there. >> If you don't and then need it later, you have to go back and build it >> and may be in a hurry. I tend to get all hardware working even if I'm >> not using it at the time. > I have just thought that it may be better if the kernel knows how to > deal with this piece of hardware even if it is not going to use it. True. It may improve how the hardware works. One could test the theory. One could wait until the next kernel build to do it too. Lots of options there. ;-) >>>> Glad it's working now. I need a shower. I been cutting down trees and >>>> dragging them to a pile to rot or burn. I'm tired, I stink which >>>> requires a shower and I'm hungry. Cutting and getting rid of a 24 inch >>>> across tree isn't easy when you have a 20 inch bar on the chainsaw. :/ >>> Thank you once more. And you should not rush to answer: my initial >>> intention was to finally solve this problem till the end of this >>> month, and now it is solved during only one weekend. :) >>> >>> >> >> Well, when on this mailing list, you will get ideas pretty fast. Given >> that you had things working but not making noise, my first thought was >> the mute. I ran into that a couple times myself in the past. One would >> think it would default to a low level but something you can hear. I >> guess tho they think you should be forced to adjust the mixers and other >> sound control settings so that you can enable/leave disabled to your >> liking. It's 6 of one or half a dozen of the other I guess. ;-) >> >> Back to cutting trees. Got my insect spray on today tho. Things sound >> like large helicopters flying around out there. O-o > Maybe, it makes sense to find an easier job? :) > > I'm doing that on my place here. Trying to make things better. It's a hard job and I'm amazed I have done as much as I have. I'm about done cleaning up what I started but I may not cut any more this year. I can tell my old joints are starting to get upset. Did get some firewood for a friend out of it tho. Dale :-) :-) ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-18 21:15 ` gevisz 2020-10-18 21:17 ` gevisz @ 2022-03-11 18:15 ` gevisz 2022-07-14 6:19 ` gevisz 1 sibling, 1 reply; 34+ messages in thread From: gevisz @ 2022-03-11 18:15 UTC (permalink / raw To: gentoo-user пн, 19 окт. 2020 г. в 00:15, gevisz <gevisz@gmail.com>: > > вс, 18 окт. 2020 г. в 21:15, Dale <rdalek1967@gmail.com>: > > > > gevisz wrote: > > > вс, 18 окт. 2020 г. в 17:20, Dale <rdalek1967@gmail.com>: > > >> gevisz wrote: > > >>> No sound at least in Firefox. Tried it on youtube. Skype is currently > > >>> uninstalled. So, I cannot check using it. > > >> Just a thought. Are you sure that everything is unmuted? Years ago, > > >> all the sound control software, Kmix, alsa and others, default to mute. > > >> If just one of them is muted, no sound. I seem to recall when I did my > > >> install on this rig that I had to unmute the sound in three places, > > >> Kmix, alsa and one other that I can't recall the name of. I think I had > > >> to turn up the volume on alsa as it was set to a really low level once > > >> it was unmuted. Usually, I turn all of them to the max except the one I > > >> mainly use. In my case, Kmix is the one I use to really control things > > >> since it sits on the panel thingy. The others are set at the max. > > >> > > >> It's a silly thing but thought it worth a mention just in case there is > > >> a muted setting somewhere. > > > Thank you for your input. Yes, it seems that something is muted but what? > > > I have no KDE and no kmix installed. No pulseaudio. > > > > Type in alsamixer in a console or whatever you use and hit tab twice. I > > suspect you have that installed. You should have a text version, like a > > console uses, and a gui version, that should work in any DM. Pick your > > poison and see if anything there is muted or the volume is set really > > low, like 1 out of 100 or something. I think hitting the "m" key > > toggles the mute. > > I am sorry to confess that I forgot that I should use M to unmute > a channel in alsamixer (as I did about 14 years ago) and thought > that arrows up and down do all the work. :( > > So, now the problem has been solved. Last time I have ended the discussion on my "no sound" problem acknowledging that I was so stupid that "forgot that I should use M to unmute a channel in alsamixer." However, it turned out that it was not the case: currently I have all channels in alsamixer unmuted and have sound only in about 1 from 10 bootings of my Gentoo system, while I do always have sound on the same computer while I boot it with Ubuntu 20.04. I have also compared the output of lsmod command on both systems and found out that my Gentoo system had all sound kernel modules that my Ubuntu system has and even more. (In Gentoo, I still have quite an old 5.4.97 kernel, but I do not think that it is the cause of my "no sound" problem.) Of course, it is completely my responsibility that I have built my Gentoo system in such a way that I never know if I will have sound after its next boot. However I am lost guessing what I did wrong. (Comparing with Ubuntu 20.04, my Gentoo system has no systemd and no pulseaudio, no consolekit, and no policykit.) I leave this just for history, as I am currently in a war zone and so investigating this problem further is not in my priority list. :( ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2022-03-11 18:15 ` gevisz @ 2022-07-14 6:19 ` gevisz 2022-07-14 7:53 ` Michael 0 siblings, 1 reply; 34+ messages in thread From: gevisz @ 2022-07-14 6:19 UTC (permalink / raw To: gentoo-user пт, 11 мар. 2022 г. в 20:15, gevisz <gevisz@gmail.com>: > > пн, 19 окт. 2020 г. в 00:15, gevisz <gevisz@gmail.com>: > > > > вс, 18 окт. 2020 г. в 21:15, Dale <rdalek1967@gmail.com>: > > > > > > gevisz wrote: > > > > вс, 18 окт. 2020 г. в 17:20, Dale <rdalek1967@gmail.com>: > > > >> gevisz wrote: > > > >>> No sound at least in Firefox. Tried it on youtube. Skype is currently > > > >>> uninstalled. So, I cannot check using it. > > > >> Just a thought. Are you sure that everything is unmuted? Years ago, > > > >> all the sound control software, Kmix, alsa and others, default to mute. > > > >> If just one of them is muted, no sound. I seem to recall when I did my > > > >> install on this rig that I had to unmute the sound in three places, > > > >> Kmix, alsa and one other that I can't recall the name of. I think I had > > > >> to turn up the volume on alsa as it was set to a really low level once > > > >> it was unmuted. Usually, I turn all of them to the max except the one I > > > >> mainly use. In my case, Kmix is the one I use to really control things > > > >> since it sits on the panel thingy. The others are set at the max. > > > >> > > > >> It's a silly thing but thought it worth a mention just in case there is > > > >> a muted setting somewhere. > > > > Thank you for your input. Yes, it seems that something is muted but what? > > > > I have no KDE and no kmix installed. No pulseaudio. > > > > > > Type in alsamixer in a console or whatever you use and hit tab twice. I > > > suspect you have that installed. You should have a text version, like a > > > console uses, and a gui version, that should work in any DM. Pick your > > > poison and see if anything there is muted or the volume is set really > > > low, like 1 out of 100 or something. I think hitting the "m" key > > > toggles the mute. > > > > I am sorry to confess that I forgot that I should use M to unmute > > a channel in alsamixer (as I did about 14 years ago) and thought > > that arrows up and down do all the work. :( > > > > So, now the problem has been solved. > > Last time I have ended the discussion on my > "no sound" problem acknowledging that I was > so stupid that "forgot that I should use M to > unmute a channel in alsamixer." > > However, it turned out that it was not the case: > currently I have all channels in alsamixer unmuted > and have sound only in about 1 from 10 bootings of > my Gentoo system, while I do always have sound > on the same computer while I boot it with Ubuntu 20.04. > > I have also compared the output of lsmod command > on both systems and found out that my Gentoo system > had all sound kernel modules that my Ubuntu system has > and even more. (In Gentoo, I still have quite an old 5.4.97 > kernel, but I do not think that it is the cause of my > "no sound" problem.) > > Of course, it is completely my responsibility that > I have built my Gentoo system in such a way that > I never know if I will have sound after its next boot. > However I am lost guessing what I did wrong. > (Comparing with Ubuntu 20.04, my Gentoo system > has no systemd and no pulseaudio, no consolekit, > and no policykit.) > > I leave this just for history, as I am currently > in a war zone and so investigating this problem > further is not in my priority list. :( I have accidentally found that the problem with absence of sound on my Gentoo box appears only when my USB Logitech webcam is connected to the computer during the boot time. Moreover, if it happens and the sound is absent, the alsamixer shows that my USB Logitech webcam is considered by the system as a default sound device. So, it tries to send sound there even though it does not have any speaker. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2022-07-14 6:19 ` gevisz @ 2022-07-14 7:53 ` Michael 2022-07-14 11:57 ` Jude DaShiell ` (2 more replies) 0 siblings, 3 replies; 34+ messages in thread From: Michael @ 2022-07-14 7:53 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 5482 bytes --] On Thursday, 14 July 2022 07:19:14 BST gevisz wrote: > пт, 11 мар. 2022 г. в 20:15, gevisz <gevisz@gmail.com>: > > пн, 19 окт. 2020 г. в 00:15, gevisz <gevisz@gmail.com>: > > > вс, 18 окт. 2020 г. в 21:15, Dale <rdalek1967@gmail.com>: > > > > gevisz wrote: > > > > > вс, 18 окт. 2020 г. в 17:20, Dale <rdalek1967@gmail.com>: > > > > >> gevisz wrote: > > > > >>> No sound at least in Firefox. Tried it on youtube. Skype is > > > > >>> currently > > > > >>> uninstalled. So, I cannot check using it. > > > > >> > > > > >> Just a thought. Are you sure that everything is unmuted? Years > > > > >> ago, > > > > >> all the sound control software, Kmix, alsa and others, default to > > > > >> mute. > > > > >> If just one of them is muted, no sound. I seem to recall when I > > > > >> did my > > > > >> install on this rig that I had to unmute the sound in three places, > > > > >> Kmix, alsa and one other that I can't recall the name of. I think > > > > >> I had > > > > >> to turn up the volume on alsa as it was set to a really low level > > > > >> once > > > > >> it was unmuted. Usually, I turn all of them to the max except the > > > > >> one I > > > > >> mainly use. In my case, Kmix is the one I use to really control > > > > >> things > > > > >> since it sits on the panel thingy. The others are set at the max. > > > > >> > > > > >> It's a silly thing but thought it worth a mention just in case > > > > >> there is > > > > >> a muted setting somewhere. > > > > > > > > > > Thank you for your input. Yes, it seems that something is muted but > > > > > what? > > > > > I have no KDE and no kmix installed. No pulseaudio. > > > > > > > > Type in alsamixer in a console or whatever you use and hit tab twice. > > > > I > > > > suspect you have that installed. You should have a text version, like > > > > a > > > > console uses, and a gui version, that should work in any DM. Pick > > > > your > > > > poison and see if anything there is muted or the volume is set really > > > > low, like 1 out of 100 or something. I think hitting the "m" key > > > > toggles the mute. > > > > > > I am sorry to confess that I forgot that I should use M to unmute > > > a channel in alsamixer (as I did about 14 years ago) and thought > > > that arrows up and down do all the work. :( > > > > > > So, now the problem has been solved. > > > > Last time I have ended the discussion on my > > "no sound" problem acknowledging that I was > > so stupid that "forgot that I should use M to > > unmute a channel in alsamixer." > > > > However, it turned out that it was not the case: > > currently I have all channels in alsamixer unmuted > > and have sound only in about 1 from 10 bootings of > > my Gentoo system, while I do always have sound > > on the same computer while I boot it with Ubuntu 20.04. > > > > I have also compared the output of lsmod command > > on both systems and found out that my Gentoo system > > had all sound kernel modules that my Ubuntu system has > > and even more. (In Gentoo, I still have quite an old 5.4.97 > > kernel, but I do not think that it is the cause of my > > "no sound" problem.) > > > > Of course, it is completely my responsibility that > > I have built my Gentoo system in such a way that > > I never know if I will have sound after its next boot. > > However I am lost guessing what I did wrong. > > (Comparing with Ubuntu 20.04, my Gentoo system > > has no systemd and no pulseaudio, no consolekit, > > and no policykit.) > > > > I leave this just for history, as I am currently > > in a war zone and so investigating this problem > > further is not in my priority list. :( > > I have accidentally found that the problem with > absence of sound on my Gentoo box appears > only when my USB Logitech webcam is connected > to the computer during the boot time. > > Moreover, if it happens and the sound is absent, > the alsamixer shows that my USB Logitech webcam > is considered by the system as a default sound device. > > So, it tries to send sound there even though it does > not have any speaker. I'll blame some relatively recent change in the kernel or some interaction with udev. I have previously posted a problem regarding a USB NIC, rather than a USB sound card as in your case. Now I also noticed a problem with the initialisation of an onboard WiFi card on another laptop, which is driven by the internal MoBo USB controller along with bluetooth. I don't know what causes the problem but I wager the order in which a device is plugged in/switched on by the user affects whether the kernel will detect it and initialise it, or not. On this laptop the onboard WiFi has to be switched on already at boot time, or I need to reboot after switching it on. Restarting the wlan0 service without a reboot fails to connect to the AP. On the previous post of mine about another laptop with an external USB NIC adaptor (wired), the ethernet cable has to remain disconnected until SDDM starts, or SDDM will not launch. Restarting the wired interface service allows SDDM to start. My superficial conclusion is ... something changed and the result is a regressive behavior. I don't know if this is related to kernel code or udev, or some interaction between the two, but I suggest this is where the cause of this problem lies rather than USB sound or NIC devices. [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2022-07-14 7:53 ` Michael @ 2022-07-14 11:57 ` Jude DaShiell 2022-07-17 16:18 ` gevisz 2022-07-14 13:36 ` Neil Bothwick 2022-07-17 16:40 ` gevisz 2 siblings, 1 reply; 34+ messages in thread From: Jude DaShiell @ 2022-07-14 11:57 UTC (permalink / raw To: gentoo-user I'll go on a guess alsa got installed on the system. If that is correct, please try a command as root in terminal if necessary or on console: amixer set Master 100% unmute && alsactl store && aplay /usr/share/sounds/alsa/Front_Center.wav It's possible that doesn't work because /var/lib/alsa/asound.state exists or /var/lock/alsa.lock exists. If those two files do not exist and pulseaudio and/or pipewire hasn't gummed up the works that should work. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2022-07-14 11:57 ` Jude DaShiell @ 2022-07-17 16:18 ` gevisz 2022-07-17 16:22 ` gevisz 0 siblings, 1 reply; 34+ messages in thread From: gevisz @ 2022-07-17 16:18 UTC (permalink / raw To: gentoo-user чт, 14 июл. 2022 г. в 14:57, Jude DaShiell <jdashiel@panix.com>: > > I'll go on a guess alsa got installed on the system. If that is correct, > please try a command as root in terminal if necessary or on console: > > > amixer set Master 100% unmute && alsactl store && aplay > /usr/share/sounds/alsa/Front_Center.wav > It's possible that doesn't work because /var/lib/alsa/asound.state exists > or /var/lock/alsa.lock exists. > If those two files do not exist and pulseaudio and/or pipewire hasn't > gummed up the works that should work. I was sure that it wouldn't work but tried: # amixer set Master 100% unmute && alsactl store && aplay /usr/share/sounds/alsa/Front_Center.wav amixer: Unable to find simple control 'Master',0 ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2022-07-17 16:18 ` gevisz @ 2022-07-17 16:22 ` gevisz 0 siblings, 0 replies; 34+ messages in thread From: gevisz @ 2022-07-17 16:22 UTC (permalink / raw To: gentoo-user вс, 17 июл. 2022 г. в 19:18, gevisz <gevisz@gmail.com>: > > чт, 14 июл. 2022 г. в 14:57, Jude DaShiell <jdashiel@panix.com>: > > > > I'll go on a guess alsa got installed on the system. Yes, it is. > > If that is correct, please try a command as root in terminal > > if necessary or on console: > > > > amixer set Master 100% unmute && alsactl store && aplay > > /usr/share/sounds/alsa/Front_Center.wav I was sure that it wouldn't work but tried: # amixer set Master 100% unmute && alsactl store && aplay /usr/share/sounds/alsa/Front_Center.wav amixer: Unable to find simple control 'Master',0 > > It's possible that doesn't work because /var/lib/alsa/asound.state exists > > or /var/lock/alsa.lock exists. The first file exists and the second one is not. > > If those two files do not exist and pulseaudio and/or pipewire hasn't > > gummed up the works that should work. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2022-07-14 7:53 ` Michael 2022-07-14 11:57 ` Jude DaShiell @ 2022-07-14 13:36 ` Neil Bothwick 2022-07-14 14:30 ` Peter Humphrey 2022-07-17 16:40 ` gevisz 2 siblings, 1 reply; 34+ messages in thread From: Neil Bothwick @ 2022-07-14 13:36 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 560 bytes --] On Thu, 14 Jul 2022 08:53:11 +0100, Michael wrote: > On this laptop the onboard WiFi has to be switched on already at boot > time, or I need to reboot after switching it on. Restarting the wlan0 > service without a reboot fails to connect to the AP. > I have a similar issue with a USB WiFi adaptor, particularly after a suspend. I found that I can wake it u without rebooting with rfkill block wlan; rfkill unblock wlan -- Neil Bothwick God said, "div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t," and there was light. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2022-07-14 13:36 ` Neil Bothwick @ 2022-07-14 14:30 ` Peter Humphrey 0 siblings, 0 replies; 34+ messages in thread From: Peter Humphrey @ 2022-07-14 14:30 UTC (permalink / raw To: gentoo-user On Thursday, 14 July 2022 14:36:42 BST Neil Bothwick wrote: > God said, "div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t," > and there was light. Nice one! -- Regards, Peter. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2022-07-14 7:53 ` Michael 2022-07-14 11:57 ` Jude DaShiell 2022-07-14 13:36 ` Neil Bothwick @ 2022-07-17 16:40 ` gevisz 2 siblings, 0 replies; 34+ messages in thread From: gevisz @ 2022-07-17 16:40 UTC (permalink / raw To: gentoo-user чт, 14 июл. 2022 г. в 10:53, Michael <confabulate@kintzios.com>: > > On Thursday, 14 July 2022 07:19:14 BST gevisz wrote: > > пт, 11 мар. 2022 г. в 20:15, gevisz <gevisz@gmail.com>: > > > пн, 19 окт. 2020 г. в 00:15, gevisz <gevisz@gmail.com>: > > > > вс, 18 окт. 2020 г. в 21:15, Dale <rdalek1967@gmail.com>: > > > > > gevisz wrote: > > > > > > вс, 18 окт. 2020 г. в 17:20, Dale <rdalek1967@gmail.com>: > > > > > >> gevisz wrote: > > > > > >>> No sound at least in Firefox. Tried it on youtube. Skype is > > > > > >>> currently > > > > > >>> uninstalled. So, I cannot check using it. > > > > > >> > > > > > >> Just a thought. Are you sure that everything is unmuted? Years > > > > > >> ago, > > > > > >> all the sound control software, Kmix, alsa and others, default to > > > > > >> mute. > > > > > >> If just one of them is muted, no sound. I seem to recall when I > > > > > >> did my > > > > > >> install on this rig that I had to unmute the sound in three places, > > > > > >> Kmix, alsa and one other that I can't recall the name of. I think > > > > > >> I had > > > > > >> to turn up the volume on alsa as it was set to a really low level > > > > > >> once > > > > > >> it was unmuted. Usually, I turn all of them to the max except the > > > > > >> one I > > > > > >> mainly use. In my case, Kmix is the one I use to really control > > > > > >> things > > > > > >> since it sits on the panel thingy. The others are set at the max. > > > > > >> > > > > > >> It's a silly thing but thought it worth a mention just in case > > > > > >> there is > > > > > >> a muted setting somewhere. > > > > > > > > > > > > Thank you for your input. Yes, it seems that something is muted but > > > > > > what? > > > > > > I have no KDE and no kmix installed. No pulseaudio. > > > > > > > > > > Type in alsamixer in a console or whatever you use and hit tab twice. > > > > > I > > > > > suspect you have that installed. You should have a text version, like > > > > > a > > > > > console uses, and a gui version, that should work in any DM. Pick > > > > > your > > > > > poison and see if anything there is muted or the volume is set really > > > > > low, like 1 out of 100 or something. I think hitting the "m" key > > > > > toggles the mute. > > > > > > > > I am sorry to confess that I forgot that I should use M to unmute > > > > a channel in alsamixer (as I did about 14 years ago) and thought > > > > that arrows up and down do all the work. :( > > > > > > > > So, now the problem has been solved. > > > > > > Last time I have ended the discussion on my > > > "no sound" problem acknowledging that I was > > > so stupid that "forgot that I should use M to > > > unmute a channel in alsamixer." > > > > > > However, it turned out that it was not the case: > > > currently I have all channels in alsamixer unmuted > > > and have sound only in about 1 from 10 bootings of > > > my Gentoo system, while I do always have sound > > > on the same computer while I boot it with Ubuntu 20.04. > > > > > > I have also compared the output of lsmod command > > > on both systems and found out that my Gentoo system > > > had all sound kernel modules that my Ubuntu system has > > > and even more. (In Gentoo, I still have quite an old 5.4.97 > > > kernel, but I do not think that it is the cause of my > > > "no sound" problem.) > > > > > > Of course, it is completely my responsibility that > > > I have built my Gentoo system in such a way that > > > I never know if I will have sound after its next boot. > > > However I am lost guessing what I did wrong. > > > (Comparing with Ubuntu 20.04, my Gentoo system > > > has no systemd and no pulseaudio, no consolekit, > > > and no policykit.) > > > > > > I leave this just for history, as I am currently > > > in a war zone and so investigating this problem > > > further is not in my priority list. :( > > > > I have accidentally found that the problem with > > absence of sound on my Gentoo box appears > > only when my USB Logitech webcam is connected > > to the computer during the boot time. > > > > Moreover, if it happens and the sound is absent, > > the alsamixer shows that my USB Logitech webcam > > is considered by the system as a default sound device. > > > > So, it tries to send sound there even though it does > > not have any speaker. > > I'll blame some relatively recent change in the kernel > or some interaction with udev. Yes, it is quite probable that udev, evdev or the like is responsible for the problem. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-17 13:35 [gentoo-user] No sound. Please, help! gevisz 2020-10-17 11:57 ` David Haller @ 2020-10-17 12:07 ` Walter Dnes 2020-10-17 19:53 ` gevisz 1 sibling, 1 reply; 34+ messages in thread From: Walter Dnes @ 2020-10-17 12:07 UTC (permalink / raw To: gentoo-user Here's a strategy I occasionally use... 1) Download a Gentoo "minimal install" and set up a USB key to boot from it. 2) Boot the PC from the install USB key. 3) Execute the command... lsmod | less 4) Manually scan the output for anything related to sound and write it down. That should give you an idea of what modules the install decided on after doing hardware probing. This'll work for almost any device. I recently installed Gentoo on a older machine with an ethernet chip that identified as a string of numbers which didn't help me. But checking "lsmod | less" showed the "e1000e" module in use. I compiled in the driver that gives that module and it works. To get a screen capture that you can post here... 1) Boot from the install USB key. 2) mount /dev/sdxy /mnt/gentoo Where "x" is a, or b, or c, etc. "y" is 1, or 2, or 3, etc as appropriate for your machine. 3) lsmod > /mnt/gentoo/mymodules.txt Reboot, from the hard drive, find "mymodules.txt" and check it. If you need further help, post it on this list. ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-17 12:07 ` Walter Dnes @ 2020-10-17 19:53 ` gevisz 2020-10-17 23:27 ` Walter Dnes 0 siblings, 1 reply; 34+ messages in thread From: gevisz @ 2020-10-17 19:53 UTC (permalink / raw To: gentoo-user сб, 17 окт. 2020 г. в 15:08, Walter Dnes <waltdnes@waltdnes.org>: > > Here's a strategy I occasionally use... > > 1) Download a Gentoo "minimal install" and set up a USB key to boot from it. > > 2) Boot the PC from the install USB key. > > 3) Execute the command... > > lsmod | less > > 4) Manually scan the output for anything related to sound and write it down. Thank you for your reply. I have actually used this approach in one of my first attempts. Below is the output of lsmod on the install usb with all modules that I think is irrelevant to sound removed. Module Size Used by ----------------------------------------------- snd_hda_codec_realtek 77824 1 snd_hda_codec_generic 61440 1 snd_hda_codec_realtek snd_hda_codec_hdmi 49152 1 snd_hda_intel 32768 0 snd_hda_codec 90112 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek snd_hda_core 57344 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_pcm 81920 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core snd_timer 28672 1 snd_pcm snd 69632 7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm soundcore 16384 1 snd ----------------------------------------------- All these modules appear in the lsmod | less in my current Gentoo install (gentoo-kernel-5.4.64 without changes). Below I even made a table to be sure. -------------------------------------------------------------- lsmod on install usb | lsmod on 5.4.64 SND_HDA_CODEC_REALTEK | + SND_HDA_CODEC_GENERIC | + SND_HDA_CODEC_HDMI | + SND_HDA_INTEL | + SND_HDA_CODEC | + SND_HDA_CORE | + SND_PCM | + SND_TIMER | + SND | + SOUNDCORE | + ------------------------------------------------------------- ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-17 19:53 ` gevisz @ 2020-10-17 23:27 ` Walter Dnes 2020-10-18 12:49 ` gevisz 0 siblings, 1 reply; 34+ messages in thread From: Walter Dnes @ 2020-10-17 23:27 UTC (permalink / raw To: gentoo-user On Sat, Oct 17, 2020 at 10:53:43PM +0300, gevisz wrote > Thank you for your reply. I have actually used this approach in one of > my first attempts. > Below is the output of lsmod on the install usb with all modules that > I think is irrelevant to sound removed. There is no mention of SND_PCI. When doing "make menuconfig", you ***MUST*** first enable... Device Drivers > Sound card support > Advanced Linux Sound Architecture > PCI sound devices Don't select any of the drivers under that option; just enable the barebones option. If you don't enable it, then nothing shows up under "HD Audio" where all the codecs you mention are listed. If you're doing it manually, set... CONFIG_SND_PCI=y Either way, rebuild the kernel and try again. Hopefully, that solves the problem. -- Walter Dnes <waltdnes@waltdnes.org> I don't run "desktop environments"; I run useful applications ^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [gentoo-user] No sound. Please, help! 2020-10-17 23:27 ` Walter Dnes @ 2020-10-18 12:49 ` gevisz 0 siblings, 0 replies; 34+ messages in thread From: gevisz @ 2020-10-18 12:49 UTC (permalink / raw To: gentoo-user вс, 18 окт. 2020 г. в 02:28, Walter Dnes <waltdnes@waltdnes.org>: > > On Sat, Oct 17, 2020 at 10:53:43PM +0300, gevisz wrote > > > Thank you for your reply. I have actually used this approach in one of > > my first attempts. > > Below is the output of lsmod on the install usb with all modules that > > I think is irrelevant to sound removed. > > There is no mention of SND_PCI. When doing "make menuconfig", you > ***MUST*** first enable... > > Device Drivers > Sound card support > Advanced Linux Sound Architecture > PCI sound devices > > Don't select any of the drivers under that option; just enable the > barebones option. If you don't enable it, then nothing shows up under > "HD Audio" where all the codecs you mention are listed. If you're doing > it manually, set... > > CONFIG_SND_PCI=y > > Either way, rebuild the kernel and try again. Hopefully, that solves > the problem. > > Walter Dnes <waltdnes@waltdnes.org> Thank you for your advice. The SND_PCI option is switched on in my current generic kernel (gentoo-kernel-5.4.64) as well in the last tried configuration of gentoo-sources-4.19.86. Moreover, almost every possible option inside the section to which it points is compiled as a module. I do not know why snd_pci does not show itself after entering the lsmod command. Probably, because it is not a module but a section of the kernel config. ^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2022-07-17 16:40 UTC | newest] Thread overview: 34+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-10-17 13:35 [gentoo-user] No sound. Please, help! gevisz 2020-10-17 11:57 ` David Haller 2020-10-17 18:39 ` gevisz 2020-10-18 4:35 ` David Haller 2020-10-18 16:03 ` gevisz 2020-10-18 14:18 ` David Haller 2020-10-18 16:21 ` gevisz 2020-10-18 18:20 ` Dale 2020-10-18 19:20 ` David Haller 2020-10-18 23:20 ` Dale 2020-10-18 16:14 ` gevisz 2020-10-18 14:20 ` Dale 2020-10-18 16:26 ` gevisz 2020-10-18 18:15 ` Dale 2020-10-18 21:15 ` gevisz 2020-10-18 21:17 ` gevisz 2020-10-18 23:17 ` Dale 2020-10-19 8:49 ` gevisz 2020-10-19 15:12 ` Dale 2020-10-20 18:28 ` gevisz 2020-10-20 17:09 ` Dale 2022-03-11 18:15 ` gevisz 2022-07-14 6:19 ` gevisz 2022-07-14 7:53 ` Michael 2022-07-14 11:57 ` Jude DaShiell 2022-07-17 16:18 ` gevisz 2022-07-17 16:22 ` gevisz 2022-07-14 13:36 ` Neil Bothwick 2022-07-14 14:30 ` Peter Humphrey 2022-07-17 16:40 ` gevisz 2020-10-17 12:07 ` Walter Dnes 2020-10-17 19:53 ` gevisz 2020-10-17 23:27 ` Walter Dnes 2020-10-18 12:49 ` gevisz
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox