All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [Fwd: sensors, kernel 2.4.19, bttv ...]
Date: Thu, 19 May 2005 06:24:22 +0000	[thread overview]
Message-ID: <20031026215808.65627d75.khali@linux-fr.org> (raw)
In-Reply-To: <1067191364.14649.3.camel@lenny.homelinux.net>

> I used the mkpatch.pl script to prepare a i2c patch for my kernel (the
> "option 3" installation from the guide.
> the kernel compiles fine, then lm_sensors compiles also.
> A serious problem remains with bttv module that does not compile.
> According to the insructions I read from the adress you gave me, i
> have to patch th bttv-if.c file. But the patch doesn't apply, I tried
> manually but I do not understand it well enough. 
> 
> Could you just help me with that ?

Sure. Anyway, the easiest way to get everything working would be to
upgrade your kernel up to 2.4.22 and use my all-in-one, ready-to-apply
patch.

> here is the patch :
> 
> 	diff --exclude=media -ru bttv-0.9.11-orig/bttv-if.c
> 	bttv-0.9.11-i2c/bttv-if.c
> 	--- bttv-0.9.11-orig/bttv-if.c	Wed Jun 25 18:26:49 2003
> 	+++ bttv-0.9.11-i2c/bttv-if.c	Sun Aug  3 15:33:34 2003
> (...)
> and here my corresponding code, really tiny (original vanilla 2.4.19)

You're trying to do the wrong thing. This patch is intended for people
using recent bttv sources from outside the kernel. If you are using the
bttv driver from the Linux kernel, then you should use this one:
http://www.ensicaen.ismra.fr/~delvare/devel/i2c/linux-2.4.22/linux-2.4.22-i2c-2.8.1-drivers-media-video.diff
or, if you are using i2c 2.8.0:
http://www.ensicaen.ismra.fr/~delvare/devel/i2c/linux-2.4.21/linux-2.4.21-i2c-2.8.0-drivers-media-video.diff

That will fix all video drivers in your kernel tree, including bttv.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

      parent reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 [Fwd: sensors, kernel 2.4.19, bttv ...] Pascal Ronecker
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Pascal Ronecker
2005-05-19  6:24 ` Pascal Ronecker
2005-05-19  6:24 ` Pascal Ronecker
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare [this message]

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=20031026215808.65627d75.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.