SliTaz SliTaz Forum

You are not logged in.

#1 2013-01-05 14:23:36

MADMAN
Member
Registered: 2012-09-12
Posts: 41

No sound output!

Hi

I installed slitaz and upgraded and installed lots of stuffs that i need to use, but the sound card is not working good enoghf, i have the volum control video and musics in players are playing with no errors but i don't have the sound output.

I have an asus n53sv

Offline

#2 2013-01-05 18:00:06

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

Re: No sound output!

I think, the chip needs - type in the terminal

lsmod | grep snd_hda_intel

if you have no answer

as get root in the terminla and type

modprobe snd_hda_intel

Offline

#3 2013-01-07 07:36:26

MADMAN
Member
Registered: 2012-09-12
Posts: 41

Re: No sound output!

madman@MADMAN:~$ lsmod | grep snd_hda_intel

snd_hda_intel          15886  1

snd_hda_codec          45027  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel

snd_pcm                43737  2 snd_hda_intel,snd_hda_codec

snd                    33394  9 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer

snd_page_alloc          4853  2 snd_hda_intel,snd_pcm

madman@MADMAN:~$ su

Password:

root@MADMAN:/home/madman# modprobe snd_hda_intel

root@MADMAN:/home/madman#

this is all what i should do next?!

Offline

#4 2013-01-07 18:29:23

yves04
Member
Registered: 2012-09-23
Posts: 135

Re: No sound output!

Hi

After the right module has been loaded, may be you should have to try the commands #soundconf then $alsamixer and eventually #alsactl store

Offline

#5 2013-02-05 19:30:29

tazpider
Member
Registered: 2012-03-20
Posts: 71

Re: No sound output!

Which driver should I install to have sound with this chip?

[c]root@slitaz:/home/tux# lspci | grep Audio
00:01.1 Audio device: ATI Technologies Inc Device 9902
00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia Controller (rev 01)[/c]
[c]alsamixer[/c] shows [c]Chip: ATI R6xx HDMI[/c]

[c]soundconf[/c] gives me a message [c]No supported PnP or PCI card found[/c]

Offline

#6 2013-02-05 19:56:42

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

Re: No sound output!

snd-hda-intel kernel module

http://forums.gentoo.org/viewtopic-t-916634-start-0-postdays-0-postorder-asc-highlight-.html?sid=f32983e2f7089d6914f91d52bad163ed

Offline

#7 2013-02-05 20:10:24

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: No sound output!

@tazpider

Post the output:

[c]grep Codec /proc/asound/card*/codec*[/c]

[c]ls -la /proc/asound[/c]

[c]aplay -L[/c]

[c]aplay -l[/c]

[c]lsmod | grep -i snd[/c]

Online

#8 2013-02-05 20:16:13

tazpider
Member
Registered: 2012-03-20
Posts: 71

Re: No sound output!

[c]root@slitaz:/home/tux# grep Codec /proc/asound/card*/codec*
/proc/asound/card0/codec#0:Codec: ATI R6xx HDMI
/proc/asound/card1/codec#0:Codec: IDT 92HD81B1X5[/c]
[c]root@slitaz:/home/tux# ls -la /proc/asound
total 0
dr-xr-xr-x    6 root     root             0 Feb  5 21:11 .
dr-xr-xr-x  102 root     root             0 Feb  5 20:09 ..
dr-xr-xr-x    2 root     root             0 Feb  5 21:11 card0
dr-xr-xr-x    2 root     root             0 Feb  5 21:11 card1
-r--r--r--    1 root     root             0 Feb  5 21:11 cards
-r--r--r--    1 root     root             0 Feb  5 21:11 devices
lrwxrwxrwx    1 root     root             5 Feb  5 21:11 Generic -> card0
lrwxrwxrwx    1 root     root             5 Feb  5 21:11 Generic_1 -> card1
-r--r--r--    1 root     root             0 Feb  5 21:11 hwdep
-r--r--r--    1 root     root             0 Feb  5 21:11 modules
dr-xr-xr-x    2 root     root             0 Feb  5 21:11 oss
-r--r--r--    1 root     root             0 Feb  5 21:11 pcm
dr-xr-xr-x    2 root     root             0 Feb  5 21:11 seq
-r--r--r--    1 root     root             0 Feb  5 21:11 timers
-r--r--r--    1 root     root             0 Feb  5 21:11 version[/c]
[c]root@slitaz:/home/tux# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
default:CARD=Generic_1
    HD-Audio Generic, STAC92xx Analog
    Default Audio Device
front:CARD=Generic_1,DEV=0
    HD-Audio Generic, STAC92xx Analog
    Front speakers
surround40:CARD=Generic_1,DEV=0
    HD-Audio Generic, STAC92xx Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
    HD-Audio Generic, STAC92xx Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
    HD-Audio Generic, STAC92xx Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
    HD-Audio Generic, STAC92xx Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
    HD-Audio Generic, STAC92xx Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers[/c]
