[cpia] Fatal error
Samo Gabrovec
root@mail.velenje.cx
Tue, 18 Apr 2000 21:50:42 +0200 (CEST)
1. I would like to tell that i had a working setup with webcam II for at
least 2 months. I didn`t change anything except i rebooted.
Is my camera broken?
the modules load like they should but when i try to run a program like
gqcam it says: /dev/video: Input/output error
and in the logs i get :cpia.c(18780):reset_camera(2475):fatal_error:
0x20
what is this fatal error?
i have included which modules i have loaded, log file, cat
/proc/cpia/video0 belove.
Please tell me what could be wrong (so that i`ll know to wheather to
throw tha cam away or not)
Samo Gabrovec
thanks
===============================================================
modules loaded
--------
mail:~ # lsmod
Module Size Used by
cpia_pp 17436 0
cpia 49344 0 [cpia_pp]
videodev 2496 1 [cpia]
parport_pc 5744 1
parport 6716 1 [cpia_pp parport_pc]
es1371 25888 0 (autoclean)
soundcore 2336 4 (autoclean) [es1371]
3c59x 19008 1 (autoclean)
serial 42932 1 (autoclean)
memstat 1604 0 (unused)
---------
messages
---------
Apr 18 21:14:36 mail kernel: parport0: PC-style at 0x378, irq 7, dma 3
[SPP,ECP,ECPEPP,ECPPS2]
Apr 18 21:14:36 mail kernel: parport1: PC-style at 0x278 [SPP]
Apr 18 21:14:45 mail kernel: Linux video capture interface: v1.00
Apr 18 21:14:55 mail kernel: V4L-Driver for Vision CPiA based cameras
v0.7.4
Apr 18 21:14:55 mail modprobe: modprobe: Can't locate module cpia_pp
Apr 18 21:15:01 mail kernel: Parallel port driver for Vision CPiA based
cameras v0.7.4
Apr 18 21:15:01 mail kernel: using DMA mode (irq 7, DMA 3)
Apr 18 21:15:01 mail kernel: cpia.c(18772):goto_low_power(2338):camera now
in LOW power state
Apr 18 21:15:01 mail kernel: cpia.c(18780):goto_high_power(2324):camera
now in HIGH power state
Apr 18 21:15:01 mail kernel: cpia.c(18780):reset_camera(2475):fatal_error:
0x20
Apr 18 21:15:01 mail kernel: cpia.c(18780):reset_camera(2477):vp_status:
0x01
Apr 18 21:15:01 mail kernel: cpia_pp.c:cpia_pp_register(1469):port is not
ECP capable
Apr 18 21:15:01 mail kernel: 1 camera(s) found
Apr 18 21:15:07 mail kernel: cpia.c(19342):goto_low_power(2338):camera now
in LOW power state
Apr 18 21:15:07 mail kernel: cpia.c(19349):goto_high_power(2324):camera
now in HIGH power state
Apr 18 21:15:07 mail kernel: cpia.c(19349):reset_camera(2475):fatal_error:
0x20
Apr 18 21:15:07 mail kernel: cpia.c(19349):reset_camera(2477):vp_status:
0x01
---------
mail:~ # gqcam
/dev/video: Input/output error
--------
cat /proc/cpia/video0
-------
mail:/proc/cpia # cat video0
read-only
-----------------------
CPIA Version: 1.02 (1.0)
CPIA PnP-ID: 0553:0001:0100
VP-Version: 0.0 0000
system_state: 0x03
grab_state: 0x01
stream_state: 0x00
fatal_error: 0x20
cmd_error: 0x01
debug_flags: 0x00
vp_status: 0x01
error_code: 0x00
video_size: CIF
sub_sample: 422
yuv_order: YUYV
roi: ( 0, 0) to (352, 288)
actual_fps: 0
transfer_rate: 0kB/s
read-write
----------------------- current min max default comment
brightness: 50 0 100 50
contrast: 48 0 80 48 steps of 8
saturation: 50 0 100 50
sensor_fps: 15.000 3 30 15
stream_start_line: 240 0 288 240
ecp_timing: normal slow normal normal
color_balance_mode: auto manual auto auto
red_gain: 32 0 212 32
green_gain: 6 0 212 6
blue_gain: 92 0 212 92
max_gain: 2 1 2 2
exposure_mode: auto manual auto auto
centre_weight: on off on on
gain: 1 1 max_gain 1 1,2,4,8
possible
fine_exp: 0 0 255 0
coarse_exp: 185 0 255 185
red_comp: 220 220 255 220
green1_comp: 214 214 255 214
green2_comp: 214 214 255 214
blue_comp: 230 230 255 230
apcor_gain1: 0x1c 0x0 0xff 0x1c
apcor_gain2: 0x1a 0x0 0xff 0x1a
apcor_gain4: 0x2d 0x0 0xff 0x2d
apcor_gain8: 0x2a 0x0 0xff 0x2a
vl_offset_gain1: 24 0 255 24
vl_offset_gain2: 28 0 255 28
vl_offset_gain4: 30 0 255 30
vl_offset_gain8: 30 0 255 30
flicker_control: off off on off
mains_frequency: 50 50 60 50 only 50/60
allowable_overexposure: 0 0 255 0
compression_mode: auto none,auto,manual auto
decimation_enable: off off off off
compression_target: quality framerate quality quality
target_framerate: 7 0 30 7
target_quality: 10 0 255 10
y_threshold: 15 0 31 15
uv_threshold: 15 0 31 15
hysteresis: 3 0 255 3
threshold_max: 11 0 255 11
small_step: 1 0 255 1
large_step: 3 0 255 3
decimation_hysteresis: 2 0 255 2
fr_diff_step_thresh: 5 0 255 5
q_diff_step_thresh: 3 0 255 3
decimation_thresh_mod: 2 0 255 2
mail:/proc/cpia #
----------------------------------------------------------------
PC! Politically Correct (or) Pure Crap!
----------------------------------------------------------------
Visit http://www.velenje.cx
----------------------------------------------------------------