Kodi Community Forum

Full Version: XBMC+LiveTV - Avermedia PCI pure analog (M135A) cannot be selected in config/devices
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I run Ubuntu 11.10
Tvheadend 2.12 , installed form deb.
3.1.5 kernel, added manually form deb (same results with 3.0.0.15, delivered with distro, though)
Avermedia PCI pure analog (M135A) videocard.
I try to setup this PCI card as a backend for XBMC, but I cannot configure the card.
I open the config window in browser, correctly enter pass and username, and try to go Configuration>TV adapters
When I click the drop-down menu, it is empty, and no choices appear. First I thought the card is not working, but my dmesg says otherwise(or I think so)
Here is the output of dmesg:

[ 6.178736] saa7130/34: v4l2 driver version 0, 2, 17 loaded
[ 6.178775] saa7134 0000:04:01.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 6.178780] saa7133[0]: found at 0000:04:01.0, rev: 209, irq: 18, latency: 84, mmio: 0xfdaff000
[ 6.178786] saa7133[0]: subsystem: 1461:f11d, board: Avermedia PCI pure analog (M135A) [card=149,autodetected]
[ 6.178798] saa7133[0]: board init: gpio is 40000
[ 6.452181] input: saa7134 IR (Avermedia PCI pure as /devices/pci0000:00/0000:00:1e.0/0000:04:01.0/rc/rc0/input4
[ 6.452263] rc0: saa7134 IR (Avermedia PCI pure as /devices/pci0000:00/0000:00:1e.0/0000:04:01.0/rc/rc0
[ 6.604046] saa7133[0]: i2c eeprom 00: 61 14 1d f1 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 6.604068] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff ff ff ff ff ff
[ 6.604087] saa7133[0]: i2c eeprom 20: 01 40 01 32 32 01 01 43 88 ff 00 56 ff ff ff ff
[ 6.604107] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604126] saa7133[0]: i2c eeprom 40: ff 22 00 c0 96 ff 03 30 15 00 ff ff ff ff ff ff
[ 6.604146] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604165] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604184] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604207] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604216] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604225] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604234] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604243] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604252] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604261] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.604270] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 6.642365] input: MCE IR Keyboard/Mouse (saa7134) as /devices/virtual/input/input5
[ 6.717417] rc rc0: lirc_dev: driver ir-lirc-codec (saa7134) registered at minor = 0
[ 10.372160] saa7133[0]: registered device video0 [v4l2]
[ 10.372256] saa7133[0]: registered device vbi0
[ 10.372330] saa7133[0]: registered device radio0
[ 10.454801] saa7134 ALSA driver for DMA sound loaded
[ 10.454827] saa7133[0]/alsa: saa7133[0] at 0xfdaff000 irq 18 registered as card -2

Any other ideas how to configure XBMC with different, working backend. MythTV was way too confusing for me.
Check which modules are loaded. For this card you should have these modules loaded:

saa7134
tda827x
tda8290
saa7134_alsa

Maybe you're missing some of these?
Quote:deckoff@desktop:~$ lsmod |grep "saa"
saa7134_alsa 18172 1
snd_pcm 80468 4 saa7134_alsa,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
saa7134 153846 2 saa7134_alsa
rc_core 25797 9 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,rc_avermedia_m135a,saa7134,ir_nec_decoder
videobuf_dma_sg 18786 2 saa7134_alsa,saa7134
videobuf_core 25409 2 saa7134,videobuf_dma_sg
v4l2_common 15793 2 tuner,saa7134
videodev 85626 4 tuner,saa7134,v4l2_common
tveeprom 17009 1 saa7134
snd 55902 19 saa7134_alsa,snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

Quote:deckoff@desktop:~$ lsmod |grep "tda"
tda827x 17830 1
tda8290 22216 1

TVtime works, without a sound.
Remote is working too, but only a few buttons SmileSmile
(I am pretty sure I screwed tvtrime configurations, I have 1000 of permission denied messages, but that is not the goal of this post)
TVHeadend needs a card that has hardware MPEG-2 decoding support. I don't know whether this Avermedia card has this feature? If not you won't see it in TVHeadend.
This is what I got whe I run tvheadend in terminal
Code:
[WARNING]:v4l: /dev/video0: Device lacks MPEG encoder, device skipped

Probably thats it. Sad Pity, it looks quite easy to configure. Probably I will have to struggle with MythTV as a backend .... Any other suggestions for a backend that is easy to configure?
No, sorry. TVHeadend is by far the easiest one I know of. Good luck.
Last question, good, bug-free under linux (Ubuntu) Tvcard, configurable with tvheadend. Please, suggest Smile