LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-26-2003, 01:09 PM   #1
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
i810_audio + ac97 soundcard


ok, its been a very long time since i came back to this problem of mine.

i haven't been able to get my soundcard working on linux, and the last time i tried to sort out the issue, it was mid-2003. i didnt know anything bout linux then, and i seem to have gotten a hang of things now, to come back and sort this out. i would appreciate replies from anyone who has this combination working on linux, and anyone who would have any ideas for me to try out (or point me towards other threads).

right, so onto the specs...
im sitting on a 2.6.0 stable kernel, on a debian sid. i build most things into the kernel as modules, so i have included files i thought might prove relevant. i didnt compile the kernel with alsa, but with the OSS as modules (i have tried with also built into the kernel, but it hasnt worked either). also, i use XFce, and i do turn up the volume level to max. i can listen to audio cd's, but nothng else (read mp3/...)
also using apm, instead of the default acpi with 2.6 (thats another issue, but maybe later)

lspci -v :
Code:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS645DX Host & Memory & AGP Controller
	Flags: bus master, medium devsel, latency 64
	Memory at dc000000 (32-bit, non-prefetchable) [size=64M]
	Capabilities: [c0] AGP version 2.0

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 64
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Memory behind bridge: d5e00000-d7efffff
	Prefetchable memory behind bridge: cdb00000-d5cfffff

00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 04)
	Flags: bus master, medium devsel, latency 0

00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
	Flags: medium devsel, IRQ 5
	I/O ports at 0c00 [size=32]

00:02.3 FireWire (IEEE 1394): Silicon Integrated Systems [SiS] FireWire Controller (prog-if 10 [OHCI])
	Subsystem: Uniwill Computer Corp: Unknown device 7007
	Flags: bus master, medium devsel, latency 64, IRQ 5
	Memory at dbfff000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at dbfc0000 [disabled] [size=128K]
	Capabilities: [64] Power Management version 2

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if 80 [Master])
	Subsystem: Uniwill Computer Corp: Unknown device 5513
	Flags: bus master, medium devsel, latency 128
	I/O ports at ff00 [size=16]

00:02.6 Modem: Silicon Integrated Systems [SiS] Intel 537 [56k Winmodem] (rev a0) (prog-if 00 [Generic])
	Subsystem: Uniwill Computer Corp: Unknown device 4003
	Flags: medium devsel, IRQ 10
	I/O ports at d400 [size=256]
	I/O ports at d000 [size=128]
	Capabilities: [48] Power Management version 2

00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
	Subsystem: Uniwill Computer Corp: Unknown device 5101
	Flags: bus master, medium devsel, latency 64, IRQ 10
	I/O ports at dc00 [size=256]
	I/O ports at d800 [size=128]
	Capabilities: [48] Power Management version 2

00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI])
	Subsystem: Uniwill Computer Corp: Unknown device 7001
	Flags: bus master, medium devsel, latency 64, IRQ 10
	Memory at dbffb000 (32-bit, non-prefetchable) [size=4K]

00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI])
	Subsystem: Uniwill Computer Corp: Unknown device 7001
	Flags: bus master, medium devsel, latency 64, IRQ 5
	Memory at dbffc000 (32-bit, non-prefetchable) [size=4K]

00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f) (prog-if 10 [OHCI])
	Subsystem: Uniwill Computer Corp: Unknown device 7001
	Flags: bus master, medium devsel, latency 64, IRQ 11
	Memory at dbffd000 (32-bit, non-prefetchable) [size=4K]

00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller (prog-if 20 [EHCI])
	Subsystem: Uniwill Computer Corp: Unknown device 7002
	Flags: bus master, medium devsel, latency 64, IRQ 10
	Memory at dbffe000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 2

00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 91)
	Subsystem: Uniwill Computer Corp: Unknown device 5100
	Flags: bus master, medium devsel, latency 64, IRQ 5
	I/O ports at cc00 [size=256]
	Memory at dbffa000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at dbfa0000 [disabled] [size=128K]
	Capabilities: [40] Power Management version 2

