You are not logged in.

#1 2010-01-29 12:33:55

gzp
Member
Registered: 2010-01-29
Posts: 12

[SOLVED] Fails to restore ALSA levels

Hello,
I have a weird problem, ALSA fails to restore its levels and detect sound card on bootup after a kernel upgrade:

:: Restoring ALSA Levels                                                     [BUSY] 
Unknown hardware: "VIA8233" "Realtek ALC650F" "AC97a:414c4723" "0x1458" "0xa002"

Hardware is initialized using a guess method

                                                                             [FAIL]

sound works well though (at least looks like).
I have tried solution found in forums: stop ALSA > run alsaconf > run alsamixer > run alsactl store
but the problem won't disappear. Maybe someone can help me with that?

Thank You in advance.

P.S. Sorry for my poor English.

Last edited by gzp (2010-02-08 17:19:41)

Offline

#2 2010-02-01 12:14:49

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

bump

Offline

#3 2010-02-01 12:18:10

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED] Fails to restore ALSA levels

If the sound still works, than alsa might still be running? Can we see what daemons you are running?

ls /var/run/daemons

Last edited by Acecero (2010-02-01 12:19:20)

Offline

#4 2010-02-01 12:22:33

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

Acecero wrote:

If the sound still works, than alsa might still be running? Can we see what daemons you are running?

ls /var/run/daemons

Sure:
crond  dbus  fam  hal  netfs  network  rpcbind    syslog-ng

looks like alsa is not running but i have sound, I don't get it hmm

Offline

#5 2010-02-01 12:29:03

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED] Fails to restore ALSA levels

Me neither, that's strange.

How about this as a suggestion. Get rid of alsa and its current configuration (pacman -Rn alsa-utils), update the system (-Syu), then install alsa back and config it with alsaconf again.

Offline

#6 2010-02-01 12:37:24

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

Funny thing - i just removed alsa and still have sound, I'm new at linux, maybe I'm missing something

Offline

#7 2010-02-01 12:54:54

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED] Fails to restore ALSA levels

It doesn't make sense that you have sound without a sound daemon installed or running? Is there something in your BIOS that might be doing this?

Offline

#8 2010-02-01 13:01:12

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

Acecero wrote:

It doesn't make sense that you have sound without a sound daemon installed or running? Is there something in your BIOS that might be doing this?

I don't have an idea.

I have reinstalled alsa but "error" wont disappear

Offline

#9 2010-02-01 13:21:46

Cilyan
Member
From: Toulouse (FR)
Registered: 2006-08-27
Posts: 97
Website

Re: [SOLVED] Fails to restore ALSA levels

Alsa is not a daemon but a set of drivers. The alsa daemon in the rc.conf DAEMON array only store and restore sound levels.
I suggest that you set again your levels using alsamixer and then issue a "alsactl store" to reset the levels file.

Offline

#10 2010-02-01 13:31:45

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

Cilyan wrote:

Alsa is not a daemon but a set of drivers. The alsa daemon in the rc.conf DAEMON array only store and restore sound levels.
I suggest that you set again your levels using alsamixer and then issue a "alsactl store" to reset the levels file.

I've tried that lots of times including couple of minutes ago, it wont fix my problem.

Offline

#11 2010-02-01 13:45:33

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED] Fails to restore ALSA levels

Basing my judgment off this thread: http://bbs.archlinux.org/viewtopic.php?id=74761

Have you tried rebooting after you stopped alsa and ran alsaconf?

There maybe a step that is missing.

Offline

#12 2010-02-01 13:57:12

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

Acecero wrote:

Basing my judgment off this thread: http://bbs.archlinux.org/viewtopic.php?id=74761

Have you tried rebooting after you stopped alsa and ran alsaconf?

There maybe a step that is missing.

I tried rebooting and restarting alsa manually, every time I just get the same fail

Offline

#13 2010-02-01 14:04:15

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED] Fails to restore ALSA levels

I am not giving up on this. I have two more ideas.

1) Try rebuilding alsa-utils from abs, maybe there isn't something optimized for your system.

2) Try OSS instead.

Offline

#14 2010-02-01 14:13:16

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: [SOLVED] Fails to restore ALSA levels

Presumably you have followed the steps in the wiki:

http://wiki.archlinux.org/index.php/Als … at_startup

Although I seem to recall reading something about doing it both as a user and as root, but I can't find it now.

Offline

#15 2010-02-01 14:18:04

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

Acecero wrote:

I am not giving up on this. I have two more ideas.

1) Try rebuilding alsa-utils from abs, maybe there isn't something optimized for your system.

2) Try OSS instead.

Thank You so much for helping me, you have more patience than I do big_smile

I will try to build alsa from abs as soon as I'll learn how to do that, going to read wiki right now.


Just built and installed alsa-utils from abs, same deal.

Last edited by gzp (2010-02-01 14:51:48)

Offline

#16 2010-02-01 14:21:30

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

jdarnold wrote:

Presumably you have followed the steps in the wiki:

http://wiki.archlinux.org/index.php/Als … at_startup

Although I seem to recall reading something about doing it both as a user and as root, but I can't find it now.

alsactl restore trows the same "error" as restarting alsa.

Offline

#17 2010-02-01 15:43:07

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED] Fails to restore ALSA levels

gzp wrote:

Just built and installed alsa-utils from abs, same deal.

Sorry to hear that, try the OSS suggestion. I really hope that works out better.

