[mythtv-users] Nebula DVB-T card, working but no sound (long)

Paul Volkaerts paul.volkaerts at lineone.net
Tue Apr 13 15:22:09 EDT 2004


I have a Nebula card running in a Pundit and have never had any sound
problems - just worked.  Using 2.4.23 kernel, bttv 0.9.12, alsa drivers
(can't remember version but let me know if you think its important and I'll
look).

On mythbackend I get ...

Audiostream: Layer: 2 BRate: 256kb/s Freq 48.0KHz
Videostream: ASPECT 16:9 Size: 720x576 .....

So I think this is your problem.  You sure you got the dvb_pids parameters
in the SQL DB right?   Mine are attached; though I took this backup a while
ago so don't guarantee its wholly accurate!



Paul


-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org]On Behalf Of Rob Willett
Sent: 13 April 2004 18:40
To: mythtv-users at mythtv.org
Subject: [mythtv-users] Nebula DVB-T card, working but no sound (long)


Hi,

I have got the Nebula DVB-T PCI card working with video successully
under mythTV 0.14 but no sound.

I'm getting more and more confused as everything else I test it with has
the sound working OK.

e.g.

 From http://www.ethics-gradient.net/myth/mythdvb.html

# tzap "BBC ONE"
# dvbstream -o -ps -qam 16 -cr 3_4 600 601 | mplayer -

works OK, I see a picture and I hear sound. It looks great, far better
than an analogue picture.

I've compiled VDR with the PLUGIN softdevice and that plays OK with sound.

I've compiled mythdvd and that works OK with sound.
I'm running 2.4.24 kernel with the latest DVB from CVS, bttv 0.9.13
patched with the information from
http://www.mail-archive.com/linux-dvb@linuxtv.org/msg10969.html
I've imstalled all the alsa drivers from 1.0.4 and they work OK. I've
got the alsa-mixer working Ok and can turn the volume up and down.

Apologies for the length of this e-mail but I have tried to provide as
much information as possible!

The hardware is a Asrock K7S8X with an AMD 2800 chip. This MB has an
on-board sound chip, the SiS7012. The graphics card is a Chaintech
MX440, basically a cheap nvidia card.

lspci looks like this. I think this looks OK.

00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device
0746 (rev 10)
      Subsystem: Unknown device 1849:0746
      Flags: bus master, medium devsel, latency 0
      Memory at d0000000 (32-bit, non-prefetchable) [size=64M]
      Capabilities: [c0] AGP version 3.0

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202 (prog-if
00 [Normal decode])
      Flags: bus master, fast devsel, latency 32
      Bus: primary=00, secondary=01, subordinate=02, sec-latency=32
      Memory behind bridge: cdd00000-cfefffff
      Prefetchable memory behind bridge: bda00000-cdbfffff

00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 25)
      Flags: bus master, medium devsel, latency 0

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
(prog-if 80 [Master])
      Subsystem: Unknown device 1849:5513
      Flags: bus master, medium devsel, latency 128
      I/O ports at ff00 [size=16]

00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
SiS7012 PCI Audio Accelerator (rev a0)
      Subsystem: Unknown device 1849:7012
      Flags: bus master, medium devsel, latency 32, IRQ 10
      I/O ports at dc00 [size=256]
      I/O ports at d800 [size=128]
      Capabilities: [48] Power Management version 2

00:03.0 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB
Controller (rev 0f) (prog-if 10 [OHCI])
      Subsystem: Unknown device 1849:7001
      Flags: bus master, medium devsel, latency 32, IRQ 11
      Memory at cfffd000 (32-bit, non-prefetchable) [size=4K]

00:03.1 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB
Controller (rev 0f) (prog-if 10 [OHCI])
      Subsystem: Unknown device 1849:7001
      Flags: bus master, medium devsel, latency 32, IRQ 3
      Memory at cfffe000 (32-bit, non-prefetchable) [size=4K]

