Thanks. I've solved the video device problem. It seemed that I didn't
include the driver
in the kernel correctly.
First I tried "mknod /dev/video c 81 0" and used "more /dev/video" to check
it.
But I got "no such device" error (Webcam had been plugged in at that time).
Then I modified the file include/linux/autoconf.h manually, changing the
line
"#undef CONFIG_VIDEO_DEV" into " #define CONFIG_VIDEO_DEV",
adding "#define CONFIG_VIDEO_CPIA" and "#define CONFIG_VIDEO_CPIA_USB".
After that I run "make dep" and "make zImage". Under the new kernel run
"mknod
/dev/video c 81 0", the USB webcam can be recoginzed when using OHCI
standard.
(I knew it is not a good way to change autoconf.h directly. But if I just
modified
/arch/arm/def-configs/neponset, adding "CONFIG_VIDEO_DEV=y",
"CONFIG_VIDEO_CPIA=y" and "CONFIG_VIDEO_CPIA_USB=y",
then run "make neponset_config", "make old_config", "make dep", the line
appeared
in autoconf.h is "#undef CONFIG_VIDEO_DEV". So I had to change autoconf.h
by myself. )
But now the webcam still cannot work correctly. when running gqcam,
I got the following error:
"cpia.c:parse_picture(1965):line length was not 1 but -2 after 83299/203244
bytes"
If I changed the standard from OHCI into UHCI(Actived the CONFIG_USB_UHCI
item in autoconf.h and .config while at the same time disable
CONFIG_USB_OHCI),
the webcam cannot be recognized. (This webcam works fine in redhat when
using UHCI).
So do anyone have any idea about it? Or does anyone has some USB devices
succesfully
working by using UHCI in assabet/neponset ? Thanks!
Jianlin
> On Fri, May 18, 2001 at 02:23:25PM -0700, Jianlin Liang wrote:
> > I tried to setup the usb cpia webcam on assabet/neponset. It seems
> > that the usb driver and cpia part work fine. But the problem is
> > that there's no "/dev/video", which is necessary for the webcam.
> > Do anybody have any idea about it?
>
> Try:
>
> mknod /dev/video c 81 0
> _____
> |_____| ------------------------------------------------- ---+---+-
> | | Russell King [EMAIL PROTECTED] --- ---
> | | | | http://www.arm.linux.org.uk/ / / |
> | +-+-+ --- -+-
> / | THE developer of ARM Linux |+| /|\
> / | | | --- |
> +-+-+ ------------------------------------------------- /\\\ |
>
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.