Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ALSA not working with Intel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Ari_archer
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2021
Posts: 128
Location: Lithuania

PostPosted: Mon Aug 30, 2021 12:31 pm    Post subject: [SOLVED] ALSA not working with Intel Reply with quote

ORIGINAL TITLE: ALSA not working with Intel Corporation Sunrise Point-LP HD


Hello,
I have been trying to set sound up for the past 2 days, but when I get it working, after a reboot, it fails again,
now I can't even make that work. Why is that? I have been searching for answers, but they don't work, thanks to anyone answering.


INFO:
- lspci: https://pastebin.com/UWwMc0C9
- dmesg: https://pastebin.com/0ec41H60
- kernel config: https://pastebin.com/hgd239gG
- services: https://pastebin.com/T8M2eF1d
- alsa info: http://alsa-project.org/db/?f=651974f33106a694a6fcce743331aa83684fa96b
- rc.conf: https://pastebin.com/DabgDkMv
- lsmod: https://pastebin.com/cxFf9uBh

- uname output:
Code:

$ uname -a
Linux ari-gentoo 5.13.13-gentoo #43 SMP Mon Aug 30 14:47:11 EEST 2021 x86_64 Intel(R) Core(TM) i3-8130U CPU @ 2.20GHz
GenuineIntel GNU/Linux


- More info about my hardware:
Code:

OS: Gentoo Base System release 2.7 x86_64
Host: HP 250 G7 Notebook PC
Shell: bash 5.1.8
CPU: Intel i3-8130U (4) @ 3.400GHz
GPU: Intel UHD Graphics 620
Memory: 1156MiB / 3845MiB


- alsa info (output):
Code:

$ alsa-info.sh
ALSA Information Script v 0.5.0
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  aplay
  amixer
  alsactl
  rpm, dpkg
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See '/usr/sbin/alsa-info.sh --help' for command line options.

/usr/sbin/alsa-info.sh: line 466: /proc/asound/modules: No such file or directory
cat: /tmp/alsa-info.wRkP7Xmqha/alsamodules.tmp: No such file or directory
cat: /proc/asound/modules: No such file or directory
/usr/sbin/alsa-info.sh: line 661: tree: command not found
alsactl: save_state:1595: No soundcards found...
cat: /tmp/alsa-info.wRkP7Xmqha/alsactl.tmp: No such file or directory
dmesg: read kernel buffer failed: Operation not permitted
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://alsa-project.org/db/?f=651974f33106a694a6fcce743331aa83684fa96b
Please inform the person helping you.


- aplay output:
Code:

$ aplay -l
aplay: device_list:274: no soundcards found...

_________________
regards,
ari


Last edited by Ari_archer on Sat Sep 11, 2021 3:38 pm; edited 2 times in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Mon Aug 30, 2021 12:41 pm    Post subject: Reply with quote

Ari_archer,

Code:
# CONFIG_PINCTRL is not set
is a problem.
Thats a menu, Inside you will find.
Code:
 < >   Intel Sunrisepoint pinctrl and GPIO driver (NEW)

Almost nothing works on Sunrisepoint without that.

Fix your kernel, reboot and check the date/time in
Code:
uname -a
Thats the build date/time of the running kernel.
Make sure its what you expect it to be.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Ari_archer
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2021
Posts: 128
Location: Lithuania

PostPosted: Mon Aug 30, 2021 12:47 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Ari_archer,

Code:
# CONFIG_PINCTRL is not set
is a problem.
Thats a menu, Inside you will find.
Code:
 < >   Intel Sunrisepoint pinctrl and GPIO driver (NEW)

Almost nothing works on Sunrisepoint without that.

Fix your kernel, reboot and check the date/time in
Code:
uname -a
Thats the build date/time of the running kernel.
Make sure its what you expect it to be.



Hello, thanks for replying.

I have tried that before, but all it did is cause my kernel to panic and that's all, I have tried it multiple times,
I tried:
- building it in
- loading it as a module
- enabing all as modules
- building all of them in
- enabling them one by one
- some combinations of those

I will try it again though :)
_________________
regards,
ari
Back to top
View user's profile Send private message
Ari_archer
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2021
Posts: 128
Location: Lithuania

PostPosted: Mon Aug 30, 2021 1:29 pm    Post subject: Reply with quote

Ari_archer wrote:
NeddySeagoon wrote:
Ari_archer,

Code:
# CONFIG_PINCTRL is not set
is a problem.
Thats a menu, Inside you will find.
Code:
 < >   Intel Sunrisepoint pinctrl and GPIO driver (NEW)

Almost nothing works on Sunrisepoint without that.

Fix your kernel, reboot and check the date/time in
Code:
uname -a
Thats the build date/time of the running kernel.
Make sure its what you expect it to be.



Hello, thanks for replying.

