Skip to contentSkip to conversation

Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33?

linux-dvb Jos Hoekstra 3 participants 4 messages Mar 30, 2011 – Apr 2, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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 [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw
Quoted 6 lines · Jos Hoekstra

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.

[..]

Quoted 3 lines

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 <[email protected]>
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 <[email protected]> for pointing it out

drivers/media/dvb/mantis/hopper_cards.c +2 -0
index 09e9fc7..70e73af 100644
@@ -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,
drivers/media/dvb/mantis/mantis_cards.c +2 -0
index cf4b39f..40da225 100644
@@ -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

#2 lore raw

Op 31-3-2011 14:32, Bjørn Mork schreef:

Quoted 9 lines
Quoted 6 lines · Jos Hoekstra

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.

[..]

Quoted 8 lines
Quoted 3 lines

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

#3 lore raw
In reply to Jos Hoekstra

/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:

Quoted 49 lines

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,

Quoted 9 lines

Jos Hoekstra

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead [email protected] [email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb