Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2008 12:31:11 +0200
From:      "Alexander Renn" <ray@txnet.com>
To:        freebsd-questions@freebsd.org
Subject:   Webcam
Message-ID:  <e16ca6160811040231k1050d33ex816d742ebf609b49@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi guys,

Anyone tried to get the Acer Crystal webcam (SuYin) [0xa103:0x064e] working?
I build the gspca port but it does not support this webcam.
I found that linux UVC driver supports this webcam so I tried to build the
UVC driver using the linux-kmod-compat-20080408 and here is what I got:

[root@purevil /home/hyperwizard/uvc/trunk]# svn checkout
svn://svn.berlios.de/linux-uvc/linux-uvc/trunk

[root@purevil /home/hyperwizard/uvc/trunk]# make -f Makefile.kld
Warning: Object directory not changed from original
/usr/home/hyperwizard/uvc/trunk
cc -O2 -fno-strict-aliasing -pipe -DUSB_DEBUG -DGSPCA_ENABLE_DEBUG
-DGSPCA_ENABLE_COMPRESSION -DCONFIG_USB_GSPCA_MODULE=1
-DVID_HARDWARE_GSPCA=0xFF -DGSPCA_VERSION=\"01.00.20\" -D__KERNEL__
-DDRIVER_NAME=uvc -DDEV_NAME=\"video\" -D_KERNEL -DKLD_MODULE -std=c99
-nostdinc -ISunplus -ISunplus-jpeg -ISonix -IConexant -IVimicro -Idecoder
-I/usr/local/share/linux-kmod-compat/linux_compat -I. -I@ -I@/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common -mno-align-long-strings
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c uvc_ctrl.c
uvc_ctrl.c:19:27: error: linux/uaccess.h: No such file or directory
In file included from uvc_ctrl.c:27:
uvcvideo.h:473: warning: declaration does not declare anything
uvc_ctrl.c: In function 'uvc_entity_match_guid':
uvc_ctrl.c:629: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c: In function 'uvc_ctrl_get':
uvc_ctrl.c:928: error: 'struct v4l2_ext_control' has no member named 'value'
uvc_ctrl.c:934: error: 'struct v4l2_ext_control' has no member named 'value'
uvc_ctrl.c:935: error: 'struct v4l2_ext_control' has no member named 'value'
uvc_ctrl.c: In function 'uvc_ctrl_set':
uvc_ctrl.c:949: error: 'struct v4l2_ext_control' has no member named 'value'
uvc_ctrl.c: In function 'uvc_xu_ctrl_query':
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1031: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c: In function 'uvc_ctrl_init_device':
uvc_ctrl.c:1326: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1327: error: 'struct uvc_entity' has no member named 'extension'
uvc_ctrl.c:1329: error: 'struct uvc_entity' has no member named 'processing'
uvc_ctrl.c:1330: error: 'struct uvc_entity' has no member named 'processing'
uvc_ctrl.c:1332: error: 'struct uvc_entity' has no member named 'camera'
uvc_ctrl.c:1333: error: 'struct uvc_entity' has no member named 'camera'
*** Error code 1

Stop in /usr/home/hyperwizard/uvc/trunk.

I'd be very grateful for any help.

Best regards,
Zander.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e16ca6160811040231k1050d33ex816d742ebf609b49>