00:08.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
	Subsystem: Uniwill Computer Corp: Unknown device 3000
	Flags: bus master, stepping, slow devsel, latency 168, IRQ 5
	Memory at 20000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
	Memory window 0: 20400000-207ff000 (prefetchable)
	Memory window 1: 20800000-20bff000
	I/O window 0: 00004000-000040ff
	I/O window 1: 00004400-000044ff
	16-bit legacy interface ports at 0001

01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go 32M] (rev a3) (prog-if 00 [VGA])
	Subsystem: Uniwill Computer Corp: Unknown device 2241
	Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
	Memory at d6000000 (32-bit, non-prefetchable) [size=16M]
	Memory at d0000000 (32-bit, prefetchable) [size=64M]
	Memory at d5c80000 (32-bit, prefetchable) [size=512K]
	Expansion ROM at d7ee0000 [disabled] [size=128K]
	Capabilities: [60] Power Management version 2
	Capabilities: [44] AGP version 2.0
lsmod:
Code:
Module                  Size  Used by
i810_audio             36500  0 
ac97_codec             18188  1 i810_audio
snd_pcm_oss            49188  0 
snd_pcm                94240  1 snd_pcm_oss
snd_page_alloc         10372  1 snd_pcm
snd_timer              25988  1 snd_pcm
snd_mixer_oss          18176  1 snd_pcm_oss
snd                    48484  4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
sis900                 18436  0 
crc32                   5120  1 sis900
ds                     12292  2 
yenta_socket           17152  0 
pcmcia_core            64096  2 ds,yenta_socket
apm                    18928  2
modules.conf:
Code:
### This file is automatically generated by update-modules"
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
### update-modules: start processing /etc/modutils/0keep
# DO NOT MODIFY THIS FILE!
# This file is not marked as conffile to make sure if you upgrade modutils
# it will be restored in case some modifications have been made.
#
# The keep command is necessary to prevent insmod and friends from ignoring
# the builtin defaults of a path-statement is encountered. Until all other
# packages use the new `add path'-statement this keep-statement is essential
# to keep your system working
keep

### update-modules: end processing /etc/modutils/0keep

### update-modules: start processing /etc/modutils/actions
# Special actions that are needed for some modules

# The BTTV module does not load the tuner module automatically,
# so do that in here
post-install bttv insmod tuner
post-remove bttv rmmod tuner


### update-modules: end processing /etc/modutils/actions

### update-modules: start processing /etc/modutils/aliases
# Aliases to tell insmod/modprobe which modules to use 

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off		# Unix
# alias net-pf-2 off		# IPv4
# alias net-pf-3 off		# Amateur Radio AX.25
# alias net-pf-4 off		# IPX
# alias net-pf-5 off		# DDP / appletalk
# alias net-pf-6 off		# Amateur Radio NET/ROM
# alias net-pf-9 off		# X.25
# alias net-pf-10 off		# IPv6
# alias net-pf-11 off		# ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off		# Acorn Econet

alias char-major-10-175	agpgart
alias char-major-10-200	tun
alias char-major-81	bttv
alias char-major-108	ppp_generic
alias /dev/ppp		ppp_generic
alias tty-ldisc-3	ppp_async
alias tty-ldisc-14	ppp_synctty
alias ppp-compress-21	bsd_comp
alias ppp-compress-24	ppp_deflate
alias ppp-compress-26	ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0	loop_gen
alias loop-xfer-3	loop_fish2
alias loop-xfer-gen-10	loop_gen
alias cipher-2		des
alias cipher-3		fish2
alias cipher-4		blowfish
alias cipher-6		idea
alias cipher-7		serp6f
alias cipher-8		mars6
alias cipher-11		rc62
alias cipher-15		dfc2
alias cipher-16		rijndael
alias cipher-17		rc5

alias char-major-195 nvidia

### update-modules: end processing /etc/modutils/aliases

### update-modules: start processing /etc/modutils/alsa
### DEBCONF MAGIC
# This file was automatically generated by alsa-base's debconf stuff

alias char-major-116 snd
alias char-major-14 soundcore

options snd major=116 cards_limit=4

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



### update-modules: end processing /etc/modutils/alsa

### update-modules: start processing /etc/modutils/apm
alias char-major-10-134	apm
alias /dev/apm_bios		/dev/misc/apm_bios
alias /dev/misc/apm_bios	apm

