Wednesday, December 26, 2007

Module snd-via82xx

PCM Device VIA 8237

http://ubuntuforums.org/archive/index.php/t-1994.html

This is in my /etc/modprobe.conf
alias eth0 via-rhine
alias scsi_hostadapter libata
alias scsi_hostadapter1 sata_via
alias scsi_hostadapter2 pata_via
alias snd-card-0 snd-via82xx
options snd-card-0 index=0
options snd-via82xx index=0


========== Then do ==============
This seems to solve the problem and load always the module:
=========================================
If there is anyone still alive who has this problem, one solution is to insert the line

options snd-via82xx dxs_support=3

in /etc/modprobe.d/alsa-base and just reboot.8)
=========================================

But mplayer was working without sound
http://www.fedoraonline.it/modules/newbb/viewtopic.php?post_id=32086

Se non va ancora...
...se lanci mplayer con una di queste opzioni:
$ mplayer -ao nosound blablabla.avi
o
$ mplayer -ao sdl blablabla.avi
o
$ mplayer -ao alsa blablabla.avi
o
$ mplayer -ao oss blablabla.avi

The last option worked for me and gave sound to mplayer.

==========================
When the sound is working this are the modules that I have:
[root@localhost acardh]# /sbin/lsmod | grep 82
nfnetlink 8281 3 nf_conntrack_ipv4,nf_conntrack_ipv6,nf_conntrack
ip6t_REJECT 8257 2
dm_multipath 18249 0
snd_via82xx 25177 1
gameport 14665 1 snd_via82xx
snd_ac97_codec 92389 1 snd_via82xx
snd_mpu401_uart 10177 1 snd_via82xx
snd_pcm 63685 4 cx88_alsa,snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 11337 2 snd_via82xx,snd_pcm
snd 43461 12 cx88_alsa,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_mpu401_uart,snd_pcm,snd_rawmidi,snd_seq_device,snd_timer
i2c_core 21825 9 dvb_pll,nxt200x,cx88_vp3054_i2c,tuner,nvidia,cx88xx,i2c_algo_bit,tveeprom,i2c_viapro
ehci_hcd 31821 0


[root@localhost acardh]# /sbin/lsmod | grep snd
snd_seq_dummy 6725 0
snd_seq_oss 29889 0
snd_seq_midi_event 9793 1 snd_seq_oss
snd_seq 44849 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_via82xx 25177 1
gameport 14665 1 snd_via82xx
snd_ac97_codec 92389 1 snd_via82xx
snd_pcm_oss 37569 0
snd_mixer_oss 16705 3 snd_pcm_oss
ac97_bus 6081 1 snd_ac97_codec
snd_mpu401_uart 10177 1 snd_via82xx
snd_pcm 63685 4 cx88_alsa,snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_rawmidi 21185 1 snd_mpu401_uart
snd_seq_device 10061 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_timer 20549 2 snd_seq,snd_pcm
snd_page_alloc 11337 2 snd_via82xx,snd_pcm
snd 43461 12 cx88_alsa,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_mpu401_uart,snd_pcm,snd_rawmidi,snd_seq_device,snd_timer
soundcore 9633 3 snd


==============================
$$$$$$$$$$$$$$$$$$$$$$$
Sound problem correction link
This is what I have in my /etc/modprobe.d/alsa-base
===============================
options snd-via82xx dxs_support=3

#http://www.linuxquestions.org/questions/fedora-35/problem-with-audio-in-fc5-433011/
# ALSA portion
options snd cards_limit=2
alias snd-card-0 snd-via82xx
alias snd-card-1 cx88-alsa
options snd-via82xx index=0
options cx88-alsa index=1
# OSS/Free portion
alias sound-slot-0 snd-via82xx
alias sound-slot-1 cx88-alsa
====================================
This last oprions in /etc/modprobe.d/alsa-base seemed to work in my Fedora 8

And this is the data in my PC (Fedora 8)

Model: Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller

Sound problem: PCM device VIA 8237

=================
Whithout sound:
[acardh@localhost ~]$ /sbin/lsmod | grep snd
snd_via82xx 25177 0
gameport 14665 1 snd_via82xx
snd_ac97_codec 92389 1 snd_via82xx
ac97_bus 6081 1 snd_ac97_codec
snd_seq_dummy 6725 0
snd_seq_oss 29889 0
snd_seq_midi_event 9793 1 snd_seq_oss
snd_seq 44849 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 37569 0
snd_mixer_oss 16705 1 snd_pcm_oss
snd_pcm 63685 4 snd_via82xx,snd_ac97_codec,cx88_alsa,snd_pcm_oss
snd_timer 20549 2 snd_seq,snd_pcm
snd_mpu401_uart 10177 1 snd_via82xx
snd_page_alloc 11337 2 snd_via82xx,snd_pcm
snd_rawmidi 21185 1 snd_mpu401_uart
snd_seq_device 10061 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd 43461 12 snd_via82xx,snd_ac97_codec,cx88_alsa,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 9633 1 snd


==============================
With Kaffeine:

Audio output unavailable. Device is busy. ()
*** PULSEAUDIO: Unable to connect: Connection refused


With MPlayer:
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)

Could not open/initialize audio device -> no sound.
Audio: no sound

===============================
Whit sound:
[acardh@localhost ~]$ /sbin/lsmod | grep snd
snd_seq_dummy 6725 0
snd_via82xx 25177 2
gameport 14665 1 snd_via82xx
snd_ac97_codec 92389 1 snd_via82xx
ac97_bus 6081 1 snd_ac97_codec
snd_seq_oss 29889 0
snd_seq_midi_event 9793 1 snd_seq_oss
snd_seq 44849 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 37569 0
snd_mixer_oss 16705 3 snd_pcm_oss
snd_pcm 63685 5 cx88_alsa,snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_mpu401_uart 10177 1 snd_via82xx
snd_timer 20549 2 snd_seq,snd_pcm
snd_rawmidi 21185 1 snd_mpu401_uart
snd_seq_device 10061 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_page_alloc 11337 2 snd_via82xx,snd_pcm
snd 43461 13 cx88_alsa,snd_via82xx,snd_ac97_codec,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_timer,snd_rawmidi,snd_seq_device
soundcore 9633 3 snd


===============================