Hi,
Just checked out Userland Linux kernel wrapper from here:
svn --username anonsvn --password anonsvn \
checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux
And tried to compile it according to instructions in Makefile:
make fetch
sudo make patch all install
It complained about missing definition of __u32 in ulinux/libv4l/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.c
Following patch fixed this problem for me, built-in USB webcam works with pwcview:
----
kibab@kibab-nb%sudo pwcview
KrefGet: 0x28731404 = 1
KrefGet: 0x28731404 = 2
KrefGet: 0x2873160c = 1
KrefGet: 0x287316c8 = 1
Added device 0x28618c44
KrefGet: 0x28618c48 = 1
KrefGet: 0x28618c48 = 2
KrefGet: 0x287ada38 = 1
Webcam set to: 320x240 (sif) at 5 fps
----
BTW after quitting pwcview Webcam continues to work (blue LED indicator stays ON). It's not a big problem,
after "power_off/power_on" commands via usbconfig LED goes away :-D
Is there any way to make Skype work with Webcam (as I understand, it requires /dev/video0 device to be present?)
--
Regards, Ilya Bakulin
http://kibab.comxmpp://
kibab612@...
--- ulinux/libv4l-4714b31863c5/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.c 2009-10-18 02:41:39.000000000 +0400
+++ ulinux/libv4l-4714b31863c5/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.c 2009-10-18 23:01:33.000000000 +0400
@@ -45,6 +45,7 @@
#define V4L2_IN_ST_VFLIP 0x00000020 /* Frames are flipped vertically */
#endif
+#define __u32 uint32_t
/* List of cams which need special flags */
static const struct v4lcontrol_flags_info v4lcontrol_flags[] = {