### update-modules: end processing /etc/modutils/apm

### update-modules: start processing /etc/modutils/paths
# This file contains a list of paths that modprobe should scan,
# beside the once that are compiled into the modutils tools
# themselves.


### update-modules: end processing /etc/modutils/paths

### update-modules: start processing /etc/modutils/ppp
alias /dev/ppp          ppp_generic
alias char-major-108    ppp_generic
alias tty-ldisc-3       ppp_async  
alias tty-ldisc-14      ppp_synctty
alias ppp-compress-21   bsd_comp   
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate

### update-modules: end processing /etc/modutils/ppp

### update-modules: start processing /etc/modutils/setserial
#
# This is what I wanted to do, but logger is in /usr/bin, which isn't loaded
# when the module is first loaded into the kernel at boot time!
#
#post-install serial /etc/init.d/setserial start | logger -p daemon.info -t "setserial-module reload"
#pre-remove serial /etc/init.d/setserial stop | logger -p daemon.info -t "setserial-module uload"
#
alias /dev/tts          serial
alias /dev/tts/0        serial
alias /dev/tts/1        serial
alias /dev/tts/2        serial
alias /dev/tts/3        serial
post-install serial /etc/init.d/setserial modload > /dev/null 2> /dev/null
pre-remove serial /etc/init.d/setserial modsave  > /dev/null 2> /dev/null

### update-modules: end processing /etc/modutils/setserial

### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc

### update-modules: end processing /etc/modutils/arch/i386
dmesg
Code:
Intel 810 + AC97 Audio, version 0.24, 22:46:20 Dec 25 2003
PCI: Found IRQ 10 for device 0000:00:02.7
PCI: Sharing IRQ 10 with 0000:00:02.6
i810: SiS 7012 found at IO 0xd800 and 0xdc00, MEM 0x0000 and 0x0000, IRQ 10
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
ac97_codec: AC97 Audio codec, id: ALG16 (ALC200/200P)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
i810_audio: setting clocking to 48648
ls -l /dev/audio
Code:
lrwxrwxrwx    1 root     root           11 Oct 12 17:19 /dev/audio -> /dev/audio0
if anyone wants anymore details about the system, let me know. as always, thanks.

Last edited by h/w; 12-26-2003 at 01:25 PM.
 
Old 12-26-2003, 10:10 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
I see you are using alsa drivers, by default alsa mutes all the channels, you need to unmute them with alsamixer (use arrow keys to up/down the volume and jump from a slider to slider, use M key to mute/unmute - M at the top of a slider means the sound is muted), once you hear the sound from the speakers use as root
alsactl store
to set teh mixer settings, so you won't loose them at the next reboot (if any )
 
Old 12-26-2003, 10:17 PM   #3
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
hmm, thanks neo. will try it tomorrow.
as i had mentioned, i didnt build this kernel with alsa, just oss. some of the modules you see also come with alsa, but i think the important one is the snd-intel8x0. which is not there on the system which i have mentioned above.
i tried installing alsa from src, with nothing built into the kernel, except for soundcard support. it didnt get too far - everything was installed but i got errors trying to modprobe snd-intel8x0 (i posted that thread here: http://sourceforge.net/mailarchive/f...&forum_id=1751

ill look into this again tomorrow. i hope i can solve this soon. thanks again - do reply if u have any more ideas.
 
Old 12-27-2003, 10:47 AM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
its done. i now have sound on my laptop. i configured alsa into the kernel as modules, having used the config found here: http://sourceforge.net/mailarchive/f...forum_id=1751.

thanks neo.
 
  


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
SoundMAX AC97 soundcard GUNN01 Linux - Hardware 7 12-28-2004 01:53 PM
AC97 Soundcard module.... MadSkillzMan Linux - Hardware 2 11-21-2004 02:28 PM
sound problem (i810_audio/ac97) linen0ise Slackware 3 07-09-2003 10:35 AM
AC97 onboard soundcard Aphix Linux - Newbie 11 10-03-2002 04:49 PM
SoundCard AC97 under RedHat 7.1 stoni111 Linux - Newbie 4 03-15-2002 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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