Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Files needed:
videodev.o from http://dns323.kood.org/downloads/untest … e4.tar.bz2
quickcam.o from http://dns323.kood.org/downloads/untest … e4.tar.bz2 for Logitech Quickcam Messenger.
quickcam.o from http://dns323.kood.org/downloads/untest … e4.tar.bz2 for any other Logitech Quickcam except Logitech Quickcam Messenger.
Commands needed (after you plug your webcam into usb port):
/mnt/HD_a2/busybox insmod /mnt/HD_a2/videodev.o /mnt/HD_a2/busybox insmod /mnt/HD_a2/quickcam.o
Now check your dmesg, it should look like above.
quickcam [29.771098]: ----------LOADING QUICKCAM MODULE------------ quickcam [29.771157]: struct quickcam size: 2048 usb.c: registered new driver quickcam quickcam [29.812147]: qc_usb_probe ifacenum=0 quickcam: QuickCam USB camera found (driver version QuickCam Messenger/Communicate USB 1.4 $Date: 2006/10/14 00:00:00 $) quickcam: Kernel:2.4.21-pre4 bus:2 class:FF subclass:FF vendor:046D product:08F0 quickcam [30.026143]: poisoning qc in qc_usb_init quickcam [30.029452]: E00A contains 08F0 quickcam: Sensor VV6450 detected quickcam: Registered device: /dev/video0 quickcam [30.111340]: qc_usb_probe ifacenum=1 quickcam [30.111391]: qc_usb_probe ifacenum=2 quickcam [30.111421]: qc_usb_probe ifacenum=2
Now check it /dev/video0 exists. If not then run these commands:
/mnt/HD_a2/busybox mknod /dev/video0 c 81 0 ln -s /dev/video0 /dev/video
Problems so far:
# ls -la /dev/video0 crwxrwxrwx 1 root root 81, 0 Oct 23 18:32 /dev/video0 # /mnt/HD_a2/qcset -i /mnt/HD_a2/qcset: can not open /dev/video0 (No such device) # cat /dev/video0 cat: /dev/video0: No such device
I guess there is something wrong with the video for linux module. For start I did forget module versioning
Going to re-compile it tomorrow, but since then if someone has some ideas then it would be highly appreciated.
//edit -DMODULE added and versioning fixed.
If someone will get /dev/video working then here is w3cam to test it out
http://dns323.kood.org/downloads/w3cam-0.7.2.tar.bz2
Last edited by sala (2006-10-24 09:28:24)
Offline
Hi Sala,
Did you manage to get webcam up running after all? If so could you please give us an update?
Thanks,
Quang
Offline
I haven't look it any more, but no we can use custom kernel this should not be a problem, we just need to compile a new kernel image with v4l support and boot it using loader.o
Offline
Hi Sala,
Do you happen to have any precompiled kernel that I can try?
Thanks,
Quang
Offline
http://dns323.kood.org/downloads/people … 4l.tar.bz2
There are two versions: ram and sda3 vmlinux
Load one of them using loader.o
sync;insmod /mnt/HD_a2/loader.o kernel=/mnt/HD_a2/vmlinux
Offline
Sala,
Excellent... ya da man! Thanks. I'll give it a try tonight.
--
Quang
Offline
sala wrote:
http://dns323.kood.org/downloads/people/sala/kernel-v4l.tar.bz2
There are two versions: ram and sda3 vmlinux
Load one of them using loader.oCode:
sync;insmod /mnt/HD_a2/loader.o kernel=/mnt/HD_a2/vmlinux
How I access the DSM after that? Just by serial connection?
Thanks
Jeffersonr.
Offline
If you use ram version then it (should) boot up normally. If you use sda3 version then you need to setup a working linux system to sda3 before using this kernel image.
No serial is needed.
Offline
Last weekend, I attempted to get a Logitech Communicator STX webcam to work. quickcam.o didn't seem to detect it, so I built my own v4l driver and filthily hacked the spca5xx driver into the drivers/usb directory. I then had to add the device id for my webcam into spca5xx.c.
Once I'd plugged in the webcam, insmod-ed the drivers and created /dev/video, qcset seemed to work and I managed to retrieve 3 frames from w3camd before the DSM locked up.
I think that with a bit of effort, the spca5xx driver could be sorted out, but I'm not sure it's really worth it, given the relative lack of interest so far. If anyone wants the horribly hacked source, then I can make it available as a patch.
One question I have for Sala is whether the quickcam.o module is related to the spca5xx driver in any way.
Offline
If we talk about projects then quickcam.o came from different project: regular quickcams - http://qce-ga.sourceforge.net/ and quickcam messenger - http://home.mag.cx/messenger/
But if we talk about relation in source code then I am not sure.
Offline
sala wrote:
If you use ram version then it (should) boot up normally. If you use sda3 version then you need to setup a working linux system to sda3 before using this kernel image.
No serial is needed.
Pardon, but I did not understand. I am using the RAM version. My linux is not very good and my english is worse. Using the RAM version it is necessary to have the serial port installed?
If not, which the IP to have access to DSM?
Thanks and I sorry.
Jeffersonr.
Last edited by jeffersonr (2007-05-14 16:54:13)
Offline
jeffersonr wrote:
sala wrote:
If you use ram version then it (should) boot up normally. If you use sda3 version then you need to setup a working linux system to sda3 before using this kernel image.
No serial is needed.Pardon, but I did not understand. I am using the RAM version. My linux is not very good and my english is worse. Using the RAM version it is necessary to have the serial port installed?
If not, which the IP to have access to DSM?
Thanks and I sorry.
Jeffersonr.
Same IP that you did originally connect if you have static IP setup. But sure there might be something wrong with the images because I haven't tested them.
If I get some more time and free hard disk to put inside my device I'll test them out and make fixes if needed.
Offline
How do you configure w3cam?
I'm trying to grab still pictures from my Philips webcam attached to my dns323. I've compiled the drivers and the camera is recognized by linux. I extracted the w3cam files that you suggested to my lighttpd directory, but they don't produce anything when hit from a webbrowser. (it seems that the cgi script isn't executed).
Any pointer appreciated.
(I don't actually need w3cam, a basic script to save the file somewhere would do)
Offline
Its because you are using DSM-G600 binary which is not compatible with your DNS323 (if you got it from DSM-G600 download section).
But first I suggest you to check if you got any video device under /dev/ after you load your webcam driver module.
Offline
sala wrote:
Its because you are using DSM-G600 binary which is not compatible with your DNS323 (if you got it from DSM-G600 download section).
ok, I'll try to recompile w3cam from sources to support the dns323 platform. But I believe I'm missing something about cgi-bin on lighttpd. (I've never used any cgi script nowhere )
<mode naive="on"> Is it ok to simply put it under lighttpd webroot? No configuration to lighttpd.conf? </mode>
But first I suggest you to check if you got any video device under /dev/ after you load your webcam driver module.
I'm creating the /dev/video0 with mknod, but the output of dmesg makes me confident that my driver is good:
Linux video capture interface: v1.00
pwc Philips webcam module version 9.0.2-unofficial loaded.
pwc Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
pwc Philips PCVC740K (ToUCam Pro)/PCVC840 (ToUCam II) USB webcam detected.
pwc Registered as /dev/video0.
usbcore: registered new driver Philips webcam
Offline
Look lighttpd manual. There are some cgi options you must configure first. For example cgi-bin dir (where you can copy all your cgi scripts).
Offline
I managed to get the cgi somehow working but I can't get the picture from the webcam.
What should be the image is text: "Error: Can't get image" and I can read this from the logs: "ioctl(VIDIOCMCAPTURE): Invalid argument"
I'm running out of time right now, but I'll get back to this later.
Offline
I am afraid that your problem is just like mine, described at the first post. I guess your /dev/video0 is just not working.
Offline
Hello Sala!
After some time, there is a chance to support usb webcams on normal usb connection? I don't want to use custom kernels. I'm using just fine standard kernel and lighttpd and php. Or maybe it's a chance to support an up-to-date flavor of linux. In this case a comprehensive tutorial will be appreciated.
I've tried to install gentoo and it is outdated, with many many errors to fix.
Offline