[mythtv-users] BT878 Kworld card no sound, can't change channel

Yang Yang yangyang at juggler.ucsd.edu
Mon Jul 5 23:19:19 EDT 2004


hi folks:
	first thanks to the guys who devoted their efforts developing this 
	wonderful software.

	I'm new to MythTV. I bought a Kworld BT878 based card :
	http://www.newegg.com/app/ViewProductDesc.asp?description=15-100-103&depa=0

	I use gentoo, emerged mythTV with USE="alsa" ( in fact , alsa is
	automatically used since I was using 2.6.6 ). the v4l2 driver also
	comes from 2.6.6.

	I start mysql, mythbackend, mythfilldatabase ( this has one problem,
	explained later ). the main problems are 
	 
	 (1)  I get no sound from the card. 
	     I started alsa, and xmms works fine on the system. 
		 I set the sound volumes following instructions from the mythtv
		 doc, 
		 $ amixer set Master,0 100%,100% unmute
		 $ amixer set Line,0 75%,75% mute captur
		 $ amixer set Capture,0 100%,100% mute captur
		 $ su
		 # alsactl store
		 # exit
		 $ 

		 I list the output of "amixer" in the attached log file. 

		 the Tuner card's lineout is connected through a wire to the
		 line in of sound card, which is a VIA 82XX on-board card. (I
		 listed /proc/pci contents in the log file too )

	      I tried opening up the line in and capture , doesn't work
		  either.

	  (2) sometimes the live TV shows don't come up, even when they do, 
	     I can't change channel with mythtv. I press up down arrow, or
		 the number pad keys, some numbers show up on the screen, but
		 the actual contents of Live TV dont' change. 

		 I tried xawTV too, can't change it either, no sound either.

		 I don't know if this is a problem with driver, so I listed my 
		 modules out in the log file. 
		 basically, I have bttv and v4l2-common drivers.   


	  (3) when I do mythfilldatabase, it seems to have the list of
	  correct stations, but it fails to parse out tv listing info from
	  the list it downloads. I saw xmltv is obsolete, but since gentoo
	  is automatically emerging it with mythtv, probablly it should work
	  too ( though may not as well as datadirect )

	     I included the error message in the log file too.



   finally thanks for your time!

   Yang
-------------- next part --------------
  ******************************************************************************************
  Alsamixer results
  ******************************************************************************************
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [on]
  Front Right: Playback 31 [100%] [on]
Simple mixer control '3D Control - Center',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Limits: 0 - 15
  Mono: 0 [0%]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 22 [71%] [on]
  Front Right: Playback 22 [71%] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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 23 [74%] [off] Capture [on]
  Front Right: Playback 23 [74%] [off] Capture [on]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic Select',0
  Capabilities:
  Mono:
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [off]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'IEC958 Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined 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%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mono Output Select',0
  Capabilities:
  Mono:
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 15 [100%] [on]
  Front Right: Capture 15 [100%] [on]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-joined 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-joined 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 [on]
Simple mixer control 'Input Source Select',0
  Capabilities:
  Mono:
Simple mixer control 'Input Source Select',1
  Capabilities:
  Mono:
Simple mixer control 'VIA DXS',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%]
  Front Right: Playback 31 [100%]
Simple mixer control 'VIA DXS',1
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%]
  Front Right: Playback 31 [100%]
Simple mixer control 'VIA DXS',2
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%]
  Front Right: Playback 31 [100%]
Simple mixer control 'VIA DXS',3
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%]
  Front Right: Playback 31 [100%]



  ******************************************************************************************
  modules line
  ******************************************************************************************
