SliTaz SliTaz Forum

You are not logged in.

#1 2014-09-08 12:55:20

robcar
Member
Registered: 2014-03-20
Posts: 13

No sound

Hello,

impressive work indeed on the latest RC! I got pretty much all working... except audio.

The chipset seems to be correctly recognized, but there's no output. I attach some info of my installation, that I saw was previously requested in another post for a similar issue.

Thank you

user@vxl-itona:~$ lspci | grep Audio

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

user@vxl-itona:~$ grep Codec /proc/asound/card*/codec*

user@vxl-itona:~$ ls -la /proc/asound/

total 0

dr-xr-xr-x    5 root     root             0 Sep  8 14:47 .

dr-xr-xr-x   84 root     root             0 Sep  8 14:33 ..

dr-xr-xr-x    3 root     root             0 Sep  8 14:47 card0

-r--r--r--    1 root     root             0 Sep  8 14:47 cards

-r--r--r--    1 root     root             0 Sep  8 14:47 devices

-r--r--r--    1 root     root             0 Sep  8 14:47 modules

dr-xr-xr-x    2 root     root             0 Sep  8 14:47 oss

-r--r--r--    1 root     root             0 Sep  8 14:47 pcm

dr-xr-xr-x    2 root     root             0 Sep  8 14:47 seq

-r--r--r--    1 root     root             0 Sep  8 14:47 timers

lrwxrwxrwx    1 root     root             5 Sep  8 14:47 V8237 -> card0

-r--r--r--    1 root     root             0 Sep  8 14:47 version

user@vxl-itona:~$ aplay -L

null

    Discard all samples (playback) or generate zero samples (capture)

sysdefault:CARD=V8237

    VIA 8237, VIA 8237

    Default Audio Device

front:CARD=V8237,DEV=0

    VIA 8237, VIA 8237

    Front speakers

surround40:CARD=V8237,DEV=0

    VIA 8237, VIA 8237

    4.0 Surround output to Front and Rear speakers

surround41:CARD=V8237,DEV=0

    VIA 8237, VIA 8237

    4.1 Surround output to Front, Rear and Subwoofer speakers

surround50:CARD=V8237,DEV=0

    VIA 8237, VIA 8237

    5.0 Surround output to Front, Center and Rear speakers

surround51:CARD=V8237,DEV=0

    VIA 8237, VIA 8237

    5.1 Surround output to Front, Center, Rear and Subwoofer speakers

iec958:CARD=V8237,DEV=0

    VIA 8237, VIA 8237

    IEC958 (S/PDIF) Digital Audio Output

user@vxl-itona:~$ aplay -l

**** List of PLAYBACK Hardware Devices ****

card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]

  Subdevices: 4/4

  Subdevice #0: subdevice #0

  Subdevice #1: subdevice #1

  Subdevice #2: subdevice #2

  Subdevice #3: subdevice #3

card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

user@vxl-itona:~$ lsmod | grep -i snd

snd_via82xx            14681  1

gameport                5188  1 snd_via82xx

snd_ac97_codec         76881  1 snd_via82xx

ac97_bus                 702  1 snd_ac97_codec

snd_mpu401_uart         3903  1 snd_via82xx

snd_rawmidi            12197  1 snd_mpu401_uart

snd_seq_device          3476  1 snd_rawmidi

snd_pcm                42934  2 snd_via82xx,snd_ac97_codec

Offline

#2 2014-09-09 14:17:43

robcar
Member
Registered: 2014-03-20
Posts: 13

Re: No sound

Ok,

the solution was in this previous post:

http://vanilla.slitaz.org/index.php?p=/discussion/1160/solved-problem-with-sound-card-via-vt8237-module-snd_via82xx-duplicate-front-option

I had set some volumes on in amixer; then I had to raise the main volume and I managed to listen to sounds. Now when I restart the pc the settings in amixer turn back to 'off'. Now I'll try to understand ho to save those settings.

Offline

#3 2014-09-09 15:24:02

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: No sound

put your commands in

/etc/init.d/local.sh

then it will be executed whenever you boot your slitaz system

Offline

#4 2014-09-09 15:42:49

robcar
Member
Registered: 2014-03-20
Posts: 13

Re: No sound

I tried to save those settings in /etc/init.d/local.sh, but it didn't work.

I managed to have functional volumes saving settings under ~.profile, which is fine for me as there's only one user (also with autologon).

And this is what I added to ~.profile:

...

amixer cset numid=9 on

amixer cset numid=24 on

amixer set Master 100%

amixer set Master unmute

...

The above id correspond to the following devices:

numid=9,iface=MIXER,name='Master Mono Playback Switch'

  ; type=BOOLEAN,access=rw------,values=1

  : values=on

numid=24,iface=MIXER,name='PCM Playback Switch'

  ; type=BOOLEAN,access=rw------,values=1

  : values=on

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]