Webcam

2008-11-04 Thread Alexander Renn
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:

[EMAIL PROTECTED] /home/hyperwizard/uvc/trunk]# svn checkout
svn://svn.berlios.de/linux-uvc/linux-uvc/trunk

[EMAIL PROTECTED] /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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


/dev files default permissions

2008-02-19 Thread Alexander Renn
Hello,

I'm trying to find how to change the default permissions of files created in
/dev.
I want /dev/bpf* to be created with 660 permissions instead of 600.

Is there another way to do this instead of:
# touch /dev/bpf[n]
and then
# chmod /dev/bpf[n]
?
-- 
Best regards,
Zander
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"