LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-12-2004, 11:03 AM   #1
gregwill
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
ALSA Configuration Trouble


I compiled a new 2.6.8 Debian Kernel and took out the OSS stuff and only enabled ALSA.

I am now having trouble making ALSA work.

I think my problem might be that I have a BT878 TV card and a sound card, but the TV card is at /dev/dsp0 and the sound card is at /dev/dsp1

The symptoms are that any program uses Sound complains, e.g. KDE says "Device cannot be opened for playback (no such device)"


Below is some debugging output.


cat /proc/asound/cards:
0 [Bt878 ]: Bt87x - Brooktree Bt878
Brooktree Bt878 at 0xe5011000, irq 12
1 [Live ]: EMU10K1 - Sound Blaster Live!
Sound Blaster Live! (rev.7) at 0xd400, irq 5


cat /etc/modutils/alsa-base:
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# 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




lsmod:
Module Size Used by
ipv6 262340 6
af_packet 22600 2
aic79xx 306588 0
emu10k1_gp 3648 0
gameport 4736 1 emu10k1_gp
snd_emu10k1 98312 0
snd_rawmidi 25380 1 snd_emu10k1
snd_seq_device 8264 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 69572 1 snd_emu10k1
snd_util_mem 4608 1 snd_emu10k1
snd_hwdep 9476 1 snd_emu10k1
snd_bt87x 14536 0
snd_pcm_oss 54312 0
snd_mixer_oss 19904 1 snd_pcm_oss
snd_pcm 97480 3 snd_emu10k1,snd_bt87x,snd_pcm_oss
snd_timer 25540 1 snd_pcm
snd 57380 11 snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_ut
il_mem,snd_hwdep,snd_bt87x,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc 11720 3 snd_emu10k1,snd_bt87x,snd_pcm
tuner 19920 0
tvaudio 22348 0
bttv 154316 0
video_buf 22212 1 bttv
i2c_algo_bit 9800 1 bttv
v4l2_common 6208 1 bttv
btcx_risc 4808 1 bttv
i2c_core 24144 4 tuner,tvaudio,bttv,i2c_algo_bit
videodev 9984 1 bttv
soundcore 10400 2 snd,bttv
8139cp 20672 0
pci_hotplug 34352 0
via_agp 9088 1
agpgart 34536 1 via_agp
parport_pc 36932 0
parport 41544 1 parport_pc
floppy 60304 0
pcspkr 3688 0
tsdev 7360 0
mousedev 10444 1
joydev 9856 0
evdev 9600 0
usbhid 32000 0
uhci_hcd 32784 0
usbcore 118308 4 usbhid,uhci_hcd
8139too 26112 0
mii 5184 2 8139cp,8139too
crc32 4352 2 8139cp,8139too
via_ircc 26448 0
irda 195712 1 via_ircc
crc_ccitt 2176 1 irda
nls_iso8859_1 4096 4
nls_cp437 5760 4
capability 4616 0
commoncap 7296 1 capability
sr_mod 17444 0
ide_cd 42528 0
ide_core 138724 1 ide_cd
cdrom 40284 2 sr_mod,ide_cd
rtc 12728 0
vfat 14656 4
fat 46720 1 vfat
ext2 71720 0
ext3 126760 1
jbd 61784 1 ext3
mbcache 9220 2 ext2,ext3
sd_mod 21632 9
aic7xxx 204632 6
scsi_mod 124748 4 aic79xx,sr_mod,sd_mod,aic7xxx
unix 28596 246
font 8448 0
vesafb 6688 0
cfbcopyarea 3776 1 vesafb
cfbimgblt 3072 1 vesafb
cfbfillrect 3712 1 vesafb



lspci:
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
0000:00:08.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
0000:00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
0000:00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
0000:00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
0000:00:0d.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
0000:00:10.0 SCSI storage controller: Adaptec AHA-2940U2/U2W
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
0000:00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3 Ti 500] (rev a3)



aadebug:

ALSA Audio Debug v0.0.8 - Sun Dec 12 16:58:45 GMT 2004

Kernel ----------------------------------------------------
Linux bhuna-debian 2.6.8-1-k7 #1 Thu Nov 25 04:13:37 UTC 2004 i686 GNU/Linux

Loaded Modules --------------------------------------------
snd_emu10k1 98312 0
snd_rawmidi 25380 1 snd_emu10k1
snd_seq_device 8264 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 69572 1 snd_emu10k1
snd_util_mem 4608 1 snd_emu10k1
snd_hwdep 9476 1 snd_emu10k1
snd_bt87x 14536 0
snd_pcm_oss 54312 0
snd_mixer_oss 19904 1 snd_pcm_oss
snd_pcm 97480 3 snd_emu10k1,snd_bt87x,snd_pcm_oss
snd_timer 25540 1 snd_pcm
snd 57380 11 snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep,snd_bt87x,snd_pcm_oss,s nd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc 11720 3 snd_emu10k1,snd_bt87x,snd_pcm

