Skip to contentSkip to conversation

: No Brooktree Bt878 in /proc/asound/cards

ALSA - driver 0001401 [email protected] 1 participant 1 message Jan 21, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1401>
======================================================================

Reported By:                ojec
Assigned To:                Clemens Ladisch
======================================================================
Project:                    ALSA - driver
Issue ID:                   1401
Category:                   PCI - bt87x
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Distribution:               Gnetoo
Kernel Version:             2.6.13
======================================================================
Date Submitted:             09-07-2005 21:04 CEST
Last Modified:              01-21-2006 18:39 CET

======================================================================
Summary: No Brooktree Bt878 in /proc/asound/cards
Description:
In alsa version 1.0.6 (included in kernel 2.6.10) a have record in /proc/asound/cards that says:

2 [Bt878 ]: Bt87x - Brooktree Bt878

                     Brooktree Bt878 at 0xe3002000, irq 11

In alsa 1.0.9b (kernel 2.6.13) there is no record about bt87x.

# lspci

0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge 0000:00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
0000:00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
0000:00:0c.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
0000:00:0c.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
0000:00:0d.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61) 0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) 0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 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.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
0000:00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] (rev c1)

# lsmod
snd_seq_midi            8672  0
snd_emu10k1_synth       7872  0
snd_emux_synth         38336  1 snd_emu10k1_synth
snd_seq_virmidi         7552  1 snd_emux_synth
snd_seq_midi_emul       7872  1 snd_emux_synth
raid1                  17664  1
nvidia               3467228  32
parport_pc             28164  1
lp                     10920  0
parport                37128  2 parport_pc,lp
tun                     8896  2
usb_storage            32192  0
8250                   23524  0
serial_core            23168  1 8250
tuner                  22052  0
msp3400                27112  0
bttv                  154128  2
video_buf              22148  1 bttv
firmware_class         10304  1 bttv
i2c_algo_bit            9928  1 bttv
v4l2_common             5760  1 bttv
btcx_risc               4808  1 bttv
i2c_core               22736  4 tuner,msp3400,bttv,i2c_algo_bit
videodev                9664  3 bttv
snd_rtctimer            3152  0
rtc                    12552  1 snd_rtctimer
snd_bt87x              13444  1
snd_via82xx            27456  0
snd_mpu401_uart         7872  1 snd_via82xx
snd_emu10k1            99396  4 snd_emu10k1_synth
snd_rawmidi            25120  4
snd_seq_midi,snd_seq_virmidi,snd_mpu401_uart,snd_emu10k1
snd_ac97_codec         75936  2 snd_via82xx,snd_emu10k1
snd_util_mem            4480  2 snd_emux_synth,snd_emu10k1
snd_hwdep               9540  2 snd_emux_synth,snd_emu10k1
usbhid                 32384  0
ehci_hcd               30916  0
uhci_hcd               33552  0

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

----------------------------------------------------------------------
pksato - 01-10-06 02:20
----------------------------------------------------------------------
I am having problems to make snd_bt87x to detect the card, looking the bt87x.c,
and making some tests, I note that it lacks a test in the part that
detect card.
When load_all option is used, the whitelist table is replaced by a generic, where the information of digital rate is 0.
In the function snd_bt87x_detect_card(), is tested if the card is supported and
it returns the rate, but, in load_all this information is 0, resulting in false return.
To correct this, after to test is the card is supported, it must have a test to verify if rate is greater that zero, returning the value,
and in case that is not, to proced with the other tests of the routine.
Pacth below implements this test.
Related bug #0001719

I not sure if this is a corret correction to this inssue.

--- linux-2.6.15.orig/sound/pci/bt87x.c 2006-01-03 01:21:10.000000000 -0200
+++ linux-2.6.15/sound/pci/bt87x.c 2006-01-09 22:27:16.000000000
-0200
@@ -801,7 +801,8 @@ static int __devinit snd_bt87x_detect_ca

        supported = pci_match_device(&driver, pci);
        if (supported)

- return supported->driver_data;
+ if (supported->driver_data > 0)
+ return supported->driver_data;

        for (i = 0; i < ARRAY_SIZE(blacklist); ++i)
                if (blacklist[i].subvendor == pci->subsystem_vendor &&

In my case, the card d`not wired the audio analog input to tv sound out or others inputs, I make a modification to do it.

----------------------------------------------------------------------
pffffffff - 01-21-06 18:39
----------------------------------------------------------------------
Same problem with me: I have a Haupauge WinTV PCI Card. I am using Kanotix/Debian Sid with 2.6.15.1-Kernel. The snd-bt87x is being sucessfully loaded but cat /proc/asound/cards only lists my primary Soundcard which is an Soundblaster Audigy.

Additionally there is no /dev/snd/pcmC1... for the WinTV Card.

alsaconf detects two soundcards:

emu10k1 Creative Labs SB Audigy (rev 04)
legacy Probe legacy ISA (non-PnP) chips

I guess the second one should be my WinTV-Card...

I successfully used btaudio to record sound directly from the card up to now so it should work actually.

Tell me if you need any further information...

Issue History
Date Modified Username Field Change
======================================================================

09-07-05 21:04 ojec           New Issue                                    
09-07-05 21:04 ojec           Distribution              => Gnetoo          
09-07-05 21:04 ojec           Kernel Version            => 2.6.13          
11-09-05 20:22 chenz          Issue Monitored: chenz                       
11-10-05 15:04 chenz          Note Added: 0006663                          
11-30-05 23:03 gjasny         Issue Monitored: gjasny                      
01-10-06 02:17 pksato         Note Added: 0007546                          
01-10-06 02:19 pksato         Note Edited: 0007546                         
01-10-06 02:20 pksato         Note Edited: 0007546                         
01-10-06 02:45 pksato         Issue Monitored: pksato                      

01-12-06 19:11 Clemens LadischAssigned To => Clemens Ladisch
01-12-06 19:11 Clemens LadischStatus new => assigned
01-12-06 19:11 Clemens LadischCategory 1_OTHERS => PCI - bt87x
01-21-06 18:39 pffffffff Note Added: 0007740
======================================================================

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642