Page 5 of 11

Re: Future of the Linux-Driver

PostPosted: Tue Apr 19, 2011 7:12 pm
by hda
If you read back through the thread there are 2 edits to make to linux/drivers/media/video/v4l2-compat-ioctl32.c

For me this enables the driver to build but then I get the failure when I try to insert the module.

Re: Future of the Linux-Driver

PostPosted: Tue Apr 19, 2011 8:02 pm
by AndyBurns
hda wrote:I get the failure when I try to insert the module.


Heh! I'm also trying to install TBS6891 into a Fedora14 machine (with 2.6.35 kernel so should be supported without any patch) I do have to add a #include for slab.h which is no big thing, then it all builds but now *I* get lots of module errors :oops:

Code: Select all
modprobe cx23885
WARNING: Error inserting ir_common (/lib/modules/2.6.35.12-88.fc14.i686.PAE/kernel/drivers/media/IR/ir-common.ko): Invalid module format
WARNING: Error inserting videobuf_core (/lib/modules/2.6.35.12-88.fc14.i686.PAE/kernel/drivers/media/video/videobuf-core.ko): Invalid module format
WARNING: Error inserting dvb_core (/lib/modules/2.6.35.12-88.fc14.i686.PAE/kernel/drivers/media/dvb/dvb-core/dvb-core.ko): Invalid module format
WARNING: Error inserting videobuf_dvb (/lib/modules/2.6.35.12-88.fc14.i686.PAE/kernel/drivers/media/video/videobuf-dvb.ko): Invalid module format
WARNING: Error inserting videobuf_dma_sg (/lib/modules/2.6.35.12-88.fc14.i686.PAE/kernel/drivers/media/video/videobuf-dma-sg.ko): Invalid module format
WARNING: Error inserting v4l1_compat (/lib/modules/2.6.35.12-88.fc14.i686.PAE/kernel/drivers/media/video/v4l1-compat.ko): Invalid module format
WARNING: Error inserting videodev (/lib/modules/2.6.35.12-88.fc14.i686.PAE/kernel/drivers/media/video/videodev.ko): Invalid module format
WARNING: Error inserting v4l2_common (/lib/modules/2.6.35.12-88.fc14.i686.PAE/kernel/drivers/media/video/v4l2-common.ko): Invalid module format
WARNING: Error inserting cx2341x (/lib/modules/2.6.35.12-88.fc14.i686.PAE/kernel/drivers/media/video/cx2341x.ko): Invalid module format
FATAL: Error inserting cx23885 (/lib/modules/2.6.35.12-88.fc14.i686.PAE/kernel/drivers/media/video/cx23885/cx23885.ko): Invalid module format


Other than my 2.6.38 test machine being newer with Fedora15, I've got everything else the same (kernel-PAE-devel, kernel headers etc) ... I can't figure out why it rejects the modules ... damn!

Re: Future of the Linux-Driver

PostPosted: Tue Apr 19, 2011 8:14 pm
by AndyBurns
[quote="AndyBurns]I can't figure out why it rejects the modules ... damn![/quote]

Code: Select all
ir_core: exports duplicate symbol ir_raw_handler_unregister (owned by rc_core)


OK, it's a duplicate symbol clash ... caused by my imon_pad, I can live without that for a while until I resolve it

Re: Future of the Linux-Driver

PostPosted: Wed Apr 20, 2011 12:58 am
by hda
Strange. I had no problems with 2.6.35 even on 64bit.

Have you had any chance to look into the 64bit side of things for 2.6.38 yet Andy?

Me being totally selfish here as I'm gonna have to boot into my 2.6.35 kernel to watch the footy later :p

Re: Future of the Linux-Driver

PostPosted: Wed Apr 20, 2011 2:23 am
by jkpiodsoea
ImageBravo, is simply magnificent idea

Re: Future of the Linux-Driver

PostPosted: Wed Apr 20, 2011 2:42 am
by AndyBurns
hda wrote:Strange. I had no problems with 2.6.35 even on 64bit.


Turned out to be related to a module I'd loaded for my iMON PAD remote, worked around for now by blacklisting that.

hda wrote:Have you had any chance to look into the 64bit side of things for 2.6.38 yet Andy?


Err no ... today the postie delivered a PCIe riser card I've been waiting for that's allowed me to fit the TBS card into a dedicated mythTV machine tonight, so I've been sampling the delights of Freesat HD for the first time ... I have to say that NHK World HD (which is broadcasting in stealth mode until 1st May) looks better than any of the four UK HD channels :o

But I have plenty of spare LVM room on this machine, so I'll have a bash at 64bit later ... Fedora 15 beta 64bit ISO downloading now ...

Re: Future of the Linux-Driver

PostPosted: Wed Apr 20, 2011 3:15 am
by hda
Brilliant. Really looking forward to getting this thing working with latest kernels =]

Will have to check out this NHK World HD channel after the football.

Re: Future of the Linux-Driver

PostPosted: Wed Apr 20, 2011 3:35 am
by AndyBurns
hda wrote:Will have to check out this NHK World HD channel after the football.


It's in "stealth" mode at the moment, so not visible in EPG, but mythTV finds it ...

Satellite: Eurobird1
Channel: 53147
Transponder: 11223.67MHz Vertical
Symbol Rate: 27500
FEC: 2/3

C4HD has de-stealthed today ....

Re: Future of the Linux-Driver

PostPosted: Thu Apr 21, 2011 3:56 am
by AndyBurns
hda wrote:Have you had any chance to look into the 64bit side of things for 2.6.38 yet Andy?


Yes, I installed a Fedora15 Beta 64bit machine (2.6.38.2 kernel),
V4L built using the v4 patch plus the two extra tweaks for v4l2-compat-ioctl32.c.org (I'll make a V5 patch including those)

After building and installing, I rebooted, then tried modprobe cx23885 but it I had a symbol clash with my iMON PAD again (same as 32bit)

Code: Select all
ir_core: exports duplicate symbol ir_raw_handler_unregister (owned by rc_core)


so I removed the iMON stuff

rmmod imon
rmmod rc_imon_pad
rmmod rc_core


then modprobe cx23885 worked nicely, and scandvb picks up channels, I'm just going to install mythTV now

So I might not be able to help you much further, since it works for me :?

What exact messages do you get when you modprobe? anything in dmesg?

Re: Future of the Linux-Driver

PostPosted: Thu Apr 21, 2011 7:06 am
by hda
Just tried again.

modprobe
Code: Select all
FATAL: Error inserting cx23885 (/lib/modules/2.6.38-ARCH/kernel/drivers/media/video/cx23885/cx23885.ko): Unknown symbol in module, or unknown parameter (see dmesg)


dmesg
Code: Select all
rc_core: exports duplicate symbol ir_raw_handler_unregister (owned by ir_core)
cx23885: Unknown symbol v4l2_i2c_new_subdev_cfg (err 0)


I see you have similar error but I dont have any imon or rc_core stuff loaded.

Will try again with the v5 patch when available just to make sure I am not messing up the edits.