The
makefile is for the WC10 webcam camera.
This
is a standalone module. It is not with the kernel.
You
could download the source code from sourceforge
sonix-20050316.tar.gz
I
changed the makefile from the subtree src to be
cross-compilable.
Yeah !
I trick the system by using the usbvideo.h from the X86 linux source code
kernel. It was not a clean choice but
I just
want to test that webcam.
When
the compilation is done.
copy sonix-cam.o into the ts7200
insert the module insmod sonix-cam.o
plug the camera.
P.S.
Kernel has to be recompile to enable usb video.
on the
ts7200 apache web page. create a webpage call "webcam.html"
ts7200:/var/www# cat webcam.html <HTML>
<BODY> <IMG width=352 height=288
src=""> </BODY> </HTML>
From
an other computer , browse to the ts7200 webpage
webcam.html
and you should see the picture. Be sure to have
w3cam.cgi int /usr/lib/cgi-bin
B.T.W. Do not use microsoft explorer! It doesn't
work with w3cam.cgi.
You mention that you
had gotten the webcam to work with that Makefile. I'm just curious to know
if the location of the usbvideo.h was on the board because I do not have
such a device and am curious where I could locate it. I've searched all
over for usbvideo.c/.h files and all are for 2.4.x but not the 2.4.26 the
board uses.
Joe Ekiert
--- In "Daniel
Perron" <> wrote: >
> I did manage to
have webcam working on the ts7200. > >
> My old 3com
camera was working after recompiling the kernel , using > cross
compilation on my Slackware 10.0
computer. > It doesn't
need to be a debian linux! > >
> You need to enable
the usb and set usb 3com homeconnect (this is > in the
"make menuconfig"). >
> Using camserv, I was
able to run a remote web cam using the ts-7200. >
> For my very low cost
web cam , the WC10 , I had to redo the > makefile to enable cross
compilation. This is a stand alone module. > >
> example of the new
Makefile >
>
KERNEL_SOURCES=/usr/src/ts7200/linux24 >
> CROSS_COMPILE
= >
/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux- >
# > # Include the make
variables (CC, etc...) >
# > >
AS
= $(CROSS_COMPILE)as >
LD
= $(CROSS_COMPILE)ld
-r >
CC
= $(CROSS_COMPILE)gcc >
CPP =
$(CC) -E >
AR
= $(CROSS_COMPILE)ar >
NM
= $(CROSS_COMPILE)nm >
STRIP =
$(CROSS_COMPILE)strip >
> MODFLAGS > =
-D__KERNEL__ -I/usr/misc/ts7200/linux24/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -Os -fno-strict-aliasing -fno-common
-Uarm >
-fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4
-m > tune=arm9tdmi -msoft-float -Uarm -DMODULE > >
> # We need this to
include usbvideo.h >
MODFLAGS += -I$(KERNEL_SOURCES)/drivers/usb >
> sonix-cam.o:
sonixcam.o sonix_pas106b.o sonix_tas5110c1b.o >
sonix_pas202b.o > $(LD)
-o sonix-cam.o sonixcam.o sonix_pas106b.o sonix_tas5110c1b.o >
sonix_pas202b.o > >
>
sonixcam.o:
sonixcam.c > $(CC)
$(MODFLAGS) -c -o $@
$< > ..... >
> > > > P.S.
Both webcams driver are not very good. The 3 com works very well > on
stream mode but everything is black if you want only one image. >
> The WC10
is very good on static image but it lost sync on > streaming . >
> > > > > > > >
> > > > -----Original
Message----- > From:
[ Behalf Of >
mr_smokin_joe > Sent: Thursday, April 21, 2005 4:17
AM > To: >
Subject: [ts-7000] Webcam drivers for TS 7200 > > >
> > Currently I'm attempting to install drivers for
a Creative Labs Webcam > Notebook (PD1170) using the spca5xx
drivers someone custom made. I'm > using the
2.4.26-vrs1-cirrus-1-2-1-ts8 version kernel with Debian. >
It's taken me a while just to find what I needed and acquaint
myself > with the whole debian system, but now I'm just
curious if there's an > easier way to install these drivers.
I just want to use the board to > hold the data (or perhaps
transfer to CF via USB) produced by the > webcam. Perhaps
there's a simpler one on the market? > > The spca5xx
drivers require that the videodev module be present when >
performing lsmod, however all I have showing up are: >
ts7200:/usr/local/src# lsmod >
Module
Size Used by Not tainted >
sd_mod
11148 0 (autoclean) (unused) >
scsi_mod
53756 1 (autoclean) [sd_mod] >
vfat
10168 0 (unused) >
fat
29668 0 [vfat] >
usb-ohci-ep93xx
956 0 (unused) >
usb-ohci
15580 0 [usb-ohci-ep93xx] >
usbcore
55960 1 [usb-ohci] >
pcipool
2096 1 [usb-ohci-ep93xx usb-ohci] >
> Just curious if anyone has any insight on how I could get
this thing > to work. > >
Joe > > > > > > > >
> ---------------------------------------------------------------------------- >
-- > Yahoo! Groups Links >
> a.. To visit your group on the web, go
to: > http://groups.yahoo.com/group/ts-7000/ >
> b.. To unsubscribe from this group, send an
email to: >
> >
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service.
Yahoo! Groups Links
Makefile
Description: Binary data
|