SIS7012 aka Intel i8x0 sound card w. ALSA sounds bad
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
SIS7012 aka Intel i8x0 sound card w. ALSA sounds bad
G'day ...
after having solved the first two pitfalls * - here comes the next one.
I've got an onboard SIS7012 (well, that's what is detected by SuSe 8.2), the board is a P4Titan GA-8SG800 / SIS648 chipset; the manual says "Realtek ALC650 Codec" ; SuSE 8.2 w/ standard shipped kernel.
System sounds do work, althoug some sound a bit rough on the edges (just like static or AC hum from an unearthed guitar amp). More advanced (IE Midi-) sound apps sound very bad, full of clicking, too slow etc, or, like Brahms don't start at all.
I've searched and searched; downloaded and built the newest ALSA drivers/libs/utils etcetera, inserted the config lines from the ALSA site at he end of /etc/modules.conf:
# --- ALSA PORTION ---
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
Anyone got a clue what I've been overlooking? Options I should put in the module.conf ...?
Thanks in advance!
* and learning a lot from them, another advantage of Linux :-)
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
could you post the complete modules.conf? at a quick glance it looks as if you may have multiple modules loading causing a conflict (just a guess). i'll do some research on this 2morrow and see what i can come up with.
here is my complete modules.conf (I vi'd the last bit below "# --- ALSA PORTION ---") like they said on the ALSA site ... I especially wonder about the lines
alias sound off
alias midi off
somewhere at 1/3rd down ... perhabs they're causing the trouble?
I'll try and comment them out, see what happens ...
cheers, Wahwah
#
# Copyright (c) 1996-2002 SuSE Linux AG Nuernberg, Germany.
# All rights reserved.
#
# Author: Hubert Mantel <mantel@suse.de>, 1996-2002
#
# Configuration file for loadable modules; used by modprobe
#
# please add local modifications to modules.conf.local
include /etc/modules.conf.local
#
########################################################################
# Aliases - specify your hardware
########################################################################
alias eth0 via-rhine
alias eth1 off
alias tr0 off
alias scsi_hostadapter off
alias fb0 off
########################################################################
# only used for Mylex or Compaq Raid as module
########################################################################
alias block-major-48 off
alias block-major-49 off
alias block-major-72 off
alias block-major-73 off
########################################################################
# only needed for fifth and sixth IDE adaptor
########################################################################
########################################################################
# If you want to use the new autofs4
########################################################################
# alias autofs autofs4
########################################################################
# For parallel port devices, uncomment the following two lines and
# change "frpw" to the protocol type you use
########################################################################
########################################################################
#
# Aliases for OSS
#
# These aliases will be changed by YaST2 sound configurator.
# If you would like to configure OSS drivers by yourself, please
# take a look at the files on /usr/src/linux/Documentation/sound.
#
########################################################################
alias sound off
alias midi off
########################################################################
# Options; these are examples; uncomment and modify the lines you need
########################################################################
########################################################################
# block dev aliases
########################################################################
alias block-major-1 rd
alias block-major-2 floppy
alias block-major-3 off
alias block-major-7 loop
alias block-major-8 sd_mod
alias block-major-11 sr_mod
alias block-major-13 xd
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
alias block-major-20 mcdx
alias block-major-22 off
alias block-major-23 mcd
alias block-major-24 sonycd535
alias block-major-25 sbpcd
alias block-major-26 sbpcd
alias block-major-27 sbpcd
alias block-major-28 sbpcd
alias block-major-29 aztcd
alias block-major-32 cm206
alias block-major-33 off
alias block-major-34 off
# network block device
alias block-major-43 off
alias block-major-45 pd
alias block-major-46 pcd
alias block-major-47 pf
alias block-major-117 evms
########################################################################
# char dev aliases
########################################################################
alias char-major-6 lp
alias char-major-9 st
alias char-major-10-130 softdog
alias char-major-10-134 off
alias char-major-10-135 off
alias char-major-10-175 agpgart
alias char-major-10-181 toshiba
alias char-major-10-240 agpgarti810
alias char-major-10-250 sonypi
options sonypi minor=250
alias char-major-15 off
alias char-major-19 cyclades
alias char-major-20 cyclades
alias char-major-21 sg
alias char-major-27 ftape
# fb
alias char-major-29 off
alias char-major-36 netlink_dev
# alias char-major-43 hisax
# alias char-major-44 hisax
# alias char-major-45 hisax
alias char-major-43 off
alias char-major-44 off
alias char-major-45 off
alias char-major-48 riscom8
alias char-major-49 riscom8
alias char-major-67 coda
alias char-major-75 specialix
alias char-major-76 specialix
alias char-major-81 videodev
alias char-major-81-0 off
alias char-major-81-1 off
alias char-major-81-2 off
alias char-major-81-3 off
alias char-major-83 vtx
options vtx quiet=1
alias char-major-89 i2c-dev
alias char-major-96 pt
alias char-major-97 pg
alias char-major-107 3dfx
alias char-major-109 lvm-mod
########################################################################
# USB
########################################################################
# done by hotplug
alias char-major-166 off
########################################################################
# Moxa Multiport Serial Boards
########################################################################
alias char-major-172 moxa
alias char-major-173 moxa
# options moxa type=2,,, baseaddr=0xdc000,,, numports=8,,,
alias char-major-174 mxser
alias char-major-175 mxser
# options mxser ioaddr=0x180
#alias char-major-180 usbcore
alias InterMezzo intermezzo
alias char-major-185 intermezzo
alias char-major-188 usbserial
alias char-major-206 osst
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-0064 binfmt_aout
alias binfmt-0008 binfmt_aout
alias iso9660 isofs
alias tty-ldisc-1 slip
alias tty-ldisc-2 serio
alias tty-ldisc-5 mkiss
# alias tty-ldisc-7 6pack
alias tty-ldisc-7 off
# IrDA
alias tty-ldisc-11 irtty
# alias ax0 mkiss
alias ax0 off
# alias sp0 6pack
alias sp0 off
alias slip0 slip
alias sl0 slip
alias slip1 slip
alias sl1 slip
########################################################################
# the kernel 2.2 uses ppp.o as ppp driver,
# the kernel 2.4 uses ppp_generic.o
########################################################################
if `kernelversion` == "2.2"
alias ppp0 ppp
alias ppp1 ppp
alias tty-ldisc-3 ppp
else
alias ppp0 ppp_generic
alias ppp1 ppp_generic
alias tty-ldisc-3 ppp_async
endif
alias plip0 plip
alias plip1 plip
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias net-pf-1 unix
alias net-pf-3 ax25
# alias net-pf-3 off
alias net-pf-4 ipx
# alias net-pf-4 off
alias net-pf-5 appletalk
# alias net-pf-5 off
alias net-pf-6 netrom
# alias net-pf-6 off
alias net-pf-10 ipv6
# alias net-pf-10 off
alias net-pf-11 rose
# alias net-pf-11 off
alias net-pf-17 af_packet
alias net-pf-31 bluez
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias md-personality-7 multipath
alias tap0 ethertap
alias tap1 ethertap
alias tap2 ethertap
alias tap3 ethertap
alias tap4 ethertap
alias tap5 ethertap
alias tap6 ethertap
alias tap7 ethertap
alias tap8 ethertap
alias tap9 ethertap
alias tap10 ethertap
alias tap11 ethertap
alias tap12 ethertap
alias tap13 ethertap
alias tap14 ethertap
alias tap15 ethertap
# don't try to reset isa-pnp cards on startup
options isa-pnp isapnp_reset=0
# end of common part for modules.conf
# begin of i386 part for modules.conf
alias char-major-4 serial
alias char-major-5 serial
alias parport_lowlevel parport_pc
# options parport_pc io=0x378 irq=none,none
# If you have multiple parallel ports, specify them this way:
# options parport_pc io=0x378,0x278 irq=none,none
# Linux ACP modem (Mwave)
alias char-major-10-219 mwave
# options mwave dspirq=10 dspio=0x130 uartirq=3 uartio=0x2f8
# IBM thinkpad tpctl
# see /usr/share/doc/packages/tpctl/
alias char-major-10-170 thinkpad
# options thinkpad enable_smapi=0
# Linux-ABI
if `kernelversion` == "2.2"
alias char-major-30 iBCS
alias binfmt-332 iBCS
alias binfmt-518 iBCS
alias binfmt-002c iBCS
else
alias char-major-30 abi-ibcs
alias binfmt-0004 binfmt_coff
alias binfmt-332 abi-ibcs
alias binfmt-518 abi-ibcs
alias binfmt-002c abi-ibcs
alias personality-1 abi-ibcs
alias personality-2 abi-ibcs
alias personality-3 abi-sco
alias personality-4 abi-wyse
alias personality-5 abi-ibcs
alias personality-7 abi-ibcs
alias personality-13 abi-solaris
alias personality-14 abi-uw7
post-install binfmt_misc mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
pre-remove binfmt_misc umount /proc/sys/fs/binfmt_misc
endif
# required for DRI support on SiS chips
options sisfb mem=12288 mode=none
#
# 1sCg.2L_NNVn+Zm9:SiS7012 PCI Audio Accelerator
alias char-major-195 nvidia
# --- ALSA PORTION ---
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
# module options should go here
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
#-- END: Generated by ALSACONF, do not edit. ---
I tested commenting out those two lines in the modules.conf, but alas ... no solution here.
As I mentioned above, the F10 console indeed reports trying to load multiple devices (sound cards I don't have), se even I can tell there must be 'something rotten in the kingdom'.
A friend of mine (he's more linux fluent than I am (...yet:-)) advises to reconfigure and recompile the kernel. I spent some time looking through the help pages on how to do that, but to be honest, I still refrain from that as I'm afraid I can easily break too many things from there. Small moves, Ellie ... small moves.
But I can see the point in rebuilding the kernel, since there's a lot of support in there that this system doesn't need.
finally solved the problem.
It took quite some time though and a lot of work.
I discovered after kicking the modules.conf around for a while that the ALSA drivers were not compiled successfully due to something relating to the kernel being compiled with a different cpp compiler than I was currently having.
The solution was to recompile the kernel myself, but being such a newbie, I first refrained.
Well, to cut short, I did yesterday.
And after some tweaking (I first forgot to include reiserfs support :-) and recompiling nvidia drivers to be able to actually start the X server again, I could rebuild the ALSA drivers and everything worked!
One could complain that it took so long to get it going ... not me ... I've learned quite a lot about the system and am on my way out of Kindom Newbie to Kingdom LinuxGeek. Well, sort of; at least the proud owner of a home-compiled kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.