SliTaz SliTaz Forum

You are not logged in.

#1 2013-03-01 16:23:07

emgi
Member
Registered: 2012-12-17
Posts: 127

No sound on my slitaz laptop

As it says: The sound on my laptop remains in a disabed state. The LED indicating sound=off is constantly lit, pressing the on-off button has no effect. Sound not working is not a problem for me, I had it off most of the time anyway but the problem may be related to my issue with wlan not initializing properly. It seems to me there is some kind of driver-conflict.

Don't know exactly where to start with providing information. Perhaps the output from lsmod is a good start. Here it is:

root@slaptop:/# lsmod

Module                  Size  Used by    Tainted: P

ssb                    24436  0

cifs                  173609  2

michael_mic             1462  4

lib80211_crypt_tkip     6319  0

wl                   1937352  0

lib80211                2676  2 lib80211_crypt_tkip,wl

parport_pc             16061  0

parport                20983  1 parport_pc

tg3                    97545  0

libphy                 11777  1 tg3

pcmcia                 24993  0

yenta_socket           16223  0

pcmcia_rsrc             6989  1 yenta_socket

pcmcia_core             8413  3 pcmcia,yenta_socket,pcmcia_rsrc

snd_hda_codec_si3054     2390  1

snd_hda_codec_analog    53119  1

snd_hda_intel          15886  1

snd_hda_codec          45027  3 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel

snd_hwdep               3808  1 snd_hda_codec

snd_pcm                43737  3 snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec

snd_timer              12515  1 snd_pcm

snd                    33394  9 snd_hda_codec_si3054,snd_hda_codec_analog,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

i915                  254040  2

drm_kms_helper         18798  1 i915

drm                   111992  3 i915,drm_kms_helper

i2c_algo_bit            3479  1 i915

button                  3602  1 i915

i2c_core               12192  4 i915,drm_kms_helper,drm,i2c_algo_bit

video                   9783  1 i915

output                  1144  1 video

intel_agp               7908  1 i915

intel_gtt               9214  3 i915,intel_agp

agpgart                18221  3 drm,intel_agp,intel_gtt

root@slaptop:/#

@Mojo: Yes, I am still using the wl-driver because I haven't yet found out how to get it working with the b43 driver. ;-) Perhaps there is a relation with this problem meaning there is some kind of a driver conflict. The output I posted yesterday seems to point in this direction.

The laptop is an nc6320. I upgraded the OS to slitaz earlier this week.

/emgi

Offline

#2 2013-03-01 17:34:58

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

Re: No sound on my slitaz laptop

I doubt the wifi driver is related to the audio problem.

Meanwhile see if blacklisting b43 works:

[c]# echo "blacklist b43" >> /etc/modprobe.d/blacklist[/c]

Post the output:

grep Codec /proc/asound/card*/codec*

ls -la /proc/asound

aplay -L

aplay -l

lsmod | grep -i snd

amixer

Attach a screenshot jpeg of alsamixer maximized.

Offline

#3 2013-03-01 18:04:23

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: No sound on my slitaz laptop

Here's the output:

root@slaptop:/home/leo# grep Codec /proc/asound/card*/codec*

grep: /proc/asound/card0/codec#0: Bad address

grep: /proc/asound/card0/codec#1: Bad address

root@slaptop:/home/leo# ls -la /proc/asound

total 0

dr-xr-xr-x    5 root     root             0 Mar  1 18:53 .

dr-xr-xr-x  105 root     root             0 Mar  1 16:01 ..

dr-xr-xr-x    2 root     root             0 Mar  1 18:53 card0

-r--r--r--    1 root     root             0 Mar  1 18:53 cards

-r--r--r--    1 root     root             0 Mar  1 18:53 devices

-r--r--r--    1 root     root             0 Mar  1 18:53 hwdep

lrwxrwxrwx    1 root     root             5 Mar  1 18:53 Intel -> card0

-r--r--r--    1 root     root             0 Mar  1 18:53 modules

dr-xr-xr-x    2 root     root             0 Mar  1 18:53 oss

-r--r--r--    1 root     root             0 Mar  1 18:53 pcm

dr-xr-xr-x    2 root     root             0 Mar  1 18:53 seq

-r--r--r--    1 root     root             0 Mar  1 18:53 timers

-r--r--r--    1 root     root             0 Mar  1 18:53 version

root@slaptop:/home/leo# aplay -L

null

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

root@slaptop:/home/leo# aplay -l

aplay: device_list:240: no soundcards found...

root@slaptop:/home/leo# lsmod | grep -i snd

snd_hda_codec_si3054     2390  1

snd_hda_codec_analog    53119  1

snd_hda_intel          15886  1

snd_hda_codec          45027  3 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel

snd_hwdep               3808  1 snd_hda_codec

