Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa 0.9.0rc7 with via82xx freezes laptop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mjoswig
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2003
Posts: 122
Location: Hamburg, Germany

PostPosted: Sun Feb 09, 2003 12:20 pm    Post subject: alsa 0.9.0rc7 with via82xx freezes laptop Reply with quote

I've used the via82cxx module in the kernel and got very bad sound. So I decided to switch to alsa.

I've made a new kernel which doesn't contain the soundmodules except for soundcore (as module, as suggested in the docs). Rebooted into that kernel, no problem.
I emerged alsa-drivers-0.9.0rc7 and built the driver. I set up /etc/devfsd.conf and /etc/modules.d/alsa accorind to the documentation.

When I try to start alsa, the system freezes and I have to use the powerswitch to reboot.

When I try modprobe -v snd-via82xx I get the following message:
Code:

/sbin/insmod /lib/modules/2.4.19-gentoo-r10/kernel/drivers/sound/soundcore.o
Using /lib/modules/2.4.19-gentoo-r10/kernel/drivers/sound/soundcore.o
Symbol version prefix ''
/sbin/insmod /lib/modules/2.4.19-gentoo-r10/kernel/sound/acore/snd.o cards_limit=1
Using /lib/modules/2.4.19-gentoo-r10/kernel/sound/acore/snd.o
/sbin/insmod /lib/modules/2.4.19-gentoo-r10/kernel/sound/acore/seq/snd-seq-device.o
Using /lib/modules/2.4.19-gentoo-r10/kernel/sound/acore/seq/snd-seq-device.o
/sbin/insmod /lib/modules/2.4.19-gentoo-r10/kernel/sound/acore/snd-rawmidi.o
Using /lib/modules/2.4.19-gentoo-r10/kernel/sound/acore/snd-rawmidi.o
/sbin/insmod /lib/modules/2.4.19-gentoo-r10/kernel/sound/drivers/mpu401/snd-mpu401-uart.o
Using /lib/modules/2.4.19-gentoo-r10/kernel/sound/drivers/mpu401/snd-mpu401-uart.o
/sbin/insmod /lib/modules/2.4.19-gentoo-r10/kernel/sound/acore/snd-timer.o
Using /lib/modules/2.4.19-gentoo-r10/kernel/sound/acore/snd-timer.o
/sbin/insmod /lib/modules/2.4.19-gentoo-r10/kernel/sound/acore/snd-pcm.o
Using /lib/modules/2.4.19-gentoo-r10/kernel/sound/acore/snd-pcm.o
/sbin/insmod /lib/modules/2.4.19-gentoo-r10/kernel/sound/pci/ac97/snd-ac97-codec.o
Using /lib/modules/2.4.19-gentoo-r10/kernel/sound/pci/ac97/snd-ac97-codec.o
/sbin/insmod /lib/modules/2.4.19-gentoo-r10/kernel/sound/pci/snd-via82xx.o
Using /lib/modules/2.4.19-gentoo-r10/kernel/sound/pci/snd-via82xx.o


And again the system freezes.
grep audio /proc/pci gives
Code:

Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 80).


So the module should be right.

Any help would be appreciated.

Ciao,
Michael
Back to top
View user's profile Send private message
bernjuer
n00b
n00b


Joined: 20 Nov 2002
Posts: 22

PostPosted: Sun Feb 09, 2003 3:10 pm    Post subject: Reply with quote

Had that problem too, it turned out that
the "restore settings" section in /etc/init.d/alsa
was the culprit. So I commented it out:

Code:

  #
  # restore driver settings
  #
  if [ -d /proc/asound ]; then
    if [ ! -r $asoundcfg ]; then
      ewarn "No mixer config in $asoundcfg, you have to unmute your card!"
    else
#     if [ -x $alsactl ]; then
#        $alsactl -f $asoundcfg restore
#      else
#        eerror -e "ERROR: alsactl not found!"
        ewarn "skipping crashing alsactl"
#      fi
    fi
  fi

_________________
sigs are boring
Back to top
View user's profile Send private message
piranha
n00b
n00b


Joined: 10 Jun 2002
Posts: 40

PostPosted: Sun Feb 09, 2003 8:14 pm    Post subject: Reply with quote

More info about alsa and the via82xx can be found here: http://www.alsa-project.org/alsa-doc/doc-php/template.php3?company=VIA&card=&chip=via8233a&module=via82xx
Back to top
View user's profile Send private message
mjoswig
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2003
Posts: 122
Location: Hamburg, Germany

PostPosted: Mon Feb 10, 2003 5:11 pm    Post subject: Reply with quote

Thanks for your replies.

The page piranha mentioned was one of the reasons, why I tried to switch to alsa. Someone there said that the sound was better.

I haven't got the time to test the hint from bernjuer, because I had switched back to "normal" modules and won't be able to rebuild alsa before wednesday.

But: When I issue modprobe -v snd-via82xx the system freezes. Does that command call alsactl? I don't think so.

Ciao,
Michael
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum