Author Topic: DVB Card support in LinuxMCE-0710  (Read 28207 times)

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: DVB Card support in LinuxMCE-0710
« Reply #15 on: April 12, 2008, 01:54:29 pm »
Andrew,

I'd like to see support for the Twinhan budget cards..
VP 1020, VP1022, VP 102C, etc (I have them all)

Regards,

Dan

I hope this is in right topic!

I have a Twinhan DTV Mini Cab (w/o CI) DVB-C card.
The card is working to see tv channels, but if a want to scan for channels whit it, it don't find anything.
To get this working i need to uncoment line 1360 in kernel-<version>/drivers/media/dvb/bt8xx/dst.c that reads
Code: [Select]
!(state->dst_type == DST_TYPE_IS_CABLE) &&

and then make new kernel.
I have tried to do this in LinuxMCE the Ubuntu way, but i allways fail when it reboots the new kernel. To get it up and running again i need to reinstall LinuxMCE...

The question i have is:
How do i compile kernel for LinuxMCE whit this "fix" and get it working?

Thanx
/Mami

Hmmm... I would think that you just need to re-build the bt8xx module with the dst_type set to Cable and then modprobe the newly built bt8xx module. If it modprobe's ok the just edit /etc/modules and add a line for your new bt8xx module. Your new module will then get loaded on boot.

I think that should fix your problem

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

mami

  • Regular Poster
  • **
  • Posts: 34
    • View Profile
Re: DVB Card support in LinuxMCE-0710
« Reply #16 on: April 12, 2008, 09:28:32 pm »
I have tried whit to modprobe the bt8xx module whit many dst_type, but nothing worked (a long time ago!).
Then i started to search the net and find that answer, and it worked directly.
Because else it think it has a CI onboard or something like that!!

Edit:
I find this text about it:
Code: [Select]
There are exactly 2 card types having the same identification, adding support
for this one card breaks the other card.

Edit2:
Finaly i got it working  :D
So if you have a Twinhan DVB budget card whitout CI that can't scan for channels, do this:

1. Download kernel source + needed packages!

2. Edit this lines in drivers/media/dvb/bt8xx/dst.c (in the kernel source):
Line: 850:
Code: [Select]
.dst_feature =  DST_TYPE_HAS_CA,
change to
Code: [Select]
.dst_feature =  0,

and in line 1360:
Code: [Select]
!(state->dst_type == DST_TYPE_IS_CABLE) &&
change to
Code: [Select]
// !(state->dst_type == DST_TYPE_IS_CABLE) &&

3. copy config from /boot/ to .config
Code: [Select]
cp /boot/config-<version> .config

4. Apply config & prepare
Code: [Select]
make oldconfig && make prepare

5. build the drivers
Code: [Select]
make M=drivers/media/dvb/bt8xx/

