VIDEO_MENU:=Video Support
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.7.0)),1)
V4L2_DIR=v4l2-core
V4L2_USB_DIR=usb
-else
-V4L2_DIR=video
-V4L2_USB_DIR=video
-endif
-
define KernelPackage/fb
SUBMENU:=$(VIDEO_MENU)
TITLE:=Framebuffer support
DEPENDS:=@DISPLAY_SUPPORT
KCONFIG:=CONFIG_FB
- FILES:=$(LINUX_DIR)/drivers/video/fb.ko
+ FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/fb.ko
AUTOLOAD:=$(call AutoLoad,06,fb)
endef
TITLE:=Framebuffer software rectangle filling support
DEPENDS:=+kmod-fb
KCONFIG:=CONFIG_FB_CFB_FILLRECT
- FILES:=$(LINUX_DIR)/drivers/video/cfbfillrect.ko
+ FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/cfbfillrect.ko
AUTOLOAD:=$(call AutoLoad,07,cfbfillrect)
endef
TITLE:=Framebuffer software copy area support
DEPENDS:=+kmod-fb
KCONFIG:=CONFIG_FB_CFB_COPYAREA
- FILES:=$(LINUX_DIR)/drivers/video/cfbcopyarea.ko
+ FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/cfbcopyarea.ko
AUTOLOAD:=$(call AutoLoad,07,cfbcopyarea)
endef
TITLE:=Framebuffer software image blit support
DEPENDS:=+kmod-fb
KCONFIG:=CONFIG_FB_CFB_IMAGEBLIT
- FILES:=$(LINUX_DIR)/drivers/video/cfbimgblt.ko
+ FILES:=$(LINUX_DIR)/drivers/video/fbdev/core/cfbimgblt.ko
AUTOLOAD:=$(call AutoLoad,07,cfbimgblt)
endef
CONFIG_V4L_PCI_DRIVERS=y \
CONFIG_V4L_PLATFORM_DRIVERS=y \
CONFIG_V4L_ISA_PARPORT_DRIVERS=y
-ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.6.0)),1)
FILES:= \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
AUTOLOAD:=$(call AutoLoad,60, videodev v4l2-common)
-else
- FILES:= \
- $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-compat-ioctl32.ko \
- $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-common.ko \
- $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videodev.ko
- AUTOLOAD:=$(call AutoLoad,60, v4l2-compat-ioctl32 videodev v4l2-common)
-endif
endef
define KernelPackage/video-core/description
CONFIG_VIDEOBUF2_VMALLOC
FILES:= \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-core.ko \
+ $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-v4l2.ko@ge4.4 \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-memops.ko \
$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/videobuf2-vmalloc.ko
- AUTOLOAD:=$(call AutoLoad,65,videobuf2-core videobuf2-memops videobuf2-vmalloc)
+ AUTOLOAD:=$(call AutoLoad,65,videobuf2-core videobuf-v4l2@ge4.4 videobuf2-memops videobuf2-vmalloc)
$(call AddDepends/video)
endef
DEPENDS:=@USB_SUPPORT +kmod-usb-core
KCONFIG:=CONFIG_VIDEO_CPIA2
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/cpia2/cpia2.ko
- AUTOLOAD:=$(call AutoLoad,70,cpia2)
+ AUTOLOAD:=$(call AutoProbe,cpia2)
$(call AddDepends/camera)
endef
$(eval $(call KernelPackage,video-cpia2))
-define KernelPackage/video-sn9c102
- TITLE:=SN9C102 Camera Chip support
- DEPENDS:=@USB_SUPPORT +kmod-usb-core
- KCONFIG:=CONFIG_USB_SN9C102
- FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/sn9c102/sn9c102.ko
- AUTOLOAD:=$(call AutoLoad,70,gspca_sn9c20x)
- $(call AddDepends/camera)
-endef
-
-define KernelPackage/video-sn9c102/description
- Kernel modules for supporting SN9C102 camera chips
-endef
-
-$(eval $(call KernelPackage,video-sn9c102))
-
-
define KernelPackage/video-pwc
TITLE:=Philips USB webcam support
DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-video-videobuf2
CONFIG_USB_PWC \
CONFIG_USB_PWC_DEBUG=n
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/pwc/pwc.ko
- AUTOLOAD:=$(call AutoLoad,70,pwc)
+ AUTOLOAD:=$(call AutoProbe,pwc)
$(call AddDepends/camera)
endef
define KernelPackage/video-uvc
TITLE:=USB Video Class (UVC) support
- DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-video-videobuf2
+ DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-video-videobuf2 +kmod-input-core
KCONFIG:= CONFIG_USB_VIDEO_CLASS
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/uvc/uvcvideo.ko
- AUTOLOAD:=$(call AutoLoad,90,uvcvideo)
+ AUTOLOAD:=$(call AutoProbe,uvcvideo)
$(call AddDepends/camera)
- $(call AddDepends/input)
endef
define KernelPackage/video-uvc/description
DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-input-core
KCONFIG:=CONFIG_USB_GSPCA
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_main.ko
- AUTOLOAD:=$(call AutoLoad,70,gspca_main)
+ AUTOLOAD:=$(call AutoProbe,gspca_main)
$(call AddDepends/camera)
endef
TITLE:=conex webcam support
KCONFIG:=CONFIG_USB_GSPCA_CONEX
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_conex.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_conex)
+ AUTOLOAD:=$(call AutoProbe,gspca_conex)
$(call AddDepends/camera-gspca)
endef
TITLE:=etoms webcam support
KCONFIG:=CONFIG_USB_GSPCA_ETOMS
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_etoms.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_etoms)
+ AUTOLOAD:=$(call AutoProbe,gspca_etoms)
$(call AddDepends/camera-gspca)
endef
TITLE:=finepix webcam support
KCONFIG:=CONFIG_USB_GSPCA_FINEPIX
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_finepix.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_finepix)
+ AUTOLOAD:=$(call AutoProbe,gspca_finepix)
$(call AddDepends/camera-gspca)
endef
TITLE:=mars webcam support
KCONFIG:=CONFIG_USB_GSPCA_MARS
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_mars.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_mars)
+ AUTOLOAD:=$(call AutoProbe,gspca_mars)
$(call AddDepends/camera-gspca)
endef
TITLE:=mr97310a webcam support
KCONFIG:=CONFIG_USB_GSPCA_MR97310A
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_mr97310a.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_mr97310a)
+ AUTOLOAD:=$(call AutoProbe,gspca_mr97310a)
$(call AddDepends/camera-gspca)
endef
TITLE:=ov519 webcam support
KCONFIG:=CONFIG_USB_GSPCA_OV519
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov519.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_ov519)
+ AUTOLOAD:=$(call AutoProbe,gspca_ov519)
$(call AddDepends/camera-gspca)
endef
TITLE:=ov534 webcam support
KCONFIG:=CONFIG_USB_GSPCA_OV534
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov534.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_ov534)
+ AUTOLOAD:=$(call AutoProbe,gspca_ov534)
$(call AddDepends/camera-gspca)
endef
TITLE:=ov534-9 webcam support
KCONFIG:=CONFIG_USB_GSPCA_OV534_9
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_ov534_9.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_ov534_9)
+ AUTOLOAD:=$(call AutoProbe,gspca_ov534_9)
$(call AddDepends/camera-gspca)
endef
TITLE:=pac207 webcam support
KCONFIG:=CONFIG_USB_GSPCA_PAC207
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_pac207.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_pac207)
+ AUTOLOAD:=$(call AutoProbe,gspca_pac207)
$(call AddDepends/camera-gspca)
endef
TITLE:=pac7311 webcam support
KCONFIG:=CONFIG_USB_GSPCA_PAC7311
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_pac7311.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_pac7311)
+ AUTOLOAD:=$(call AutoProbe,gspca_pac7311)
$(call AddDepends/camera-gspca)
endef
TITLE:=se401 webcam support
KCONFIG:=CONFIG_USB_GSPCA_SE401
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_se401.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_se401)
+ AUTOLOAD:=$(call AutoProbe,gspca_se401)
$(call AddDepends/camera-gspca)
endef
TITLE:=sn9c20x webcam support
KCONFIG:=CONFIG_USB_GSPCA_SN9C20X
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sn9c20x.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sn9c20x)
+ AUTOLOAD:=$(call AutoProbe,gspca_sn9c20x)
$(call AddDepends/camera-gspca)
endef
TITLE:=sonixb webcam support
KCONFIG:=CONFIG_USB_GSPCA_SONIXB
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sonixb.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sonixb)
+ AUTOLOAD:=$(call AutoProbe,gspca_sonixb)
$(call AddDepends/camera-gspca)
endef
TITLE:=sonixj webcam support
KCONFIG:=CONFIG_USB_GSPCA_SONIXJ
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sonixj.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sonixj)
+ AUTOLOAD:=$(call AutoProbe,gspca_sonixj)
$(call AddDepends/camera-gspca)
endef
TITLE:=spca500 webcam support
KCONFIG:=CONFIG_USB_GSPCA_SPCA500
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca500.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca500)
+ AUTOLOAD:=$(call AutoProbe,gspca_spca500)
$(call AddDepends/camera-gspca)
endef
TITLE:=spca501 webcam support
KCONFIG:=CONFIG_USB_GSPCA_SPCA501
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca501.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca501)
+ AUTOLOAD:=$(call AutoProbe,gspca_spca501)
$(call AddDepends/camera-gspca)
endef
TITLE:=spca505 webcam support
KCONFIG:=CONFIG_USB_GSPCA_SPCA505
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca505.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca505)
+ AUTOLOAD:=$(call AutoProbe,gspca_spca505)
$(call AddDepends/camera-gspca)
endef
TITLE:=spca506 webcam support
KCONFIG:=CONFIG_USB_GSPCA_SPCA506
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca506.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca506)
+ AUTOLOAD:=$(call AutoProbe,gspca_spca506)
$(call AddDepends/camera-gspca)
endef
TITLE:=spca508 webcam support
KCONFIG:=CONFIG_USB_GSPCA_SPCA508
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca508.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca508)
+ AUTOLOAD:=$(call AutoProbe,gspca_spca508)
$(call AddDepends/camera-gspca)
endef
TITLE:=spca561 webcam support
KCONFIG:=CONFIG_USB_GSPCA_SPCA561
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_spca561.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_spca561)
+ AUTOLOAD:=$(call AutoProbe,gspca_spca561)
$(call AddDepends/camera-gspca)
endef
TITLE:=sq905 webcam support
KCONFIG:=CONFIG_USB_GSPCA_SQ905
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sq905.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sq905)
+ AUTOLOAD:=$(call AutoProbe,gspca_sq905)
$(call AddDepends/camera-gspca)
endef
TITLE:=sq905c webcam support
KCONFIG:=CONFIG_USB_GSPCA_SQ905C
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sq905c.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sq905c)
+ AUTOLOAD:=$(call AutoProbe,gspca_sq905c)
$(call AddDepends/camera-gspca)
endef
TITLE:=stk014 webcam support
KCONFIG:=CONFIG_USB_GSPCA_STK014
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_stk014.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_stk014)
+ AUTOLOAD:=$(call AutoProbe,gspca_stk014)
$(call AddDepends/camera-gspca)
endef
TITLE:=sunplus webcam support
KCONFIG:=CONFIG_USB_GSPCA_SUNPLUS
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_sunplus.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_sunplus)
+ AUTOLOAD:=$(call AutoProbe,gspca_sunplus)
$(call AddDepends/camera-gspca)
endef
TITLE:=t613 webcam support
KCONFIG:=CONFIG_USB_GSPCA_T613
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_t613.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_t613)
+ AUTOLOAD:=$(call AutoProbe,gspca_t613)
$(call AddDepends/camera-gspca)
endef
TITLE:=tv8532 webcam support
KCONFIG:=CONFIG_USB_GSPCA_TV8532
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_tv8532.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_tv8532)
+ AUTOLOAD:=$(call AutoProbe,gspca_tv8532)
$(call AddDepends/camera-gspca)
endef
TITLE:=vc032x webcam support
KCONFIG:=CONFIG_USB_GSPCA_VC032X
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_vc032x.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_vc032x)
+ AUTOLOAD:=$(call AutoProbe,gspca_vc032x)
$(call AddDepends/camera-gspca)
endef
TITLE:=zc3xx webcam support
KCONFIG:=CONFIG_USB_GSPCA_ZC3XX
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_zc3xx.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_zc3xx)
+ AUTOLOAD:=$(call AutoProbe,gspca_zc3xx)
$(call AddDepends/camera-gspca)
endef
TITLE:=m5602 webcam support
KCONFIG:=CONFIG_USB_M5602
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/m5602/gspca_m5602.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_m5602)
+ AUTOLOAD:=$(call AutoProbe,gspca_m5602)
$(call AddDepends/camera-gspca)
endef
TITLE:=stv06xx webcam support
KCONFIG:=CONFIG_USB_STV06XX
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/stv06xx/gspca_stv06xx.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_stv06xx)
+ AUTOLOAD:=$(call AutoProbe,gspca_stv06xx)
$(call AddDepends/camera-gspca)
endef
TITLE:=gl860 webcam support
KCONFIG:=CONFIG_USB_GL860
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gl860/gspca_gl860.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_gl860)
+ AUTOLOAD:=$(call AutoProbe,gspca_gl860)
$(call AddDepends/camera-gspca)
endef
TITLE:=jeilinj webcam support
KCONFIG:=CONFIG_USB_GSPCA_JEILINJ
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_jeilinj.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_jeilinj)
+ AUTOLOAD:=$(call AutoProbe,gspca_jeilinj)
$(call AddDepends/camera-gspca)
endef
TITLE:=konica webcam support
KCONFIG:=CONFIG_USB_GSPCA_KONICA
FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_USB_DIR)/gspca/gspca_konica.ko
- AUTOLOAD:=$(call AutoLoad,75,gspca_konica)
+ AUTOLOAD:=$(call AutoProbe,gspca_konica)
$(call AddDepends/camera-gspca)
endef