• Re: [gentoo-user] No sound. Please, help!

    From gevisz@21:1/5 to All on Fri Mar 11 19:20:01 2022
    пн, 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. :(

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gevisz@21:1/5 to All on Thu Jul 14 08:20:01 2022
    пт, 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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Thu Jul 14 08:53:11 2022
    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.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmLPy2cACgkQseqq9sKV ZxmfqRAAnn96O+0pa/QCYchZSGbb19uDZTsivCY6KEmLWitmZFud+YWGL1UZEfU1 Vu1BnteBEeyhXxY6bpJG9Fd9qouFWV+MdNkSgLtPlY71VAPBPEWr6Y6Rv/raSENo /rUnf/Y98udt6XWnZsXXB5r02AYNoxqKhEtBOOCa0TODwc/thDhaeef/oR8rVubf anvycs9mP/meGqHI6DjBNL1if/LK51zBFTyXyLqJsGP7ySwVlzaV1wXu3QvfH1EQ VI93KoI777DsszpTZc04NNJXNWaoKb8TOr3nLJgTEXWq6Dj9E0Ckafu4nXmvrbXY hQ8CIxM3Y6Wtf9eGukqfaeHePGSSx4vfqCYJat2WRJgrQBsxUkaFXWZ4xlnFq4Yz hMn/rIrB5QvjH1fINSiPtL7/2/EB3xRQoUycvJ9+aHxbgfJfnQDWNFg2VMFTxsqK cxFzIK3/7idBDHvWJ2M3b7wngdbFd0eWsjUBFiiUM0LG/j6lYdxLi7OPaMVc6zki 58dW+Z7MCxmuakMQtL5vNNPpGAmJ3GhIWTvpMSqvKQXBdWKIJusDkvGNBb7w/u5z AIVCd6U49QIlmr3U1EnXILAbJVILVZ3QamUY7eTNo8+exHqAKzvvKr9txV/Y1YWW ffkz2AfZkG5GfMqBRZUxZwT1cvwY9yIKPqE7dYrQdWCWFuGePoE=
    =GK4T
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jude DaShiell@21:1/5 to All on Thu Jul 14 14:00:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Michael on Thu Jul 14 15:40:01 2022
    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.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmLQG+oACgkQ92eFu0QS MJjcIw/9F0907GjakIe17mEGUgXtQlyrhEyNgcch1jIVKDnxkwYsUVJJYta/YxaL SSny/oLtGgBXr4S203CTK5rRWpyvBdZ1bDgYGa5SdJ7Gf4Lxf2Z5zFrAYYJ8Ipd0 qyW0C3x4nMg8CdacIxlmqCdBZcUzQV0Hf9MazttoGt9tMpOy1GGEgZe2dTNfZB3J faYB/eIh2sErA9vAqJ1uNLFPQTIa2QAxueLLmiCGxHAr/85ZKBmgQKeyAAhgqWL8 lE8uxFIyhq+jw2PHqTzMeeRmLwvg9Sr0i/lc3tKHZ5/XzwO22antA9mGYhGxgIdY 0CpG0UAROD9tlQGUmTS+2SYX01Noe0FEFLF7F4VpcCI663eO65n+40H7EKmj3wh/ HrfdPAMuySIihwLS0Dl80JXPUdhv0mFmqVZe3s+VtNKuC088Z//XmZc9gOcjfAM4 7D3xRvlIEYJaXeyOcnBnA5UiWeSfSuti+wUhjwpdleeelgfAv2slt3k5LVWPuXlv ncLsHtbBwGdPeKj6prGd4/PP5/KYHcEr1bHRTLQ8UkVlhgNACPFMji5lf+3fj8f1 e1E6NCNCh+Km41OBNFzJSSOG+pHZ7Es1cRBjTEZ7J2EXnEXOUrjj2LiNLP/5/dYb fBngXbC4ckibJkGUdpqFeIC4a2BHgyqzTaUD093eak/nmT0uf8Q=
    =R8yO
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet G
  • From Peter Humphrey@21:1/5 to All on Thu Jul 14 16:40:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gevisz@21:1/5 to All on Sun Jul 17 18:50:01 2022
    чт, 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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gevisz@21:1/5 to All on Sun Jul 17 18:30:01 2022
    вс, 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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gevisz@21:1/5 to All on Sun Jul 17 18:20:01 2022
    чт, 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)