insmod videodev
insmod pwc
然后就打开/dev/video0或者video1设备
从里面read出来就是图象数据
至于什么格式可以用ioctl取出来
luther@gliethttp:~$ modprobe -l|grep video 查询内核当前支持的video模块
/lib/modules/2.6.27-7-generic/kernel/drivers/video/tridentfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/sm501fb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/s1d13xxxfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/fb_sys_fops.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/pm3fb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/sstfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/nvidia/nvidiafb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/fb_ddc.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/tdfxfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/arcfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/cyber2000fb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/backlight/corgi_bl.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/backlight/progear_bl.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/backlight/ltv350qv.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/backlight/platform_lcd.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/backlight/ili9320.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/backlight/mbp_nvidia_bl.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/backlight/cr_bllcd.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/backlight/vgg2432a4.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/backlight/lcd.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/svgalib.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/syscopyarea.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/s3fb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/neofb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/console/tileblit.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/console/softcursor.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/console/mdacon.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/console/font.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/console/fbcon.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/console/bitblit.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/savage/savagefb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/macmodes.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/vgastate.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/aty/atyfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/aty/radeonfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/aty/aty128fb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/sysimgblt.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/vt8623fb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/vermilion/crvml.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/vermilion/vmlfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/kyro/kyrofb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/sis/sisfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/cirrusfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/intelfb/intelfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/sysfillrect.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/hecubafb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/display/display.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/uvesafb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/vga16fb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/matrox/i2c-matroxfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/matrox/matroxfb_accel.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/matrox/matroxfb_base.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/matrox/matroxfb_crtc2.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/matrox/matroxfb_misc.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/matrox/matroxfb_DAC1064.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/matrox/g450_pll.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/matrox/matroxfb_maven.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/matrox/matroxfb_Ti3026.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/matrox/matroxfb_g450.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/pm2fb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/arkfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/hgafb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/cyblafb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/geode/gx1fb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/geode/gxfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/geode/lxfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/output.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/riva/rivafb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/carminefb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/video/i810/i810fb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/ieee1394/video1394.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/zr364xx.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx23885/cx23885.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cpia_pp.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/se401.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/zr36067.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/tvaudio.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/tveeprom.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/bw-qcam.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/c-qcam.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/vp27smpx.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/tda9875.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/em28xx/em28xx.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/em28xx/em28xx-dvb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/em28xx/em28xx-alsa.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cafe_ccic.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/zc0301/zc0301.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/videocodec.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx18/cx18.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/v4l1-compat.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/tea6420.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/msp3400.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/videobuf-dma-contig.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/bt856.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx88/cx88-vp3054-i2c.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx88/cx88-blackbird.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx88/cx88-dvb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx88/cx8800.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx88/cx88xx.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx88/cx8802.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx88/cx88-alsa.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/stradis.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/ivtv/ivtvfb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/ivtv/ivtv.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx2341x.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/videobuf-core.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/tda7432.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa5249.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/sh_mobile_ceu_camera.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7111.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cpia_usb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/upd64083.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/dpc7146.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/bt8xx/bttv.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/usbvideo/ibmcam.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/usbvideo/usbvideo.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/usbvideo/konicawc.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/usbvideo/ultracam.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/usbvideo/vicam.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/usbvideo/quickcam_messenger.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/compat_ioctl32.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7127.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/meye.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/v4l2-common.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa6588.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/s2255drv.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/pwc/pwc.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/zr36060.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/m52790.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/adv7175.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cpia.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/videobuf-vmalloc.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/wm8775.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7115.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7114.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/pms.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/vpx3220.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/mxb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa5246a.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_ov519.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_sonixb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_vc032x.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_main.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_pac7311.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_spca508.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_t613.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_spca561.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_etoms.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_pac207.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_spca506.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_conex.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_spca505.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_sunplus.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_zc3xx.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_stk014.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_spca500.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_sonixj.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_spca501.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_tv8532.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/gspca/gspca_mars.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/videodev.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cs53l32a.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/soc_camera.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/btcx-risc.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/pvrusb2/pvrusb2.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cs5345.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/mt9m001.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/videobuf-dma-sg.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/stv680.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/wm8739.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cx25840/cx25840.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/zr36016.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/soc_camera_platform.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/ovcamchip/ovcamchip.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/upd64031a.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/au0828/au0828.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/tuner-3036.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7134/saa6752hs.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7134/saa7134.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7134/saa7134-dvb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7134/saa7134-empress.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7134/saa7134-alsa.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/ks0127.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/usbvision/usbvision.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/w9966.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7185.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/hexium_orion.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/stkwebcam.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/hexium_gemini.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/w9968cf.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/mt9v022.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/videobuf-dvb.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/tda9840.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/tvp5150.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/tea6415c.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/cpia2/cpia2.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa7110.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/tuner.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/vivi.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/adv7170.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/v4l2-int-device.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/sn9c102/sn9c102.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/bt819.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/et61x251/et61x251.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/saa717x.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/zr36050.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/uvc/uvcvideo.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/ov7670.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/media/video/ir-kbd-i2c.ko
/lib/modules/2.6.27-7-generic/kernel/drivers/acpi/video.ko
luther@gliethttp:~$
1.usb驱动
luther@gliethttp:/vobs/works/lnx2625pxa/drivers/usb$ ls
atm core host Kconfig misc otg serial usb-skeleton.c
class gadget image Makefile mon readme storage
2.video驱动
drivers/media/video
luther@gliethttp:/vobs/works/lnx2625pxa/drivers/media/video$ ls
adv7170.c hexium_orion.c saa7110.c tea5761.h videocodec.h
adv7175.c ibmmpeg2.h saa7111.c tea5767.c videodev.c
arv.c indycam.c saa7114.c tea5767.h vino.c
bt819.c indycam.h saa7115.c tea6415c.c vino.h
bt856.c ir-kbd-i2c.c saa711x.c tea6415c.h vivi.c
bt866.c ivtv saa711x_regs.h tea6420.c vp27smpx.c
bt8xx Kconfig saa7121.h tea6420.h vpx3220.c
btcx-risc.c ks0127.c saa7127.c tlv320aic23b.c w9966.c
btcx-risc.h ks0127.h saa7134 tuner-3036.c w9968cf.c
bw-qcam.c m52790.c saa7146.h tuner-core.c w9968cf_decoder.h
bw-qcam.h Makefile saa7146reg.h tuner-driver.h w9968cf.h
cafe_ccic.c meye.c saa7185.c tuner-i2c.h w9968cf_vpp.h
cafe_ccic-regs.h meye.h saa7191.c tuner-simple.c wm8739.c
compat_ioctl32.c msp3400-driver.c saa7191.h tuner-simple.h wm8775.c
cpia2 msp3400-driver.h saa7196.h tuner-types.c zc0301
cpia.c msp3400-kthreads.c se401.c tuner-xc2028.c zoran_card.c
cpia.h mt20xx.c se401.h tuner-xc2028.h zoran_card.h
cpia_pp.c mt20xx.h sn9c102 tuner-xc2028-types.h zoran_device.c
cpia_usb.c mxb.c stk-sensor.c tvaudio.c zoran_device.h
c-qcam.c mxb.h stk-webcam.c tveeprom.c zoran_driver.c
cs5345.c ov511.c stk-webcam.h tvmixer.c zoran.h
cs53l32a.c ov511.h stradis.c tvp5150.c zoran_procfs.c
cs8420.h ov7670.c stv680.c tvp5150_reg.h zoran_procfs.h
cx2341x.c ovcamchip stv680.h upd64031a.c zr36016.c
cx23885 planb.c tcm825x.c upd64083.c zr36016.h
cx25840 planb.h tcm825x.h usbvideo zr36050.c
cx88 pms.c tda7432.c usbvision zr36050.h
dabfirmware.h pvrusb2 tda8290.c v4l1-compat.c zr36057.h
dabusb.c pwc tda8290.h v4l2-common.c zr36060.c
dabusb.h pxa2xx_v4l2ov2.c tda9840.c v4l2-int-device.c zr36060.h
dpc7146.c pxa3xx tda9840.h videobuf-core.c zr364xx.c
em28xx saa5246a.c tda9875.c videobuf-dma-sg.c
et61x251 saa5246a.h tda9887.c videobuf-dvb.c
font.h saa5249.c tda9887.h videobuf-vmalloc.c
hexium_gemini.c saa6588.c tea5761.c videocodec.c
阅读(1094) | 评论(0) | 转发(0) |