thanks, i'll give that a shot! i popped the camera open and it is actually a
ZC0301P bridge; should subclassing spca5xx still work, or is that a different
driver base?
--ben chang
Quoting Dirk-Willem van Gulik <[EMAIL PROTECTED]>:
>
>
> On Sun, 15 Jan 2006, ben chang wrote:
>
> > model: Creative VF-0400
> > product id: 0x4034
> > vendor id: 0x041e
> >
> > it works fine on linux with the spca5xx drivers, so that gives me hope.
> if
> > there are some starting hints or pointers for adding cameras to macam,
> that'd
> > be great.
>
> Get the source; take the MySPCA5XX files and in one of them add or replace
> the existing product and vendor ID by the above hex code. I'll look enough
> like C to make it easy. They are either in a table (cameraUsbDescriptions)
> or there is a function cameraUsbProductID/cameraUsbVendorID which returns
> the value the driver corresponds too.
>
> Recompile; run (from XCode)
>
> See if it works. Otherwise try the other one.
>
> If it works - then add it properly -- either by adding it in the table or
> by adding somethng like the below. See the other drivers for examples.
>
> If it does nto work - compare iwht the linxu drivers. The bits which
> matter are all in C.
>
> Dw.
>
> @implementation FOO
>
> + (unsigned short) cameraUsbProductID {
> return 0x1234;
> }
>
> + (unsigned short) cameraUsbVendorID {
> return 0x1234;
> }
>
> + (NSString*) cameraName {
> return [MyCameraCentral localizedStringFor:@"My foo"];
> }
> @end
>
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
webcam-osx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/webcam-osx-devs