[cpia] Unified patch for recent kernels
sbertin@mindspring.com
sbertin@mindspring.com
Tue, 25 Jan 2000 20:46:06 -0500 (EST)
On 25 Jan, Claudio Matsuoka wrote:
> I tried to just build and install the modules, but here's what
> happened:
>
> Linux dexter 2.3.39 #2 Mon Jan 17 17:55:25 EDT 2000 i686 unknown
>
> Jan 24 20:02:40 dexter kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,ECP,DMA]
> Jan 24 20:02:40 dexter kernel: parport0: cpp_daisy: aa5500ff(10)
> Jan 24 20:02:40 dexter kernel: parport0: assign_addrs: aa5500ff(10)
> Jan 24 20:03:46 dexter kernel: Linux video capture interface: v1.00
> Jan 24 20:03:50 dexter kernel: V4L-Driver for Vision CPiA based cameras v0.6.0
> Jan 24 20:03:58 dexter kernel: Parallel port driver for Vision CPiA based cameras v0.6.0
After this I also get
Jan 25 20:18:01 adsl-61-0-206 kernel: cpia_pp.c(555746):cpia_pp_open(1367):Found camera[0]
Jan 25 20:18:01 adsl-61-0-206 kernel: parport0: ECP direction: reverse
Jan 25 20:18:01 adsl-61-0-206 kernel: cpia.c(555748):goto_low_power(2452):camera now in LOW power state
Jan 25 20:18:01 adsl-61-0-206 kernel: parport0: ECP direction: reverse
Jan 25 20:18:01 adsl-61-0-206 last message repeated 2 times
Jan 25 20:18:01 adsl-61-0-206 kernel: cpia.c(555760):goto_high_power(2440):camera now in HIGH power state
Jan 25 20:18:01 adsl-61-0-206 kernel: parport0: ECP direction: reverse
Jan 25 20:18:01 adsl-61-0-206 kernel: parport0: ECP direction: reverse
Jan 25 20:18:02 adsl-61-0-206 kernel: cpia.c(555772):dispatch_commands(2197):1 1 0 0 1 1 1 1
Jan 25 20:18:02 adsl-61-0-206 kernel: cpia.c(555772):dispatch_commands(2198):0 1 1 1 1 1 0 1
Jan 25 20:18:02 adsl-61-0-206 kernel: parport0: ECP direction: reverse
Jan 25 20:18:02 adsl-61-0-206 kernel: parport0: ECP direction: reverse
Jan 25 20:18:02 adsl-61-0-206 kernel: cpia.c(555777):save_camera_state(2472):0/0/185/0/220/214/214/230
Jan 25 20:18:02 adsl-61-0-206 kernel: cpia.c(555777):save_camera_state(2476):32/6/92
Jan 25 20:18:02 adsl-61-0-206 kernel: CPiA Version: 1.20 (2.0)
Jan 25 20:18:02 adsl-61-0-206 kernel: CPiA PnP-ID: 0553:0002:0100
Jan 25 20:18:02 adsl-61-0-206 kernel: VP-Version: 1.0 0100
If you don't get that or any error messages, then something is going
wrong in cpia_pp_attach. It looks like the only cause of failure would
be if port->probe_info had the wrong information. What does
cat /proc/sys/dev/parport/parport0/autoprobe tell you?
Scott J. Bertin
sbertin@mindspring.com