ts-7000
[Top] [All Lists]

[ts-7000] Compiling pl2303, usb camera modules

To:
Subject: [ts-7000] Compiling pl2303, usb camera modules
From: Brandon Christel <>
Date: Thu, 21 Feb 2008 22:34:22 -0500

Hello,
I'm having a hard time finding documentation about how to cross compile the modules.  I've read up on insmod and getting things running once i have the .o files, but I can't compile the driver.

I used the Pl2303 code in the files section on the yahoo groups page, as well as the code for my camera found here:http://mxhaard.free.fr/download.html.  (it's a creative webcam notebook model PD1170, shown supported using driver spca5xx here:  http://mxhaard.free.fr/spca5xx.html)
I have the source code, I just can't get the modules to compile using this makefile(for the 2303):

# contains optimizations for 386 architecture
# contains 02 optimazition used for IO functions
CC=../workspace/ARM-toolchain/opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc
#CC=gcc

module: pl2303.c pl2303.h
< span class="Apple-tab-span" style="white-space: pre; "> $(CC) -O0 -g -lm pl2303.o -DMODULE -D__KERNEL -06 -c pl2303.c pl2303.h


I can get regular software to compile using that cross compiler (using their peekpoke.h for I2C communication and a lot of serial i/o - tested and working), however I dont know how to get the modules to work.  Can anyone explain to me the basics or point me in the right direction of where to look?  I can't find documentation that I can understand so any help is greatly appreciated
Brandon Christel __._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU