[cpia] Aiptek HyperVcam Fun

John Roark roarjo2NOSPAM@usfca.edu
Fri, 28 Apr 2000 16:01:38 -0700


Jarl Totland wrote:
> 
> At 15:50 2000-04-17 +0200, Peter_Pregler@email.com wrote:
> >I just scanned some source-code and saw that your Vendor:Product
> >matches the OV511 chip. So the Webcam III driver (don't know how they
> >called it) in the 2.3-something kernels should work. Can anyone
> >confirm why this camera is listed as CPiA-based? Are there different
> >versions?
> 
> According to John Roark <roarjo2@usfca.edu> 2000-02-18:
>  > I have gotten my Aiptek Hyper Vcam Fun to work with the usbcore,
>  > usb-uhci, videodev, and cpia modules in kernel 2.3.42.
> 
> Probably just a mixup. I've removed it from the homepage for now.
> 
> Vyrdsamt,
> -Jarl

That is very odd? I'm not exactly sure what this means? I am currently
running the camera with the stated drivers without any problems? It
reports itself as "CPiA USB Camera" stored in vid_caps.name when
ioctl(device, VIDIOCGCAP, &vid_caps); is called? I'm even using it as a
web cam right now. (http://138.202.112.49/)

I'm not sure what the Vendor:product code translates to here but maybe
you do?
Kernel Messages:
----------------
Apr 21 12:38:00 reshall-112-49 kernel: Product: USB Camera 
Apr 21 12:38:00 reshall-112-49 kernel:   Length              = 18 
Apr 21 12:38:00 reshall-112-49 kernel:   DescriptorType      = 01 
Apr 21 12:38:00 reshall-112-49 kernel:   USB version         = 1.00 
Apr 21 12:38:00 reshall-112-49 kernel:   Vendor:Product      = 0553:0002 
Apr 21 12:38:00 reshall-112-49 kernel:   MaxPacketSize0      = 8 
Apr 21 12:38:00 reshall-112-49 kernel:   NumConfigurations   = 1 
Apr 21 12:38:00 reshall-112-49 kernel:   Device version      = 1.00 
Apr 21 12:38:00 reshall-112-49 kernel:   Device Class:SubClass:Protocol
= 00:00:00 
 
Apr 21 12:38:03 reshall-112-49 kernel: usb.c: registered new driver cpia 
Apr 21 12:38:03 reshall-112-49 kernel: USB CPiA camera found 

...not that you really needed to see all this, but it is here anyway.
keep me up to date on this

thanks
john
-- 
	int fd = socket(AF_INET, SOCK_PACKET, htons(0x800));
	struct ifreq ifr;
	strcpy(ifr.ifr_name, "eth0"); ioctl(fd, SIOCGIFFLAGS, &ifr);
	ifr.ifr_flags |= IFF_PROMISC; ioctl(fd, SIOCSIFFLAGS, &ifr);