Offline

#18 2010-02-01 15:55:42

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

Acecero wrote:
gzp wrote:

Just built and installed alsa-utils from abs, same deal.

Sorry to hear that, try the OSS suggestion. I really hope that works out better.

Just installed oss, works well so far, now I'm just trying to make it work with all apps.

Off-topic: Does anyone know a systray for oss to change volume level with mouse wheel? I was using "volwheel" for alsa, but it wont work for oss.

This thread is sort of solved, Thank You for all the help smile

Cheers.

Last edited by gzp (2010-02-01 15:58:39)

Offline

#19 2010-02-01 15:58:46

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED] Fails to restore ALSA levels

gzp wrote:
Acecero wrote:
gzp wrote:

Just built and installed alsa-utils from abs, same deal.

Sorry to hear that, try the OSS suggestion. I really hope that works out better.

Just installed oss, works well so far, now I'm just trying to make it work with all apps.

Off-topic: Does anyone know a systray for oss to change volume level with mouse wheel? I was using "volwheel" for alsa, but it wont work for oss.

This threat is sort of solved, Thank You for all the help smile

Cheers.

Make another thread for that topic. Glad I could help. Don't forget to mark it [SOLVED]

Offline

#20 2010-02-01 16:55:31

amen
Member
Registered: 2009-08-02
Posts: 44

Re: [SOLVED] Fails to restore ALSA levels

gzp wrote:

Hello,
I have a weird problem, ALSA fails to restore its levels and detect sound card on bootup after a kernel upgrade:

:: Restoring ALSA Levels                                                     [BUSY] 
Unknown hardware: "VIA8233" "Realtek ALC650F" "AC97a:414c4723" "0x1458" "0xa002"

Hardware is initialized using a guess method

                                                                             [FAIL]

sound works well though (at least looks like).
I have tried solution found in forums: stop ALSA > run alsaconf > run alsamixer > run alsactl store
but the problem won't disappear.

I have exactly the same problem. Problem show up after kernel upgrade.
I disabled 'alsa' deamon in '/etc/rc.conf' and the error messages gone.
Now only KDE restoring ALSA Mixer settings for me(when I run KDE, ALSA Mixer settings are restored).
It is a simple workaround.

Offline

#21 2010-02-01 19:58:27

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Fails to restore ALSA levels

gzp wrote:

Unknown hardware: "VIA8233" "Realtek ALC650F" "AC97a:414c4723" "0x1458" "0xa002"

You should be aiming this at the ALSA bugzilla. You won't find ALSA devs on this forum.

Last edited by brebs (2010-02-01 19:58:53)

Offline

#22 2010-02-02 08:36:21

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

brebs wrote:
gzp wrote:

Unknown hardware: "VIA8233" "Realtek ALC650F" "AC97a:414c4723" "0x1458" "0xa002"

You should be aiming this at the ALSA bugzilla. You won't find ALSA devs on this forum.

Ok, thanks for an info, but I switched to OSS already. If i have to switch back to ALSA for any reason, I'll go straight to ALSA bugzilla.

Offline

#23 2010-02-05 18:06:15

diegonc
Member
Registered: 2008-12-13
Posts: 42

Re: [SOLVED] Fails to restore ALSA levels

Here is the bug report: https://bugtrack.alsa-project.org/alsa- … hp?id=4901

It's also a reported in the kernel bug tracker and there is some information about the problem. ( http://bugzilla.kernel.org/show_bug.cgi?id=15107 )

Meanwhile, you can tell alsactl to always guess by setting the CMD environment variable to default.

$ CMD=default alsactl restore
$

To make it work at boot time add the variable to /etc/conf.d/alsa.

# cat >> /etc/conf.d/alsa << EOF

CMD="default"
export CMD
EOF
#

Last edited by diegonc (2010-02-05 21:39:08)

Offline

#24 2010-02-08 17:19:23

gzp
Member
Registered: 2010-01-29
Posts: 12

Re: [SOLVED] Fails to restore ALSA levels

diegonc wrote:

Here is the bug report: https://bugtrack.alsa-project.org/alsa- … hp?id=4901

It's also a reported in the kernel bug tracker and there is some information about the problem. ( http://bugzilla.kernel.org/show_bug.cgi?id=15107 )

Meanwhile, you can tell alsactl to always guess by setting the CMD environment variable to default.

$ CMD=default alsactl restore
$

To make it work at boot time add the variable to /etc/conf.d/alsa.

# cat >> /etc/conf.d/alsa << EOF

CMD="default"
export CMD
EOF
#

Okay, thank you.

Offline

#25 2010-07-17 23:53:02

dameunmate
Member
From: London
Registered: 2010-01-19
Posts: 85
Website

Re: [SOLVED] Fails to restore ALSA levels

interestingly if I:

- set the desired levels in alsamixer
- use alsactl store

...they are stored correctly. And then

- remove alsa from deamons in etc/rc.conf
- include alsactl restore in etc/rc.local

...they are restored to the same levels on startup. However the same error "unknown hardware....initialized using a guess method" appears for mere split seconds after the rest of the boot process. But hey - it works! After searching the internet I get the impression there's an error in the alsa software and there's nothing we can do about it, just live with the little error message. We just need to write the command alsactl store everytime we want to save your volume settings.

Also see another thread on the same subject https://bbs.archlinux.org/viewtopic.php?id=69853

Offline

Board footer

Powered by FluxBB