SliTaz SliTaz Forum

You are not logged in.

#1 2018-01-30 11:20:21

plumtreed
Member
Registered: 2011-03-29
Posts: 115

Sound doesn't appear to be working

I'm not a heavy user of audio so was surprised that it wasn't there when I needed it. I searched for recent forum discussion and followed some of the suggestions but I am still silent.

I am using Slitaz 'recent nightly' on an Acer Aspire5315 upgraded with ram and SSD but no mods to the sound card. I get sound OK with other linux OS on same machine.

I also use Slitaz on an eeePC701 and can't get sound on it either........I've been using Slitaz in one form or another for about 10 years and I'm sure the sound was there, out of the box, for most of that time.

Is this a recent problem and can someone point me in the right direction to fix it.

Offline

#2 2018-01-31 09:14:15

plumtreed
Member
Registered: 2011-03-29
Posts: 115

Re: Sound doesn't appear to be working

Using a year old response by mojo to a similar problem, I verified that my system included the file snd-cmipci and modified file /etc/rcS.conf to include it in the LOAD_MODULES line but while it showed during boot process, the sound doesn't work.

Anybody able to help

Offline

#3 2018-01-31 22:28:09

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

Re: Sound doesn't appear to be working

its hard to tell without infos....

http://forum.slitaz.org/topic/having-sound-issues#post-43296

Offline

#4 2018-02-01 09:25:13

plumtreed
Member
Registered: 2011-03-29
Posts: 115

Re: Sound doesn't appear to be working

Here are the results......hope this offers a solution

[c]aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=Intel
    HDA Intel, ALC268 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

lsmod | grep snd
snd_hda_codec_realtek   134743  1
snd_hda_intel          17009  1
snd_hda_codec          45588  2 snd_hda_intel,snd_hda_codec_realtek
snd_cmipci             21762  0
gameport                5188  1 snd_cmipci
snd_mpu401_uart         3899  1 snd_cmipci
snd_opl3_lib            5718  1 snd_cmipci
snd_hwdep               3811  2 snd_opl3_lib,snd_hda_codec
snd_rawmidi            12516  1 snd_mpu401_uart
snd_seq_device          3472  2 snd_rawmidi,snd_opl3_lib
snd_pcm                42938  3 snd_cmipci,snd_hda_codec,snd_hda_intel
snd_page_alloc          4669  2 snd_pcm,snd_hda_intel
snd_timer              12641  2 snd_pcm,snd_opl3_lib
snd                    33710  13 snd_timer,snd_pcm,snd_seq_device,snd_rawmidi,snd_hwdep,snd_opl3_lib,snd_mpu401_uart,snd_cmipci,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek
soundcore               3254  1 snd

ls -la /proc/asound
total 0
dr-xr-xr-x    5 root     root             0 Feb  1 20:16 .
dr-xr-xr-x   98 root     root             0 Feb  1 20:05 ..
lrwxrwxrwx    1 root     root             5 Feb  1 20:16 Intel -> card0
dr-xr-xr-x    2 root     root             0 Feb  1 20:16 card0
-r--r--r--    1 root     root             0 Feb  1 20:16 cards
-r--r--r--    1 root     root             0 Feb  1 20:16 devices
-r--r--r--    1 root     root             0 Feb  1 20:16 hwdep
-r--r--r--    1 root     root             0 Feb  1 20:16 modules
dr-xr-xr-x    2 root     root             0 Feb  1 20:16 oss
-r--r--r--    1 root     root             0 Feb  1 20:16 pcm
dr-xr-xr-x    2 root     root             0 Feb  1 20:16 seq
-r--r--r--    1 root     root             0 Feb  1 20:16 timers
-r--r--r--    1 root     root             0 Feb  1 20:16 version[/c]

Offline

#5 2018-02-01 17:36:27

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Sound doesn't appear to be working

Hi there,

Just for the record my outputs are:

[c]$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

$ aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=Intel
    HDA Intel, ALC268 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

$ lsmod | grep snd

snd_hda_codec_realtek   182475  1
snd_hda_intel          20677  5
snd_hda_codec          56369  2 snd_hda_intel,snd_hda_codec_realtek
snd_hwdep               5117  1 snd_hda_codec
snd_pcm                57282  3 snd_hda_codec,snd_hda_intel
snd_page_alloc          5929  2 snd_pcm,snd_hda_intel
snd_timer              16375  2 snd_pcm
snd                    47916  14 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek
soundcore               4449  1 snd

$ ls -la /proc/asound

total 0
dr-xr-xr-x    5 root     root             0 Feb  1 19:36 .
drwxr-xr-x  147 root     root             0 Jan 17 18:32 ..
dr-xr-xr-x    2 root     root             0 Feb  1 19:36 card0
-r--r--r--    1 root     root             0 Feb  1 19:36 cards
-r--r--r--    1 root     root             0 Feb  1 19:36 devices
-r--r--r--    1 root     root             0 Feb  1 19:36 hwdep
lrwxrwxrwx    1 root     root             5 Feb  1 19:36 Intel -> card0
-r--r--r--    1 root     root             0 Feb  1 19:36 modules
dr-xr-xr-x    2 root     root             0 Feb  1 19:36 oss
-r--r--r--    1 root     root             0 Feb  1 19:36 pcm
dr-xr-xr-x    2 root     root             0 Feb  1 19:36 seq
-r--r--r--    1 root     root             0 Feb  1 19:36 timers
-r--r--r--    1 root     root             0 Feb  1 19:36 version[/c]

Offline

#6 2018-02-01 20:31:16

plumtreed
Member
Registered: 2011-03-29
Posts: 115

Re: Sound doesn't appear to be working

Hi Aleksej, ...thank you and just confirming that your saying your 'sound' is OK?

Offline

#7 2018-02-01 20:47:49

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Sound doesn't appear to be working

Hi Ken,

your 'sound' is OK?

Well, not completely.

Two systems are struggling with each other: ALSA and PulseAudio.

I can listen to music using Audacious. But when I use Firefox to watch Youtube (it required PulseAudio) or to listen SoundCloud I should reload the sound system. I use the simple homemade script for it (I'll share it at the end). And when Audacious is running, it does not matter it play or idle, I cannot listen Firefox. And I should shut down Firefox when I want to play some music in the LMMS. Looks like the hell, but I'm used to it :-D

Moreover, I wanted to manually switch Headphones / Loudspeakers in the [c]pavucontrol[/c]. Fortunately, it switched automatically in the SliTaz Next ;-)

And the script to reload the sound system used to fix ALSA / PulseAudio struggle (sometimes you need to run it multiple times; I keep it on my Desktop):

[c]#!/bin/sh
killall pulseaudio
alsactl kill quit
alsactl init
pulseaudio &[/c]

Offline

#8 2018-02-01 21:10:19

plumtreed
Member
Registered: 2011-03-29
Posts: 115

Re: Sound doesn't appear to be working

Thanks Mate, I can see what you mean.....a bit of a 'work-around'.....I'll see what happens.

Offline

#9 2018-02-01 21:22:57

plumtreed
Member
Registered: 2011-03-29
Posts: 115

Re: Sound doesn't appear to be working

Hey, thanks again, I now get sound on one PC so I guess each source is going to need work to get it going.

.....I appreciate your help.

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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