From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 10:52:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DD7C1065677 for ; Tue, 4 Nov 2008 10:52:20 +0000 (UTC) (envelope-from ray@txnet.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 113E08FC22 for ; Tue, 4 Nov 2008 10:52:19 +0000 (UTC) (envelope-from ray@txnet.com) Received: by ey-out-2122.google.com with SMTP id 6so970644eyi.7 for ; Tue, 04 Nov 2008 02:52:18 -0800 (PST) Received: by 10.103.227.13 with SMTP id e13mr590801mur.49.1225794671484; Tue, 04 Nov 2008 02:31:11 -0800 (PST) Received: by 10.103.211.10 with HTTP; Tue, 4 Nov 2008 02:31:11 -0800 (PST) Message-ID: Date: Tue, 4 Nov 2008 12:31:11 +0200 From: "Alexander Renn" To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 04 Nov 2008 12:24:24 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Webcam X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 10:52:20 -0000 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.