[c]root@slitaz:/home/tux# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0[/c]
[c]root@slitaz:/home/tux# lsmod | grep -i snd
snd_pcm_oss            25777  0
snd_mixer_oss           9807  1 snd_pcm_oss
snd_hda_codec_idt      36872  1
snd_hda_codec_hdmi     16401  1
snd_hda_intel          15886  1
snd_hda_codec          45027  3 snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               3808  1 snd_hda_codec
snd_pcm                43737  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              12515  1 snd_pcm
snd                    33394 11 snd_pcm_oss,snd_mixer_oss,snd_hda_codec_idt,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               3357  1 snd
snd_page_alloc          4853  2 snd_hda_intel,snd_pcm[/c]

Offline

#9 2013-02-05 21:01:57

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: No sound output!

card 0 is always default sound device

Alsa chooses the first card it detects as card:0

card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]

On your hardware it detected HDMI first which requires hdmi cable,AV receiver with HDMI input,etc...

We use .asoundrc to force default device to the analog card:

card 1:   STAC92xx Analog [STAC92xx Analog]

In this example I am running these commands as user tux in /home/tux

[c]tux@slitaz:~$ leafpad .asoundrc[/c]

[c]pcm.!default {
    type hw
    card Generic_1
}
ctl.!default {
    type hw
    card Generic_1
}[/c]
leafpad=> File/Save/File/Quit

Log out/in account

Online

#10 2013-02-06 17:14:48

tazpider
Member
Registered: 2012-03-20
Posts: 71

Re: No sound output!

Perfect. Thank you mojo.

Offline

#11 2015-05-15 18:59:29

hristo77
Member
Registered: 2015-05-15
Posts: 1

Re: No sound output!

Can you help me, please.

this is the esecution of that codes:

Codec: Realtek ALC269VB

total 0

dr-xr-xr-x    5 root     root             0 May 15 21:39 .

dr-xr-xr-x  104 root     root             0 May 15 12:04 ..

dr-xr-xr-x    2 root     root             0 May 15 21:39 card0

-r--r--r--    1 root     root             0 May 15 21:39 cards

-r--r--r--    1 root     root             0 May 15 21:39 devices

-r--r--r--    1 root     root             0 May 15 21:39 hwdep

lrwxrwxrwx    1 root     root             5 May 15 21:39 Intel -> card0

-r--r--r--    1 root     root             0 May 15 21:39 modules

dr-xr-xr-x    2 root     root             0 May 15 21:39 oss

-r--r--r--    1 root     root             0 May 15 21:39 pcm

dr-xr-xr-x    2 root     root             0 May 15 21:39 seq

-r--r--r--    1 root     root             0 May 15 21:39 timers

-r--r--r--    1 root     root             0 May 15 21:39 version

null

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

default:CARD=Intel

    HDA Intel, ALC269VB Analog

    Default Audio Device

front:CARD=Intel,DEV=0

    HDA Intel, ALC269VB Analog

    Front speakers

surround40:CARD=Intel,DEV=0

    HDA Intel, ALC269VB Analog

    4.0 Surround output to Front and Rear speakers

surround41:CARD=Intel,DEV=0

    HDA Intel, ALC269VB Analog

    4.1 Surround output to Front, Rear and Subwoofer speakers

surround50:CARD=Intel,DEV=0

    HDA Intel, ALC269VB Analog

    5.0 Surround output to Front, Center and Rear speakers

surround51:CARD=Intel,DEV=0

    HDA Intel, ALC269VB Analog

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

surround71:CARD=Intel,DEV=0

    HDA Intel, ALC269VB Analog

    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

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

card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]

  Subdevices: 0/1

  Subdevice #0: subdevice #0

sh: Subdevices:: not found

root@hristo:/home/tux# lsmod | grep -i snd

snd_hda_codec_realtek   202176  1

snd_hda_intel          15886  4

snd_hda_codec          45027  2 snd_hda_codec_realtek,snd_hda_intel

snd_hwdep               3808  1 snd_hda_codec

snd_pcm                43737  3 snd_hda_intel,snd_hda_codec

snd_timer              12515  2 snd_pcm

snd                    33394 12 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer

soundcore               3357  1 snd

snd_page_alloc          4853  2 snd_hda_intel,snd_pcm

Offline

#12 2015-05-15 20:30:11

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: No sound output!

More information is required.

Applications/System Tools/Sakura Terminal

su Passwd: root

Type or copy/paste each line then hit Enter key.

[c]tazpkg -gi wget[/c]

[c]tazpkg -gi bash[/c]

wget http://www.alsa-project.org/alsa-info.sh

[c]chmod +x alsa-info.sh[/c]

[c]./alsa-info.sh[/c]

Use tab key to highlight,then hit enter key

Highlight OK

Highlight UPLOAD/SHARE

Would you like to see uploaded information?

Highlight No

You should see:

Your ALSA information is located at http://www.alsa-project.org/db/your.info.here

Please inform the person helping you.

Paste the URL in your browser address bar to view the uploaded information.

