This is the old SliTaz forum - Please use the main forum.slitaz.org

SOLVED: Problem with sound card Via VT8237 , module snd_via82xx, "Duplicate Front" option
  • blcondeblconde April 2010
    Hi all,

    Here a tiny problem I'm facing with my sound card: to allow my notebook to play sounds in a external speaker box (or ear phones), I need to check the "Duplicate Front" box (as I did in Lubuntu and other distros I had on this cpu). I found this option in alsamixer terminal volume control tool, but even if I check it doesn't work (it took me pressing every key of my keyboard to find out that is the "." or "," keys are the ones to activate it). I also tryied to install the "linux-sound" package in Tazpkg, but it also didn't work.

    As my title says my card is an onboard Via VT8233/A/8235/8237 AC97 (full description by Hardinfo), and in the Control Panel -> Hardware it appers that kernel module snd_via82xx is loaded.

    Although, the embeded notebook speaker (terrible quality, by the way) works fine.

    Any ideas what is going on?

    Att.,

    BC



  • slicelslicel April 2010
    If the hardware works (works with another os), you can check for these packages-

    http://bugs.gentoo.org/78327

  • blcondeblconde May 2010
    Hi slicel,

    Thanks for the reply, but I don't understand that much about kernel modules and can't see a path to follow in this Gentoo bug report. Maybe could you be more specific, please?

    Comparing Lubuntu, which Duplicate Front option works, with Slitaz, both have the snd-via82xx-modem.ko and snd-via82xx.ko in /lib/modules/2.6.xx-xx/kernel/sound/pci (except that in Slitaz the modules has the additional extension .gz, "snd-via82xx.ko.gz") and /usr/share/alsa/cards/VIA8237.conf .

    I really don't know what is happening.

    Att.,

    BC
  • slicelslicel May 2010
    I never had a situation where slitaz played internal speakers but not headphones and I never used your card so I only can mention some questions to ask yourself.

    Are the headphones plugged into the headphone jack, not the microphone jack? (It has happened before.)

    Does the computer have a physical volume dial/control either for master volume or for headphones (maybe near the jack)?

    Are all the alsa or via volumes enabled (master volume, headphone volume, etc., pressing the keyboard's F1 or F5 while in an active alsamixer window might help)?

    Can you hear any system sounds in headphones (open leafpad with a few blanks lines and use the arrow keys to scroll the cursor against the top or bottom of document and check for beeps)?

    Do headphones still work on other os (I know they worked in lubuntu before but not sure if by coincidence hardware failed recently or a volume dial turned accidentally)?

    If the hardware works and all volumes are enabled, you might want to install the pciutils package or try installing some of these from the gentoo link-
    You'll need more ALSA modules loaded. On my system, I have, alongside my
    snd-intel8x0 driver:

    snd_pcm_oss
    snd_mixer_oss
    snd_seq_oss
    snd_seq_midi_event
    snd_seq
    snd_seq_device
    snd_ac97_codec
    snd_pcm
    snd_timer
    snd
    snd_page_alloc

    The OSS ones are optional.



    I think *.ko.gz unzips to *.ko.
  • blcondeblconde May 2010
    Hi slicel,

    Answering the questions:

    1) The earphones or external speaker are plugged in the right jack, the green one.
    2) No, my notebook doesn't have a physical volume control (a potentiometer). It just has a shortcut Fn + F8, + F9 and F6 for volume up, down and mute, respectively (my former Ubuntu recognized it automatically, versions 7.10 and 8.04). By the way, do you know how to enable it?
    3) I checked all volume options in alsamixer, including the options only shown when F5 is pressed, all them are setting up 80%.
    4) This Leafpad trick, I know what you mean, I should listen to some beeps, but it doesn't work in my Slitaz neither in the Lubuntu, both with and without headphones. Maybe this is a configuration standard in my soundboard.
    5) The earphones/external speakers are work fine now with other OS (even live cds).
    6) And I tried to load both as user and as root the following modules, snd_seq_midi_event snd_seq snd_seq_device snd_ac97_codec snd_pcm snd_timer snd snd_page_alloc with modprobe command and nothing happened. How do list the modules loaded besides the Hardware option in the Control Panel?

    It is really a weird.

    Att.

    BC
  • slicelslicel May 2010
    The xterm command lsmod will list modules.

    You also can, while playing something on the working speakers, plug in the headphones and then enter this xterm command to check for messages-
    dmesg | tail


    Sometimes a udev rule will work but I do not know what the contents would be.

    Possibilities-

    Slitaz is missing a package
    Slitaz uses a different driver version than lubuntu does
    Slitaz has some different structure

    I asked in this forum if slitaz sound structure/filepaths were different and how to configure a certain sound setting but I did not receive an answer.

    http://forum.slitaz.org/index.php/discussion/comment/5447/#Comment_5447
  • kultexkultex May 2010
    first check if alsamixer is the same than in Lubuntu

    but there is a different level, which is not shown in alsamixer - thats amixer

    to check the amixer levels type in both OS:

    tux@slitaz:~$ amixer contents

    like mine for the thinkpad X31 is
    numid=5,iface=MIXER,name='Master Mono Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=off
    numid=6,iface=MIXER,name='Master Mono Playback Volume'
    ; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
    : values=0
    | dBscale-min=-46.50dB,step=1.50dB,mute=0
    numid=1,iface=MIXER,name='Master Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=2,iface=MIXER,name='Master Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=24,24
    | dBscale-min=-46.50dB,step=1.50dB,mute=0
    numid=3,iface=MIXER,name='Headphone Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=off,off
    numid=4,iface=MIXER,name='Headphone Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=0,0
    | dBscale-min=-46.50dB,step=1.50dB,mute=0
    numid=18,iface=MIXER,name='PCM Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=19,iface=MIXER,name='PCM Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=24,24
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=12,iface=MIXER,name='Line Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=off,off
    numid=13,iface=MIXER,name='Line Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=0,0
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=14,iface=MIXER,name='CD Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=off,off
    numid=15,iface=MIXER,name='CD Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=0,0
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=11,iface=MIXER,name='Mic Boost (+20dB)'
    ; type=BOOLEAN,access=rw------,values=1
    : values=off
    numid=24,iface=MIXER,name='Mic Select'
    ; type=ENUMERATED,access=rw------,values=1,items=2
    ; Item #0 'Mic1'
    ; Item #1 'Mic2'
    : values=0
    numid=9,iface=MIXER,name='Mic Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=off
    numid=10,iface=MIXER,name='Mic Playback Volume'
    ; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
    : values=0
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=7,iface=MIXER,name='Phone Playback Switch'
    ; type=BOOLEAN,access=rw------,values=1
    : values=off
    numid=8,iface=MIXER,name='Phone Playback Volume'
    ; type=INTEGER,access=rw---R--,values=1,min=0,max=31,step=0
    : values=0
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=16,iface=MIXER,name='Aux Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=off,off
    numid=17,iface=MIXER,name='Aux Playback Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=31,step=0
    : values=0,0
    | dBscale-min=-34.50dB,step=1.50dB,mute=0
    numid=23,iface=MIXER,name='Mono Output Select'
    ; type=ENUMERATED,access=rw------,values=1,items=2
    ; Item #0 'Mix'
    ; Item #1 'Mic'
    : values=0
    numid=20,iface=MIXER,name='Capture Source'
    ; type=ENUMERATED,access=rw------,values=2,items=8
    ; Item #0 'Mic'
    ; Item #1 'CD'
    ; Item #2 'Video'
    ; Item #3 'Aux'
    ; Item #4 'Line'
    ; Item #5 'Mix'
    ; Item #6 'Mix Mono'
    ; Item #7 'Phone'
    : values=0,0
    numid=21,iface=MIXER,name='Capture Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on
    numid=22,iface=MIXER,name='Capture Volume'
    ; type=INTEGER,access=rw---R--,values=2,min=0,max=15,step=0
    : values=0,0
    | dBscale-min=0.00dB,step=1.50dB,mute=0
    numid=26,iface=MIXER,name='External Amplifier'
    ; type=BOOLEAN,access=rw------,values=1
    : values=on
    numid=25,iface=MIXER,name='Stereo Mic'
    ; type=BOOLEAN,access=rw------,values=1
    : values=off


    if something is different you can change the values with (in my case it could be numid=12 the LinePlaybackSwitch)
    type:
    amixer cset numid=12 on





  • blcondeblconde May 2010
    @kultex

    Thanks, your hint solved my problem. Actually, it has nothing to do with "Duplicate Front", here the option I changed with the command you indicate:

    Lubuntu 10.04

    numid=7,iface=MIXER,name='Surround Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=on,on

    Slitaz 3.0

    numid=7,iface=MIXER,name='Surround Playback Switch'
    ; type=BOOLEAN,access=rw------,values=2
    : values=off,off

    So I just typed: amixer cset numid=7 on

    And also thanks for slicel.

    BC

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social