OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 6000 - Tosa => Topic started by: Razzle on November 23, 2004, 05:13:21 pm

Title: Usb Webcam
Post by: Razzle on November 23, 2004, 05:13:21 pm
Has anyone gottan an usb webcam working with the Z?
If so, is there an arm version of vidcat?
Title: Usb Webcam
Post by: aki on November 26, 2004, 09:57:06 am
I don't think anyone has, but I agree it would be great to be able to use them with the Z.  There is a well established project at sourceforge for a kernel module to support the more common chipset, so it may not be too hard to get it working on the Z.  Check out my previous post (https://www.oesf.org/forums/index.php?showtopic=2476) and the link in it.
Title: Usb Webcam
Post by: johnw on December 02, 2004, 08:54:12 pm
It would be cool if there was webcam software that worked with the Sharp CE-AG06 Digital Camera card.
Title: Usb Webcam
Post by: Razzle on December 03, 2004, 04:54:13 am
Quote
I don't think anyone has, but I agree it would be great to be able to use them with the Z.  There is a well established project at sourceforge for a kernel module to support the more common chipset, so it may not be too hard to get it working on the Z.  Check out my previous post (https://www.oesf.org/forums/index.php?showtopic=2476) and the link in it.
You link appears to be dead, can you check for misspelllings?
Title: Usb Webcam
Post by: cwaig on December 03, 2004, 05:04:00 am
I think you have to compile a kernel with Video4Linux support before USB webcam driver modules can be built (looking at Sharp's kernel patch set for the SL6000, they didn't include V4L in it).
Title: Usb Webcam
Post by: aki on December 03, 2004, 05:55:37 pm
Quote
Quote
I don't think anyone has, but I agree it would be great to be able to use them with the Z.  There is a well established project at sourceforge for a kernel module to support the more common chipset, so it may not be too hard to get it working on the Z.  Check out my previous post (https://www.oesf.org/forums/index.php?showtopic=2476) and the link in it.
You link appears to be dead, can you check for misspelllings?
Sorry about that.
Here's my original post:
Quote
It would be great to have the capability to hook up a USB web cam.  There is an active project here (http://nw802.sourceforge.com) that does just that for Linux, with a kernel module.  Perhaps one of our more capable members can take a crack at getting it  working with sl-6000????


Still looking for a capable member to save the day...
Title: Usb Webcam
Post by: nightfly on December 04, 2004, 08:25:48 am
Quote
Quote
Quote
I don't think anyone has, but I agree it would be great to be able to use them with the Z.  There is a well established project at sourceforge for a kernel module to support the more common chipset, so it may not be too hard to get it working on the Z.  Check out my previous post (https://www.oesf.org/forums/index.php?showtopic=2476) and the link in it.
You link appears to be dead, can you check for misspelllings?
Sorry about that.
Here's my original post:
Quote
It would be great to have the capability to hook up a USB web cam.  There is an active project here (http://nw802.sourceforge.com) that does just that for Linux, with a kernel module.  Perhaps one of our more capable members can take a crack at getting it  working with sl-6000????


Still looking for a capable member to save the day...
np
Actually it's the SF link that appears to be dead (at least for me).. Just redirects me to the sf frontpage. Also I can't find the project with the site search.
Title: Usb Webcam
Post by: aki on December 04, 2004, 03:22:58 pm
Quote
Actually it's the SF link that appears to be dead (at least for me).. Just redirects me to the sf frontpage. Also I can't find the project with the site search.
Got it. I mangled the SF address -- should be sourceforge.net instead of .com.  This (http://nw802.sourceforge.net) is the right link.

Here's a little blurb from the FAQ:
Quote
What is NW802 ?
The NW802 chip is a Divio product which is used in some webcam. The purpose of this kernel module is to allow camera based on this chipset to be used in linux as V4L devices.
How to use/compile this module ?
First, download the sources. Then type make. It should produce nw802.o and usbvideo.o . Then modprobe videodev, insmod usbvideo.o & insmod nw802.o . Now the module is loaded. usbvideo.c & usbvideo.h are included in the CVS tree & in the packages but these files are actually part of the kernel tree. I included them because they may have not been built with your kernel. If you wish, you can copy these from /usr/src/linux/drivers/usb/ (eg. to get newer versions. The one I use are the one used in the 2.4.18 kernel ).
Title: Usb Webcam
Post by: kmeaw on September 12, 2005, 11:40:37 am
I am trying to get Genius VideoCam V4 to work. Module loads successfully, but I get panics when trying to read /dev/video0.
Title: Usb Webcam
Post by: adf on September 13, 2005, 01:00:03 am
what are you doing to read /dev/video0 ?  I have v4l and a camera module working but no idea how to check output.
Title: Usb Webcam
Post by: kmeaw on September 13, 2005, 07:50:01 am
I am just doing cat /dev/video0
If you want to get a picture, use spcaview, compiled by koen (see my question in OZ/GPE thread). If you have modules, could you compile spca50x (spca50x.sourceforge.net) and upload videodev.o & spca50x.o somewhere?
Title: Usb Webcam
Post by: adf on September 13, 2005, 05:01:36 pm
here is a ton o modules commpiled from guylhem's unified kernel source. I don't rmemeber hat i put in there.... the idea was to compile everything that would go easily and tar it up. I think the spca cam is on board, I was interested in the v4l stuff at the time and tried to include everything.  atm i have stv680  hard coded in the kernel I'm using as well as v4l. I think ther kernel here has v4l har coded and the cameras as modules;
(all built for 6k, but the modules might work elsewhere... dl the linux..etc.tarball to get 'em)



edit
cat  /proc/video/dev/video0
name         : STV0680 USB Camera
type            : VID_TYPE_CAPTURE
hardware  : 0x1e

cat /proc/video/stv680/video0
driver_version   : v0.24
hardware            : 0x1e
in use                   : no
streaming           : no
Current size        : 0x0
swapRGB             : (auto) off
Palette                  : 0
Frames total       : 0
Frames read       : 0
Packets dropped: 0
Decoding errors : 0

I think much of the last message s aout the fact that there is nothing using it.--if any of this helps?

edit2
no spca cam drivers but maybe a half dozen others (http://www.anyerlildog2.com/zug/)
Title: Usb Webcam
Post by: lardman on September 15, 2005, 04:54:47 pm
Quote
If you have modules, could you compile spca50x

It's in OE, build it (for your machine kernel).

Quote
If you want to get a picture, use spcaview

mplayer can play from v4l devices can't it?


Si
Title: Usb Webcam
Post by: adf on September 15, 2005, 07:34:39 pm
ugh.  I'll check. If it does I'll go buy myself a tall pointy hat and a copy of hooked on phonics.
Title: Usb Webcam
Post by: lpotter on September 16, 2005, 06:26:18 am
I have gotten a webcam working. It took a kernel recompile, a few commands, and qtopia 2 camera app.
Title: Usb Webcam
Post by: adf on September 16, 2005, 09:36:20 am
lpotter;

I haven't played with qtopia 2 lately -mainly because I am kinda fond of the kernel I'm using --fast math hacks and compiled in hardware support, etc.  Is there a relatively easy way to shoehorn this kernel into a qtopia2 installation?? or a relativly easy way to get and compile your kernel sources??  Does the buildroot you use do this? is the live cd posted anyplace?? a non-agonizing means of firing up the build system for compiling software and customizing kernels would be a good motivation to go back and play around with 2.1.


If you have the time to post some brief notes on this stuff (or links) I'd appreciate it.