Подскажите как подключить камеру (Logitech Quickcam Express ) к FreeBSD 7.2.
Делаю исходя из того что нашёл в сети.
Устройство определилось следующим образом:
Код: Выделить всё
dmesg | grep 0x046d
ugen0: <vendor 0x046d Camera, class 255/255, rev 1.10/0.00, addr 2> on uhub0
Код: Выделить всё
{USB_DEVICE(0x046d, 0x092f)}, /* Logitech QC Express, 2006, from Reichelt */
Код: Выделить всё
case 0x092f:
spca50x->desc = LogitechQC92f;
spca50x->bridge = BRIDGE_SPCA561;
spca50x->sensor = SENSOR_INTERNAL;
spca50x->header_len = SPCA561_OFFSET_DATA;
spca50x->i2c_ctrl_reg = SPCA50X_REG_I2C_CTRL;
spca50x->i2c_base = SPCA561_INDEX_I2C_BASE;
spca50x->i2c_trigger_on_write = 1;
spca50x->cameratype = S561;
info("USB SPCA5XX camera found. Logitech QuickCam Express, 2006, from Reichelt (SPCA561A)");
Код: Выделить всё
cd /usr/ports/graphics/spcaview/
make install
===> Building for spca5xx-20060402_7
Warning: Object directory not changed from original /usr/ports/graphics/spcaview/work/spca5xx-20060402/drivers/usb
cc -O2 -fno-strict-aliasing -pipe -Wall -g -c spca5xx.c
In file included from spca5xx.c:826:
mr97311.h: In function 'pcam_stop':
mr97311.h:69: warning: pointer targets in passing argument 3 of 'pcam_reg_write' differ in signedness
spca5xx.c: In function 'spca50x_alloc':
spca5xx.c:3557: warning: pointer targets in assignment differ in signedness
spca5xx.c:3561: warning: pointer targets in assignment differ in signedness
spca5xx.c: In function 'spcaDetectCamera':
spca5xx.c:7319: error: 'LogitechQC92f' undeclared (first use in this function)
spca5xx.c:7319: error: (Each undeclared identifier is reported only once
spca5xx.c:7319: error: for each function it appears in.)
*** Error code 1
Stop in /usr/ports/graphics/spcaview/work/spca5xx-20060402/drivers/usb.
*** Error code 1
Stop in /usr/ports/graphics/spcaview.
Подскажите решение по данной проблеме..