public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Matt Doran <matt.doran@papercut.com>
To: David Ward <david.ward@gatech.edu>
Cc: linux-media@vger.kernel.org
Subject: Re: videodev: Unknown symbol i2c_unregister_device (in kernels older than 2.6.26)
Date: Mon, 25 May 2009 11:04:19 +1000	[thread overview]
Message-ID: <4A19EE93.3020200@papercut.com> (raw)
In-Reply-To: <4A19EBDE.4080602@gatech.edu>

David Ward wrote:
> On 05/24/2009 07:10 PM, Matt Doran wrote:
>> Hi there,
>>
>> I tried using the latest v4l code on an Mythtv box running 2.6.20, but
>> the v4l videodev module fails to load with the following warnings:
>>
>>    videodev: Unknown symbol i2c_unregister_device
>>    v4l2_common: Unknown symbol v4l2_device_register_subdev
>>
>
> Matt, I checked out v4l-dvb today and am using it under 2.6.24 and so 
> far so good.  When did the error appear -- when you were trying to 
> load the module?
The error appeared when trying to load the module at boot time for my 
saa7134 based tuner card.   This card would no longer work after 
installing the latest v4l code, however another tuner card continued to 
work.    Maybe because this the saa7134 card is an I2C based card and 
the other is USB based?? (but this is all a bit over my head).

I basically just commented out the "i2c_unregister_device" function in 
v4l2-device.c, recompiled and everything started working. :)    I don't 
know the implication of removing this, so I didn't submit a patch ... I 
thought I'd leave that to the experts.
>
> I have been seeing the errors compiling adv7343.c and ths7303.c under 
> 2.6.24 as well.  Andy Walls and Chaithrika Subrahmanya had written 
> patches for those two modules respectively, but there were some 
> comments during the review of the patches, so I think they are still 
> being worked on.
Great, thanks for letting me know.   It's not a showstopper, but it's a 
pain repeatedly going through the reconfigure/compile/error loop each 
time you encounter a new compiler error. :)    I'm just not game to 
upgrade the kernel on my mythtv box ... it took a long time to get 
stable, and I don't want to go there again. :P    I'm recompiling v4l 
because I added a new tuner card.

Matt

  reply	other threads:[~2009-05-25  1:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-24 23:10 videodev: Unknown symbol i2c_unregister_device (in kernels older than 2.6.26) Matt Doran
2009-05-25  0:52 ` David Ward
2009-05-25  1:04   ` Matt Doran [this message]
2009-05-25 18:32   ` Andy Walls
2009-05-26  1:42     ` Matt Doran
2009-05-27 18:41 ` Mauro Carvalho Chehab
2009-05-27 18:55   ` [PATCH v2] " Randy Dunlap
2009-06-03 11:51   ` Matt Doran
     [not found]   ` <4A26637D.1070009@papercut.com>
2009-06-03 12:06     ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A19EE93.3020200@papercut.com \
    --to=matt.doran@papercut.com \
    --cc=david.ward@gatech.edu \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox