|
|
|
|
|
|
| Author |
Message |
keys *nix forums beginner
Joined: 17 Feb 2005
Posts: 1
|
Posted: Thu Feb 17, 2005 6:37 pm Post subject:
Can't Configure VIA Sound Chip
|
|
|
Hi Folks;
When I run sndconfig it tells me that I have a VIA Technologies|VT8233
AC97 Audio Controller. However, when it tries to play a sample, the
program hangs and I hear no sound on the headphones. Does anyone have
any suggestions as to what is wrong? When I tried to apt-get sndconfig,
it told me that I already had the latest version.I am running RH 7.3 on
a new Jetway motherboard that has a chip labeled VIA VT8235. Is this my
problem? Is the sound chip from old board stored some where and I have
to clear it before the new one is recognized or does sndconfig consider
VT8233 and VT8235 to be the same thing? I never tried to make the sound
work on the old motherboard. Please let me know what you think.
Thanks
Murray |
|
| Back to top |
|
 |
Jean-Marc Blaise *nix forums beginner
Joined: 19 Jun 2005
Posts: 2
|
Posted: Fri Feb 18, 2005 11:57 am Post subject:
Re: Can't Configure VIA Sound Chip
|
|
|
| Quote: | VIA Technologies|VT8233 AC97 Audio Controller.
|
I probably have the same or similar chip. Alsaconf and others have never
really worked for me either. Here's some manual steps though.
http://www.alsa-project.org/
(the lib and driver packages are all you should need for functional
drivers, although you might want others for functional tools and extras)
http://www.alsa-project.org/alsa-doc/
(if you want their instructions on how to setup/configure your card)
/etc/modules.conf (or modprobe.conf which is apparently a 2.6 thing)
(or conf.modules on really old redhats)
#--- START ALSA ---#
#--- ALSA ---#
alias char-major-116* snd
alias snd-card-0 snd-via82xx
# (sound-card-0 is probably not needed, but just in case)
alias sound-card-0 snd-card-0
#--- OSS ---#
alias char-major-14* soundcore
alias sound-slot-0 snd-card-0
#--- ALSA - CARD ---#
options snd cards_limit=1
#--- ALSA - OSS ---#
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
#--- ALSA - /dev (OSS) ---#
alias /dev/sequencer* snd-seq-oss
alias /dev/dsp* snd-pcm-oss
alias /dev/mixer* snd-mixer-oss
alias /dev/midi* snd-seq-oss
#--- END ALSA ---#
(the above assumes oss emulation, which a lot of things use and you'll
probably want. The above allows modules autoloading too.)
(the above sound go into you're equivalent of modules.conf. In debian you
may want to create/modify /etc/modutils/alsa and run update-modules)
-----
If you have the modules and kernel stuff already, the above should be all
you need. But some additional stuff below.
-----
(assuming sys-V type inits (aka NOT slackware))
(# indicates to be executed from the command line interface)
# /etc/init.d/alsasound start
(brings up your alsa modules, having something trying to use sound does
to. At boot time when it restores your mixer setting, it'll also bring
them up. Assuming mixer app and settings that restore at boot.)
# /etc/init.d/alsasound stop
(unloads your modules)
(once loaded your lsmod should return these modules or similar)
Module Size Used by Not tainted
snd-pcm-oss 37312 0 (autoclean)
snd-seq 37744 0 (autoclean)
snd-mixer-oss 13208 0 (autoclean) [snd-pcm-oss]
snd-via82xx 14112 0 (autoclean)
snd-ac97-codec 58328 0 (autoclean) [snd-via82xx]
snd-pcm 60040 0 (autoclean) [snd-pcm-oss snd-via82xx snd-ac97-codec]
snd-timer 14500 0 (autoclean) [snd-seq snd-pcm]
snd-mpu401-uart 3536 0 (autoclean) [snd-via82xx]
snd-rawmidi 13568 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 4340 0 (autoclean) [snd-seq snd-rawmidi]
snd 34692 0 (autoclean) [snd-pcm-oss snd-seq snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc 5128 0 (autoclean) [snd-seq snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
(Without the autoloading, you'll probably need these in your /etc/modules)
(might be modules.d, modules.autoload, modules.alsa, ??? depending on your
distro)
(the order of modules listed in this configuration file should match the
order in which you're allowed to insmod modules in
alsa-driver-1.0.8/modules/ individually)
# find /lib/modules/`uname -r`/ -name '*snd*.*o'
(to list them in your kernel module area, if you've already rm'd the
source tree)
(if you're not running devfs or udev you need to do this)
(otherwise alsamixer returns snd_ctl_open type errors)
# cd alsa-driver-1.0.8
# ./snddevices
(assumes source tarball in uncompressed form, version 1.0.
(if you are running devfs or udev, you do NOT want to do this step)
Common mistakes:
1. the user is not in the audio group.
# groups <USER>
# cat /etc/group | grep -i "audio"
(if the user is not in the audio group, they don't generally have
permissions to the sound devices. Which means pretty much only root can
use the sound device.)
2. the mixer is muted (by default)
# alsamixer
(use alsactl to save/restore settings)
# aumix
(I think this one is a bit more intuitive, for me anyway)
Compiling from source assuming tarballs are extracted and you're running
the kernel version you're compiling it for, as well as version 1.0.8, and
doing so as root.
# cd alsa-lib-1.0.8
# ./configure --prefix=/usr
(/usr/local is default, but not used/configured for use by default on many
distros)
# make
# make install
# cd ../alsa-driver-1.0.8
# ./configure --prefix=/usr --with-cards=via82xx --with-sequencer=yes
# make
# make install
(at this point you have your modules. If you're doing it old school, you
need to insmod/modprobe every module in the alsa-driver-1.0.8/modules/
area, at which point your sound should just work. Given mixer settings,
and device/group setups.)
NOTE: in kernel 2.6.x alsa is part of the kernel, and you'll find the
alsa sources in the subdirectories of the kernel source tree.
NOTE: You should NOT be running OSS modules and ALSA modules, they do not
play well together. All alsa modules are prefixed with snd-.
NOTE: Make sure you have sound devices. Either through udev, devfs, or by
running the ./snddevices script.
NOTE: Turn your mixer settings on/up so you can hear sound. Just because you
don't hear sound, doesn't mean it's not installed/configured.
NOTE: Put your user in the audio group, or modify the perms of the devices
to allow others to use them.
NOTE: Once the modules are loaded, you can get some interesting
information out of /proc/asound/ about your card.
I've made a lot of assumptions here. But this should get you the gist of
things. This card isn't all that great, and if you don't have a decent
cpu to handle by software all of the extras that other cards have as
hardware, you'll grow weary of it's inabilities.
Mine has one playback channel and one capture channel. Which is roughly
the minimum any card needs to have to be called a soundcard in the first
place. And the playback channel is only 16 bit at a max rate of 44100.
There is no hardware midi capabilities, or hardware mixing as there's
only one playback channel.
HTH,
Shadow_7 |
|
| Back to top |
|
 |
Chris *nix forums beginner
Joined: 30 Mar 2005
Posts: 12
|
Posted: Sat Feb 19, 2005 6:10 am Post subject:
Re: Can't Configure VIA Sound Chip
|
|
|
To but in,
Okay, so I double checked my modules config file and a few other things that
you said in your email. But there was just one thing missing in your post:
what options do you have enabled? Or was that a direct cut from your
config file? In that case, how does one figure out what they need to set
all of the parameters/options to? I looked at alsa.org, but they didn't
seem to tell you where to look, it seemed it was assumed you knew. I
looked at gigabyte.com, they weren't helpful.
Thanks,
Chris
nobody wrote:
| Quote: | VIA Technologies|VT8233 AC97 Audio Controller.
I probably have the same or similar chip. Alsaconf and others have never
really worked for me either. Here's some manual steps though.
|
<snipsnip>
| Quote: | #--- START ALSA ---#
snip snip
#--- END ALSA ---# |
|
|
| Back to top |
|
 |
Chris *nix forums beginner
Joined: 30 Mar 2005
Posts: 12
|
Posted: Sat Feb 19, 2005 6:11 am Post subject:
BTW
|
|
|
I have one channel output right now, with a very low sound. I've checked
the mixer volume, everything is blasting, but I still get just a blip of
noise. |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 8:58 am | All times are GMT
|
|
Credit Cards | Loan | Auto Loan | Guitar Lesson | Wide Shoes for Women & Men
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|