[cpia] linux-2.4.2 and cpia-1.2 hang..

Tore Halset halset@pvv.ntnu.no
Mon, 12 Mar 2001 19:19:23 +0100 (CET)


I am using linux-2.4.2 and cpia-1.2, but vidcat will not grab

Output from dmesg:
Linux video capture interface: v1.00
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB UHCI at I/O 0xffe0, IRQ 11
uhci.c: detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
uhci.c: root-hub INT complete: port1: 48a port2: 49b data: 6
hub.c: USB new device connect on bus1/2, assigned device number 2
usb.c: USB device 2 (vend/prod 0x553/0x2) is not claimed by any active
driver.
uhci.c: root-hub INT complete: port1: 488 port2: 495 data: 2
V4L-Driver for Vision CPiA based cameras v1.2.0
usb.c: registered new driver cpia
USB CPiA camera found
  CPiA Version: 1.20 (2.4)
  CPiA PnP-ID: 0553:0002:0100
  VP-Version: 1.0 0100

Last lines from 'strace vidcat...'

open("/dev/video0", O_RDWR)             = 3
ioctl(3, 0x803c7601, 0xbffff9d0)        = 0
ioctl(3, 0x80887614, 0xbffff948)        = 0
old_mmap(NULL, 811008, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) =
0x40192000
ioctl(3, 0x40107613

'motion' will hang on the same (0x40107613) ioctl.

cpia-1.2 works on the same computer with the same camera with
good (?) old linux-2.3.99-pre6.

Tore.