[cpia] Problem with parport and parallel Webcam II

Peter Pregler Peter_Pregler@email.com
Sat, 16 Sep 2000 11:06:25 +0200


On Fri, Sep 15, 2000 at 02:38:15PM +0200, F. H. wrote:
> dmesg says:
> 
> parport0: PC-style at 0x378 (0x778), irq 7, dma 3
> [SPP,ECP,ECPEPP,ECPPS2]

This is sufficient. The parport is configured correctly.

> Linux video capture interface: v1.00
> V4L-Driver for Vision CPiA based cameras v1.1.0
> parport_probe: failed
> parport0: no IEEE-1284 device present.

I think this is the indicator of your problems. The Creative Webcam II
camera is an IEEE-1284 device. So either the camera is not connected
correctly, your parport-chip is something non-standard or there is
something wrong with your kernel. Here is what you should get with a
stock 2.2.17 and the 1.1.0 driver compiled against it:

parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [SPP,ECP,ECPEPP,ECPPS2]
Linux video capture interface: v1.00
V4L-Driver for Vision CPiA based cameras v1.1.0
parport0: read2 timeout.
parport_probe: succeeded
parport0: Multimedia device, VLSI Vision Ltd PPC2 Camera
Parallel port driver for Vision CPiA based cameras v1.1.0
  using DMA mode (irq 7, DMA 3)
cpia.c(144433):goto_low_power(3079):camera now in LOW power state
cpia.c(144441):goto_high_power(3065):camera now in HIGH power state
cpia.c(144441):dispatch_commands(2363):1 1 0 0 1 1 1 1 
cpia.c(144441):dispatch_commands(2364):0 1 1 1 1 1 1 1 
cpia.c(144494):save_camera_state(3101):0/0/185/0/220/214/214/230
cpia.c(144494):save_camera_state(3105):32/6/92
  CPiA Version: 1.20 (2.0)
  CPiA PnP-ID: 0553:0002:0100
  VP-Version: 1.0 0100
  1 camera(s) found

This is after:

root@gretel:/home/ppregler/proj/wc/cpia-1.1/module# modprobe videodev
root@gretel:/home/ppregler/proj/wc/cpia-1.1/module# insmod ./cpia.o
root@gretel:/home/ppregler/proj/wc/cpia-1.1/module# insmod ./cpia_pp.o

The parport was loaded at boot-time. The parport_probe is done
automagically during the insmod of cpia.o.

-Peter

-- 
Even the thought that a ship was waiting to take him back to Earth
did not wipe out the sense of loss he felt at that moment.
-------------------------------
Email: Peter_Pregler@email.com