You are not logged in.
Pages: 1
Hello 
I recently installed slitaz on an old PC that I have.
After the installation was complete everything was working fine except for the audio/sound.
I tried using various commands from other threads that had a similar problem and here is the output:
root@slitaz:/home/tux# tazhw detect-pci
Detected PCI devices Kernel modules
================================================================================
> Module in use: sis_agp
! Missing module: snd_intel8x0
! Missing module: snd_cmipci
================================================================================
root@slitaz:/home/tux# lsmod
Module Size Used by Not tainted
parport_pc 16061 0
parport 20983 1 parport_pc
button 3602 0
snd 33394 0
soundcore 3357 1 snd
sis_agp 2997 1
agpgart 18221 1 sis_agp
root@slitaz:/home/tux#
root@slitaz:/home/tux# aplay -l
aplay: device_list:240: no soundcards found...
root@slitaz:/home/tux# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
root@slitaz:/home/tux#
tux@slitaz:~$ lspci -nn | grep -i audio
00:02.7 Multimedia audio controller [0401]: Silicon Integrated Systems [SiS] SiS7012 AC'97 Sound Controller [1039:7012] (rev a0)
00:05.0 Multimedia audio controller [0401]: C-Media Electronics Inc CM8738 [13f6:0111] (rev 10)
tux@slitaz:~$ lspci | grep -i audio
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 AC'97 Sound Controller (rev a0)
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
tux@slitaz:~$
Also when i try the soundconf command i get the following:
No supported PnP or PCI card found. Would you like to probe legacy ISA sound cards/chips?
-Yes
Probing legacy ISA cards might make your system unstable. Do you want to proceed?
-Yes
No legacy drivers are available for your machine
-OK
One of the audio cards is broken so I have a second one which works. The broken one is the Silicon Integrated Systems card and the one that works is the C-Media Electronics Inc CM8738 card. I also forgot to mention that I have no Internet connection on this PC currently, which is not because of slitaz. So I will have to manually download tazpkg packages. I assume I will have to download from here:
http://distro.ibiblio.org/slitaz/packages/cooking/
Sorry for my bad English, I am self-taught.
Thanks in advance,
-Max 
Offline
Verify you have snd-cmipci on your system:
[c]# tazpkg search-file snd-cmipci[/c]
If yes go to Step 2
If snd-cmipci is not on your system you have to install linux-sound with same kernel version of your installed kernel.
Cooking kernel:
[c]uname -a[/c]
Linux slitaz 3.2.71-slitaz #4 SMP Sun Jun 12 12:47:40 CEST 2016 i686 GNU/Linux
If cooking is installed use linux-sound-3.2.71.tazpkg
You fetch this from cooking repo.
http://distro.ibiblio.org/slitaz/packages/cooking/linux-sound-3.2.71.tazpkg
Install as root user in same directory with this command or provide path to package:
[c]tazpkg install linux-sound-3.2.71.tazpkg[/c]
Go to Step 2
Step 2
Open /etc/rcS.conf in text editor as root.
Add snd-cmipci to LOAD_MODULES=
Save/Exit
Reboot
Offline
Hello Mojo, thanks for the speedy reply!
I also verified that I have the snd-cmipci on my system:
tux@slitaz:~$ tazpkg search-file snd-cmipci
Search result for file snd-cmipci
================================================================================
Package linux-sound:
/lib/modules/3.2.71-slitaz/kernel/sound/pci/snd-cmipci.ko.xz
================================================================================
1 file(s) found for: snd-cmipci
tux@slitaz:~$
I also used the second command and here is the output:
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #2 SMP Wed Mar 7 10:36:39 CET 2012 i686 GNU/Linux
tux@slitaz:~$
So am I supposed to download linux-sound-2.6.37.tazpkg? or the newest version?
When I opened the rcS.conf file I got the following there:
LOAD_MODULES=" sis_agp snd_intel8x0 snd_cmipci snd-intel8x0 snd-cmipci"
Should I change that to:
LOAD_MODULES="snd_cmipci"
Or something else?
Thanks again,
-Max
Offline
The kernel <version> must match the linux-sound-<version>.tazpkg
4.0 stable: Linux slitaz 2.6.37-slitaz #2 SMP Wed Mar 7 10:36:39 CET 2012 i686 GNU/Linux
http://mirror.switch.ch/ftp/mirror/slitaz/packages/stable/linux-sound-2.6.37.tazpkg
Don't use http://distro.ibiblio.org/slitaz/packages for a mirror
They don't have 4.0/stable packages.
/etc/rcS.conf:
[c]LOAD_MODULES="sis_agp snd_intel8x0 snd_cmipci"[/c]
Offline
Hello again,
I did everything you told me to do, but I still have no sound. I followed the steps exactly. What should I do now? Should I try soundconf again? Maybe something with alsa mixer?
Up until the reboot I was not able to open alsa mixer, but now I can.
Many thanks! 
-Max
Offline
Open alsamixer
Open a terminal.
In the terminal type
[c]setmixer[/c]
Hit Enter key
Type each command, hit Enter,Copy/paste terminal output:
[c]aplay -l[/c]
[c]aplay -L[/c]
[c]lsmod | grep snd[/c]
[c]ls -la /proc/asound[/c]
[c]grep Codec /proc/asound/card*/codec*[/c]
Offline
Here goes:
root@slitaz:/home/tux# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SI7012 [SiS SI7012], device 0: Intel ICH [SiS SI7012]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMI8738 [C-Media CMI8738], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMI8738 [C-Media CMI8738], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@slitaz:/home/tux# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=SI7012
SiS SI7012, SiS SI7012
Default Audio Device
front:CARD=SI7012,DEV=0
SiS SI7012, SiS SI7012
Front speakers
surround40:CARD=SI7012,DEV=0
SiS SI7012, SiS SI7012
4.0 Surround output to Front and Rear speakers
surround41:CARD=SI7012,DEV=0
SiS SI7012, SiS SI7012
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SI7012,DEV=0
SiS SI7012, SiS SI7012
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SI7012,DEV=0
SiS SI7012, SiS SI7012
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=SI7012,DEV=0
SiS SI7012, SiS SI7012
IEC958 (S/PDIF) Digital Audio Output
default:CARD=CMI8738
C-Media CMI8738, C-Media PCI DAC/ADC
Default Audio Device
front:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
Front speakers
rear:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
Rear speakers
surround40:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
4.0 Surround output to Front and Rear speakers
surround41:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI 2nd DAC
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=CMI8738,DEV=0
C-Media CMI8738, C-Media PCI DAC/ADC
IEC958 (S/PDIF) Digital Audio Output
root@slitaz:/home/tux# lsmod | grep snd
snd_cmipci 22448 0
gameport 5761 1 snd_cmipci
snd_opl3_lib 5798 1 snd_cmipci
snd_hwdep 3808 1 snd_opl3_lib
snd_mpu401_uart 3975 1 snd_cmipci
snd_rawmidi 12384 1 snd_mpu401_uart
snd_seq_device 3757 2 snd_opl3_lib,snd_rawmidi
snd_intel8x0 19786 2
snd_ac97_codec 77963 1 snd_intel8x0
ac97_bus 718 1 snd_ac97_codec
snd_pcm 43737 3 snd_cmipci,snd_intel8x0,snd_ac97_codec
snd_timer 12515 2 snd_opl3_lib,snd_pcm
snd 33394 14 snd_cmipci,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 3357 1 snd
snd_page_alloc 4853 2 snd_intel8x0,snd_pcm
root@slitaz:/home/tux# ls -la /proc/asound
total 0
dr-xr-xr-x 6 root root 0 Jul 10 22:31 .
dr-xr-xr-x 94 root root 0 Jul 10 21:33 ..
dr-xr-xr-x 3 root root 0 Jul 10 22:31 card0
dr-xr-xr-x 2 root root 0 Jul 10 22:31 card1
-r--r--r-- 1 root root 0 Jul 10 22:31 cards
lrwxrwxrwx 1 root root 5 Jul 10 22:31 CMI8738 -> card1
-r--r--r-- 1 root root 0 Jul 10 22:31 devices
-r--r--r-- 1 root root 0 Jul 10 22:31 hwdep
-r--r--r-- 1 root root 0 Jul 10 22:31 modules
dr-xr-xr-x 2 root root 0 Jul 10 22:31 oss
-r--r--r-- 1 root root 0 Jul 10 22:31 pcm
dr-xr-xr-x 2 root root 0 Jul 10 22:31 seq
lrwxrwxrwx 1 root root 5 Jul 10 22:31 SI7012 -> card0
-r--r--r-- 1 root root 0 Jul 10 22:31 timers
-r--r--r-- 1 root root 0 Jul 10 22:31 version
root@slitaz:/home/tux# grep Codec /proc/asound/card*/codec*
root@slitaz:/home/tux#
It looks like the last command didn't do anything?
Offline
If possible the broken sis soundcard needs to be disabled in the motherboards hardware bios.
It's claiming default card:0 which prevents the cmedia card from producing sound.
What follows is only necessary if sis soundcard can't be disabled in bios.
Prevent sis audio driver snd_intel8x0 from loading:
Change
/etc/rcS.conf:
LOAD_MODULES="sis_agp snd_intel8x0 snd_cmipci"
to
LOAD_MODULES="sis_agp snd_cmipci"
Reboot
Verify snd_intel8x0 is not loaded:
[c]lsmod | grep -i snd_intel8x0[/c]
If snd_intel8x0 is autoloading try to blacklist the module.
As root:
echo "blacklist snd-intel8x0" >> /etc/modprobe.d/blacklist.conf
Reboot
Offline
It worked!Thank you very much! 
I prevented the snd_intel8x0 from loading by changing the line you told me.
After the reboot it worked fine! 
Thanks again!
-Max
Offline
Awesome job !!!
Offline
Hi,
I have no sound Slitaz 5 (Rolling).
Post requested the same data as previous user ...
please help!
---------
alsamixer
cannot load mixer controls: Invalid argument
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=NVidia
HDA NVidia, ALC887-VD Analog
Default Audio Device
front:CARD=NVidia,DEV=0
HDA NVidia, ALC887-VD Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, ALC887-VD Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, ALC887-VD Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, ALC887-VD Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, ALC887-VD Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, ALC887-VD Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, ALC887-VD Digital
IEC958 (S/PDIF) Digital Audio Output
lsmod | grep snd
snd_hda_codec_realtek 134743 1
snd_hda_intel 17005 1
snd_hda_codec 45588 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 3811 1 snd_hda_codec
snd_pcm 42938 2 snd_hda_intel,snd_hda_codec
snd_page_alloc 4669 2 snd_hda_intel,snd_pcm
snd_timer 12069 1 snd_pcm
snd 33686 8 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 3254 1 snd
ls -la /proc/asound
total 0
dr-xr-xr-x 5 root root 0 Sep 24 18:11 .
dr-xr-xr-x 94 root root 0 Sep 24 14:54 ..
lrwxrwxrwx 1 root root 5 Sep 24 18:11 NVidia -> card0
dr-xr-xr-x 2 root root 0 Sep 24 18:11 card0
-r--r--r-- 1 root root 0 Sep 24 18:11 cards
-r--r--r-- 1 root root 0 Sep 24 18:11 devices
-r--r--r-- 1 root root 0 Sep 24 18:11 hwdep
-r--r--r-- 1 root root 0 Sep 24 18:11 modules
dr-xr-xr-x 2 root root 0 Sep 24 18:11 oss
-r--r--r-- 1 root root 0 Sep 24 18:11 pcm
dr-xr-xr-x 2 root root 0 Sep 24 18:11 seq
-r--r--r-- 1 root root 0 Sep 24 18:11 timers
-r--r--r-- 1 root root 0 Sep 24 18:11 version
grep Codec /proc/asound/card*/codec*
Codec: Realtek ALC887-VD
Offline
a small step, run alsamixer but still no sound ... I did this:
/etc/modprobe.d/alsa-base.conf
alias snd-card-0 snd-hda-intel
options snd-hda-intel model=auto
reboot
Offline
SOLVED
just missing this, now the sound works well!
# alsactl init
taken from this post
http://forum.slitaz.org/topic/running-slitaz-50-as-guest-on-virtual-box-no-sound-please-help#post-41563
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]