Mailing List Archive

video4linux - rhel 5.6
Hi, Axel

this is the version I am using on rhle 5.6 (including the cx88 patch):


http://people.atrpms.net/~pcavalcanti/srpms/video4linux-20090907-92.el5.src.rpm


I think the other (newer) versions of video4linux can be fixed in a similar
way.

Unfortunately, alsa would be very difficult to fix, but seems to be working
well
with the shipped version.

The other modules build fine on rhel5.6

Thanks.


--
Paulo Roma Cavalcanti
LCG - UFRJ
Re: video4linux - rhel 5.6 [ In reply to ]
On Sat, 2011-01-15 at 06:04 -0200, Paulo Cavalcanti wrote:
> this is the version I am using on rhle 5.6 (including the cx88 patch):
> http://people.atrpms.net/~pcavalcanti/srpms/video4linux-20090907-92.el5.src.rpm

Thanks, building now.

> I think the other (newer) versions of video4linux can be fixed in a
> similar way.
>
> Unfortunately, alsa would be very difficult to fix, but seems to be
> working well with the shipped version.

Well, it still needs to be fixed, there are several cards that require
it. I'll see about alsa next week.
--
http://thimm.gr/ - http://ATrpms.net/
Re: video4linux - rhel 5.6 [ In reply to ]
On Sat, 2011-01-15 at 12:37 +0200, Axel Thimm wrote:
> On Sat, 2011-01-15 at 06:04 -0200, Paulo Cavalcanti wrote:
> > this is the version I am using on rhle 5.6 (including the cx88 patch):
> > http://people.atrpms.net/~pcavalcanti/srpms/video4linux-20090907-92.el5.src.rpm
>
> Thanks, building now.

It fails here with

CC [M] /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-dsp.o
CC [M] /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.o
/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In function 'cx88_ir_work':
/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:175: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type
/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190:48: error: macro "INIT_DELAYED_WORK" passed 3 arguments, but takes just 2
/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In function 'cx88_ir_start':
/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190: error: 'INIT_DELAYED_WORK' undeclared (first use in this function)
/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190: error: (Each undeclared identifier is reported only once
/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190: error: for each function it appears in.)
/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:191: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type
/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In function 'cx88_ir_stop':
/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:219: warning: passing argument 1 of 'cancel_rearming_delayed_work' from incompatible pointer type
make[2]: *** [/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.o] Error 1
make[1]: *** [_module_/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l] Error 2
make[1]: Leaving directory `/srv/atrpms.net/atrpms/kernelsrc/el5-x86_64/2.6.18-238.el5-x86_64'
make: *** [default] Error 2
make: Leaving directory `/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l'
error: Bad exit status from /var/tmp/rpm-tmp.56928 (%build)

--
http://thimm.gr/ - http://ATrpms.net/
Re: video4linux - rhel 5.6 [ In reply to ]
On Sat, Jan 15, 2011 at 8:49 AM, Axel Thimm <Axel.Thimm@atrpms.net> wrote:

> On Sat, 2011-01-15 at 12:37 +0200, Axel Thimm wrote:
> > On Sat, 2011-01-15 at 06:04 -0200, Paulo Cavalcanti wrote:
> > > this is the version I am using on rhle 5.6 (including the cx88 patch):
> > >
> http://people.atrpms.net/~pcavalcanti/srpms/video4linux-20090907-92.el5.src.rpm<http://people.atrpms.net/%7Epcavalcanti/srpms/video4linux-20090907-92.el5.src.rpm>
> >
> > Thanks, building now.
>
> It fails here with
>
> CC [M]
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-dsp.o
> CC [M]
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.o
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In
> function 'cx88_ir_work':
>
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:175:
> warning: passing argument 1 of 'schedule_delayed_work' from incompatible
> pointer type
>
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190:48:
> error: macro "INIT_DELAYED_WORK" passed 3 arguments, but takes just 2
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In
> function 'cx88_ir_start':
>
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190:
> error: 'INIT_DELAYED_WORK' undeclared (first use in this function)
>
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190:
> error: (Each undeclared identifier is reported only once
>
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:190:
> error: for each function it appears in.)
>
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:191:
> warning: passing argument 1 of 'schedule_delayed_work' from incompatible
> pointer type
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In
> function 'cx88_ir_stop':
>
> /var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:219:
> warning: passing argument 1 of 'cancel_rearming_delayed_work' from
> incompatible pointer type
> make[2]: ***
> [/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.o] Error 1
> make[1]: ***
> [_module_/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l] Error 2
> make[1]: Leaving directory `/srv/
> atrpms.net/atrpms/kernelsrc/el5-x86_64/2.6.18-238.el5-x86_64'
> make: *** [default] Error 2
> make: Leaving directory
> `/var/tmp/repot-build/BUILD/v4l-dvb-13c47deee3b1/v4l'
> error: Bad exit status from /var/tmp/rpm-tmp.56928 (%build)
>
>

