btaudio and Modular Technologies MM205 TV card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



hi,
	after much tinkering i am still unable to get out sound out of my MM205
TV card - picture and tuning are both perfect however.  using kernel
2.4.0, bttv-0.7.53 (separately) and SBLive (Creative OSS compatible
driver used).  since this TV card does not have line out and is based on
BT878KHF, i assume the only way to get sound is via the btaudio module?

	both kernel and bttv compile okay and i install the bttv modules over
the kernel ones.  although this is a Mandrake 7.2 based machine, i
downloaded a new copy of 2.4.0 kernel source because i wasn't happy with
the patched version that comes with the distribution.  i'm going to try
to be as verbose as possible as i'm not sure what is and isn't relevant.

any help would be most appreciated.

thanks,
	'tish.


---

here's an lspci:
...
00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 (rev
02)
00:0a.1 Multimedia controller: Brooktree Corporation Bt878 (rev 02)
00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10000
(rev 07)
00:0b.1 Input device controller: Creative Labs SB Live! (rev 07)
...

---

now for insmod of modules (followed by syslog messages):

[root@necromancer i2c]# insmod i2c-core.o; insmod i2c-algo-bit.o

Jan 24 12:15:42 necromancer kernel: i2c-core.o: i2c core module
Jan 24 12:15:42 necromancer kernel: i2c-algo-bit.o: i2c bit algorithm
module

[root@necromancer video]# insmod videodev.o

Jan 24 12:17:06 necromancer kernel: Linux video capture interface: v1.00

[root@necromancer video]# insmod bttv.o card=23 tuner=11 radio=0 pll=1

Jan 24 12:18:56 necromancer kernel: bttv: driver version 0.7.53 loaded
Jan 24 12:18:56 necromancer kernel: bttv: using 2 buffers with 2080k
(4160k total) for capture
Jan 24 12:18:56 necromancer kernel: bttv: Bt8xx card found (0).
Jan 24 12:18:56 necromancer kernel: PCI: Found IRQ 5 for device 00:0a.0
Jan 24 12:18:56 necromancer kernel: PCI: The same IRQ used for device
00:0a.1
Jan 24 12:18:56 necromancer kernel: bttv0: Bt878 (rev 2) at 00:0a.0,
irq: 5, latency: 32, memory: 0xe3000000
Jan 24 12:18:56 necromancer kernel: bttv0: model: BT878(Modular
Technology MM20) [insmod option]
Jan 24 12:18:56 necromancer kernel: tuner: chip found @ 0x60
Jan 24 12:18:56 necromancer kernel: bttv0: i2c attach [(unset)]
Jan 24 12:18:56 necromancer kernel: i2c-core.o: client [(unset)]
registered to adapter [bt848 #0](pos. 0).
Jan 24 12:18:56 necromancer kernel: i2c-core.o: adapter bt848 #0
registered as adapter 0.
Jan 24 12:18:56 necromancer kernel: bttv0: i2c: checking for TDA9875 @
0xb0... not found
Jan 24 12:18:56 necromancer kernel: bttv0: i2c: checking for TDA7432 @
0x8a... not found

---

at this point i can happily run xawtv:

Jan 24 12:20:53 necromancer kernel: bttv0: PLL: 28636363 => 35468950 ...
ok

---
now to try audio.  i kill off my esd and remove mixer applet, so that my
SBLive module is unused:

[root@necromancer video]# lsmod 
Module                  Size  Used by
bttv                   56688   0 
tuner                   3392   1  (autoclean)
tvaudio                 7984   0  (autoclean) (unused)
videodev                4704   2  [bttv]
i2c-algo-bit            7360   1  [bttv]
i2c-core               13104   0  [bttv tuner tvaudio i2c-algo-bit]
emu10k1                44592   0 
autofs4                10112   1 
nls_iso8859-1           2864   2  (autoclean)


[root@necromancer video]# insmod btaudio.o debug=1

Jan 24 12:30:18 necromancer kernel: btaudio: driver version 0.4 loaded
[digital audio mode]
Jan 24 12:30:18 necromancer kernel: PCI: Found IRQ 5 for device 00:0a.1
Jan 24 12:30:18 necromancer kernel: PCI: The same IRQ used for device
00:0a.0
Jan 24 12:30:18 necromancer kernel: btaudio: Bt878 (rev 2) at 00:0a.1,
irq: 5, latency: 32, memory: 0xe2800000

[root@necromancer video]# lsmod 
Module                  Size  Used by
btaudio                 9056   0  (unused)
bttv                   56688   0 
tuner                   3392   1  (autoclean)
tvaudio                 7984   0  (autoclean) (unused)
videodev                4704   2  [bttv]
i2c-algo-bit            7360   1  [bttv]
i2c-core               13104   0  [bttv tuner tvaudio i2c-algo-bit]
emu10k1                44592   0 
autofs4                10112   1 
nls_iso8859-1           2864   2  (autoclean)

now kick up xawtv and using sox for sound (as suggested in
README.btaudio):

[root@necromancer video]# xawtv&
[2] 7181
This is xawtv-3.21, running on Linux/i686 (2.4.0)
[root@necromancer video]# visual: id=0x22 class=4 (TrueColor), depth=16
visual: id=0x23 class=5 (DirectColor), depth=16
  image format list for port 36
    0x32595559 (YUY2) packed
    0x32315659 (YV12) planar
    0x30323449 (I420) planar
    0x59565955 (UYVY) packed
Xv: using port 36 for hw scaling
x11: 1280x1024, 16 bit/pixel, 2560 byte/scanline, DGA
waitpid: No child processes
waitpid: No child processes
v4l: 1280x1024, 16 bit/pixel, 2560 byte/scanline
wmhooks: gnome

[root@necromancer video]# sox -w -r 32000 -t ossdsp /dev/dsp2 -t ossdsp
/dev/dsp&
[3] 7202

---

nothing and lsmod shows that the btaudio module isn't being used. 
removeing btaudio and try specifying dsp2:

[root@necromancer video]# rmmod btaudio; insmod btaudio.o debug=1 dsp=2

Jan 24 12:37:37 necromancer kernel: btaudio: driver version 0.4 loaded
[digital audio mode]
Jan 24 12:37:37 necromancer kernel: PCI: Found IRQ 5 for device 00:0a.1
Jan 24 12:37:37 necromancer kernel: PCI: The same IRQ used for device
00:0a.0
Jan 24 12:37:37 necromancer kernel: btaudio: Bt878 (rev 2) at 00:0a.1,
irq: 5, latency: 32, memory: 0xe2800000

now for sox again, lsmod still shows no usage.  i had created the dsp2
using:

mknod /dev/dsp2 c 14 3

i suspect that is the cause of problems as i came about to these numbers
after looking through kernel headers in various places.




--- --- ---
  .~.   the way of the Sacred Penguin is the path of
  /V\   the truly righteous...
 // \\/
/(   )  gomi@xxxxxxxxxxxxxxxxxxxxxxxxxxx
 ^`~'^  http://thor.prohosting.com/~hashaday/





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux