You are not logged in.

#1 2009-11-15 21:03:54

drsjlazar
Member
From: Kasama
Registered: 2009-10-01
Posts: 133
Website

Brooktree bt878 TV tuner - no sound

Hi all!

I am trying to setup Arch on an old machine that has an old Brooktree bt878 TV tuner. Previously it had an Ubuntu Intrepid based distro (Linux Mint Fluxbox) running on it and I am trying to use the settings from that installation in Arch but I cannot get the sound from the TV tuner to work.

I am running KDEmod but it doesn't seem to be related to that.

The sound card is an old SoundBlaster PCI card with the onboard card being disabled in the BIOS. Sound in other applications works OK. I am using ALSA as the sound server without an /etc/asound.conf file and all channels seem to be detected properly. The sound output from the PCI Brooktree card goes into the Line in jack of the SoundBlaster via a short 3.5mm headphone type cable.

There is a little niggle with this card. Although it has a bt878 chipset it is not listed in the cardlist of the bttv driver. Instead I had to use the Avermedia card setting to get it to work under Ubuntu. However, in Arch the audio capture device shows as unclaimed in the lshw output.

http://en.opensuse.org/HCL/TV_Cards
http://www.mjmwired.net/kernel/Document … ST.bttv#14

Anyhow, I've got most of it to work. The video works, I get an image, and I have scanned and found all the channels. However, there is no sound. The most I can get is some 'TV-like' static from the pswitch channel in the ALSA mixer... however the static persists even when I rmmod bttv. Oh, and I am using the KDE3 version of KDETV.

I've spent a good part of today trying to figure this out but I'm stumped. I even tried using/loading the snd_bt87x module with no luck. I did have a bit of a struggle setting it up on the Intrepid base and I must have forgotten something. Here is all the relevant system info I can think of right now.

Any help would be appreciated.

Thanks.

From lshw:

        *-multimedia:0                                                  
             description: Multimedia video controller                   
             product: Bt878 Video Capture                               
             vendor: Brooktree Corporation                              
             physical id: a                                             
             bus info: pci@0000:00:0a.0                                 
             version: 02                                                
             width: 32 bits                                             
             clock: 33MHz                                               
             capabilities: bus_master                                   
             configuration: driver=bttv latency=32 maxlatency=40 mingnt=16                                                                      
             resources: irq:10 memory:df002000-df002fff(prefetchable)   
        *-multimedia:1 UNCLAIMED                                        
             description: Multimedia controller                         
             product: Bt878 Audio Capture                               
             vendor: Brooktree Corporation                              
             physical id: a.1                                           
             bus info: pci@0000:00:0a.1                                 
             version: 02                                                
             width: 32 bits                                             
             clock: 33MHz                                               
             capabilities: bus_master                                   
             configuration: latency=32 maxlatency=255 mingnt=4          
             resources: memory:df000000-df000fff(prefetchable)          
        *-multimedia:2                                                  
             description: Multimedia audio controller                   
             product: ES1371 [AudioPCI-97]                              
             vendor: Ensoniq                                            
             physical id: b                                             
             bus info: pci@0000:00:0b.0                                 
             version: 08                                                
             width: 32 bits                                             
             clock: 33MHz                                               
             capabilities: pm bus_master cap_list                       
             configuration: driver=ENS1371 latency=32 maxlatency=128 mingnt=12                                                                  
             resources: irq:11 ioport:e000(size=64)

From lspci:

00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
00:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)
00:0b.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)

From lsmod:

bttv                  123348  0
ir_common              42880  1 bttv
i2c_algo_bit            5888  1 bttv
v4l2_common            16092  5 bttv,tuner,tvaudio,tda7432,msp3400
videodev               37088  6 bttv,tuner,tvaudio,tda7432,msp3400,v4l2_common
videobuf_dma_sg        12192  1 bttv
videobuf_core          16448  2 bttv,videobuf_dma_sg
btcx_risc               4516  1 bttv
tveeprom               11936  1 bttv
i2c_core               21808  21 bttv,tuner,tea5767,tda8290,tda18271,tda827x,tuner_xc2028,xc5000,tda9887,tuner_simple,mt20xx,tea5761,tvaudio,tda7432,msp3400,i2c_algo_bit,v4l2_common,videodev,tveeprom,nvidia,i2c_viapro
snd_seq_dummy           2720  0
snd_seq_oss            31232  0
snd_seq_midi_event      7036  1 snd_seq_oss
snd_seq                53808  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_ens1371            22944  2
gameport               11304  1 snd_ens1371
snd_rawmidi            21888  1 snd_ens1371
snd_seq_device          6792  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_ac97_codec        106112  1 snd_ens1371
ac97_bus                1564  1 snd_ac97_codec
snd_pcm                74496  2 snd_ens1371,snd_ac97_codec
snd_timer              21188  2 snd_seq,snd_pcm
snd                    58820  12 snd_seq_oss,snd_seq,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
soundcore               6944  1 snd
snd_page_alloc          8900  1 snd_pcm

Options in /etc/modprobe.d/modprobe.conf

options bttv radio=0 tuner=2 card=13 gbuffers=4 i2c_udelay=128