Weird. I logged on rhel5 and built directly (no mock involved):

CC [M]
/home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-tvaudio.o
CC [M] /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-dsp.o
CC [M] /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.o
/home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In
function 'cx88_ir_work':
/home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:175:
warning: passing argument 1 of 'schedule_delayed_work' from incompatible
pointer type
/home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In
function 'cx88_ir_start':
/home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:193:
warning: assignment from incompatible pointer type
/home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:194:
warning: passing argument 1 of 'schedule_delayed_work' from incompatible
pointer type
/home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c: In
function 'cx88_ir_stop':
/home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/cx88-input.c:219:
warning: passing argument 1 of 'cancel_rearming_delayed_work' from
incompatible pointer type
CC [M] /home/roma-el5/redhat/BUILD/v4l-dvb-13c47deee3b1/v4l/dvbdev.o


I just get some warnings, but the package builds fine...


--
Paulo Roma Cavalcanti
LCG - UFRJ
Re: video4linux - rhel 5.6 [ In reply to ]
On Sat, 2011-01-15 at 09:16 -0200, Paulo Cavalcanti wrote:
> On Sat, Jan 15, 2011 at 8:49 AM, Axel Thimm <Axel.Thimm@atrpms.net>
> wrote:
> On Sat, 2011-01-15 at 12:37 +0200, Axel Thimm wrote:
> > On Sat, 2011-01-15 at 06:04 -0200, Paulo Cavalcanti wrote:
> > > this is the version I am using on rhle 5.6 (including the
> cx88 patch):
> It fails here with [...]
> I just get some warnings, but the package builds fine...

For some reason I was using the old cx88 patch still. :/

Thanks again!
--
http://thimm.gr/ - http://ATrpms.net/
Re: video4linux - rhel 5.6 [ In reply to ]
On Mon, Jan 17, 2011 at 8:05 AM, Axel Thimm <Axel.Thimm@atrpms.net> wrote:

> On Sat, 2011-01-15 at 09:16 -0200, Paulo Cavalcanti wrote:
> > On Sat, Jan 15, 2011 at 8:49 AM, Axel Thimm <Axel.Thimm@atrpms.net>
> > wrote:
> > On Sat, 2011-01-15 at 12:37 +0200, Axel Thimm wrote:
> > > On Sat, 2011-01-15 at 06:04 -0200, Paulo Cavalcanti wrote:
> > > > this is the version I am using on rhle 5.6 (including the
> > cx88 patch):
> > It fails here with [...]
> > I just get some warnings, but the package builds fine...
>
> For some reason I was using the old cx88 patch still. :/
>
>
That is exactly what I thought!

The other versions can be fixed in a similar way, I guess.
If people at RedHat continue to produce these hybrid versions,
it will be very difficult to maintain the support in the future ...

I almost fixed alsa, but since my rhel5 sound is working with
the stock driver, I decided to invest on rhel6 for a while.
There are so many packages missing there ...

--
Paulo Roma Cavalcanti
LCG - UFRJ
Re: video4linux - rhel 5.6 [ In reply to ]
On Mon, 2011-01-17 at 10:02 -0200, Paulo Cavalcanti wrote:
> The other versions can be fixed in a similar way, I guess.
> If people at RedHat continue to produce these hybrid versions,
> it will be very difficult to maintain the support in the future ...

It's been that way forever with RHEL. There are newer features that are
backported, so the kernels are really a mix of different kernel
versions. The older the RHEL release becomes the more backporting and
mixing you will see.

> I almost fixed alsa, but since my rhel5 sound is working with
> the stock driver, I decided to invest on rhel6 for a while.
> There are so many packages missing there ...

Could you share whatever you have for alsa?
--
http://thimm.gr/ - http://ATrpms.net/
Re: video4linux - rhel 5.6 [ In reply to ]
On Wed, Jan 19, 2011 at 8:19 AM, Axel Thimm <Axel.Thimm@atrpms.net> wrote:

