public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33?
@ 2011-03-30 20:22 Jos Hoekstra
  2011-03-31 12:32 ` Bjørn Mork
  2011-04-01 16:21 ` [linux-dvb] " Hartmut
  0 siblings, 2 replies; 4+ messages in thread
From: Jos Hoekstra @ 2011-03-30 20:22 UTC (permalink / raw)
  To: linux-dvb

Good evening,

I got this card and it doesn't seem to be detected by Ubuntu 10.4.2 with 
kernel 2.6.35(-25-generic #44~lucid1-Ubuntu SMP Tue Jan 25 19:17:25 UTC 
2011 x86_64 GNU/Linux)

The wiki seems to indicate that this card is supported as of kernel 
2.6.33, however it doesn't show up as a dvb-adapter.

I checked if it is the same card as on the wiki and it seems to be 
looking at the device-id:

01:0a.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV PCI 
Bridge Controller [Ver 1.0] (rev 01)
     Subsystem: Device 1ae4:0002
     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
     Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
     Latency: 32 (2000ns min, 63750ns max)
     Interrupt: pin A routed to IRQ 15
     Region 0: Memory at cbfff000 (32-bit, prefetchable) [size=4K]

I performed "modprobe mantis" and it seems to load op the correct 
modules just fine:

mantis                 17985  0
mantis_core            33224  1 mantis
tda665x                 3446  1 mantis
lnbp21                  2338  1 mantis
mb86a16                21798  1 mantis
stb6100                 7128  1 mantis
tda10021                6920  1 mantis
tda10023                6996  1 mantis
zl10353                 7817  1 mantis
stb0899                36531  1 mantis
stv0299                10593  1 mantis
ir_core                16906  11 
mantis_core,rc_hauppauge_new,ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,cx88xx,ir_common,ir_nec_decoder
dvb_core              105399  5 
mantis_core,stv0299,cx88_dvb,videobuf_dvb,dvb_usb

After rebooting it however seems I need to manually modprobe mantis and 
restart the backend to have mythtv work with this card. Is there a way 
to make these modules load automatically after a reboot?

Also for my DTV-provider there's no initial scanfile, I've managed to 
scan the channels by making my own initial scan file with:

C 304000000 6875000 NONE QAM64

And am able to scan all the channels(which are unencrypted).

So far so good, added the channels to mythtv after testing in Kaffeine, 
where they play near flawlessly in in Kaffeine however have heavy 
distortions in mythtv. The work-around seems to be to disable the C1E 
halt state on the Geforce 8200 motherboard I use.

Is the wiki still active? So I can put my experiences there later on?
Can I somehow submit the initial scan file to be used with Glashart in 
the Netherlands?

Thanks in advance,

Jos Hoekstra

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33?
  2011-03-30 20:22 [linux-dvb] Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33? Jos Hoekstra
@ 2011-03-31 12:32 ` Bjørn Mork
  2011-04-02 11:21   ` Jos Hoekstra
  2011-04-01 16:21 ` [linux-dvb] " Hartmut
  1 sibling, 1 reply; 4+ messages in thread
From: Bjørn Mork @ 2011-03-31 12:32 UTC (permalink / raw)
  To: linux-media; +Cc: linux-dvb, Jos Hoekstra

Jos Hoekstra <joshoekstra@gmx.net> writes:

> I got this card and it doesn't seem to be detected by Ubuntu 10.4.2
> with kernel 2.6.35(-25-generic #44~lucid1-Ubuntu SMP Tue Jan 25
> 19:17:25 UTC 2011 x86_64 GNU/Linux)
>
> The wiki seems to indicate that this card is supported as of kernel
> 2.6.33, however it doesn't show up as a dvb-adapter.
[..]
> After rebooting it however seems I need to manually modprobe mantis
> and restart the backend to have mythtv work with this card. Is there a
> way to make these modules load automatically after a reboot?

This is fixed by the following trivial patch, which was finally included
in kernel 2.6.38:


commit 116d588ea21cf0278a4de1e3272e9c3220a647e7
Author: Manu Abraham <abraham.manu@gmail.com>
Date:   Thu Feb 11 04:11:05 2010 -0300

    [media] Mantis, hopper: use MODULE_DEVICE_TABLE
    
    use the macro to make modules auto-loadable
    
    Thanks to Ozan Çağlayan <ozan@pardus.org.tr> for pointing it out
    
    Signed-off-by: Manu Abraham <manu@linuxtv.org>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

diff --git a/drivers/media/dvb/mantis/hopper_cards.c b/drivers/media/dvb/mantis/hopper_cards.c
index 09e9fc7..70e73af 100644
--- a/drivers/media/dvb/mantis/hopper_cards.c
+++ b/drivers/media/dvb/mantis/hopper_cards.c
@@ -251,6 +251,8 @@ static struct pci_device_id hopper_pci_table[] = {
        { }
 };
 
+MODULE_DEVICE_TABLE(pci, hopper_pci_table);
+
 static struct pci_driver hopper_pci_driver = {
        .name           = DRIVER_NAME,
        .id_table       = hopper_pci_table,
diff --git a/drivers/media/dvb/mantis/mantis_cards.c b/drivers/media/dvb/mantis/mantis_cards.c
index cf4b39f..40da225 100644
--- a/drivers/media/dvb/mantis/mantis_cards.c
+++ b/drivers/media/dvb/mantis/mantis_cards.c
@@ -281,6 +281,8 @@ static struct pci_device_id mantis_pci_table[] = {
        { }
 };
 
+MODULE_DEVICE_TABLE(pci, mantis_pci_table);
+
 static struct pci_driver mantis_pci_driver = {
        .name           = DRIVER_NAME,
        .id_table       = mantis_pci_table,



The best way to work around the problem until you upgrade your kernel to
2.6.38 or newer, is probably just adding mantis to /etc/modules.


Bjørn

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [linux-dvb] Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33?
  2011-03-30 20:22 [linux-dvb] Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33? Jos Hoekstra
  2011-03-31 12:32 ` Bjørn Mork
