Moderator Control Panel ]

Future of the Linux-Driver

Re: Future of the Linux-Driver

Postby hda » Tue Apr 19, 2011 7:12 pm

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.
hda
 
Posts: 42
Joined: Thu Dec 09, 2010 2:21 am

Re: Future of the Linux-Driver

Postby AndyBurns » Tue Apr 19, 2011 8:02 pm

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 Code
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!
I got fed-up waiting for open source drivers to be released and pushed to the upstream kernel, gave my card away and will not buy TBS again.
AndyBurns
 
Posts: 29
Joined: Fri Apr 15, 2011 8:04 pm

Re: Future of the Linux-Driver

Postby AndyBurns » Tue Apr 19, 2011 8:14 pm

[quote="AndyBurns]I can't figure out why it rejects the modules ... damn![/quote]

Code: Select All Code
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
I got fed-up waiting for open source drivers to be released and pushed to the upstream kernel, gave my card away and will not buy TBS again.
AndyBurns
 
Posts: 29
Joined: Fri Apr 15, 2011 8:04 pm

Re: Future of the Linux-Driver

Postby hda » Wed Apr 20, 2011 12:58 am

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
hda
 
Posts: 42
Joined: Thu Dec 09, 2010 2:21 am

Re: Future of the Linux-Driver

Postby jkpiodsoea » Wed Apr 20, 2011 2:23 am

ImageBravo, is simply magnificent idea
jkpiodsoea
 
Posts: 3
Joined: Tue Apr 19, 2011 1:05 am

Re: Future of the Linux-Driver

Postby AndyBurns » Wed Apr 20, 2011 2:42 am

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 ...
I got fed-up waiting for open source drivers to be released and pushed to the upstream kernel, gave my card away and will not buy TBS again.
AndyBurns
 
Posts: 29
Joined: Fri Apr 15, 2011 8:04 pm

Re: Future of the Linux-Driver

Postby hda » Wed Apr 20, 2011 3:15 am

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.
hda
 
Posts: 42
Joined: Thu Dec 09, 2010 2:21 am

Re: Future of the Linux-Driver

Postby AndyBurns » Wed Apr 20, 2011 3:35 am

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 ....
I got fed-up waiting for open source drivers to be released and pushed to the upstream kernel, gave my card away and will not buy TBS again.
AndyBurns
 
Posts: 29
Joined: Fri Apr 15, 2011 8:04 pm

Re: Future of the Linux-Driver

Postby AndyBurns » Thu Apr 21, 2011 3:56 am

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 Code
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?
I got fed-up waiting for open source drivers to be released and pushed to the upstream kernel, gave my card away and will not buy TBS again.
AndyBurns
 
Posts: 29
Joined: Fri Apr 15, 2011 8:04 pm

Re: Future of the Linux-Driver

Postby hda » Thu Apr 21, 2011 7:06 am

Just tried again.

modprobe
Code: Select All Code
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 Code
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.
hda
 
Posts: 42
Joined: Thu Dec 09, 2010 2:21 am

PreviousNext

Return to Linux

Who is online

Users browsing this forum: No registered users and 10 guests