> On Mon, 2011-01-17 at 10:02 -0200, Paulo Cavalcanti wrote:
> > The other versions can be fixed in a similar way, I guess.
> > If people at RedHat continue to produce these hybrid versions,
> > it will be very difficult to maintain the support in the future ...
>
> It's been that way forever with RHEL. There are newer features that are
> backported, so the kernels are really a mix of different kernel
> versions. The older the RHEL release becomes the more backporting and
> mixing you will see.
>
> > I almost fixed alsa, but since my rhel5 sound is working with
> > the stock driver, I decided to invest on rhel6 for a while.
> > There are so many packages missing there ...
>
> Could you share whatever you have for alsa?
>
>
Sure. Maybe I can finish it today.

The problem is that my daughter's computer was running F10 until yesterday,
when I replaced its HD, which was failing. I put another one running EL6,
and had to make a lot of tweaks. One of them is using an alsa-driver
that fixes the input (blue) connector of her sound card:

http://people.atrpms.net/~pcavalcanti/srpms/alsa-driver-1.0.22.1-84.el6.src.rpm

It is the same version as before, with the blue line in patch adapted one
more time.

By the way, yum-plugin-kmdl is not available for RHEL6...

Thanks.


--
Paulo Roma Cavalcanti
LCG - UFRJ
Re: video4linux - rhel 5.6 [ In reply to ]
On Wed, 2011-01-19 at 08:51 -0200, Paulo Cavalcanti wrote:
> http://people.atrpms.net/~pcavalcanti/srpms/alsa-driver-1.0.22.1-84.el6.src.rpm
>
> It is the same version as before, with the blue line in patch adapted
> one more time.

Why not using 1.0.23?

> By the way, yum-plugin-kmdl is not available for RHEL6...

Oops, thanks!

--
http://thimm.gr/ - http://ATrpms.net/
Re: video4linux - rhel 5.6 [ In reply to ]
On Wed, Jan 19, 2011 at 9:41 AM, Axel Thimm <Axel.Thimm@atrpms.net> wrote:

> On Wed, 2011-01-19 at 08:51 -0200, Paulo Cavalcanti wrote:
> >
> http://people.atrpms.net/~pcavalcanti/srpms/alsa-driver-1.0.22.1-84.el6.src.rpm<http://people.atrpms.net/%7Epcavalcanti/srpms/alsa-driver-1.0.22.1-84.el6.src.rpm>
> >
> > It is the same version as before, with the blue line in patch adapted
> > one more time.
>
> Why not using 1.0.23?
>

Because I would have to look where to patch (alsa code has changed a lot, if
I remember well),
and I have had enough patches for now. I am fine with 1.0.22 anyway.


--
Paulo Roma Cavalcanti
LCG - UFRJ
Re: video4linux - rhel 5.6 [ In reply to ]
On Wed, Jan 19, 2011 at 8:19 AM, Axel Thimm <Axel.Thimm@atrpms.net> wrote:

> On Mon, 2011-01-17 at 10:02 -0200, Paulo Cavalcanti wrote:
> > The other versions can be fixed in a similar way, I guess.
> > If people at RedHat continue to produce these hybrid versions,
> > it will be very difficult to maintain the support in the future ...
>
> It's been that way forever with RHEL. There are newer features that are
> backported, so the kernels are really a mix of different kernel
> versions. The older the RHEL release becomes the more backporting and
> mixing you will see.
>
> > I almost fixed alsa, but since my rhel5 sound is working with
> > the stock driver, I decided to invest on rhel6 for a while.
> > There are so many packages missing there ...
>
> Could you share whatever you have for alsa?
>
>
I have a version that builds here:

http://people.atrpms.net/~pcavalcanti/srpms/alsa-driver-1.0.23-84.el5.src.rpm

I did not test it, though. Anything above 1.0.20 always froze my rhel5 boot
.

But is has a good chance of working ... (I did not bump the release).


--
Paulo Roma Cavalcanti
LCG - UFRJ
Re: video4linux - rhel 5.6 [ In reply to ]
On Thu, 2011-01-20 at 13:19 -0200, Paulo Cavalcanti wrote:
> I have a version that builds here:
>
> http://people.atrpms.net/~pcavalcanti/srpms/alsa-driver-1.0.23-84.el5.src.rpm
>
> I did not test it, though. Anything above 1.0.20 always froze my rhel5
> boot .
>
> But is has a good chance of working ... (I did not bump the release).

Thanks, it's in the repo!

--
http://thimm.gr/ - http://ATrpms.net/