I have tried that before, but all it did is cause my kernel to panic and that's all, I have tried it multiple times,
I tried:
- building it in
- loading it as a module
- enabing all as modules
- building all of them in
- enabling them one by one
- some combinations of those

I will try it again though :)


I have enabled:
- [*] Intel Baytrail GPIO pin control
- <*> Intel Sunrisepoint pinctrl and GPIO driver
- [*] Pin controllers --->



It didn't work, though my kernel didn't panic,
Sorry that I took a while to respond, I tried few more things.


current linux config: https://pastebin.com/PTT3e70m
current services: https://pastebin.com/9hN1hPBY


Update: I did this and it worked...?:
Code:

 --- Pin controllers                                                                      │ │
  │ │                  [ ]   Debug PINCTRL calls                                                                │ │
  │ │                  < >   AMD GPIO pin control                                                               │ │
  │ │                  < >   Microchip MCP23xxx I/O expander                                                    │ │
  │ │                  [ ]   Semtech SX150x I2C GPIO expander pinctrl driver                                    │ │
  │ │                  [ ]   Intel Baytrail GPIO pin control                                                    │ │
  │ │                  <M>   Intel Cherryview/Braswell pinctrl and GPIO driver                                  │ │
  │ │                  <M>   Intel Lynxpoint pinctrl and GPIO driver                                            │ │
  │ │                  <M>   Intel Alder Lake pinctrl and GPIO driver                                           │ │
  │ │                  <M>   Intel Broxton pinctrl and GPIO driver                                              │ │
  │ │                  <M>   Intel Cannon Lake PCH pinctrl and GPIO driver                                      │ │
  │ │                  <M>   Intel Cedar Fork pinctrl and GPIO driver                                           │ │
  │ │                  <M>   Intel Denverton pinctrl and GPIO driver                                            │ │
  │ │                  <M>   Intel Elkhart Lake SoC pinctrl and GPIO driver                                     │ │
  │ │                  <M>   Intel Emmitsburg pinctrl and GPIO driver                                           │ │
  │ │                  <M>   Intel Gemini Lake SoC pinctrl and GPIO driver                                      │ │
  │ │                  <M>   Intel Ice Lake PCH pinctrl and GPIO driver                                         │ │
  │ │                  <M>   Intel Jasper Lake PCH pinctrl and GPIO driver                                      │ │
  │ │                  <M>   Intel Lakefield SoC pinctrl and GPIO driver                                        │ │
  │ │                  <M>   Intel Lewisburg pinctrl and GPIO driver                                            │ │
  │ │                  <M>   Intel Sunrisepoint pinctrl and GPIO driver                                         │ │
  │ │                  <M>   Intel Tiger Lake pinctrl and GPIO driver                                           │ │
  │ │                        Renesas pinctrl drivers  ----

_________________
regards,
ari
Back to top
View user's profile Send private message
Ari_archer
Tux's lil' helper
Tux's lil' helper


Joined: 30 Aug 2021
Posts: 128
Location: Lithuania

PostPosted: Mon Aug 30, 2021 2:07 pm    Post subject: I have no idea how - but I have fixed it Reply with quote

all in the title. I have no idea, but everything is fixed!


if anyone comes across this, here is my...
- kernel config (/usr/src/linux/.config): https://github.com/TruncatedDinosour/dotfiles-cleaned/blob/gentoo/dotfiles/linux/.config
- openRC config (/etc/rc.conf): https://github.com/TruncatedDinosour/dotfiles-cleaned/blob/gentoo/dotfiles/core/rc.conf
- services (rc-update):
Code:

            alsasound | boot                                   
               binfmt | boot                                   
             bootmisc | boot                                   
              cgroups |                                 sysinit
                devfs |                                 sysinit
               dhcpcd |      default                           
              dmcrypt | boot                                   
                dmesg |                                 sysinit
              elogind |      default                           
                 fsck | boot                                   
                  gpm |      default                           
             hostname | boot                                   
              hwclock | boot                                   
              keymaps | boot                                   
            killprocs |                        shutdown       
    kmod-static-nodes |                                 sysinit
                local |      default nonetwork                 
           localmount | boot                                   
             loopback | boot                                   
                  lvm | boot                                   
              modules | boot                                   
             mount-ro |                        shutdown       
                 mtab | boot                                   
             netmount |      default                           
               procfs | boot                                   
                 root | boot                                   
         save-keymaps | boot                                   
    save-termencoding | boot                                   
            savecache |                        shutdown       
        stmpfiles-dev |                                 sysinit
      stmpfiles-setup | boot                                   
                 swap | boot                                   
               sysctl | boot                                   
                sysfs |                                 sysinit
         termencoding | boot                                   
                 udev |      default                    sysinit
         udev-trigger |                                 sysinit
              urandom | boot                                   
       wpa_supplicant |      default                           

_________________
regards,
ari
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum