WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] No Audio Lenovo 110S using Coreplus  (Read 8496 times)

Offline bushyiii

  • Newbie
  • *
  • Posts: 33
[Solved] No Audio Lenovo 110S using Coreplus
« on: August 12, 2018, 05:12:29 PM »
I installed alsa and alsaguimixer to load on boot.  The mixer icon is displayed.  When it is clicked I get the following message:alsamixer: function snd_ctl_open failed for default: No such file or directory.

lspci  output: Intel Corp atom/celeron/pentium processor x5-e8000/J3xxx/N3 series high definition audio controller (rev 35)

dmesg doesn't show anything about audio.

I'm guessing the kernal isn't loading the audio driver.  Any suggestions on how to proceed?

    [EDIT]: Marked as solved.  Rich
« Last Edit: August 16, 2018, 01:07:28 PM by Rich »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: No Audio Lenovo 110S using Coreplus
« Reply #1 on: August 12, 2018, 08:29:25 PM »
Hi bushyiii
Last time I needed to set up ALSA I used the following procedure:

 1. Install alsa-config.tcz
 2. Install alsa.tcz
 3. Install alsamixergui.tcz (optional)
 4. Set the volume control on the front of the speaker about 1/3 of the way up
 5. Run:
Code: [Select]
alsactl init    This produced a slight thump as the card was found and initialized. That command
    also unmuted the speakers and set the mixer volumes at sane levels.
 6. Run:
Code: [Select]
speaker-test [-Ddefault:1] -c2 -t wav -l1    If all went well, you should hear the phrases  "Front Left"  and  "Front Right"  from
    your left and right speakers respectively.
 7. Run:
Code: [Select]
sudo alsactl store 8. Run:
Code: [Select]
echo alsactl restore >> /opt/bootlocal.sh 9. Run:
Code: [Select]
echo usr/local/etc/alsa/asound.state >> /opt/.filetool.lst10. Run a backup to save your setup.

« Last Edit: August 16, 2020, 01:40:38 PM by Rich »

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: No Audio Lenovo 110S using Coreplus
« Reply #2 on: August 12, 2018, 10:00:08 PM »
Hi Rich,
Best tuto on alsa ! If it not in the wiki, it will be a good idea to include it !
... Nearly every newbee , find difficulty in setting sound ! :)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No Audio Lenovo 110S using Coreplus
« Reply #3 on: August 13, 2018, 12:16:08 AM »
After installing Alsa.tcz I consider it most important to check that Alsa service has started;
ControlPanel > Services > Alsa = green

then run;
Code: [Select]
alsamixer
to check the correct Card and Chip has been detected, or select it if not " F6 "

then check alsamixer controls making sure none are Muted


My latest HDA intel PCH Card uses a Realtek chip and requires alsa-config.tcz to be loaded first for auto detection
« Last Edit: August 13, 2018, 12:24:16 AM by coreplayer2 »

Offline bushyiii

  • Newbie
  • *
  • Posts: 33
Re: No Audio Lenovo 110S using Coreplus
« Reply #4 on: August 13, 2018, 12:25:57 AM »
alsa is not running.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No Audio Lenovo 110S using Coreplus
« Reply #5 on: August 13, 2018, 01:09:42 AM »
alsa is not running.
what is the responce from these commands?
Code: [Select]
tce-load -i alsa-config alsa
sudo /usr/local/etc/init.d/alsasound start
alsamixer
« Last Edit: August 13, 2018, 01:14:25 AM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No Audio Lenovo 110S using Coreplus
« Reply #6 on: August 13, 2018, 02:58:28 AM »
The next issue with Alsa is the Master volume control by default is MM (muted)

Except if alsa-config is loaded before alsa then the Master volume is 00 (Not muted)
Have never seen that before..

The most reliable method to ensure the Master volume is not muted is to run 
Code: [Select]
amixer set "Master" 80 unmute
Better yet, create a file in .X.d to run at every boot
Code: [Select]
echo "amixer set "Master" 80 unmute" > ~/.X.d/alsa
then add "/home/tc/.X.d/alsa" to the backup

« Last Edit: August 13, 2018, 03:03:29 AM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: No Audio Lenovo 110S using Coreplus
« Reply #7 on: August 13, 2018, 04:25:46 AM »
Lastly, there is the issue of Firefox which now requires "pulseaudio"

so try
Code: [Select]
tce-load -i alsa-config alsa pulseaudio
amixer set "Master" 80 unmute

Offline bushyiii

  • Newbie
  • *
  • Posts: 33
Re: No Audio Lenovo 110S using Coreplus
« Reply #8 on: August 13, 2018, 08:32:19 AM »
alsa is not running.
what is the responce from these commands?
Code: [Select]
tce-load -i alsa-config alsa
Response=OK

sudo /usr/local/etc/init.d/alsasound start
Line 7: Can't create /opt/alsa/.alsadriver: non existent directory

alsamixer
sh: alsa: not found

Offline bushyiii

  • Newbie
  • *
  • Posts: 33
Re: No Audio Lenovo 110S using Coreplus
« Reply #9 on: August 14, 2018, 06:48:02 AM »
I extracted all the suggestions from within this post and tried organizing them in a coherent list.  After doing that I was able to get audio working. Maybe this ordered list can be done better and made into a sticky to help other noobies like me.

Ultimately what made it work was modifying the file order in my onboot.lst file:
alsa-config.tcz
alsa.tcz
alsamixergui.tczalsa-modules-4.14.10-tinycore64.tcz
 



1. Install alsa-config.tcz
2. Install alsa.tcz   --   check that Alsa service has started; ControlPanel > Services > Alsa = green
3. Install alsamixergui.tcz (optional)  ==  check alsamixer controls making sure none are Muted
4. Set the volume control on the front of the speaker about 1/3 of the way up -     
5.  Run: alsamixer
6. tce-load -i alsa-config alsa pulseaudio
7. amixer set "Master" 80 unmute
8. Run: alsactl init- This produced a slight thump as the card was found and initialized. That command also unmuted the speakers and set the mixer volumes at sane levels.
9. Then to check the correct Card and Chip has been detected, or select it if not " F6 "
10. then check alsamixer controls making sure none are Muted
11. Run: speaker-test [-Ddefault:1] -c2 -t wav -l1  - If all went well, you should hear the phrases  "Front Left"  and  "Front Right"  from  your left and right speakers respectively.
12. Run: sudo alsactl store
13. Run: echo alsactl restore >> /opt/bootlocal.sh
14. Run: echo usr/local/etc/alsa/asound.state >> /opt/.filetool.lst.
15. Run a backup to save your setup.

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: [Solved] No Audio Lenovo 110S using Coreplus
« Reply #10 on: August 18, 2018, 02:31:59 AM »
Hi bushyiii, nice work for future refetence to other new members, who may face sound config thru "alsa" !
Thanks !
:)

Offline Adutchman

  • Newbie
  • *
  • Posts: 8
Re: [Solved] No Audio Lenovo 110S using Coreplus
« Reply #11 on: October 04, 2018, 12:19:47 PM »
Update: Alsa only works after a reboot when I do Alsa init. It doesn't go on standartly so I probably miss some "open on boot" function. Can you tell me how to do that?

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11704
Re: [Solved] No Audio Lenovo 110S using Coreplus
« Reply #12 on: October 04, 2018, 12:33:04 PM »
Hi Adutchman
After performing steps 7, 8, and 9 in reply #1, did you remember to perform step 10 which was to run a backup?