General TC > Tiny Core Netbooks

Alsa not working on HP 245 netbook

(1/5) > >>

julcar:
I was playing with sound extensions in my netbook, but there was no success getting at least sound for playing mp3 files

If I run this command


--- Code: ---lspci -nn | grep Audio

--- End code ---

I get this


--- Code: ---00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:15b3]
00:09.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Device [1022:157a]

--- End code ---

with


--- Code: ---aplay -l

--- End code ---

I get


--- Code: ---**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC3227 Analog [ALC3227 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

--- End code ---

I am a n00b on this, never before tried to get audio working on linux.

Extensions I have installed: alsa.tcz, alsa-plugins.tcz, alsa-config.tcz, alsa-modules-4.14.10-tinycore.tcz & alsa-modules-4.14.10-tinycore64.tcz

Thanks in advance for your help guys!

Rich:
Hi julcar
See if this step by step works for you:
http://forum.tinycorelinux.net/index.php/topic,22145.msg138620.html#msg138620

Juanito:
I have the same problem - that hdmi comes up as the default - which makes no sense on a laptop.

You can test if sound is actually working with:
--- Code: ---speaker-test -Ddefault:1 -c2 -t wav -l1
--- End code ---
..this will use the ALC3227 Analog device rather than hdmi.

Note also that on my laptop I need to load graphics-KERNEL before alsa-config for sound to work...

julcar:
Still no success, my laptop don't have sound controls on his front panel, instead the sound is controlled with Fn keys (F7 for volume down and F8 for volume up, and, F6 for muting, which also has a led indicator when the speakers are muted).

The weird fact is that after loading alsa.tcz, it turns on the led indicator at F6 key, and there is no way to turn it off, so in my understanding, the laptop is permanently "muted", that is why running the commands on the terminal don't do anything.

polikuo:

--- Quote from: julcar on November 21, 2018, 01:56:55 AM ---with


--- Code: ---aplay -l

--- End code ---

I get


--- Code: ---**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC3227 Analog [ALC3227 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

--- End code ---

--- End quote ---

You need to change your default audio device to your speaker.
To do that, you have to create a new file /etc/asound.conf

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

ctl.!default {
  type hw
  card 1
}

--- End code ---

Since the card number may change after reboot,
I'd use device name instead.
In your case, it's "Generic".

--- Quote ---card 1: Generic [HD-Audio Generic], device 0: ALC3227 Analog [ALC3227 Analog]

--- End quote ---

Thus, your /etc/asound.conf should look like this:

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

ctl.!default {
  type hw
  card Generic
}

--- End code ---

To save your changes, append "etc/asound.conf" to your /opt/.filetool.lst
Note that for files listed in /opt/.filetool.lst, there're no leading slashes (/)

Navigation

[0] Message Index

[#] Next page

Go to full version