Welcome, Guest. Please login or register.
September 06, 2010, 03:23:21 PM
Home Help Search Login Register
News: Tinycore is here 12/1/2008! Welcome visitors. Community gatherings on Freenode at #tinycorelinux (webchat)

[Recent Topics] [Main . Forum . Wiki]
+  tinycorelinux.com
|-+  Tiny Core Extensions
| |-+  TCE Bugs
| | |-+  alsa doesn't work
« previous next »
Pages: [1] Go Down Print
Author Topic: alsa doesn't work  (Read 681 times)
jls_legalize
Hero Member
*****
Offline Offline

Posts: 758



« on: January 25, 2010, 03:54:36 PM »

after the update of alsa  I don't have sound:
Code:
tc@box:~$alsamixer
ALSA lib conf.c:3009:(snd_config_update_r) Cannot access file /usr/local/share/alsa/alsa.conf
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL default

alsamixer: function snd_ctl_open failed for default: No such file or directory
Logged

ThisIsNotlYnuCsfrOmscREtch
Jason W
Administrator
*****
Offline Offline

Posts: 4631



« Reply #1 on: January 25, 2010, 04:21:01 PM »

Those with existing alsa.tcz extensions need to also download alsa-config.tcz for it to function.
Logged
jur
Hero Member
*****
Offline Offline

Posts: 571



WWW
« Reply #2 on: February 08, 2010, 03:24:15 PM »

My alsa is not working after updating this morning; I did have it working after the alsa-config change. I didn't have to do anything else such as change config files or anything then.

Now, this morning after updating alsa, no sound. Does anything need to be configured in alsa-config?
Logged
curaga
Administrator
*****
Offline Offline

Posts: 3265



« Reply #3 on: February 08, 2010, 03:33:44 PM »

Any errors? Are your sound modules still loaded?

How does alsamixer look?
Logged

The only barriers that can stop you are the ones you create yourself.
maro
Sr. Member
****
Offline Offline

Posts: 404


« Reply #4 on: February 08, 2010, 04:09:14 PM »

I've just done a quick comparison (using QEMU 0.11.1) between TC 2.9rc1 and 2.0rc2:

(1) For RC1 'tce-load -wi alsa' fails with:
Code:
/usr/local/tce.installed/alsa: line 6: udevadm: not found
/usr/local/tce.installed/alsa: line 7: udevadm: not found

I suspect that a recent change of that startup file to deal with the new udev (in RC2) has "broken" all older versions (e.g. 2.8.1). I guess this startup script has to "become aware" of which udev version is in use. BTW, I've just also checked TC 2.8.1: It shows (as expected) the same error messages.

(2) When using RC2 the tce-load does work, but when I try to start alsa I get the following:
Code:
tc@box:~$ sudo /usr/local/etc/init.d/alsasound start
Starting sound driver: snd-intel8x0
ALSA lib control.c:874:(snd_ctl_open_conf) Cannot open shared library /usr/local/lib/alsa-lib/libasound_module_ctl_oss.so
amixer: Mixer attach default error: No such file or directory

AFAIK this shared library is part of the alsa-plugins.tcz extension. I've therefore loaded this extension and can report that 'speaker-test' seems to be working again.

[Edited: update of the analysis for RC2]
« Last Edit: February 08, 2010, 04:27:54 PM by maro » Logged
jur
Hero Member
*****
Offline Offline

Posts: 571



WWW
« Reply #5 on: February 09, 2010, 12:25:19 AM »

I get this when running speaker-test:

Code:
ALSA lib pcm_direct.c:1605:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
Playback open error: -22,Invalid argument

Same result after loading alsa-plugins.

amixer and alsamixer appear to work as intended.
« Last Edit: February 09, 2010, 12:27:12 AM by jur » Logged
jur
Hero Member
*****
Offline Offline

Posts: 571



WWW
« Reply #6 on: February 09, 2010, 01:58:21 AM »

Had a look at the startup script, and ran these 2 commented-out lines manually:
Code:
sudo addgroup audio > /dev/null 2>&1
sudo addgroup "$USER" audio > /dev/null 2>&1

then my sound worked.
Logged
curaga
Administrator
*****
Offline Offline

Posts: 3265



« Reply #7 on: February 09, 2010, 03:15:07 AM »

OK, please see if things now work. Hopefully fixed for all now.

maro, do you have OSS loaded? I think those plugins are only needed if they are specified in the alsa config file.

Re udevadm not found, that's a harmless one, as the extension didn't call udev at all before. Failing to do those calls on pre-rc2 shouldn't cause anything, except those not found messages. I do agree they shouldn't be shown.
Logged

The only barriers that can stop you are the ones you create yourself.
jur
Hero Member
*****
Offline Offline

Posts: 571



WWW
« Reply #8 on: February 09, 2010, 04:09:09 AM »

OK, please see if things now work. Hopefully fixed for all now.
Mine works now, thanks.
Logged
maro
Sr. Member
****
Offline Offline

Posts: 404


« Reply #9 on: February 09, 2010, 04:48:12 PM »

I've repeated the tests from yesterday and can now confirm that the alsa.tcz extention works fine for TC 2.8.1, 2.9rc1, and 2.9rc2 (using QEMU 0.11.1). At least as far as 'speaker-test' is concerned.

I'm very sorry for reporting a misleading issue. It is possible that I had initially OSS installed in the VM and after uninstalling that extension attempted to load alsa.tcz. I guess that could be a possible explanation. But since things look to be resolved now I can only hope that not too much time was wasted in investigating my earlier findings.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!