snd_pcm                43737  3 snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec

snd_timer              12515  1 snd_pcm

snd                    33394  9 snd_hda_codec_si3054,snd_hda_codec_analog,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

root@slaptop:/home/leo# amixer

amixer: Mixer attach default error: No such file or directory

root@slaptop:/home/leo#

The screenshot will not be forthcoming as it seems the application doesn't even start. When clicking on it (Applicatons > Multimedia > Alsamixer) my screen flashes briefly but nothing pops up.

As to the wireless problem, I will post in the other thread.

thnx!

/emgi

Offline

#4 2013-03-01 21:00:30

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: No sound on my slitaz laptop

Found on the forum that you can start alsamixer from the command line.

That worked. Image attached.

[attachment=22644,1019]

Offline

#5 2013-03-01 21:39:01

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: No sound on my slitaz laptop

When checking the other audio problem, I re-issued the commands I posted before but now the output looks different (like better).

root@slaptop:/home/leo# grep Codec /proc/asound/card*/codec*

/proc/asound/card0/codec#0:Codec: Analog Devices AD1981

/proc/asound/card0/codec#1:Codec: LSI Si3054

root@slaptop:/home/leo# ls -la /proc/asound

total 0

dr-xr-xr-x    5 root     root             0 Mar  1 22:11 .

dr-xr-xr-x  105 root     root             0 Mar  1 21:22 ..

dr-xr-xr-x    2 root     root             0 Mar  1 22:11 card0

-r--r--r--    1 root     root             0 Mar  1 22:11 cards

-r--r--r--    1 root     root             0 Mar  1 22:11 devices

-r--r--r--    1 root     root             0 Mar  1 22:11 hwdep

lrwxrwxrwx    1 root     root             5 Mar  1 22:11 Intel -> card0

-r--r--r--    1 root     root             0 Mar  1 22:11 modules

dr-xr-xr-x    2 root     root             0 Mar  1 22:11 oss

-r--r--r--    1 root     root             0 Mar  1 22:11 pcm

dr-xr-xr-x    2 root     root             0 Mar  1 22:11 seq

-r--r--r--    1 root     root             0 Mar  1 22:11 timers

-r--r--r--    1 root     root             0 Mar  1 22:11 version

root@slaptop:/home/leo# aplay -L

null

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

default:CARD=Intel

    HDA Intel, AD198x Analog

    Default Audio Device

front:CARD=Intel,DEV=0

    HDA Intel, AD198x Analog

    Front speakers

surround40:CARD=Intel,DEV=0

    HDA Intel, AD198x Analog

    4.0 Surround output to Front and Rear speakers

surround41:CARD=Intel,DEV=0

    HDA Intel, AD198x Analog

    4.1 Surround output to Front, Rear and Subwoofer speakers

surround50:CARD=Intel,DEV=0

    HDA Intel, AD198x Analog

    5.0 Surround output to Front, Center and Rear speakers

surround51:CARD=Intel,DEV=0

    HDA Intel, AD198x Analog

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

surround71:CARD=Intel,DEV=0

    HDA Intel, AD198x Analog

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

root@slaptop:/home/leo# aplay -l

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

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

  Subdevices: 1/1

  Subdevice #0: subdevice #0

card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

root@slaptop:/home/leo# lsmod | grep -i snd

snd_hda_codec_si3054     2390  1

snd_hda_codec_analog    53119  1

snd_hda_intel          15886  1

snd_hda_codec          45027  3 snd_hda_codec_si3054,snd_hda_codec_analog,snd_hda_intel

snd_hwdep               3808  1 snd_hda_codec

snd_pcm                43737  3 snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec

snd_timer              12515  1 snd_pcm

snd                    33394  9 snd_hda_codec_si3054,snd_hda_codec_analog,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

root@slaptop:/home/leo#

This looks very similar to what I saw in the output from Verault and very different from what I got the first time. (at that moment my wireless was still not working)

When pasting the sequence in the command prompt, one of the commands (!) triggered my audio and it came to life. I was already able to play some mp3 files with alsaplayer.

Looks like everything is falling in its place eventually. This is how my desktop looks

/emgi

[attachment=22658,1020]

Offline

#6 2013-03-01 22:01:46

emgi
Member
Registered: 2012-12-17
Posts: 127

Re: No sound on my slitaz laptop

Just did another reboot to verify the erratic behavior I noticed.  The script lines used to generate the requested output (by mojo) fix my sound card albeit temporarily.

It is the first line which does the trick:

# grep Codec /proc/asound/card*/codec*

When executing this command, the audio-disabled-led immedialtely switches off and my audio seems ok. After a while, it disables itself again without me doing anything.

However, re-entering the above line immediately puts the audio back on.

I have done it at least five times by now and it didn't fail a single time.

What could possibly be going on here?

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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