LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 10-27-2003, 06:54 PM   #1
wahwah
LQ Newbie
 
Registered: Oct 2003
Location: Leiden, the Netherlands
Distribution: SuSE 8.2
Posts: 19

Rep: Reputation: 0
Question 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 :-)
 
Old 10-27-2003, 07:18 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 168Reputation: 168
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.
 
Old 10-28-2003, 04:32 AM   #3
wahwah
LQ Newbie
 
Registered: Oct 2003
Location: Leiden, the Netherlands
Distribution: SuSE 8.2
Posts: 19

Original Poster
Rep: Reputation: 0
Hi Peacedog,

thanks a lot! I'll post it as soon as I'm home from work tonight.
 
Old 10-28-2003, 02:11 PM   #4
wahwah
LQ Newbie
 
Registered: Oct 2003
Location: Leiden, the Netherlands
Distribution: SuSE 8.2
Posts: 19

Original Poster
Rep: Reputation: 0
Hi Peacedog,

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
########################################################################

alias block-major-56 off
alias block-major-57 off

########################################################################
# mouse (for older busmice)
########################################################################

alias char-major-10 off

########################################################################
# 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
########################################################################

# post-install paride insmod frpw
# pre-remove paride rmmod frpw

########################################################################
#
# 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
########################################################################

# options cdu31a cdu31a_port=0x340 cdu31a_irq=0
# options sbpcd sbpcd=0x230,1
# options aztcd aztcd=0x320
# options cm206 cm206=0x340,11
# options gscd gscd=0x340
# options mcd mcd=0x300,11
# options mcdx mcdx=0x300,11
# options optcd optcd=0x340
# options sjcd sjcd_base=0x340
# options sonycd535 sonycd535=0x340
# options isp16 isp16_cdrom_base=0x340 isp16_cdrom_irq=0 isp16_cdrom_dma=0 isp16_cdrom_type=Sanyo

# options ne io=0x300 irq=5

# Use this if you have two cards:
# options ne io=0x300,0x320 irq=5,7

# options tulip options=0
# options 3c59x options=0
# options 3c501 io=0x280 irq=5
# options 3c503 io=0x280 irq=5 xcvr=0
# options 3c505 io=0x300 irq=10
# options 3c507 io=0x300 irq=10
# options 3c509 irq=10
# options at1700 io=0x260 irq=10
# options smc-ultra io=0x200 irq=10
# options wd io=0x300 irq=10
# options smc9194 io=0x200 irq=10 ifport=0
# options e2100 io=0x300 irq=10 mem=0xd0000 xcvr=0
# options depca io=0x200 irq=7
# options ewrk3 io=0x300 irq=10
# options eexpress io=0x300 irq=10
# options hp-plus io=0x300 irq=10
# options hp io=0x300 irq=10
# options hp100 hp100_port=0x380
# options apricot io=0x300 irq=10
# options ac3200 io=0x300 irq=10 mem=0xd0000
# options de620 io=0x378 irq=7 bnc=1
# options ibmtr io=0xa20
# options arcnet io=0x300 irq=10 shmem=0xd0000
# options plip io=0x378 irq=7
# options eepro io=0x260 irq=10 mem=0x6000
# options eth16i io=0x2a0 irq=10
# options fmv18x io=0x220 irq=10
# options ni52 io=0x360 irq=9 memstart=0xd0000 memend=0xd4000
# options bttv pll=1 radio=0 card=0
# options tuner type=0
# options msp3400 once=1 simple=1

# post-install bttv /sbin/modprobe "-k" tuner; # /sbin/modprobe "-k" msp3400

options dummy0 -o dummy0
options dummy1 -o dummy1

########################################################################
# cipe section
########################################################################

alias cipcb0 cipcb
alias cipcb1 cipcb

options cipcb cipe_debug=0

########################################################################
# 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

# Alsa sound support.
# Warning: please don't modify comments over aliases 'snd-card-#'

########################################################################
# ppp over ethernet
# the kernel 2.2 uses pppox
# the kernel 2.4 uses pppoe
########################################################################

if `kernelversion` == "2.2"
alias char-major-144 pppox
post-install pppox insmod mssclampfw
pre-remove pppox rmmod mssclampfw
else
alias char-major-108 ppp_generic
alias char-major-144 pppoe
alias net-pf-24 pppoe
endif

########################################################################
# IrDA
########################################################################

alias char-major-161 ircomm-tty

########################################################################
# 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

# nVidia nforce chipset (network + audio)
#alias eth0 nvnet
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci

# 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

########################################################################
# AGP
########################################################################

pre-install mga /sbin/modprobe "-k" "agpgart"
pre-install r128 /sbin/modprobe "-k" "agpgart"
pre-install radeon /sbin/modprobe "-k" "agpgart"
options agpgart agp_try_unsupported=1

# end of i386 part for modules.conf

#
# 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. ---
 
Old 10-28-2003, 03:58 PM   #5
wahwah
LQ Newbie
 
Registered: Oct 2003
Location: Leiden, the Netherlands
Distribution: SuSE 8.2
Posts: 19

Original Poster
Rep: Reputation: 0
I noticed some messages on alt-ctrl-F10 like

<date/time> cust modprobe: modprobe: Can't locate module sound-slot-1
<date/time> cust modprobe: modprobe: Can't locate module sound-service-1-0
<date/time> cust modprobe: modprobe: Can't locate module sound-slot-1
<date/time> cust modprobe: modprobe: Can't locate module sound-service-1-0

seems to support your conclusion about trying to load multiple modules ...
 
Old 10-29-2003, 04:40 PM   #6
wahwah
LQ Newbie
 
Registered: Oct 2003
Location: Leiden, the Netherlands
Distribution: SuSE 8.2
Posts: 19

Original Poster
Rep: Reputation: 0
Hi Peacedog and others,

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.

Anyone any advice?
 
Old 11-10-2003, 06:26 PM   #7
wahwah
LQ Newbie
 
Registered: Oct 2003
Location: Leiden, the Netherlands
Distribution: SuSE 8.2
Posts: 19

Original Poster
Rep: Reputation: 0
Cool Midi and synth sound problem SOLVED

Hello Gentlepeople,

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.

Tastes good :-)

cheers!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ALSA master volume in Intel sound card miguelmmg Slackware 1 09-19-2005 11:32 AM
Sound not working after install, SiS7012 with ALSA installed Dsteve768 Slackware 5 11-22-2004 09:37 PM
ALSA sound problems, 2.6.7 kernel, sis7012 onboard phunkymunky Slackware 7 08-26-2004 06:10 PM
sound problem on thinkpad t23 i8x0 with 2.6k + alsa augustmacbizzle Linux - Hardware 0 12-26-2003 11:08 PM
midi / synth sound with SIS7012 aka Intel i8x0 onboard sound card does not work wahwah Linux - Hardware 1 11-10-2003 06:25 PM


All times are GMT -5. The time now is 05:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration