WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] I can't configure ALSA  (Read 5525 times)

Offline ferran

  • Full Member
  • ***
  • Posts: 159
[SOLVED] I can't configure ALSA
« 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
Quote
alsactl init
speaker-test [-Ddefault: 1] -e2 -t wav -l1

One message is heard from both speakers.

After -like sudo su- I did:

Quote
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

Quote
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
Quote
./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

Quote
./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 :(
« Last Edit: March 20, 2020, 09:33:48 AM by Rich »
TC CorePlus v.11.1 i686 & lots of coffe

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11637
Re: I can't configure ALSA
« Reply #1 on: March 18, 2020, 10:17:40 PM »
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

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11637
Re: I can't configure ALSA
« Reply #2 on: March 18, 2020, 11:12:34 PM »
Hi ferran
Are you sure the  alsa-modules  extension doesn't have what you need?

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I can't configure ALSA
« Reply #3 on: March 19, 2020, 05:37:54 AM »
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.
« Last Edit: March 19, 2020, 05:43:01 AM by ferran »
TC CorePlus v.11.1 i686 & lots of coffe

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: I can't configure ALSA
« Reply #4 on: March 19, 2020, 06:33:51 AM »
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)

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I can't configure ALSA
« Reply #5 on: March 19, 2020, 08:34:15 AM »
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

TC CorePlus v.11.1 i686 & lots of coffe

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11637
Re: I can't configure ALSA
« Reply #6 on: March 19, 2020, 08:53:20 AM »
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?

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I can't configure ALSA
« Reply #7 on: March 19, 2020, 10:14:22 AM »
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 ?

TC CorePlus v.11.1 i686 & lots of coffe

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: I can't configure ALSA
« Reply #8 on: March 19, 2020, 10:19:54 AM »
There’s a cli tool called alsamixer included with alsa - I’ll check the status of the gui version tomorrow

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I can't configure ALSA
« Reply #9 on: March 19, 2020, 10:47:25 AM »
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.
TC CorePlus v.11.1 i686 & lots of coffe

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: I can't configure ALSA
« Reply #10 on: March 19, 2020, 11:16:21 AM »
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.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11637
Re: I can't configure ALSA
« Reply #11 on: March 19, 2020, 11:19:55 AM »
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?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: I can't configure ALSA
« Reply #12 on: March 19, 2020, 11:40:59 AM »
It was left out because I couldn't think of any circumstances where it might be needed.

I could be wrong..

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11637
Re: I can't configure ALSA
« Reply #13 on: March 19, 2020, 11:45:10 AM »
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.

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I can't configure ALSA
« Reply #14 on: March 19, 2020, 12:19:16 PM »
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?
« Last Edit: March 19, 2020, 12:22:42 PM by ferran »
TC CorePlus v.11.1 i686 & lots of coffe