View previous topic :: View next topic |
Author |
Message |
segmentation-fault Tux's lil' helper
Joined: 11 Oct 2016 Posts: 99
|
Posted: Mon Feb 25, 2019 1:08 pm Post subject: Where is ALSA documentation? |
|
|
I have made a fair attempt to find various files of the ALSA documentation mentioned in guides, wikis etc. on my system, to no avail:
Code: |
cd /usr/src/linux
find ./ -name HD-Audio.txt
(no output)
find /usr/share/doc/alsa* -name HD-Audio.txt
(no output)
for p in media-libs/alsa-lib media-libs/alsa-oss media-libs/libclalsadrv media-plugins/alsa-plugins media-sound/alsa-tools media-sound/alsa-utils media-sound/alsamixergui; do equery files $p | grep HD-Audio; done
(no output)
|
I also searched here for 'alsa documentation', but found no answers other than 'it seems that kernel documentation is being reworked' - from 2017. So the question seems justified:
Where is the ALSA documentation? I mean files like
- ALSA-Configuration.txt
- alsa-parameters.txt
- HD-Audio-Models.txt
- HD-Audio.txt
You can find them online in places like
https://www.mjmwired.net/kernel/Documentation/sound/alsa/
but what do I have to do to install them on my system? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Mon Feb 25, 2019 2:07 pm Post subject: |
|
|
segmentation-fault,
Poke about in /usr/src/linux/Documentation/sound/
What is it you want to install?
To install and configure ALSA follow the wiki.
Post back with any problems. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
segmentation-fault Tux's lil' helper
Joined: 11 Oct 2016 Posts: 99
|
Posted: Mon Feb 25, 2019 7:32 pm Post subject: |
|
|
NeddySeagoon wrote: |
What is it you want to install?
|
Well, for me all is well now, but I guess I had to go a few extra rounds, see my How to configure ALSA on ASUS ROG G752 adventures. The problem with the wiki is this: you are told to find your codec and then decide which driver is right for you, on the basis of an obscure 'ALSA Matrix'. My card(s) are:
Code: |
lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
01:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
|
This does not help me to find the card/codec/whatever in a 'Matrix' like this:
https://www.alsa-project.org/wiki/Matrix:Vendor-Intel
Where is 'Sunrise Point-H' in that list?
Anyway, at some point ones realizes that his 'codec' is "Realtek ALC668":
Code: |
cat /proc/asound/card0/codec#0 | head -n 5
Codec: Realtek ALC668
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0668
Subsystem Id: 0x10431ced
|
and the right driver is snd_hda_intel - so far so good. The problems begin when one realizes that the jacks (headphones/speakers/whatever) are not quite exactly represented in alsamixer - and that this might be corrected with the right options to snd_hda_intel. So the question then becomes: what are the right parameters for snd_hda_intel and codec ALC668?
At this point, the Gentoo ALSA Wiki does not help, so one searches the Internet - and all pages one finds refer to ALSA documents like the ones I mentioned:
- ALSA-Configuration.txt
- alsa-parameters.txt
- HD-Audio-Models.txt
- HD-Audio.txt
This is probably because questions of today get the top answers of the past - which use the documentation of the past at their time. So, instead of, say, HD-Audio.txt, one should look into
/usr/src/linux/Documentation/sound/hd-audio/models.rst
but I would NEVER find this, if I would not look for 'ALC66' exactly:
Code: | find /usr/src/linux/Documentation/ -type f -print0 | xargs -0 grep -i -l 'ALC66' |
Thanks for the pointer - I can now play with the up-to-date parameters of models.rst. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Mon Feb 25, 2019 11:05 pm Post subject: |
|
|
segmentation-fault,
Somebody has to be first with new hardware - congratulations, this time it was you :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
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
|
|