00:03.2 USB Controller: Silicon Integrated Systems [SiS] SiS7002 USB 2.0
(prog-if 20 [EHCI])
      Subsystem: Unknown device 1849:7001
      Flags: bus master, medium devsel, latency 32, IRQ 5
      Memory at cffff000 (32-bit, non-prefetchable) [size=4K]
      Capabilities: [50] Power Management version 2

00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900
10/100 Ethernet (rev 90)
      Subsystem: Unknown device 1849:8201
      Flags: bus master, medium devsel, latency 32, IRQ 11
      I/O ports at d400 [size=256]
      Memory at cfffc000 (32-bit, non-prefetchable) [size=4K]
      Expansion ROM at fffe0000 [disabled] [size=128K]
      Capabilities: [40] Power Management version 2

00:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 11)
      Subsystem: Unknown device 0071:0101
      Flags: bus master, medium devsel, latency 32, IRQ 5
      Memory at cdcfe000 (32-bit, prefetchable) [size=4K]
      Capabilities: [44] Vital Product Data
      Capabilities: [4c] Power Management version 2

00:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
(rev 11)
      Subsystem: Unknown device 0071:0101
      Flags: bus master, medium devsel, latency 32, IRQ 5
      Memory at cdcff000 (32-bit, prefetchable) [size=4K]
      Capabilities: [44] Vital Product Data
      Capabilities: [4c] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX
440 AGP 8x] (rev c1) (prog-if 00 [VGA])
      Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 11
      Memory at ce000000 (32-bit, non-prefetchable) [size=16M]
      Memory at c0000000 (32-bit, prefetchable) [size=128M]
      Expansion ROM at cfee0000 [disabled] [size=128K]
      Capabilities: [60] Power Management version 2
      Capabilities: [44] AGP version 3.0

my /etc/modules.conf looks OK

alias eth0 sis900
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias char-major-81 bttv
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.4 ---
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
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

alias char-major-195 nvidia

I think this is a problem in mythbackend.

2004-04-13 17:59:51 DVB#0 Successfully tuned to channel 1.
Videostream: ASPECT: 16:9  Size = 720x576  FRate: 25 fps  BRate: 6.50
Mbit/s
 >>>>>> Audiostream: Layer: 1  Bit rate: free  Freq: 0.0 kHz <<<<<<< Is
this right?
2004-04-13 17:59:57 Changing from WatchingLiveTV to None


I get this when from the mythfrontend program:

2004-04-13 17:59:44 mythfrontend version: 0.14.20040123-1 www.mythtv.org
2004-04-13 17:59:44 Enabled verbose msgs : important general
2004-04-13 17:59:44 Registering Internal as a media playback plugin.
2004-04-13 17:59:46 Connecting to backend server: 127.0.0.1:6543 (try 1
of 5)
2004-04-13 17:59:46 Using protocol version 1
2004-04-13 17:59:46 Using protocol version 1
2004-04-13 17:59:46 Using protocol version 1
Input #0, mpeg, from 'rbuf://127.0.0.1:6543/video/buffer/ringbuf1.nuv':
Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
 >>>>>>>>Stream #0.1: Audio: mp2, 48000 Hz, mono, 64 kb/s <<<<<<<< This
seems to say that it can see the audio stream!
2004-04-13 17:59:48 Opening OSS audio device '/dev/dsp'.
2004-04-13 17:59:48 Using XV port 105
2004-04-13 17:59:48 Changing from None to WatchingLiveTV
QDateTime::fromString: Parameter out of range
QDateTime::fromString: Parameter out of range
2004-04-13 17:59:56 prebuffering pause
[mpeg2video @ 0x828e2f8]ac-tex damaged at 3 9
[mpeg2video @ 0x828e2f8]concealing errors
[mpeg2video @ 0x828e2f8]Warning MVs not available
2004-04-13 17:59:57 Changing from WatchingLiveTV to None
2004-04-13 17:59:57 Changing from None to None

