Max_nl wrote:
but I may eventually add it to the webcam test application
..this lets me hope again
Max_nl wrote:
but I may eventually add it to the webcam test application






benjibarnicals wrote:One question, can you run multiple cams? Do they require different SS settings per cam? (or could this be a future feature).



Max_nl wrote:Two things need to be compiled:
webcam.cgi
Nothing special needed
- Code: Select all
path-to-cross-compiler-gcc -O2 -o webcam.cgi webcam.c
Kernel modules
For video you need uvcvideo.ko and videodev.ko
In Linux kernel menuconfig under "device drivers" -> "multimedia support":
- select "video for Linux" (optional compatibility stuff not necessary)
- select "video capture adapters" -> "V4L USB devices" -> "USB Video Class (UVC)"
If you also want audio at some point (not supported by Surveillance station, but I may eventually add it to the webcam test application), you may compile USB sound card support as well, while you are at it.
That's under "device drivers" "sound card support"
Just check "OSS" "ASLA" "OSS PCM" "USB Audio/Midi driver"
Files you need to copy: snd-hwdep.ko snd-page-alloc.ko snd-pcm-oss.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd-usb-audio.ko snd-usb-lib.ko snd.ko sound_firmware.ko soundcore.ko


Max_nl wrote:You need to have the two .ko kernel modules, and a device file named video0 in the directory /var/packages/webcam/target.
mknod video0 c 81 0


allen727hk wrote:The page still return the same result.
It is means my webcam does not support USB Video Class??

Max_nl wrote:allen727hk wrote:The page still return the same result.
It is means my webcam does not support USB Video Class??
Correct.
Camera is too old.
There is another Linux kernel module that may work ("N9C20X USB Camera Driver"), but you will have to compile that manually if you want to test that.

allen727hk wrote:I want to test the kernel, but I don't know how to compile, could you mind teach me?

Return to Third-party Packages
Users browsing this forum: No registered users and 2 guests