amixer output:

Simple mixer control 'Master',0                         
  Capabilities: pvolume pswitch pswitch-joined          
  Playback channels: Front Left - Front Right           
  Limits: Playback 0 - 63                               
  Mono:                                                 
  Front Left: Playback 51 [81%] [-18.00dB] [on]         
  Front Right: Playback 51 [81%] [-18.00dB] [on]        
Simple mixer control 'Master Mono',0                    
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono                                    
  Limits: Playback 0 - 31                                    
  Mono: Playback 27 [87%] [-6.00dB] [on]                     
Simple mixer control 'Headphone',0                           
  Capabilities: pvolume pswitch pswitch-joined               
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 31                                    
  Mono:                                                      
  Front Left: Playback 28 [90%] [-4.50dB] [on]               
  Front Right: Playback 28 [90%] [-4.50dB] [on]              
Simple mixer control '3D Control - Center',0                 
  Capabilities: volume volume-joined                         
  Playback channels: Mono                                    
  Capture channels: Mono                                     
  Limits: 0 - 15                                             
  Mono: 12 [80%]                                             
Simple mixer control '3D Control - Depth',0                  
  Capabilities: volume volume-joined                         
  Playback channels: Mono                                    
  Capture channels: Mono                                     
  Limits: 0 - 15                                             
  Mono: 12 [80%]                                             
Simple mixer control '3D Control - Switch',0                 
  Capabilities: pswitch pswitch-joined                       
  Playback channels: Mono                                    
  Mono: Playback [on]                                        
Simple mixer control 'PCM',0                                 
  Capabilities: pvolume pswitch pswitch-joined               
  Playback channels: Front Left - Front Right                
  Limits: Playback 0 - 31                                    
  Mono:                                                      
  Front Left: Playback 16 [52%] [-10.50dB] [on]              
  Front Right: Playback 16 [52%] [-10.50dB] [on]             
Simple mixer control 'Line',0                                
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0                                            
  Playback channels: Front Left - Front Right                           
  Capture channels: Front Left - Front Right                            
  Limits: Playback 0 - 31                                               
  Front Left: Playback 15 [48%] [-12.00dB] [off] Capture [on]           
  Front Right: Playback 15 [48%] [-12.00dB] [off] Capture [on]          
Simple mixer control 'CD',0                                             
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0                                            
  Playback channels: Front Left - Front Right                           
  Capture channels: Front Left - Front Right                            
  Limits: Playback 0 - 31                                               
  Front Left: Playback 0 [0%] [-34.50dB] [on] Capture [off]             
  Front Right: Playback 0 [0%] [-34.50dB] [on] Capture [off]            
Simple mixer control 'Mic',0                                            
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0                                                           
  Playback channels: Mono                                                              
  Capture channels: Front Left - Front Right                                           
  Limits: Playback 0 - 31                                                              
  Mono: Playback 27 [87%] [6.00dB] [on]                                                
  Front Left: Capture [off]                                                            
  Front Right: Capture [off]                                                           
Simple mixer control 'Mic Boost (+20dB)',0                                             
  Capabilities: pswitch pswitch-joined                                                 
  Playback channels: Mono                                                              
  Mono: Playback [on]                                                                  
Simple mixer control 'Mic Select',0                                                    
  Capabilities: enum                                                                   
  Items: 'Mic1' 'Mic2'                                                                 
  Item0: 'Mic1'                                                                        
Simple mixer control 'Video',0                                                         
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive               
  Capture exclusive group: 0                                                           
  Playback channels: Front Left - Front Right                                          
  Capture channels: Front Left - Front Right                                           
  Limits: Playback 0 - 31                                                              
  Front Left: Playback 26 [84%] [4.50dB] [on] Capture [off]                            
  Front Right: Playback 26 [84%] [4.50dB] [on] Capture [off]                           
Simple mixer control 'Phone',0                                                         
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0                                                           
  Playback channels: Mono                                                              
  Capture channels: Front Left - Front Right                                           
  Limits: Playback 0 - 31                                                              
  Mono: Playback 27 [87%] [6.00dB] [on]                                                
  Front Left: Capture [off]                                                            
  Front Right: Capture [off]                                                           
Simple mixer control 'IEC958',0                                                        
  Capabilities: pswitch pswitch-joined                                                 
  Playback channels: Mono                                                              
  Mono: Playback [on]                                                                  
Simple mixer control 'IEC958',1                                                        
  Capabilities: pswitch pswitch-joined                                                 
  Playback channels: Mono                                                              
  Mono: Playback [off]   <------- This is the channel that gives the static                                                              
Simple mixer control 'PC Speaker',0                                                    
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 12 [80%] [-9.00dB] [on]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 25 [81%] [3.00dB] [on] Capture [off]
  Front Right: Playback 25 [81%] [3.00dB] [on] Capture [off]
Simple mixer control 'Mono Output Select',0
  Capabilities: enum
  Items: 'Mix' 'Mic'
  Item0: 'Mix'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 13 [87%] [19.50dB] [on]
  Front Right: Capture 13 [87%] [19.50dB] [on]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'External Amplifier',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]

Offline

Board footer

Powered by FluxBB