LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-12-2010, 07:24 PM   #1
kungfur@mone
Member
 
Registered: Jul 2010
Location: California, USA
Distribution: Debian.
Posts: 35

Rep: Reputation: 1
SiS AC'97 Audio


Hi all,

Simply put, my SiS AC'97 sound controller does not work. It looks like the kernel just isn't loading the driver, although the hardware is detected by Sysinfo.

I'm running Kubuntu 10.04, with a generic 2.6.32-24 kernel.

Does anyone have any basic "here's how to install the proper kernel module" advice? I've googled and poked around on forums to no avail, and my attempts to compile and install the driver myself have resulted only in shameful failure.

Thanks in advance!
 
Old 12-12-2010, 08:00 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
It might help if you would post the section of the output of
Code:
lspci -v
that concerns this controller.
Does
Code:
lsmod
show that snd-intel8x0 is loaded?
Also the output of
Code:
aplay -l

Last edited by andrewthomas; 12-12-2010 at 08:22 PM.
 
Old 12-12-2010, 11:34 PM   #3
kungfur@mone
Member
 
Registered: Jul 2010
Location: California, USA
Distribution: Debian.
Posts: 35

Original Poster
Rep: Reputation: 1
lspci -v reports:

Code:
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
        Subsystem: Fujitsu Technology Solutions Device 109f
        Flags: bus master, medium devsel, latency 173, IRQ 9
        I/O ports at 1400 [size=256]
        I/O ports at 1000 [size=128]
        Capabilities: <access denied>
        Kernel modules: snd-intel8x0
lsmod does not show snd-intel8x0

aplay -l returns:
Code:
aplay: device_list:223: no soundcards found...
So it looks like snd-intel8x0 is not present. How would one go about loading that sucker?

Thanks for the reply!
 
Old 12-13-2010, 07:22 AM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Load the module with

Code:
modprobe snd-intel8x0
 
Old 12-13-2010, 08:09 PM   #5
kungfur@mone
Member
 
Registered: Jul 2010
Location: California, USA
Distribution: Debian.
Posts: 35

Original Poster
Rep: Reputation: 1
So trying that results in:
Code:
WARNING: Could not open '/lib/modules/2.6.32-24-generic/kernel/sound/core/snd-page-alloc.ko': No such file or directory
WARNING: Could not open '/lib/modules/2.6.32-24-generic/kernel/sound/core/snd.ko': No such file or directory
WARNING: Could not open '/lib/modules/2.6.32-24-generic/kernel/sound/core/snd-timer.ko': No such file or directory
WARNING: Could not open '/lib/modules/2.6.32-24-generic/kernel/sound/core/snd-pcm.ko': No such file or directory
WARNING: Could not open '/lib/modules/2.6.32-24-generic/kernel/sound/ac97_bus.ko': No such file or directory
WARNING: Could not open '/lib/modules/2.6.32-24-generic/kernel/sound/pci/ac97/snd-ac97-codec.ko': No such file or directory
FATAL: Could not open '/lib/modules/2.6.32-24-generic/kernel/sound/pci/snd-intel8x0.ko': No such file or directory
Is there a package for ubuntu/debian (kernel-header-files, maybe?) that makes the modules available?
 
Old 12-13-2010, 08:51 PM   #6
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
First, look in the /lib/modules/2.6.32-24-generic/kernel/sound/ directory and see if the files are there.

They should be.

You do not need to install anything other than linux-image-2.6.32-24-generic.

If, for some weird reason, they are not there, then reinstall the kernel.

Last edited by andrewthomas; 07-15-2011 at 02:30 PM.
 
Old 12-13-2010, 11:05 PM   #7
kungfur@mone
Member
 
Registered: Jul 2010
Location: California, USA
Distribution: Debian.
Posts: 35

Original Poster
Rep: Reputation: 1
Hmm...very interesting. I reinstalled (actually, slightly upgraded) the kernel to 2.6.32-25-generic. When I do a modprobe snd-intel8x0, it now does not return an error, but /lib/modules/2.6.32-25-generic does not contain that specific driver. It has:
Code:
acore  core  drivers  i2c  isa  oss  pcmcia  soc  soundcore.ko  sound_firmware.ko  synth  usb
A locate finds the snd-intel8x0 in older linux directories under linux-2.6.whatever/sound/pci.

Sound still doesn't work in KDE after doing the modprobe, and trying to test ALSA in system settings crashes the app.

dmesg returns:

Code:
[ 5856.260117] Intel ICH 0000:00:02.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[ 5856.600024] intel8x0_measure_ac97_clock: measured 50761 usecs (2442 samples)
[ 5856.600031] intel8x0: clocking to 48000
So, in short, it looks like the module loaded and found the sound card, but the desktop can't use it.

Thanks for the tips so far, very helpful!
 
  


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
Realtek AC'97 Audio Drivers austinramsay Solaris / OpenSolaris 1 09-23-2010 11:27 PM
AC'97 Conexant audio (aka, AC-Link Audio) (Gateway 7510GX) Vexamus Linux - Hardware 25 10-07-2009 10:15 PM
Digital Audio on AC'97 CobraBytez Linux - Newbie 24 12-24-2006 11:16 PM
Realtek AC'97 Audio Help PaiinKiilla Linux - Hardware 3 06-17-2006 01:29 PM
Audio AC'97 Problem linux_freak01 Linux - Hardware 3 02-09-2005 06:46 PM


All times are GMT -5. The time now is 03:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration