General TC > Tiny Core Netbooks

Alsa not working on HP 245 netbook

<< < (3/5) > >>

Juanito:

--- Quote from: julcar on November 22, 2018, 03:07:32 PM ---Finally I got sound working, at least the speaker test
...
but then, I must run the speaker-test to unmute the speakers, else the speakers stays muted for all the time, note that when I boot the system, the mute led indicator on F6 key turns on, but after running the speaker test the led turns off.

--- End quote ---

The speaker-test command instructed alsa to play sound through device 1 and not the default device 0 (hdmi)

If you want to play sound using other apps that support alsa, you will need to use the apps audio setup menu to instruct it to use device 1 rather than the default.

julcar:

--- Quote from: coreplayer2 on November 22, 2018, 09:34:31 PM ---
--- Quote from: julcar on November 22, 2018, 07:22:49 PM ---I've folllowed all the instructions, but something seems to be wrong, I've attached a screenshot when I try to run pavucontrol

--- End quote ---
Looks like pulse audio hasn’t been started

Is pulse audio loaded?  If so then start it  as per  pulse audio info file


How did you install pavucontrol?   
wget ?
APPS  ?
tce-ab ?
tce-load ?

Is pavucontrol.tcz  installed to onboot.lst ?


from the info file

check dbus is running

--- Code: ---$ /usr/local/etc/init.d/dbus status
--- End code ---

check if pulseaudio is running

--- Code: ---pulseaudio -vv
--- End code ---
[to test]

Did you create this file to start pulseaudio?

--- Code: ---echo "start-pulseaudio-x11" > ~/.X.d/pulseaudio
--- End code ---

--- End quote ---

seems that dbus is not started on system boot, I must run /usr/local/etc/init.d/dbus start

I've installed the extensions through APPS

pulseaudio.tcz is in onboot.lst

and, the three files are in ~/.x.d/ alsa, dbus and pulseaudio.

Juanito:
For testing purposes it is perhaps better to not have graphics-KERNEL, alsa-config, alsa or pulseaudio in onboot.lst and not to have anything in ~/.X.d.

Then, boot to a console prompt or exit X to the console prompt and:
--- Code: ---$ tce-load -i graphics-KERNEL
$ tce-load -i alsa-conf
$ tce-load -i alsa
$ tce-load -i pavucontrol adwaita-icon-theme
$ sudo /usr/local/etc/init.d/dbus start
$ startx
--- End code ---

..and then double-click on the pavucontrol icon and it should auto-start pulseaudio and display the pulseaudio controls.

If this doesn't work, open a terminal window, run pavucontrol and report the errors you get.

julcar:
Hi, yesterday I had some time to test this again, here are some hints:

graphics-4.14.10-tinycore.tcz is not needed to get the speaker test work
loading gcc_libs.tcz leads to the audio being muted (which is bad because gcc_libs has libatomic.so.1 required by firefox)

other tests are going on

at least the speaker test works by the moment

julcar:
Well, after a looooong time testing, I got audio on firefox seeing a youtube video :D

Things I did:

1) create the asound.conf file


--- Code: ---sudo vi /etc/asound.conf

--- End code ---

2) write this and save


--- Code: ---pcm.!default {
  type hw
  card 1
}

ctl.!default {
  type hw
  card 1
}

--- End code ---

3) add persistence


--- Code: ---echo "etc/asound.conf" >> /opt/.filetool.lst
filetool.sh -b

--- End code ---

(at this time I had to remove the norestore bootcode at /mtn/sda1/menu.lst)

4) start dbus at boot time


--- Code: ---sudo echo "/usr/local/etc/init.d/dbus start" >> /opt/bootlocal.sh

--- End code ---

5) my onboot.lst looks like this


--- Code: ---pci-utils.tcz
alsa-config.tcz
alsa-plugins.tcz
alsamixergui.tcz
pulseaudio.tcz

--- End code ---

Now, the only problem to solve is that the laptop starts muted, I have to use alsamixergui to unmute all of the channels to get the audio working.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version