Hi all.
Just wanted to share my experience trying to use a webcam and usb pendrives on my nslu2 running Kamikaze 8.09. I've been searching forums all over the weekend with no luck. Hope this will be useful and not a repost...
The webcam runs on my linux PC smoothly, with gspca driver.
I started from a bare kamikaze install, just base packages. First I installed USB support to read pendrives: the packages are...
kmod-usb2 depends on kmod-usb-core
and
kmod-usb-storage depends on kmod-scsi-core
Then, install these packages to be able to mount FAT32 filesystems:
kmod-fs-vfat kmod-nls-base kmod-nls-cp437 kmod-nls-iso8859-1
Reboot and now you can mount usb filesystems via...
mount -t vfat /dev/sda1 /mnt
The tricky part was the webcam. The webcam, when working, should create a /dev/video0 node to interact with.
These packages will provide support for webcam driver and V4L (video for linux) interface.
kmod-video-gspca kmod-video-core
Now the packages for the command line program that can read the webcam:
spcacat libpthread
You plug the camera and... no device is created. Do not try to make it yourself (mknod /dev/video0 c 81 0): it won't work at all.
Well, the answer is that the nslu2 has EHCI USB 2.0 ports, provided by kmod-usb2. BUT, the webcam is USB 1.1 !! USB 1.1 devices need OHCI driver, and it's provided by another package, kmod-usb-ohci . I think it should be required as a dependency to install kmod-video-gspca, but it is not.
Install it, reboot, and then webcam appears in dmesg and creates /dev/video0 EASILY.
Now capture a single picture:
spcacat -d /dev/video0 -f jpg -s 352x288 -N 1 -o
..and that's all
(Last edited by xeper on 23 Feb 2009, 23:31)