Pages

Wednesday 27 June 2012

Hauppauge USB 2 live

There's something about a regression patch here, but i don't really understand how to apply this... and it's over a year old.

http://www.mail-archive.com/linux-media@vger.kernel.org/msg34771.html

It seems to concern the hauppauge usblive2 definition in cx231xx-cards.c

the kernellabs version of this file looks like;
http://kernellabs.com/hg/~dheitmueller/polaris4/file/8d1cbe46f97f/linux/drivers/media/video/cx231xx/cx231xx-cards.c#l374

mine looks like this one - from the linuxtv, media-build;
http://lxr.free-electrons.com/source/drivers/media/video/cx231xx/cx231xx-cards.c#L378

I'm a bit confused - but I suppose the changes are in the current driver now, and I should ignore the regression business - as this page states; it should just work now anyway. (19th May)
https://www.thecraag.com/USB_Live2_Video_Capture_Card_on_legacy_kernels

Except it isn't.

debian multimedia - acts of desperation


adding
deb http://www.deb-multimedia.org wheezy main non-free
to
/etc/apt/sources.list

it complained

W: GPG error: http://www.deb-multimedia.org wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907

so i get the key

gpg --keyserver hkp://pgpkeys.mit.edu --recv-keys 07DC563D1F41B907
gpg --armor --export 07DC563D1F41B907 | apt-key add -

trying an update and an upgrade... lots of things from the debian repository, and a couple of files from the above. Rebooting...
...no change.

Trying the change from
https://www.thecraag.com/USB_Live2_Video_Capture_Card_on_legacy_kernels
and
http://www.mail-archive.com/linux-media@vger.kernel.org/msg34773.html

In the file: linux/drivers/media/video/cx231xx/cx231xx-avcore.c from the media-build.git repository of linuxtv.org; this is at best optimistic.

Change '(1<<7)' to '(0<<7)'

and
msleep(PWR_SLEEP_INTERVAL);
to
msleep(PWR_SLEEP_INTERVAL * 10);

the ./build method advocated on linuxtv updates all the files before compiling, and consequentially repairs my changes, so i'm using make all - as per the INSTALL directions.

No comments:

Post a Comment

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License