Kamera je prikacena na USB.
Ups... tek sad vidim da ustvari nisam instaliro drajver.
[root@totlinux sn9c102-1.32]# /sbin/modprobe sn9c102
WARNING: Error inserting v4l2_common (/lib/modules/2.6.18-1.2868.fc6/updates/drivers/media/video/v4l2-common.ko): Invalid module format
WARNING: Error inserting v4l1_compat (/lib/modules/2.6.18-1.2868.fc6/updates/drivers/media/video/v4l1-compat.ko): Invalid module format
WARNING: Error inserting videodev (/lib/modules/2.6.18-1.2868.fc6/updates/drivers/media/video/videodev.ko): Invalid module format
FATAL: Error inserting sn9c102 (/lib/modules/2.6.18-1.2868.fc6/updates/drivers/media/video/sn9c102/sn9c102.ko): Invalid module format
Dopuna: 25 Dec 2006 0:54
Pokusao sam ovako da instaliram:
make clean
make modules
make modules_install
/sbin/modprobe sn9c102
Dopuna: 25 Dec 2006 1:01
BTW: prilikom kompajliranja se zalio da nedostaju neki #define
VIDIOC_OVERLAY_OLD
VIDIOC_S_PARM_OLD
VIDIOC_S_CTRL_OLD
VIDIOC_G_AUDIO_OLD
VIDIOC_G_AUDOUT_OLD
VIDIOC_CROPCAP_OLD
Malo sam caprkao po netu i nasao da bi trebali ovako da izgldaju
#define VIDIOC_OVERLAY_OLD _IOWR ('V', 14, int)
#define VIDIOC_S_PARM_OLD _IOW ('V', 22, struct v4l2_streamparm)
#define VIDIOC_S_CTRL_OLD _IOW ('V', 28, struct v4l2_control)
#define VIDIOC_G_AUDIO_OLD _IOWR ('V', 33, struct v4l2_audio)
#define VIDIOC_G_AUDOUT_OLD _IOWR ('V', 49, struct v4l2_audioout)
#define VIDIOC_CROPCAP_OLD _IOR ('V', 58, struct v4l2_cropcap)
To sam dodao u sn9c102.h.
|