Module                  Size  Used by
bttv                  144748  0 
video_buf              17028  1 bttv
v4l2_common             5120  1 bttv
btcx_risc               4104  1 bttv
videodev                7808  1 bttv
snd_via82xx            22400  0 
snd_ac97_codec         61828  1 snd_via82xx
snd_mpu401_uart         6400  1 snd_via82xx
snd_rawmidi            20768  1 snd_mpu401_uart
uhci_hcd               28688  0 



  ******************************************************************************************
  Hardware info
  ******************************************************************************************
			 	PCI devices found:
			|	  Bus  0, device   0, function  0:
			|		Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] (rev 0).
			|		  Prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].
			|	  Bus  0, device   1, function  0:
			|		PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP] (rev 0).
			|		  Master Capable.  No bursts.  Min Gnt=12.
			 	  Bus  0, device   9, function  0:
    Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 17).
      IRQ 12.
      Master Capable.  Latency=32.  Min Gnt=16.Max Lat=40.
      Prefetchable 32 bit memory at 0xea000000 [0xea000fff].
  Bus  0, device   9, function  1:
    Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 17).
      IRQ 12.
      Master Capable.  Latency=32.  Min Gnt=4.Max Lat=255.
      Prefetchable 32 bit memory at 0xea001000 [0xea001fff].
			 	  Bus  0, device  11, function  0:
			|		Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
			|		  IRQ 10.
			|		  Master Capable.  Latency=32.  Min Gnt=32.Max Lat=64.
			|		  I/O at 0xa000 [0xa0ff].
			|		  Non-prefetchable 32 bit memory at 0xea002000 [0xea0020ff].
			|	  Bus  0, device  12, function  0:
			|		FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 70).
			|		  IRQ 11.
			|		  Master Capable.  Latency=32.  Max Lat=32.
			|		  Non-prefetchable 32 bit memory at 0xea003000 [0xea0037ff].
			|		  I/O at 0xa400 [0xa47f].
			|	  Bus  0, device  16, function  0:
			|		USB Controller: VIA Technologies, Inc. USB (rev 128).
			|		  IRQ 11.
			|		  Master Capable.  Latency=32.  
			|		  I/O at 0xa800 [0xa81f].
			|	  Bus  0, device  16, function  1:
			|		USB Controller: VIA Technologies, Inc. USB (#2) (rev 128).
			|		  IRQ 12.
			|		  Master Capable.  Latency=32.  
			|		  I/O at 0xac00 [0xac1f].
			|	  Bus  0, device  16, function  2:
			|		USB Controller: VIA Technologies, Inc. USB (#3) (rev 128).
			|		  IRQ 5.
			|		  Master Capable.  Latency=32.  
			|		  I/O at 0xb000 [0xb01f].
			|	  Bus  0, device  16, function  3:
			|		USB Controller: VIA Technologies, Inc. USB 2.0 (rev 130).
			|		  IRQ 10.
			|		  Master Capable.  Latency=32.  
			|		  Non-prefetchable 32 bit memory at 0xea004000 [0xea0040ff].
			|	  Bus  0, device  17, function  0:
			|		ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge (rev 0).
			|	  Bus  0, device  17, function  1:
			|		IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE (rev 6).
			|		  IRQ 11.
			|		  Master Capable.  Latency=32.  
			 		  I/O at 0xb400 [0xb40f].
  Bus  0, device  17, function  5:
    Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 80).
      IRQ 5.
      I/O at 0xb800 [0xb8ff].
			 	  Bus  0, device  18, function  0:
			|		Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 116).
			|		  IRQ 11.
			|		  Master Capable.  Latency=32.  Min Gnt=3.Max Lat=8.
			|		  I/O at 0xc000 [0xc0ff].
			|		  Non-prefetchable 32 bit memory at 0xea005000 [0xea0050ff].
			|	  Bus  1, device   0, function  0:
			|		VGA compatible controller: ATI Technologies Inc Radeon R250 If [Radeon 9000] (rev 1).
			|		  IRQ 11.
			|		  Master Capable.  Latency=32.  Min Gnt=8.
			|		  Prefetchable 32 bit memory at 0xd8000000 [0xdfffffff].
			|		  I/O at 0x9000 [0x90ff].
			|		  Non-prefetchable 32 bit memory at 0xe9000000 [0xe900ffff].
			|	  Bus  1, device   0, function  1:
			|		Display controller: ATI Technologies Inc Radeon R250 [Radeon 9000] (Secondary) (rev 1).
					  Master Capable.  Latency=32.  Min Gnt=8.
					  Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
					  Non-prefetchable 32 bit memory at 0xe9010000 [0xe901ffff].




  ******************************************************************************************
  output of "ls -l /dev/sound"
  ******************************************************************************************
total 0
crw-rw----    1 root     audio     14,  12 Jan  1  1970 adsp
crw-rw----    1 root     audio     14,   4 Jan  1  1970 audio
crw-rw----    1 root     audio     14,   3 Jan  1  1970 dsp
crw-rw----    1 root     audio     14,   0 Jan  1  1970 mixer
crw-rw----    1 root     audio     14,   1 Jan  1  1970 sequencer
crw-rw----    1 root     audio     14,   8 Jan  1  1970 sequencer2




  ******************************************************************************************
  output of "mythfilldatabase"
  ******************************************************************************************
----------------- Start of XMLTV output -----------------
------------------ End of XMLTV output ------------------
Error in 311:13: unexpected end of file
Fetching data for Mon Jul 5 2004
----------------- Start of XMLTV output -----------------
------------------ End of XMLTV output ------------------
Error in 1:1: unexpected end of file

(the above was taken out by only catting stdout )

bash-2.05b# mythfilldatabase  2>&1  >> log
Parameterless "use IO" deprecated at /usr/lib/perl5/vendor_perl/5.8.2/XML/Writer.pm line 16
using config file /root/.mythtv/first video source.xmltv

checking provider information for postal/zip code 92037, be patient..
double checking channel information, be patient..
writing listings to /tmp/myth4UcutL
zap2it page format looks okay, but no programs found (no available data yet ?)
unretry-able error reading schedule for 2004-7-6 for station 2 KCBS
zap2it page format looks okay, but no programs found (no available data yet ?)
unretry-able error reading schedule for 2004-7-6 for station 4 KNBC
zap2it page format looks okay, but no programs found (no available data yet ?)


More information about the mythtv-users mailing list