The part of /var/log/messages that looks appropriate is
Apr 13 16:58:31 mythtv kernel: Linux video capture interface: v1.00
Apr 13 16:58:31 mythtv kernel: bttv: driver version 0.9.12 loaded
Apr 13 16:58:31 mythtv kernel: bttv: using 8 buffers with 2080k (520
pages) each for capture
Apr 13 16:58:31 mythtv kernel: bttv: Bt8xx card found (0).
Apr 13 16:58:31 mythtv kernel: PCI: Found IRQ 5 for device 00:09.0
Apr 13 16:58:31 mythtv kernel: PCI: Sharing IRQ 5 with 00:09.1
Apr 13 16:58:31 mythtv kernel: bttv0: Bt878 (rev 17) at 00:09.0, irq: 5,
latency: 32, mmio: 0xcdcfe000
Apr 13 16:58:31 mythtv kernel: bttv0: detected: Nebula Electronics
DigiTV [card=104], PCI subsystem ID is 0
071:0101
Apr 13 16:58:31 mythtv kernel: bttv0: using: Nebula Electronics DigiTV
[card=104,insmod option]
Apr 13 16:58:31 mythtv kernel: i2c-dev.o: Registered 'bt878 #0 [sw]' as
minor 0
Apr 13 16:58:31 mythtv kernel: i2c-core.o: adapter bt878 #0 [sw]
registered as adapter 0.
Apr 13 16:58:31 mythtv kernel: bttv0: using tuner=-1
Apr 13 16:58:31 mythtv kernel: bttv0: registered device video0
Apr 13 16:58:31 mythtv kernel: bttv0: registered device vbi0
Apr 13 16:58:31 mythtv kernel: bttv0: PLL: 28636363 => 35468950 . ok
Apr 13 16:58:31 mythtv kernel: bt878: AUDIO driver version 0.0.0 loaded
Apr 13 16:58:31 mythtv kernel: bt878: Bt878 AUDIO function found (0).
Apr 13 16:58:31 mythtv kernel: PCI: Found IRQ 5 for device 00:09.1
Apr 13 16:58:31 mythtv kernel: PCI: Sharing IRQ 5 with 00:09.0
Apr 13 16:58:31 mythtv kernel: bt878(0): Bt878 (rev 17) at 00:09.1, irq:
5, latency: 32, memory: 0xcdcff000
Apr 13 16:58:31 mythtv kernel: DVB: registering new adapter (Neb).
Apr 13 16:58:31 mythtv kernel: DVB: registering frontend 0:0 (NxtWave
NXT6000)...

my lsmod looks OK to my untutored eye.
snd-pcm-oss            44068   0  (autoclean)
dvb-bt8xx               5332   0
bt878                   7568   0  [dvb-bt8xx]
nxt6000                 8812   1
dvb-core               75604   0  [dvb-bt8xx nxt6000]
bttv                  120032   0  [dvb-bt8xx bt878]
video-buf              18176   0  [bttv]
videodev                9216   2  [bttv]
v4l1-compat            13508   0  (unused)
btcx-risc               3884   0  [bttv]
v4l2-common             5376   0  [bttv]
snd-mixer-oss          16408   1  (autoclean) [snd-pcm-oss]
nvidia               2124064   6  (autoclean)
snd-intel8x0           24100   1  (autoclean)
snd-ac97-codec         59868   0  (autoclean) [snd-intel8x0]
snd-pcm                83616   0  (autoclean) [snd-pcm-oss snd-intel8x0]
snd-timer              19940   0  (autoclean) [snd-pcm]
snd-page-alloc          9236   0  (autoclean) [snd-intel8x0 snd-pcm]
snd-mpu401-uart         5264   0  (autoclean) [snd-intel8x0]
snd-rawmidi            18912   0  (autoclean) [snd-mpu401-uart]
snd-seq-device          6236   0  (autoclean) [snd-rawmidi]
snd                    47044   0  (autoclean) [snd-pcm-oss snd-mixer-oss
snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart
snd-rawmidi snd-seq-device]
soundcore               6468   4  (autoclean) [bttv snd]
parport_pc             16228   1

