LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-09-2004, 10:30 PM   #1
Dsteve768
LQ Newbie
 
Registered: Sep 2003
Location: Southern California
Distribution: Slackware 9--SuSe 9-- Vector 4.0--
Posts: 18

Rep: Reputation: 0
Question Sound not working after install, SiS7012 with ALSA installed


Hello everyone, been awhile but I am back.


Here goes, I have Slackware 9.1 installed with the 2.6.2 kernel installed, I have Dropline Gnome 2.4.2 installed as my X window manager.
I compiled the kernel with soundcore as a module, leaving out ALSA and OSS.
I then followed the (ALSA info on SiS7012 I installed all the alsa programs by way of cvs.
After I loaded the modules ( modprobe snd-intel8x0;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss ) I then ran alsamixer and un-muted all that was muted and adjusted the sound accordinly, then alsactl store. Next came re-boot.

Nothing after I reboot, no sound, I see a red slash going through my speaker icon, so I click it and it tells me ( Couldn't open mixer device /dev/sound/mixer )

Here is some info I thought may be usefull:

root@beta:/home/dan# lsmod
Module Size Used by
snd_pcm_oss 47876 0
snd_pcm 85504 1 snd_pcm_oss
snd_page_alloc 9348 1 snd_pcm
snd_timer 21888 1 snd_pcm
snd_mixer_oss 17280 1 snd_pcm_oss
snd 46084 4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 7392 1 snd

root@beta:/home/dan# grep snd /etc/modules.conf
alias sound-slot-0 snd-card-0
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
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

root@beta:/home/dan# ls -l /dev/dsp
lrwxrwxrwx 1 root root 9 Feb 9 17:08 /dev/dsp -> /dev/dsp0
root@beta:/home/dan# ls -l /dev/sound/mixer
ls: /dev/sound/mixer: No such file or directory

Output of lspci -vv

00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev a0)
Subsystem: CLEVO/KAPOK Computer: Unknown device 0400
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 5
Region 0: I/O ports at 1c00 [disabled] [size=256]
Region 1: I/O ports at 1800 [disabled] [size=128]
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=55mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Well I am at a loss, if anyone has any suggestions I will greatly appreaciate it.
 
Old 02-09-2004, 10:40 PM   #2
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
I have the same chip and found that the 1.0.2 drivers didn't work, I had to install the 1.0.1 drivers which work perfectly.
 
Old 02-10-2004, 04:12 AM   #3
Skeptikal
LQ Newbie
 
Registered: Aug 2003
Distribution: Slackware 9 / Mandrake 9.1
Posts: 7

Rep: Reputation: 0
I have 2.6.2 ... ALSA 1.02 running here no problems on SiS7012.

I have moved the following from /etc/modules.conf to /etc/modprobe.conf

options i810_audio clocking=48000
alias sound-slot-0 i810_audio
install sound-slot-0 /sbin/modprobe

alias char-major-116 snd
alias snd-card-0 snd-intel8x0
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

install snd-card-0 /sbin/modprobe --ignore-install snd-card-0 && { /usr/sbin/alsactl restore >/dev/null 2>&1 || :; }

I cant remember where I read the 2.6.2 kernel uses the modprobe.conf file ... but hey it worked for me ... I just commented out entries in module.conf file to be on the safe side to start with, in case it did not work. To this end they are still commented out

Who knows it might work for you.

Last edited by Skeptikal; 02-10-2004 at 04:14 AM.
 
Old 02-10-2004, 02:41 PM   #4
Dsteve768
LQ Newbie
 
Registered: Sep 2003
Location: Southern California
Distribution: Slackware 9--SuSe 9-- Vector 4.0--
Posts: 18

Original Poster
Rep: Reputation: 0
Update:

I figured out the issue last night at school with the help of my UNIX instructor, turns out that the OSS modules were loading by default first instead of the ALSA modules. After commenting out the OSS modules in /etc/hotplug/blacklist and rebooting the system I was able to get sound to work for both root and my regular user account.

Thanks to everyone for their quick replies.
 
Old 02-10-2004, 04:19 PM   #5
amos
Member
 
Registered: Dec 2002
Location: Bolton, UK
Distribution: Kubuntu
Posts: 224

Rep: Reputation: 30
On a related note do any of you have a Smart Link (onboard) Modem working in conjunction with the SiS 7012 and a 2.6.x kernel. I'm reluctant to upgrade to a 2.6 kernel until I can get modem support.

Cheers
Amos
 
Old 11-22-2004, 08:37 PM   #6
vbsoftware
LQ Newbie
 
Registered: Jul 2003
Location: chile
Distribution: Redhat Linux 9 custom
Posts: 27

Rep: Reputation: 15
Hello from Santiago de Chile

I have the same souncard.

I resolve this problem in my RedHat 9 : (NOTE : Always i have installed the kernel sources)

Step 1.
- First download alsa sources from http://www.alsa-project.org (alsa-driver, alsa-lib, alsa-utils, alsa-oss)

Step 2.
- unpack alsa-lib and compile. (./configure && make && make install)
- Compile alsa-oss (./configure && make && make install)

Step 3.
- Unpack alsa-driver
- ./configure --with-isapnp=no --with-sequencer=yes --with-oss=yes
- touch include/linux/workqueue.h
- make install
- run the ./snddevices script

Step 4.
-- Check if you have unresolved simbols with depmod -ae. If you get errors repeat step 3.

Step 5
-- run ldconfig

Step 6.
- unpack alsa-utils and compile. (./configure && make && make install)

Step 7
- run alsaconf ( here this must be configure your modules.conf )
- run alsamixer ( your channels are muted by default )
- run alsactl store

Step 8
- reboot
- cd /etc/init.d/alsasound start
- startx

Here my ALSA configuration in modules.conf

alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
options snd-intel8x0 snd_ac97_clock=0 snd_enable=1 snd_index=0

Enjoy!

If this guide was useful please send me a email to : leo.nunez@gmail.com

Cheers!

Bye!
 
  


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
sound not working, sarge with alsa installed yoyoguy2 Debian 12 07-03-2005 06:19 PM
10.0, recent install, scroll wheel not working; installed the hijps driver? no sound chrisidaho Slackware 7 02-18-2005 10:45 PM
ALSA sound problems, 2.6.7 kernel, sis7012 onboard phunkymunky Slackware 7 08-26-2004 05:10 PM
SIS7012 aka Intel i8x0 sound card w. ALSA sounds bad wahwah Linux - Newbie 6 11-10-2003 05:26 PM
Sound still not working after alsa driver install Alf829 Linux - Newbie 12 08-06-2003 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:24 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
Open Source Consulting | Domain Registration