@ 2011-04-01 16:21 ` Hartmut
  1 sibling, 0 replies; 4+ messages in thread
From: Hartmut @ 2011-04-01 16:21 UTC (permalink / raw)
  To: linux-dvb

/etc/sysconfig/kernel

insert:

## Type:        string
## ServiceRestart:    boot.loadmodules
#
# This variable contains the list of modules to be loaded
# once the main filesystem is active
# You will find a few default modules for hardware which
# can not be detected automatically.
#
MODULES_LOADED_ON_BOOT="mantis"

Hartmut


Am 30.03.2011 22:22, schrieb Jos Hoekstra:
> Good evening,
>
> I got this card and it doesn't seem to be detected by Ubuntu 10.4.2 
> with kernel 2.6.35(-25-generic #44~lucid1-Ubuntu SMP Tue Jan 25 
> 19:17:25 UTC 2011 x86_64 GNU/Linux)
>
> The wiki seems to indicate that this card is supported as of kernel 
> 2.6.33, however it doesn't show up as a dvb-adapter.
>
> I checked if it is the same card as on the wiki and it seems to be 
> looking at the device-id:
>
> 01:0a.0 Multimedia controller: Twinhan Technology Co. Ltd Mantis DTV 
> PCI Bridge Controller [Ver 1.0] (rev 01)
>     Subsystem: Device 1ae4:0002
>     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
> ParErr- Stepping- SERR+ FastB2B- DisINTx-
>     Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>     Latency: 32 (2000ns min, 63750ns max)
>     Interrupt: pin A routed to IRQ 15
>     Region 0: Memory at cbfff000 (32-bit, prefetchable) [size=4K]
>
> I performed "modprobe mantis" and it seems to load op the correct 
> modules just fine:
>
> mantis                 17985  0
> mantis_core            33224  1 mantis
> tda665x                 3446  1 mantis
> lnbp21                  2338  1 mantis
> mb86a16                21798  1 mantis
> stb6100                 7128  1 mantis
> tda10021                6920  1 mantis
> tda10023                6996  1 mantis
> zl10353                 7817  1 mantis
> stb0899                36531  1 mantis
> stv0299                10593  1 mantis
> ir_core                16906  11 
> mantis_core,rc_hauppauge_new,ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,cx88xx,ir_common,ir_nec_decoder
> dvb_core              105399  5 
> mantis_core,stv0299,cx88_dvb,videobuf_dvb,dvb_usb
>
> After rebooting it however seems I need to manually modprobe mantis 
> and restart the backend to have mythtv work with this card. Is there a 
> way to make these modules load automatically after a reboot?
>
> Also for my DTV-provider there's no initial scanfile, I've managed to 
> scan the channels by making my own initial scan file with:
>
> C 304000000 6875000 NONE QAM64
>
> And am able to scan all the channels(which are unencrypted).
>
> So far so good, added the channels to mythtv after testing in 
> Kaffeine, where they play near flawlessly in in Kaffeine however have 
> heavy distortions in mythtv. The work-around seems to be to disable 
> the C1E halt state on the Geforce 8200 motherboard I use.
>
> Is the wiki still active? So I can put my experiences there later on?
> Can I somehow submit the initial scan file to be used with Glashart in 
> the Netherlands?
>
> Thanks in advance,
>
> Jos Hoekstra
>
> _______________________________________________
> linux-dvb users mailing list
> For V4L/DVB development, please use instead linux-media@vger.kernel.org
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
>

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33?
  2011-03-31 12:32 ` Bjørn Mork
@ 2011-04-02 11:21   ` Jos Hoekstra
  0 siblings, 0 replies; 4+ messages in thread
From: Jos Hoekstra @ 2011-04-02 11:21 UTC (permalink / raw)
  To: linux-media

Op 31-3-2011 14:32, Bjørn Mork schreef:
> Jos Hoekstra<joshoekstra@gmx.net>  writes:
>
>> I got this card and it doesn't seem to be detected by Ubuntu 10.4.2
>> with kernel 2.6.35(-25-generic #44~lucid1-Ubuntu SMP Tue Jan 25
>> 19:17:25 UTC 2011 x86_64 GNU/Linux)
>>
>> The wiki seems to indicate that this card is supported as of kernel
>> 2.6.33, however it doesn't show up as a dvb-adapter.
> [..]
>> After rebooting it however seems I need to manually modprobe mantis
>> and restart the backend to have mythtv work with this card. Is there a
>> way to make these modules load automatically after a reboot?
> The best way to work around the problem until you upgrade your kernel to
> 2.6.38 or newer, is probably just adding mantis to /etc/modules.
>
>
> Bjørn

This work-around solved this little issue for me, thanks :)

Is there a how-to for handing in initial scan-files or complete scans? 
I'm on fiber and afaik this goes for the whole network excluding local 
stations.

Thanks,

Jos Hoekstra

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-02 11:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-30 20:22 [linux-dvb] Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33? Jos Hoekstra
2011-03-31 12:32 ` Bjørn Mork
2011-04-02 11:21   ` Jos Hoekstra
2011-04-01 16:21 ` [linux-dvb] " Hartmut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox