Attached is a patch for the Makefile for compilation on PowerPC architectures. Not tested on PPC64 but on PPC32. The camera works there on a 2.6.27.4 kernel with the patch from [https://bugs.gentoo.org/show_bug.cgi?id=245581].
Created attachment 170734 [details, diff] Makefile patch for PowerPC architectures.
Created attachment 170736 [details] Added ~ppc to supported architectures. Uses patch from bug 245581!
Let's see if someone from ppc team can test this and want to keyword qc-usb-messenger once the patch is added. Thomas, thanks for the patches! In the mean time, it would be great if you send upstream this patch as well as the one in bug 245581.
(In reply to comment #3) > Thomas, thanks for the patches! In the mean time, it would be great if you send > upstream this patch as well as the one in bug 245581. > For the record: I just sent the maintainer Joseph Jezak an email about the patches.
Created attachment 176645 [details, diff] Patch for kernels >= 2.6.28. This patch is necessary to make the driver work on kernels >= 2.6.28.
Created attachment 176647 [details] Ebuild for kernels >= 2.6.28. This ebuild requires the patch qc-usb-messenger-1.8-qc-driver-2.6.28.patch.
Just for the record: vanilla kernel 2.6.28 breaks compilation of media-video/qc-usb-messenger due to a change in the V4L2 API. Bug [http://bugs.gentoo.org/show_bug.cgi?id=252467] should be updated accordingly.
Please, use one report for each bug. We'll handle the 2.6.28 problem in bug #252849. Could you upload your patch there? Thanks.
(In reply to comment #8) > Please, use one report for each bug. Okay. > We'll handle the 2.6.28 problem in bug #252849. Could you upload your patch > there? Thanks. > Done. Added a comment there which points out that the -r2 ebuild from here shall be used with this patch,
Thanks Thomas, your patch is included with 1.8-r2 and ~ppc keyword is added.