Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: ferran on March 18, 2020, 09:56:30 PM
-
Hello everybody !
I have one laptop ASUS Intel Genuine very old and I installed succesfully Tiny CorePlus 11.0 with Default option. The kernel version is 5.4.3-tinycore
All works well but don't the ALSA sound installation.
My sound card is an Intel HDA. I think it works perfectly after having done a sound test with
alsactl init
speaker-test [-Ddefault: 1] -e2 -t wav -l1
One message is heard from both speakers.
After -like sudo su- I did:
alsactl store
alsactl restore >> /opt/bootlocal.sh
usr/local/etc/alsa/asound.state >> /opt/.filetool.lst
After I downloaded the alsa-driver-1.0.9 package and I did
tar jxvf alsa-driver-1.0.9.tar.bz2
mv alsa-driver-1.0.9 /usr/local/etc/alsa/
Also I verified if exists the directories /dev/snd/ and /etc/modprobe.conf (for modify after of installation)
With all this so I decided to do the installation with
./configure --with-cards=HDA-Intel --with-card-options=all
but it can't configure. The problem is:
"The file /usr/src/linux/include/linux/version.h does not exist. Please install package with full kernel sources for your distribution or try to add --with-kernel= "
Really i have one version.h in this path: /usr/include/linux/version.h so i tried to do
./configure --with-cards=HDA-Intel --with-card-options=all --with kernel=/usr/include/linux/version.h
but the result was the same. I don't know what can i do more :(
-
Hi ferran
You probably need to install linux-kernel-sources-env.tcz. Be sure to read the .info file:
http://tinycorelinux.net/11.x/x86/tcz/linux-kernel-sources-env.tcz.info
-
Hi ferran
Are you sure the alsa-modules extension doesn't have what you need?
-
Hi Rich, i'm glad to know you and thank you for ask.
Well. So my list of full available remote extensions from TC Apps (about Alsa) are:
alsa-config.tcz
alsa-dev.tcz
alsaequal.tcz
alsa-modules-5.4.3-tinycore.tcz
alsa-modules-tinycore.tcz
alsa-oss-dev.tcz
alsa-oss.tcz
alsa-plugins-dev.tcz
alsa-plugins.tcz
alsa.tcz
So, by the moment I have downloaded from Apps 2 remote extensions of Alsa:
alsa-config.tcz
alsa.tcz
I have no idea which are the most suitable or necessary to get, and I cannot find information about it. If you think I should download the kernel I will, but I'm still not sure if I should download some other alsa application first.
Also, I've been readen the .info file from linux-kernel-sources-env.tcz. My question about it is:
1) Once I've downloaded with TC Apps the linux-kernel-source-env.tcz (I understand this is a 'preparation' for compile modules) after i will need to download specifically the linux-kernel.tcz (or anything similar) or itself will have all enough i need?
2) I need to download the linux-kernel-source-env or it will be better download another apps of Alsa first?
Thanks in advance for your help.
-
If I understand correctly, the speaker-test worked and therefore your alsa sound is working.
You only need:
alsa-config (not always needed, but, if required, must be loaded before alsa)
alsa (loading this will load alsa-modules-5.4.3-tinycore automatically)
-
Hello juanito
I said I already loaded both: alsa-config.tcz and alsa.tcz but I can`t to complete the installation with ./configure from the directory /usr/local/etc/alsa/alsa-driver-1.0.9
-
Hi ferran
These are the basic steps to getting sound from ASLA:
http://forum.tinycorelinux.net/index.php/topic,22145.msg138620.html#msg138620
You seem to have followed those steps and are getting sound from your speakers.
Alsa drivers are now part of the kernel. Why do you think you need alsa-driver-1.0.9 which is an old package from 2005?
-
Rich ok, ok... now I understood you. I just forgot the alsa-drive and its configuration.
But I'm still have not the alsamixergui.tcz like i said in my first post. I only can to select from App -> Cloud(Remote) ->Browser the next one:
alsa-config.tcz
alsa-dev.tcz
alsaequal.tcz
alsa-modules-5.4.3-tinycore.tcz
alsa-modules-tinycore.tcz
alsa-oss-dev.tcz
alsa-oss.tcz
alsa-plugins-dev.tcz
alsa-plugins.tcz
alsa.tcz
No alsamixergui.tcz with TCL 11.0 CorePlus (not the mine...)
Where i could to get it ?
-
There’s a cli tool called alsamixer included with alsa - I’ll check the status of the gui version tomorrow
-
Rich & Juanito
I have new info...
1) Don't appears Alsa into ControlPanel -> Services
2) I run alsamixer and works in Terminal but I can't do nothing with it (any F keys works)
3) I did
tce-load -i alsa-config alsa and asks:
"alsa-config is already installed !"
4) i did then
sudo /usr/local/etc/init.d/alsasound start and asks:
"sudo: /usr/local/etc/init.d/alsasound command not found
We're in this point.
-
If you reboot your computer, load alsa-config and then alsa and speaker-test works, you don't need to do anything else - alsa is configured and ready to use.
-
Hi ferran
... sudo /usr/local/etc/init.d/alsasound start and asks:
"sudo: /rus/local/etc/init.d/alsasound command not found ...
You're right, /usr/local/etc/init.d/alsasound is missing from alsa-config.tcz according to the .list file.
http://tinycorelinux.net/11.x/x86/tcz/alsa-config.tcz.list
Maybe it's no longer required?
-
It was left out because I couldn't think of any circumstances where it might be needed.
I could be wrong..
-
Hi Juanito
It was left out because I couldn't think of any circumstances where it might be needed. ...
I'm inclined to agree. The write up I linked to in reply #5 did not need it.
-
It was left out because I couldn't think of any circumstances where it might be needed.
I could be wrong..
Good, ok... but the final effect is that any youtube video sounds yet using Firefox SRC (my browser). It would be the problem on this version of Firefox ?
And now what can I do with this unable alsamixer?. Is it necessary for someone?
-
Hi ferran
Firefox requires pulseaudio.tcz. Be sure to carefully read the .info file:
http://tinycorelinux.net/11.x/x86/tcz/pulseaudio.tcz.info
-
Rich & Juanito
Finally I enjoy with a good quality sound in TC.
One comment for all people that could have the same problem:
Alsa runs perfectly since the first post of this theme I did above (see all the steps i did), but still it was necessary to download alsamiguergui.tcz to enable and module the internat parameters of my sound card (Nvidia Intel Realtek). After I downloaded the last version of Firefox Firefox 74.0, i ran pulseaudio and finally the wonderful equalizer pavucontrol and now i can to watch & hear youtube videos successfully.
Thank you very much to both for all your help.
-
Hi ferran
Finally I enjoy with a good quality sound in TC. ...
Then I will mark this as solved.
-
tinycorelinux firefox sadly depends on pulseaudio, so you'd have to configure+compile your own. (at least that's how i solved it).
had an old version of this thread in my cache, so i didn't notice it got solved already :)