Modprobe Conf ---------------------------------------------
Warning: /etc/modprobe.conf does not exist
This means any kernel modules will not be auto loaded
See your linux distro docs on how to create this file
Note: this file used to be called /etc/modules.conf

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004 UTC).
Compiled on Nov 25 2004 for kernel 2.6.8-1-k7.
0 [Bt878 ]: Bt87x - Brooktree Bt878
Brooktree Bt878 at 0xe5011000, irq 12
1 [Live ]: EMU10K1 - Sound Blaster Live!
Sound Blaster Live! (rev.7) at 0xd400, irq 5
0: [0- 0]: ctl
25: [0- 1]: digital audio capture
24: [0- 0]: digital audio capture
33: : timer
32: [1- 0]: ctl
36: [1- 0]: hardware dependent
40: [1- 0]: raw midi
51: [1- 3]: digital audio playback
58: [1- 2]: digital audio capture
57: [1- 1]: digital audio capture
48: [1- 0]: digital audio playback
56: [1- 0]: digital audio capture
01-00: EMU10K1 (FX8010)
00-00: Bt87x Digital : Bt87x Digital : capture 1
00-01: Bt87x Analog : Bt87x Analog : capture 1
01-00: emu10k1 : EMU10K1 : playback 32 : capture 1
01-01: emu10k1 mic : EMU10K1 MIC : capture 1
01-02: emu10k1 efx : EMU10K1 EFX : capture 1
01-03: emu10k1 : EMU10K1 FX8010 : playback 8

Dev Snd ---------------------------------------------------
controlC0 hwC0D3 hwC2D2 midiC0D1 midiC1D0 midiC1D7 midiC2D6 midiC3D5 pcmC0D2c pcmC0D5p pcmC1D1c pcmC1D4p pcmC2D0c pcmC2D3p pcmC2D7c pcmC3D2p pcmC3D6c
controlC1 hwC1D0 hwC2D3 midiC0D2 midiC1D1 midiC2D0 midiC2D7 midiC3D6 pcmC0D2p pcmC0D6c pcmC1D1p pcmC1D5c pcmC2D0p pcmC2D4c pcmC2D7p pcmC3D3c pcmC3D6p
controlC2 hwC1D1 hwC3D0 midiC0D3 midiC1D2 midiC2D1 midiC3D0 midiC3D7 pcmC0D3c pcmC0D6p pcmC1D2c pcmC1D5p pcmC2D1c pcmC2D4p pcmC3D0c pcmC3D3p pcmC3D7c
controlC3 hwC1D2 hwC3D1 midiC0D4 midiC1D3 midiC2D2 midiC3D1 pcmC0D0c pcmC0D3p pcmC0D7c pcmC1D2p pcmC1D6c pcmC2D1p pcmC2D5c pcmC3D0p pcmC3D4c pcmC3D7p
hwC0D0 hwC1D3 hwC3D2 midiC0D5 midiC1D4 midiC2D3 midiC3D2 pcmC0D0p pcmC0D4c pcmC0D7p pcmC1D3c pcmC1D6p pcmC2D2c pcmC2D5p pcmC3D1c pcmC3D4p seq
hwC0D1 hwC2D0 hwC3D3 midiC0D6 midiC1D5 midiC2D4 midiC3D3 pcmC0D1c pcmC0D4p pcmC1D0c pcmC1D3p pcmC1D7c pcmC2D2p pcmC2D6c pcmC3D1p pcmC3D5c timer
hwC0D2 hwC2D1 midiC0D0 midiC0D7 midiC1D6 midiC2D5 midiC3D4 pcmC0D1p pcmC0D5c pcmC1D0p pcmC1D4c pcmC1D7p pcmC2D3c pcmC2D6p pcmC3D2c pcmC3D5p

CPU -------------------------------------------------------
model name : AMD Athlon(tm) XP 2000+
cpu MHz : 1636.994

RAM -------------------------------------------------------
MemTotal: 1036532 kB
SwapTotal: 530104 kB

Hardware --------------------------------------------------
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
0000:00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
0000:00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
0000:00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)


 
Old 12-12-2004, 12:30 PM   #2
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
Did you run alsaconf? It should probe for your sound card and then set your modules up to use it.
 
  


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 configuration TuxFreak Linux - General 10 12-25-2004 07:29 AM
ALSA Configuration dereko Linux - Hardware 5 11-26-2004 09:35 AM
ALSA configuration help onionkn1ght Linux - Software 3 09-04-2004 10:20 AM
Alsa configuration help ProtoformX Slackware 5 02-24-2004 02:12 AM
alsa configuration FirebirdV0273 Linux - Hardware 2 12-21-2003 08:03 PM

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

All times are GMT -5. The time now is 06:26 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