[cpia] Problem with cpia-0.7.4

Jacob Nikom nikom@merl.com
Tue, 25 Apr 2000 15:25:02 -0400


Hi Johannes,

Thank you very much for your response. There is nothing 
in my /proc/bus/usb directory. I think it is empty because
I did not have any devices but CPIA camera.

Here is the list of my configuration settings related
to USB and CPIA:

#
# USB support
#
CONFIG_USB=y
CONFIG_USB_DEBUG=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_UHCI=y
# CONFIG_USB_OHCI is not set
# CONFIG_USB_PRINTER is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_SERIAL is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_STORAGE is not set
# CONFIG_USB_USS720 is not set
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_PLUSB is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_HID is not set
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_WMFORCE is not set
# CONFIG_INPUT_KEYBDEV is not set
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set

CONFIG_VIDEO_BWQCAM=y
CONFIG_VIDEO_CQCAM=y
CONFIG_VIDEO_CPIA=y
CONFIG_VIDEO_CPIA_PP=y
CONFIG_VIDEO_CPIA_USB=y

When I tried to mount my /proc/bus/usb directory,
I got an error:
[nikom@xxx linux]# mount /proc/bus/usb
mount: can't find /proc/bus/usb in /etc/fstab or /etc/mtab
[nikom@xxx linux]#

Should I edit fstab manually or the correct version should be
created automatically? I suspect, there is something wrong in 
my kernel configuration settings but I don't know what it could be.

Regards,

Jacob Nikom



Johannes Erdfelt wrote:
> 
> On Mon, Apr 24, 2000, Jacob Nikom <nikom@merl.com> wrote:
> > Hi,
> >
> > I am trying to get my WebCamII work with USB driver.
> > I used to work with old parallel port version of this
> > camera. My machine is Pentium II (Klamath) with 128MB.
> > I was able to get 2.3.99-pre5 kernel working and \
> > configured the cpia driver inside the kernel:
> > CONFIG_VIDEO_BWQCAM=y
> > CONFIG_VIDEO_CQCAM=y
> > CONFIG_VIDEO_CPIA=y
> > CONFIG_VIDEO_CPIA_PP=y
> > CONFIG_VIDEO_CPIA_USB=y
> >
> >
> > Following the discussion I create shm directory in the
> > /var directory and mounted it :
> > mount -t shm none /var/shm
> >
> > Then I successfully configured and compiled my files.
> > However, when I started to run gqcam executable, it complained:
> > /dev/video: No such device
> >
> > Actually, such a device exists, but it does not have major number:
> > #ls -l vid*
> > lrwxrwxrwx    1 root     root            6 Mar 31 05:35 video -> video0
> > crw-------    1 nikom    root      81,   0 Jan 28 16:59 video0
> > crw-------    1 nikom    root      81,   1 Jan 28 16:59 video1
> >
> > Should I create new video device using mknod command?
> > I am not sure what else has to be done to make it work.
> 
> You don't need to create a new device node.
> 
> Is USB working correctly?
> 
> Did you mount /proc/bus/usb? If so, do a cat /proc/bus/usb/devices and
> see what it's in there.
> 
> JE