Hi boys, Im trying to compile OpenWrt backfire (trunk or stable) with support for GSPCA camera with spca1528 chipset (sunplus), exactly /ID 04fc:1528 Sunplus Technology Co., Ltd SPCA1527A/SPCA1528 SD card camera (webcam mode)/.

I have two options:

1. Compile the GSPCA driver V4L version on this page
   <http://moinejf.free.fr/>. This works in my linux desktop PC's. But
   I dont know how to compile this driver for OpenWrt.
2. Use the patch published by Cezary Jackiewicz to add missing gspca
   video drivers. Im trying this option, so I have done:

   In my Ubuntu:

   1. Download source code of stable Backfire version:

       svn checkout svn://svn.openwrt.org/openwrt/tags/backfire_10.03

   2. Download standard config file

       wgethttp://downloads.openwrt.org/backfire/10.03/brcm47xx/OpenWrt.config

       mv OpenWrt.config .config

   3. Edit //package/kernel/modules/video.mk /and add at the end of the
   file:

       define KernelPackage/video-gspca-konica

            TITLE:=konica webcam support

            KCONFIG:=CONFIG_USB_GSPCA_KONICA

            FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_konica.ko

            AUTOLOAD:=$(call AutoLoad,75,gspca_konica)

            $(call AddDepends/video-gspca)

       endef

       define KernelPackage/video-gspca-konica/description

            The Konica USB Camera Driver (konica) kernel module.

       endef

       $(eval $(call KernelPackage,video-gspca-konica))

       define KernelPackage/video-gspca-spca1528

            TITLE:=spca1528 webcam support

            KCONFIG:=CONFIG_USB_GSPCA_SPCA1528

            FILES:=$(LINUX_DIR)/drivers/media/video/gspca/gspca_spca1528.ko

            AUTOLOAD:=$(call AutoLoad,75,gspca_spca1528)

            $(call AddDepends/video-gspca)

       endef

       define KernelPackage/video-gspca-spca1528/description

            The SPCA1528 USB Camera Driver (spca1528) kernel module.

       endef

       $(eval $(call KernelPackage,video-gspca-spca1528))

   4. /make menuconfig/ and select /<*> kmod-video-gspca-konica/ and
   /<*> kmod-video-gpsca-spca1528/ modules (with *)
   5. /make/ (without any errors)
   6. Flash my Asus WL-500gP with
   /bin/brcm47xx/openwrt-vrcm47xx-squashfs.trx/
   7. Install usb support and video support.
   8. Connect my webcam
   9. No luck: no /dev/videoX device created.

   If I connect my Philips PCVC730K web cam all works ok, /dev/video0
   created and I can use it.

   Some suggestion?


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to