Copy/paste the URL to the uploaded alsa information in your reply so I can view it.

Online

#13 2015-10-15 12:02:41

apache
Member
Registered: 2015-10-15
Posts: 40

Re: No sound output!

hi guys ...sorry for bumping old topic im new here.

so this is first time im using slitaz...im running on live usb since i dont know how to install to harddrive yet...my issued when using slitaz is there is no audio output ...im only hear "beep" once i start playing mp3 or youtube then it just silence...i have run the guide above and this is what i got.

http://www.alsa-project.org/db/?f=72937e3b8165a970ef51e7c3bd742a0677ca4f9b

so im sorry again with my poor english and im very appreciated if someone can help me out with my issued...thanks in advance.

Offline

#14 2015-10-15 12:31:18

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: No sound output!

Seems all drivers loaded...

Did you tried to disable "mute"?

Run alsamixer, select with [c]Left-right[/c] keys, use [c]M[/c] key to switch all black MM(disabled) to green 00(enabled).

But first, try one useful terminal command, as user:

[c]setmixer[/c]

It should auto-disable mute.

Or as root: [c]alsactl init ; alsactl store[/c]

Offline

#15 2015-10-15 13:40:53

apache
Member
Registered: 2015-10-15
Posts: 40

Re: No sound output!

Thanks for replied.

Im tried enable(00) and setting them all at max but still no luck.

FYI:My desktop using built-in/onboard speaker not plug-in/usb speaker.

when i run alsactrl init i got this "-sh: alsactrl: not found"

Offline

#16 2015-10-15 15:42:04

Genesis
Member
Registered: 2014-07-03
Posts: 109

Re: No sound output!

@apache

Note that it is "alsactl" (without R), not "alsactrl".

Have a nice day!

Offline

#17 2015-10-15 16:28:21

apache
Member
Registered: 2015-10-15
Posts: 40

Re: No sound output!

^^lol

thanks

NOW what i got

as user

tux@slitaz:~$ setmixer

Setting default mixer volumes...                                     [ Done ]

alsactl: state_lock:121: file /var/lib/alsa/asound.state lock error: Permission denied

alsactl: state_lock:121: file /var/lib/alsa/asound.state unlock error: Permission denied

as root

tux@slitaz:~$ su -

Password:

root@slitaz:~# alsactl init ; alsactl store

Found hardware: "HDA-Intel" "Analog Devices AD1884" "HDA:11d41884,103c3029,00100100" "0x103c" "0x3029"

Hardware is initialized using a generic method

root@slitaz:~#

Offline

#18 2015-10-16 19:30:41

apache
Member
Registered: 2015-10-15
Posts: 40

Re: No sound output!

After many tried i found out that slitaz do not support audio with html5 that is why youtube workin but no sound(firefox).

then im now using firefox addon force youtube to use flash instead of html5 and now i get the audio workin.anyone know how to fix html5 support?

thanks

Offline

#19 2015-10-16 20:19:40

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: No sound output!

> anyone know how to fix html5 support?

> firefox

This worked in firefox v. 24 and 38:

tazpkg get-install gst-plugins-base

tazpkg get-install gst-plugins-good --nodeps

tazpkg get-install gst-ffmpeg

Offline

#20 2015-10-16 21:05:24

apache
Member
Registered: 2015-10-15
Posts: 40

Re: No sound output!

Do you meant firefox v24 and 38 support html5 with audio in slitaz?

If so Could you link to me the firefox v38 tazpkg version for me.

And do i still need to run those three script after download that firefox version to get audio working?

Offline

#21 2015-10-16 21:30:21

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: No sound output!

Did you tried running this three commands, then restart firefox and check?

You're even don't told us, what version of firefox and slitaz you are currently using (if you still on slitaz-4.0 - I know nothing about 4.0). And I not meant exactly these versions. Latest firefox avaliable in 5.0/rolling by # tazpkg -gi firefox-official.

Offline

#22 2015-10-16 21:46:09

apache
Member
Registered: 2015-10-15
Posts: 40

Re: No sound output!

sorry man

im using slitaz rolling 64bit version and firefox v41.0.1.

I already tried ran the scripts and restart firefox but the youtube still run without audio sad

Offline

#23 2015-10-16 22:19:15

az_ua
Moderator
Registered: 2014-05-02
Posts: 284

Re: No sound output!

Strange, I installed three gst-... packages, then ran firefox 41.0.1. And I have sound on youtube.

Upd: and even without gstreamer - with worse quality

- Try clean firefox profile!

- Look on your alsamixer settings again. Check if you have 2 soundcard, switch by F6 key.

- Maybe you just have pulseadio installed.

Offline

#24 2015-10-17 05:21:35

apache
Member
Registered: 2015-10-15
Posts: 40

Re: No sound output!

Did clean profile still not work.

Sound card

- (default)

0 HDA ATI SB

Pulseadio ?

Offline

#25 2015-10-17 20:08:54

llev
Member
Registered: 2011-12-09
Posts: 568

Re: No sound output!

pulseaudio

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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