SliTaz SliTaz Forum

You are not logged in.

#1 2011-05-31 20:56:56

noobert
Member
Registered: 2011-05-22
Posts: 17

Cooking Sound is Broken (3.2-slitaz)

Hi, I just upgraded my slitaz to the newest version. However, my sound died. It just doesn't want to work anymore.

Here is part of my boot log that looks sound related:

Restoring last alsa configuration...alsactl: load_state:1586: Cannot open /var/lib/alsa/asound.state for reading: No such file or directory

alsactl: parse:1655: Unable to open file '/usr/share/alsa/init/00main': No such file or directory

alsactl: parse:1655: Unable to open file '/usr/share/alsa/init/00main': No such file or directory

best of luck tech people

Offline

#2 2011-05-31 21:29:35

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: Cooking Sound is Broken (3.2-slitaz)

Hi,

Alsa-utils have been updated (even if I frozed the wok a time a go) and the commiter did NOT check the package and did'n update the receipt. Before alsa was looking for /etc/asound.state but from the upgrade it want /var/lib/alsa/asound.state.

Can you create this directory and reconfigure sound card, it should solve the bug. As root:

# mkdir -p /var/lib/alsa

# soundconf

Offline

#3 2011-06-01 18:26:10

noobert
Member
Registered: 2011-05-22
Posts: 17

Re: Cooking Sound is Broken (3.2-slitaz)

thanks works perfectly.

yes!

Offline

#4 2012-05-31 12:10:34

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Cooking Sound is Broken (3.2-slitaz)

@pankso

I can run aplay sound.wav no problems and play sound using Audacity. However, absolutely no sound from a webpage or alsaplayer (alsaplayer indicates that the files is being played but no sound).

Created /var/lib/alsa but when I run soundconf I get "No supported PnP or PCI card found." message which is strange as when I open alsamixer I can get settings for my Intel card, USB Audigy and Webcam mic. Nothing is muted on the settings. Also /var/lib/alsa/asound.state has all the device parameters.

Any ideas on what's going on? Thanks

Offline

#5 2012-05-31 13:21:11

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Cooking Sound is Broken (3.2-slitaz)

@gdesilva

Sound is broken on cooking i486:

Linux slitaz 3.2-slitaz #4 SMP Wed May 2 02:07:42 CEST 2012 i686 GNU/Linux

I reported it to the mailing list on my review of the May 5th rolling iso:

http://listengine.tuxfamily.org/lists.tuxfamily.org/slitaz/2012/05/msg00066.html

The cooking get-linux-source install script is broken in addition to missing libs and segfault errors on other packages I've tried.

Offline

#6 2012-06-01 08:49:22

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Cooking Sound is Broken (3.2-slitaz)

@mojo, I should not have asked this question under this thread because I am not using cooking version and using the 4.0 version.

However, I worked out that the problem is that my default sound device is the built in Intel card and I normally use my USB Audigy. The question is how can I set the USB Audigy as the default alsa device? Tried out alsactl but could not find a way to make USB Audigy the default device.

Thanks

Offline

#7 2012-06-01 15:07:44

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Cooking Sound is Broken (3.2-slitaz)

@gdesilva

Disable the  built-in sound card in the motherboard bios.

or

Follow this tutorial to make an asoundrc file to configure another sound card as default:

http://www.alsa-project.org/main/index.php/Asoundrc

The default plugin

Offline

#8 2012-06-01 16:48:43

pankso
Administrator
Registered: 2026-06-27
Posts: 341
Website

Re: Cooking Sound is Broken (3.2-slitaz)

Mojo,

I confirm, sound is broken in cooking :-/

Kernel module loaded but /dev/snd mostyl empty. I think bug come from udev

Offline

#9 2012-06-02 07:04:46

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: Cooking Sound is Broken (3.2-slitaz)

@mojo, used .asoundrc as mentioned in http://www.alsa-project.org/main/index.php/Asoundrc and the problem was solved.

Thanks a lot.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.78 MiB) ]