6. copy them to the kernel you use
Code: [Select]
cp drivers/media/dvb/bt8xx/*.ko /lib/modules/<version>/kernel/drivers/media/dvb/bt8xx/

7. Reboot and have fun  ;)

/Mami
« Last Edit: April 12, 2008, 11:19:06 pm by mami »

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: DVB Card support in LinuxMCE-0710
« Reply #17 on: May 08, 2008, 02:18:17 pm »
Hi,
Just wondering whether DVB-S2 card support has been integrated into 0710?
I'm hoping to use VDR with a Hauppauge Nova-HD-S2 card.

Cheers
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

cirion

  • Guru
  • ****
  • Posts: 353
    • View Profile
Re: DVB Card support in LinuxMCE-0710
« Reply #18 on: May 14, 2008, 07:16:47 am »
LMCE 0710 is using the latest stable version of VDR, which is version 1.6.
VDR removed DVB-S2 support for this version to be able to release a new stable version.

DVB-S2 is back in VDR 1.7 but that is not a stable version, so it is not in LinuxMCE yet...

Your card needs to be supported in the Multiproto driver to work with DVB-S2. Look for your card here:
http://www.linuxtv.org/wiki/index.php/Main_Page

As long as you install a driver for your card, DVB-S should work fine for now. DVB-S2 will come eventually...

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: DVB Card support in LinuxMCE-0710
« Reply #19 on: May 14, 2008, 08:48:28 am »
The card is supported under the "experimental" section of DVB-S2 PCI cards. To get the card working with only S functionality for the time being do I just have to install the v4l dvb drivers without patching them etc.. as mentioned here -

http://ph.ubuntuforums.com/showthread.php?s=78b0b299797591a3233c9ed93f954361&t=633182&page=3

I assume this is still needed for the S2 element to work.
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

cirion

  • Guru
  • ****
  • Posts: 353
    • View Profile
Re: DVB Card support in LinuxMCE-0710
« Reply #20 on: May 15, 2008, 08:09:41 am »
I'm afraid it's not just the DVB-S2 support that is experimental...
The card itself has experimental support, so there is no support for it in the std. v4l dvb package.

Did you not read about your card?
"Hauppauge WinTV-NOVA-HD-S2 (PCI32, supports CI) ... a HVR-4000 without a DVB-T demod"
What that means, is you can follow the instructions for HVR-4000...
http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-4000
and here is the driver:
http://dev.kewl.org/hauppauge/

Since your card is "multi frontend" DVB-S and DVB-S2 ther will be some time before v4l dvb will support your card. The HVR-4000 card came out in the end of 2006 and is still not supported.

There is sad news for the above driver... If you look at the VDR 1.7 changelog, you will see that it will only work with the Multiproto driver...
http://linuxtv.org/pipermail/vdr/2008-April/016498.html

gazlang

  • Guru
  • ****
  • Posts: 210
    • View Profile
Re: DVB Card support in LinuxMCE-0710
« Reply #21 on: May 15, 2008, 12:23:44 pm »
Well, I will just have to play around with it. I assume the kewl.org driver will allow me to use the DVB-S part of the card with LMCE VDR (v.1.6) for the time being?

From this wiki entry - http://66.102.9.104/translate_c?hl=en&sl=de&u=http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-4000 it seems that there is a multipronto patch for the 1.7 versions of vdr. So should be able to continue using my card when LMCE upgrades to VDR1.7?
AMD Athlon 5800+ X2
Asus M2N-SLI-Deluxe
2x Corsair XMS6400 DDR2 512mb
Samsung 400GB SATA + 500GB SATA
nVidia GeForce 7300GT
Hauppauge Nova-T 500
Hauppauge PVR-500
Thermaltake low-noise 450w PSU
Thermaltake Bach Case w/ imon vfd
Fiire Remote
UIRT

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: DVB Card support in LinuxMCE-0710
« Reply #22 on: October 22, 2008, 03:22:22 pm »
I use TT-Budget/WinTV-NOVA-CI PCI. It works fine out the box. Just disable the "snd_aw2" (Audiowerk sound card) module. The driver contains a bug, so it will be loaded for every saa7146 chip.

I thought to switch to Technotrend S2-3200 HDTV-S2. But since support of DVB-S2 was removed from the VDR 1.6.0 it'd be just a wast a time and money.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: DVB Card support in LinuxMCE-0710
« Reply #23 on: February 08, 2009, 11:05:44 pm »
Hi Andrew,

Very nice to see this topic up!
I'm having a go at Satelco-EasyWatch-HDTV-S2-PCI--Basic-Edition[/color]-.html]http://www.dvbshop.net/product_info.php/info/p148_Satelco-EasyWatch-HDTV-S2-PCI--Basic-Edition-.html.
I have it running in one system but am having trouble in getting it going in an identical second system.
It is a Philips SAA7146 based card.
One of the problems, probably similar to Niteman's post is that part of it gets recognized as a Audiowerk2 audio card, and next sound isn't working anymore... But after blacklisting this item that is solved.

This is what's in dmesg in the working system:
Code: [Select]
[ 14.324000] saa7146: register extension 'budget_av'.
[ 14.324000] ACPI: PCI Interrupt 0000:03:06.0[A] -> GSI 20 (level, low) -> IRQ 21
[ 14.324000] saa7146: found saa7146 @ mem f8a86000 (revision 1, irq 21) (0x1894,0x0022).
[ 14.324000] saa7146 (0): dma buffer size 192512
[ 14.324000] DVB: registering new adapter (KNC1 DVB-C MK3).
[ 14.360000] adapter failed MAC signature check
[ 14.360000] encoded MAC from EEPROM was ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff
[ 14.624000] KNC1-0: MAC addr = 00:09:d6:6d:93:4
[ 14.788000] DVB: registering frontend 0 (Philips TDA10023 DVB-C)...

And this is what I get in the non working system - apparently the DVB-C card doesn't get registered
Code: [Select]
[ 13.372000] ACPI: PCI Interrupt 0000:03:06.0[A] -> GSI 20 (level, low) -> IRQ 21
[ 13.372000] Audiowerk 2 sound card (saa7146 chipset) detected and managed
[ 13.456000] Linux video capture interface: v2.00
[ 13.472000] saa7146: register extension 'budget_av'.

lspci -v
Code: [Select]
03:06.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
Subsystem: KNC One Unknown device 0022
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at fdeff000 (32-bit, non-prefetchable) [size=512]

I also have a Technisat HD2 Cablestar HD2 reported to be working under Kubuntu 8.04 http://www.linuxtv.org/wiki/index.php/Te…t_CableStar_HD2
I haven't managed to get it working with LMCE, but will have another go at it and report back.

Does anyone have a clue as to how to get my card registered by the system?

Thanks for your input!

Erwin


cirion

  • Guru
  • ****
  • Posts: 353
    • View Profile
Re: DVB Card support in LinuxMCE-0710
« Reply #24 on: February 09, 2009, 07:08:56 am »
As you can see in the LinuxTV Wiki the Philips SAA7146 based cards are all experimental:
http://linuxtv.org/wiki/index.php/DVB-S2_PCI_Cards

If you enter the Satelco cards you don't really find any useful information either...

You could follow this wiki, that is for a similar card:
http://linuxtv.org/wiki/index.php/DVB-S2_PCI_Cards

WARNING! If you are using LMCE7.10RC2 do not waste time trying the v4l-dvb/S2API driver. It will work as a driver, and you will be able to scan, but there is no support for S2API in the current Mythtv or VDR versions, and there is no patch for S2API in the versions LMCE is using.

In the same wiki you will find the Multiproto driver, and this uses the old API that works in LMCE.
 Multiproto driver

A driver using the obsolete multiproto API may be installed as follows.

Installing on Debian (2.6.18-6-686) etch with Multiproto diver (!!!DVB-S2 Don`t Work. Only DVB-S!!!). Install new Debian (2.6.18-6-686)

Code: [Select]
cd /usr/src
apt-get install linux-headers-2.6.18-6-686
apt-get install linux-source-2.6.18
apt-get install mercurial

Code: [Select]
hg clone http://jusst.de/hg/multiproto
cd multiproto
make
make install
reboot
dmesg

tityann

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • my familial website
Re: DVB Card support in LinuxMCE-0710
« Reply #25 on: February 09, 2009, 05:04:05 pm »
hello
i still don't have my LMCE working (in the year)
but i am not agree with :
Quote
there is no support for S2API in the current Mythtv or VDR versions
VDR 1.7.x works with S2API
VDR 1.6.x just need a patch to works with S2API
bye
FRENCH USER
plan to install linuxmce when i will have finished my home with EIB/KNX automation

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: DVB Card support in LinuxMCE-0710
« Reply #26 on: February 09, 2009, 05:23:19 pm »
hello
i still don't have my LMCE working (in the year)
but i am not agree with :
Quote
there is no support for S2API in the current Mythtv or VDR versions
VDR 1.7.x works with S2API
VDR 1.6.x just need a patch to works with S2API
bye

Since LinuxMCE includes "stock" version of VDR it shouldn't be a problem :)
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

cirion

  • Guru
  • ****
  • Posts: 353
    • View Profile
Re: DVB Card support in LinuxMCE-0710
« Reply #27 on: February 09, 2009, 05:31:16 pm »
hello
i still don't have my LMCE working (in the year)
but i am not agree with :
Quote
there is no support for S2API in the current Mythtv or VDR versions
VDR 1.7.x works with S2API
VDR 1.6.x just need a patch to works with S2API
bye
GREAT!!! You don't agree that it does not work with S2API.
That means you actually know how to make S2API work in LMCE7.10RC2?!?

Please tell us how! I want to know! I have been waiting for this since Steven started talking about S2API...

tityann

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • my familial website
Re: DVB Card support in LinuxMCE-0710
« Reply #28 on: February 10, 2009, 02:39:25 pm »
hello

Quote
That means you actually know how to make S2API work in LMCE7.10RC2?!?
I don't know about it...I only say that VDR is ok with S2API.
I still don't have my future house (with autamation) and still don't use LMCE (don't have two network...)
but why couldn't be add the S2API to the LMCE 7.10 's kernel ?
from linuxtv :(what i have done in my current install)
Quote
To retrieve the v4l-dvb source tree:

hg clone http://linuxtv.org/hg/v4l-dvb


How to build the v4l-dvb kernel modules
The v4l-dvb tree is backwards compatable against recent vanilla kernels. Kernel version 2.6.10 or later is required to build the dvb modules, and version 2.6.12 or later is required to build support for hybrid devices.

Change into the v4l-dvb directory:
cd v4l-dvb

Build the modules:
make

Install the modules:
make install

and then only change in the Makefile of vdr
DVBDIR=/usr/linux/
(which is using the dvb from installed kernel
to
DVBDIR=/usr/linux/v4l-dvb
(the new modules S2API)
(if you put it there of course)

bye
« Last Edit: February 10, 2009, 02:42:58 pm by tityann »
FRENCH USER
plan to install linuxmce when i will have finished my home with EIB/KNX automation

cirion

  • Guru
  • ****
  • Posts: 353
    • View Profile
Re: DVB Card support in LinuxMCE-0710
« Reply #29 on: February 10, 2009, 09:41:57 pm »
I don't know about it...I only say that VDR is ok with S2API.
I still don't have my future house (with autamation) and still don't use LMCE (don't have two network...) but why couldn't be add the S2API to the LMCE 7.10 's kernel ?
How did you read that S2API can't be installed in 710?!?
It CAN!
And YES! The driver works!!!

The problem does not lie there.... It's in VDR and MythTV and in LMCE7.10, they are specialized versions. Figuring out how to set up a development environment and patch and build new versions of MythTV or VDR for LMCE, is not something I would recommend to a  user wondering how to install a DVB Card.

VDR and MythTV does not support S2API in any stable version yet, and both the stable versions and the developer versions needs to be patched. Patching scare the shit out of any Windows user trying to use Linux for the first time and is something regular linux user don't find very simple.

S2API will probably make it into 8.10 (I'm just guessing). Posde has commented somewhere that the new VDR integration would be able to use whatever VDR version the user installs. If that's true it would make users able to install the latest developer versions with patches :)