Monday, September 7, 2009

Compro VideoMate Vista M5F Linux Setup

If you've recently purchased Compro VideoMate Vista M5F tv tuner card and want to get it working on your linux machine, then you are just in a few steps before you will get this done. I bought this card two weeks ago and finally setup it yesterday. But don't be upset, this will not take so long for you. So lets begin.
First check that you card is correctly plugged into the system

# lspci -v

04:00.0 Multimedia controller:
Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev d1)
Subsystem: Compro Technology, Inc. VideoMate T750
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at 90100000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2
Kernel driver in use: saa7134
Kernel modules: saa7134

If you see that then the card is connected and you can continue. On my linux distribution (Archlinux) the card is automatically detected as Compro VideoMate T750 and all required saa7134 modules are loaded. This is not right so unload these modules

# rmmod saa7134_dvb && rmmod saa7134_alsa && rmmod saa7134

Now you can load the saa7134 module using valid card and tuner numbers

# modprobe saa7134 card=49 tuner=54 alsa=1 i2c_scan=1

After you loaded the module check if the device /dev/video0 exists and if the new soundcard was added

# ls /dev/video*
/dev/video /dev/video0
# ls /dev/dsp*
/dev/dsp /dev/dsp1

If you cannot see this, examine dmesg log for errors. Do not forget to set the volume levels for the new sound device

# alsamixer -c 1

Now you can try to perform a channels scan using your favourite tv software (MythTV, tvtime, xawtv). If the scan was successful, you can add the modules options to the modprobe.conf file

options saa7134 card=49 tuner=54 alsa=1 i2c_scan=1

6 comments:

  1. i tired to do everything as writen here, but remote does not work... in /etc/input/by-path ir device doesn't appear...

    ReplyDelete
  2. It would be helpful if you post the output of dmesg. I have the IR input device at /dev/input/event4 and the corresponding dmesg line saying:
    input: saa7134 IR (Compro VideoMate Go as /devices/pci0000:00/0000:00:1e.0/0000:04:00.0/input/input4

    ReplyDelete
  3. [ 6.809526] input: saa7134 IR (Compro VideoMate Go as /devices/pci0000:00/0000:00:1e.0/0000:04:00.0/input/input5

    but if in hardware.con i add /dev/input/event5
    and try to test remote:
    irw
    output is
    ...................................
    0000000080010179 22 KEY_TV devinput
    0000000080010179 23 KEY_TV devinput
    0000000080010179 24 KEY_TV devinput
    0000000080010179 25 KEY_TV devinput
    0000000080010179 26 KEY_TV devinput
    0000000080010179 27 KEY_TV devinput
    0000000080010179 28 KEY_TV devinput
    0000000080010179 29 KEY_TV devinput
    0000000080010179 2a KEY_TV devinput
    ...................................
    i don't pres any keys

    ReplyDelete
  4. Ok, I tried to setup lirc on my tv box (I don't need it in fact) and ran into the same problem. The IR device produces continious output. So I guess this device has invalid IRQ set. I'll post the solution once I find it.

    ReplyDelete
  5. ok, i'll be waiting for your reply

    ReplyDelete
  6. Hi Michael,

    Will this work on my card (here is the output)
    rire@HTPC2:~$ lspci -vvnn | grep Philips
    02:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)

    02:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)
    Subsystem: Compro Technology, Inc. VideoMate T750 [185b:c900]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-
    Kernel driver in use: saa7134
    Kernel modules: saa7134

    I implemented this: http://linuxtv.org/wiki/index.php/Kworld_PCI_Analog_TV_Card_Lite (different card)
    and since then UBUNTU does not load.

    Please help thanks - Rohan

    ReplyDelete