I was wondering about the lack of btaudio module. Reading through the
mythtv docs it mentions btaudio as needed when using cards without a
lineout module, the Nebula DigiTV card being an example. However the
latest version of bttv doesn't seem to have btaudio in it and I can't
insert the module btaudio into the system if the latest bttv drivers are
installed. I have hunted high and low for information about btaduio but
never really got to the bottom of whether it is needed or not.

Do I need btaudio to be loaded as a module or not to have sound coming
through the PCI bus? Does the latest version of bttv handle all of this
anyway? Why does VDR work and not mythtv? Aaggghhhhh.....

best wishes,

Rob.

_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------
use mythconverg;

INSERT INTO dvb_channel VALUES (1000,1000,NULL,0,NULL,626166666,'0',NULL,'2/3','V',NULL,'qam_64','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1013,1013,NULL,0,NULL,706000000,'0',NULL,'3/4','V',NULL,'qam_16','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1014,1014,NULL,0,NULL,706000000,'0',NULL,'3/4','V',NULL,'qam_16','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1015,1015,NULL,0,NULL,674166666,'0',NULL,'3/4','V',NULL,'qam_16','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1016,1016,NULL,0,NULL,650166666,'0',NULL,'2/3','V',NULL,'qam_64','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1017,1017,NULL,0,NULL,626166666,'0',NULL,'2/3','V',NULL,'qam_64','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1021,1021,NULL,0,NULL,650166666,'0',NULL,'2/3','V',NULL,'qam_64','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1022,1022,NULL,0,NULL,650166666,'0',NULL,'2/3','V',NULL,'qam_64','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1028,1028,NULL,0,NULL,658166666,'0',NULL,'3/4','V',NULL,'qam_16','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1029,1029,NULL,0,NULL,674166666,'0',NULL,'3/4','V',NULL,'qam_16','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1030,1030,NULL,0,NULL,626166666,'0',NULL,'3/4','V',NULL,'qam_16','8','1/2','2','1/32','n');
INSERT INTO dvb_channel VALUES (1039,1039,NULL,0,NULL,658166666,'0',NULL,'3/4','V',NULL,'qam_16','8','1/2','2','1/32','n');


INSERT INTO dvb_pids VALUES (1000,6161,'v','');
INSERT INTO dvb_pids VALUES (1013,620,'v','');
INSERT INTO dvb_pids VALUES (1014,620,'v','');
INSERT INTO dvb_pids VALUES (1015,201,'v','');
INSERT INTO dvb_pids VALUES (1016,2822,'v','');
INSERT INTO dvb_pids VALUES (1017,6017,'v','');
INSERT INTO dvb_pids VALUES (1021,2822,'v','');
INSERT INTO dvb_pids VALUES (1022,2818,'v','');
INSERT INTO dvb_pids VALUES (1028,201,'v','');
INSERT INTO dvb_pids VALUES (1029,0,'v','');
INSERT INTO dvb_pids VALUES (1030,6059,'v','');
INSERT INTO dvb_pids VALUES (1039,101,'v','');
INSERT INTO dvb_pids VALUES (1000,6162,'a','');
INSERT INTO dvb_pids VALUES (1013,621,'a','');
INSERT INTO dvb_pids VALUES (1014,621,'a','');
INSERT INTO dvb_pids VALUES (1015,401,'a','');
INSERT INTO dvb_pids VALUES (1016,2823,'a','');
INSERT INTO dvb_pids VALUES (1017,6018,'a','');
INSERT INTO dvb_pids VALUES (1021,2823,'a','');
INSERT INTO dvb_pids VALUES (1022,2819,'a','');
INSERT INTO dvb_pids VALUES (1028,202,'a','');
INSERT INTO dvb_pids VALUES (1029,403,'a','');
INSERT INTO dvb_pids VALUES (1030,6050,'a','');
INSERT INTO dvb_pids VALUES (1039,102,'a','');



More information about the mythtv-users mailing list