Re: Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jos Hoekstra <joshoekstra@xxxxxxx> 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@xxxxxxxxx>
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@xxxxxxxxxxxxx> for pointing it out
    
    Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

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
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux