Re: Technisat Cablestar HD2 not automatically detected by kernel > 2.6.33?
Bjørn Mork <[email protected]> Thu, 31 Mar 2011 14:32:08 +0200
| Newsgroups | gmane.linux.drivers.video-input-infrastructure,gmane.linux.drivers.dvb |
|---|---|
| Organization | m |
| Message-ID | <[email protected]> |
Jos Hoekstra <[email protected]> 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 include= d 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 =20 use the macro to make modules auto-loadable =20 Thanks to Ozan =C3=87a=C4=9Flayan <[email protected]> for pointing= it out =20 Signed-off-by: Manu Abraham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> diff --git a/drivers/media/dvb/mantis/hopper_cards.c b/drivers/media/dv= b/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[] =3D = { { } }; =20 +MODULE_DEVICE_TABLE(pci, hopper_pci_table); + static struct pci_driver hopper_pci_driver =3D { .name =3D DRIVER_NAME, .id_table =3D hopper_pci_table, diff --git a/drivers/media/dvb/mantis/mantis_cards.c b/drivers/media/dv= b/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[] =3D = { { } }; =20 +MODULE_DEVICE_TABLE(pci, mantis_pci_table); + static struct pci_driver mantis_pci_driver =3D { .name =3D DRIVER_NAME, .id_table =3D mantis_pci_table, The best way to work around the problem until you upgrade your kernel t= o 2.6.38 or newer, is probably just adding mantis to /etc/modules. Bj=C3=B8rn