Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Getting ALSA to go (or OSS to stop)

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Guest

Getting ALSA to go (or OSS to stop)

#1 Post by Guest »

Hi All,

My system is now Debian Sarge with a 2.4.27 kernel. I'm using KDE 3.3 and at the moment sound works fine with OSS despite my efforts to stop OSS starting in the first place. alsaconf successfully finds my soundcard listing it as follows:
intel8x0 Intel Corp. 82801BA/BAM AC'97 Aucio (rev 02)
It even goes on to say :
Loading driver...
Starting ALSA...done.
Setting default volumes...

===============================================================================

Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.

Have a lot of fun!
This would be fantastic if ALSA actually worked afterwards but it doesnt - XMMS for instance gives this error if I try to play anything:
Couldn't open audio

Please check that:
Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard
However as I said it happily plays using OSS which makes me think perhaps OSS is stealing the soundcard from ALSA - I have followed instructions to add a 'skip i810-audio' line to my 'discover.conf' file.

Anyways, the other info you requested:

Output of 'cat /proc/pci'
# cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 2).
Bus 0, device 30, function 0:
PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 2).
Master Capable. No bursts. Min Gnt=14.
Bus 0, device 31, function 0:
ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 2).
Bus 0, device 31, function 1:
IDE interface: Intel Corp. 82801BA IDE U100 (rev 2).
I/O at 0xb800 [0xb80f].
Bus 0, device 31, function 2:
USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 2).
IRQ 10.
I/O at 0xb400 [0xb41f].
Bus 0, device 31, function 3:
SMBus: Intel Corp. 82801BA/BAM SMBus (rev 2).
IRQ 11.
I/O at 0xe800 [0xe80f].
Bus 0, device 31, function 4:
USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 2).
IRQ 9.
I/O at 0xb000 [0xb01f].
Bus 0, device 31, function 5:
Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 2).
IRQ 11.
I/O at 0xe000 [0xe0ff].
I/O at 0xe100 [0xe13f].
Bus 1, device 9, function 0:
VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev 178).
IRQ 5.
Master Capable. Latency=64. Min Gnt=5.Max Lat=1.
Non-prefetchable 32 bit memory at 0xed000000 [0xedffffff].
Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
Bus 1, device 10, function 0:
Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 8).
IRQ 9.
Master Capable. Latency=64. Min Gnt=8.Max Lat=56.
Non-prefetchable 32 bit memory at 0xec800000 [0xec800fff].
I/O at 0xd800 [0xd83f].
Non-prefetchable 32 bit memory at 0xec000000 [0xec0fffff].
Bus 1, device 11, function 0:
Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev17).
IRQ 9.
Master Capable. Latency=64. Min Gnt=16.Max Lat=40.
Prefetchable 32 bit memory at 0xef000000 [0xef000fff].
Bus 1, device 11, function 1:
Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 17).
IRQ 9.
Master Capable. Latency=64. Min Gnt=4.Max Lat=255.
Prefetchable 32 bit memory at 0xee800000 [0xee800fff].
Output of 'cat /etc/modules.conf'
# cat /etc/modules.conf
### 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


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

### update-modules: start processing /etc/modutils/alsa-base
#above snd-pcm snd-pcm-oss
#above snd-mixer snd-mixer-oss
#above snd-seq snd-seq-oss

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.6 ---
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
options snd device_mode=0660
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
post-install snd-intel8x0 /usr/lib/alsa/modprobe-post-install
# --- END: Generated by ALSACONF, do not edit. ---


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

### 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 ones that are compiled into the modutils tools
# themselves.


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

### 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
Output of 'cat /proc/modules'
# cat /proc/modules
nls_cp437 4348 2 (autoclean)
vfat 10540 1 (autoclean)
fat 31960 0 (autoclean) [vfat]
snd-seq 37904 0 (autoclean)
snd-seq-device 4000 0 (autoclean) [snd-seq]
parport_pc 23880 1 (autoclean)
lp 6724 0
parport 26504 1 [parport_pc lp]
apm 9868 2 (autoclean)
af_packet 13032 1 (autoclean)
usb-storage 65088 0 (unused)
printer 8000 0
mousedev 4148 1
scanner 10848 0 (unused)
hid 21220 0 (unused)
input 3648 0 [mousedev hid]
jedec_probe 10528 0 (autoclean)
gen_probe 1904 0 (autoclean) [jedec_probe]
chipreg 761 0 [jedec_probe]
tuner 10344 1 (autoclean)
tvaudio 13608 0 (autoclean) (unused)
bttv 95744 0 (unused)
i2c-algo-bit 7688 1 [bttv]
i2c-core 13508 0 [tuner tvaudio bttv i2c-algo-bit]
videodev 6464 2 [bttv]
snd-bt87x 5320 0
snd-pcm 59816 0 [snd-bt87x]
snd-timer 14148 0 [snd-seq snd-pcm]
snd 33764 0 [snd-seq snd-seq-device snd-bt87x snd-pcm snd-timer]
snd-page-alloc 4940 0 [snd-seq snd-seq-device snd-bt87x snd-pcm snd-timer snd]
usb-uhci 23344 0 (unused)
usbcore 62924 1 [usb-storage printer scanner hid usb-uhci]
i810_audio 24444 0
ac97_codec 13300 0 [i810_audio]
soundcore 3940 2 [bttv snd i810_audio]
ide-scsi 10032 0
e100 50036 1
sd_mod 11756 0 (unused)
scsi_mod 95012 3 [usb-storage ide-scsi sd_mod]
ide-cd 31264 0
cdrom 29828 0 [ide-cd]
rtc 6440 0 (autoclean)
ext3 81068 1 (autoclean)
jbd 42468 1 (autoclean) [ext3]
ide-detect 288 0 (autoclean) (unused)
ide-disk 16736 3 (autoclean)
piix 9096 1 (autoclean)
ide-core 108504 3 (autoclean) [usb-storage ide-scsi ide-cd ide-detect ide-disk piix]
unix 14928 134 (autoclean)
Finally the output of 'ls -L -l /dev/dsp*'
# ls -L -l /dev/dsp*
crw-rw---- 1 root audio 14, 3 2004-10-18 05:54 /dev/dsp
crw-rw---- 1 root audio 14, 3 2004-10-18 05:54 /dev/dsp0
crw-rw---- 1 root audio 14, 19 2004-10-18 05:54 /dev/dsp1
crw-rw---- 1 root audio 14, 35 2004-10-18 05:54 /dev/dsp2
crw-rw---- 1 root audio 14, 51 2004-10-18 05:54 /dev/dsp3

I'm pretty sure the problem is something to do with the starting\stopping of modules - I dont know if 'i810_audio' should be there at all and i'm certain that this:

snd-bt87x 5320 0
snd-pcm 59816 0 [snd-bt87x]
snd-timer 14148 0 [snd-seq snd-pcm]
snd 33764 0 [snd-seq snd-seq-device snd-bt87x snd-pcm snd-timer]
snd-page-alloc 4940 0 [snd-seq snd-seq-device snd-bt87x snd-pcm snd-timer snd]

Is bad business (snd-bt87x) is a device I dont have.

So please someone help me - i've been using linux for about three days and i've googled myself silly.

Many thanks

James

LovingIt
Posts: 1
Joined: 2004-10-18 18:05

#2 Post by LovingIt »

Oops - didnt expect to have to sign in after activation. This is me.

Post Reply