[cpia] webcam II does not work...

Joseph Acosta joeja@mindspring.com
Sat, 17 Nov 2001 22:17:42 -0800


Hey I am using kernel 2.4.14 and the webcam II is not working.  It seems 
to work fine with Redhats default kernel 2.4.7, but with 2.4.14 stock 
kernel it does not work at all.  It complains could not open 
/dev/video0: no such device.  However I do have /dev/video0 to 63.  I 
have both parallel port and cpia drivers in the kernel and there is a 
/proc/cpia/video0 file that says:

read-only
-----------------------
V4L Driver version:       0.7.4
CPIA Version:             0.00 (0.0)
CPIA PnP-ID:              0000:0000:0000
VP-Version:               0.0 0000
system_state:             0x00
grab_state:               0x00
stream_state:             0x00
fatal_error:              0x00
cmd_error:                0x00
debug_flags:              0x00
vp_status:                0x00
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        96        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,4,8         2
exposure_mode:              auto    manual      auto      auto
centre_weight:                on       off        on        on
gain:                          1         1  max_gain         1  1,2,4,8 
possiblefine_exp:                      0         0       511         0
coarse_exp:                  185         0     65535       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


and also a /proc/video/dev/video0 file:
name            : CPiA Camera
type            : VID_TYPE_CAPTURE
hardware        : 0x18

from dmesg:
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: cpp_daisy: aa5500ff(10)
parport0: assign_addrs: aa5500ff(10)
parport0: Multimedia device, VLSI Vision Ltd PPC2 Camera
parport_pc: Via 686A parallel port: io=0x378
Linux video capture interface: v1.00
V4L-Driver for Vision CPiA based cameras v0.7.4
Parallel port driver for Vision CPiA based cameras v0.7.4


Any ideas what is going on here????
Thanks
Joe