Project

General

Profile

Analog tv with beholder m63

Added by Alexey Garenskih almost 13 years ago

Hello!
I have analog tuner Behold TV M63 with harware MPEG2 encoder (SAA6752HS).
I want to create HTPS Tvheadend+XBMC on Ubuntu 11.10.
I install v4l, my dmesg out:

[ 9.272311] saa7130/34: v4l2 driver version 0.2.16 loaded
[ 9.539062] saa7134 0000:00:0a.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 9.539075] saa71330: found at 0000:00:0a.0, rev: 209, irq: 18, latency: 32, mmio: 0xee004000
[ 9.539089] saa71330: subsystem: 5ace:6191, board: Beholder BeholdTV M63 [card=143,autodetected]
[ 9.539118] saa71330: board init: gpio is 40000
[ 9.688025] saa71330: i2c eeprom 00: ce 5a 91 61 54 20 00 00 00 00 00 00 00 00 00 01
[ 9.688047] saa71330: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688066] saa71330: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688085] saa71330: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688104] saa71330: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688122] saa71330: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688141] saa71330: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688160] saa71330: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688178] saa71330: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688197] saa71330: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688215] saa71330: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688234] saa71330: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688253] saa71330: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688271] saa71330: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688290] saa71330: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 9.688309] saa71330: i2c eeprom f0: 42 54 56 30 30 30 30 ff ff ff ff ff ff ff ff ff
[ 11.644515] ir-kbd-i2c: i2c IR (BeholdTV) detected at i2c-1/1-002d/ir0 [saa71330]
[ 11.732391] saa6752hs 1-0020: chip found @ 0x40 (saa71330)
[ 11.748020] saa6752hs 1-0020: support AC-3
[ 11.756148] saa71330: registered device video0 [v4l2]
[ 11.756220] saa71330: registered device vbi0
[ 11.756299] saa71330: registered device radio0
[ 12.201529] saa7134 ALSA driver for DMA sound loaded
[ 12.201598] saa71330/alsa: saa71330 at 0xee004000 irq 18 registered as card -2
[ 12.203337] saa71330: registered device video1 [mpeg]

i.e. system detect tuner...
but Tvheadend not work:

[INFO]:v4l: /dev/video0: saa7134 Beholder BeholdTV M63 PCI:0000:00:0a.0 capabilities: 0x05010015
[WARNING]:v4l: /dev/video0: Device lacks MPEG encoder, device skipped

and

[INFO]:v4l: /dev/video1: saa7134 Beholder BeholdTV M63 PCI:0000:00:0a.0 capabilities: 0x05000001
[WARNING]:v4l: /dev/video1: Device does not have a tuner, device skipped

i thing /dev/video0 is tuner saa7134, and /dev/video1 is encoder saa6752

i probe command:

v4l2-ctl -f 175.250
cat /dev/video1 > test.mpeg

and

v4l2-ctl -f 175.250
vlc pvr://:pvr-device=/dev/video1

it work both.

how do I get tvheadend send commands to /dev/video0, and receiving stream from /dev/video1 ???


Replies (1)

RE: Analog tv with beholder m63 - Added by A Z over 11 years ago

Hello. I have the same problem, with the same (BeholdTV M6) tuner.
When I figured that Tvheadend needs hardware mpeg encoder, I searched the whole town and finally bought appropriate tv-tuner. M6 is one of the few well-supported tuners with mpeg encoder, and I hoped that it would certainly work. Alas. Tvheadend doesn't understand that it should control /dev/video0, and read from /dev/video1, and I have no way to tune it's behaviour.
Maybe I'm wrong and the situation is not so grim?

    (1-1/1)