[pvrusb2] [patch] pvrusb2-mci-20100708 crop support
vdb128 at picaros.org
vdb128 at picaros.org
Tue Aug 10 05:04:01 CDT 2010
The text here below gives a recipe to upgrade to 2.6.35 and to patch the
cx25840 module for cropping support.
The patches and firmwares are at http://picaros.org/pvrusb/ .
Linux-2.6.35
If you intend to compile with a gcc before version 4.1 the patch
linuxgcc is required. This patch just reorganizes a tiny bit of
code. The patch cx25840-2.6.35 adds crop support.
config
- relocateble kernel: off
- media pvrusb2: on since this autoselects all the other modules
- soft watchdog timer: on
- enable sysrq: Alt+SysRq+B reboots the system
make bzImage && make modules && make modules_install
pvrusb2-mci-20100708
The patch pvrusb2-mci-20100708x adds the crop calls to the v4l2
subdevices.
It also redefines the installation directory as
INSTALL_MOD_DIR := kernel/drivers/media/video/pvrusb2
so 'make install' will overwrite the kernel module.
Make sure that the current kernel remains bootable. I use 3 images:
linux vmlinuz, old vmlinuz.old, keep vmlinuz.keep. Hence the linux
'make install' only touches the first two.
All seems to be working well, except for 'rmmod pvrusb2' which hangs
forever. If the cx25840 code works well for 525 systems then it might
perhaps be worthwile to take a chance with it on the linux-media
mailinglist.
-vdb.
More information about the pvrusb2
mailing list