[cpia] Problem with parport and parallel Webcam II

F. H. cryptus@ngi.de
Fri, 15 Sep 2000 14:38:15 +0200


Hi folks,

could anyone pls help me to get my Creative Webcam II started ?
The parport doesn't seem to find my camera.
Whats going wrong ?
And: Is the BIOS setting of the parallel port of any importance ?
I tried both ECP and ECP+EEP, (io=0x378, IRQ 7 set up in the BIOS),
both dont work but gives the same results, 
as stated below.

Many thanks, Frank

My configuration:

I have a Pentium II, SuSE Linux 6.3, kernel updated to 2.2.17,
(it didnt work with 2.2.13 before either)
cpia 1.1 driver installed,
parport configured as module:

My current modules.conf:
...
alias parport_lowlevel    parport_pc
options parport_pc io=0x378 irq=none,none
...

When I load the modules, with:

	modprobe parport
	modprobe parport_pc dma=3 irq=7
	modprobe videodev
	insmod cpia
	insmod cpia_pp parport=0

dmesg says:

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
parport_probe: failed
parport0: no IEEE-1284 device present.
Parallel port driver for Vision CPiA based cameras v1.1.0
  0 camera(s) found
Parallel port driver for Vision CPiA based cameras v1.1.0
  using DMA mode (irq 7, DMA 3)
cpia_pp.c(33166):my_wait_peripheral(327):failed 0x50 should be 0x38
waited 33 jiffies
cpia_pp.c(33166):Negotiate2SetupPhase(375):B failed
cpia_pp.c(33166):ForwardSetup(835):could not negotiate for setup phase
cpia_pp.c(33199):my_wait_peripheral(327):failed 0x40 should be 0x0
waited 33 jiffies
cpia_pp.c(33199):Valid1284Termination(501):nAck should go low in
Valid1284Termination
cpia_pp.c(33199):Valid1284Termination(502):nsel D per D naut U nstrob U
nak U busy U nfaul D sel U init
U dir F
cpia_pp.c(33199):WritePacket(1096):Write failed in setup
cpia_pp.c(33199):cpia_pp_transferCmd(1293):Error writing command
cpia.c:do_command(1776):4005 - failed, retval=-5
  1 camera(s) found       

autoprobe says:
	cryptus:~ # more /proc/parport/0/autoprobe
	MODEL:Unknown device;
	MANUFACTURER:Unknown vendor


probably then its not astonishing that mcam doesnt find the camera ?

======   mcam-1.5  by Panteltje   =====

LPT1 at 0x378 -- ECP / 4 Bit

mcam: Get1284DeviceID() failed
mcam: unable to find DUAL on LPT1
CLINK_DetectPort: LPT2: not found

mcam: LPT2 does not exist
mcam: unable to find DUAL on LPT2
TransferMsg: SetTransferMode failed
TransferMsg: SetTransferMode failed
TransferMsg: SetTransferMode failed
TransferMsg: SetTransferMode failed
TransferMsg: SetTransferMode failed
...