Şimdi Ara

Pardus ve kamera

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
3 Misafir (1 Mobil) - 2 Masaüstü1 Mobil
5 sn
10
Cevap
0
Favori
697
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • Merhaba,
    Benim bir web kameram var.Fly wc-oml 300.Ben bu kamerayı bir türlü tanıtamadım.

    usb 4-2: new full speed USB device using uhci_hcd and address 2
    usb 4-2: new device found, idVendor=05a9, idProduct=4519
    usb 4-2: new device strings: Mfr=1, Product=2, SerialNumber=0
    usb 4-2: Product: USB Camera
    usb 4-2: Manufacturer: OmniVision Technologies, Inc.
    usb 4-2: configuration #1 chosen from 1 choice


    Sizin de gördüğünüz gibi dmesg çıktısında kamera tanınmış olarak görünüyor.Ama bir türlü amsn veya kopete ile açamıyorum.Netten driverlarını indirdim.Derlerken make komutunda hata veriyor.Bu driverları nasıl kurabilirim.Yardımcı olursanız sevinirim.



  • Derlerken aldığın hata nedir acaba? "make" den önce "./configure" denediniz mi? Eğer kaynak kod "configure" dosyası barındırıyorsa önce bunu çalıştırın.
  • make[2]: *** [/home/ilkin/ov51x-1.65-1.12-mark/ov51x.o] Hata 1
    make[1]: *** [_module_/home/ilkin/ov51x-1.65-1.12-mark] Hata 2
    make[1]: `/usr/src/linux-2.6.18.6-71' dizininden çıkılıyor
    make: *** [all] Hata 2

    Böyle bir hata alıyorum.
  • Bu hata açıklayıcı değil, tam çıktıyı koyabilir misiniz?
  • make -C /lib/modules/2.6.18.6-71/build M=/home/ilkin/ov51x-1.65-1.12-mark modules
    make[1]:`/usr/src/linux-2.6.18.6-71' dizinine giriliyor
    CC [M] /home/ilkin/ov51x-1.65-1.12-mark/ov51x.o
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:207: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:207: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:207: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:207: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:209: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:209: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:209: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:209: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:211: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:211: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:211: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:211: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:213: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:213: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:213: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:213: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:216: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:216: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:216: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:216: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:220: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:220: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:220: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:220: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:223: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:223: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:223: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:223: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:227: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:227: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:227: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:227: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:229: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:229: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:229: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:229: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:231: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:231: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:231: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:231: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:234: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:234: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:234: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:234: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:236: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:236: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:236: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:236: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:239: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:239: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:239: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:239: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:242: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:242: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:242: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:242: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:244: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:244: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:244: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:244: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:246: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:246: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:246: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:246: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:248: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:248: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:248: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:248: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:250: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:250: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:250: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:250: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:252: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:252: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:252: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:252: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:254: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:254: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:254: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:254: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:256: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:256: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:256: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:256: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:258: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:258: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:258: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:258: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:260: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:260: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:260: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:260: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:262: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:262: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:262: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:262: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:264: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:264: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:264: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:264: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:267: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:267: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:267: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:267: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:270: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:270: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:270: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:270: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:272: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:272: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:272: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:272: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:274: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:274: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:274: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:274: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:276: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:276: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:276: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:276: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:278: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:278: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:278: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:278: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:280: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:280: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:280: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:280: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:282: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:282: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:282: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:282: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:285: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:285: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:285: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:285: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:288: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:288: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:288: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:288: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:290: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:290: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:290: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:290: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:292: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:292: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:292: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:292: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:294: error: syntax error before string constant
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:294: warning: type defaults to `int' in declaration of `MODULE_PARM'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:294: warning: function declaration isn't a prototype
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:294: warning: data definition has no type or storage class
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c: In function `ov51x_v4l1_open':
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:5705: error: implicit declaration of function `video_devdata'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:5705: warning: initialization makes pointer from integer without a cast
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:5707: error: implicit declaration of function `video_get_drvdata'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:5707: warning: initialization makes pointer from integer without a cast
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c: In function `ov51x_v4l1_close':
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:5784: warning: initialization makes pointer from integer without a cast
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c: In function `ov51x_v4l1_ioctl_internal':
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:5842: warning: initialization makes pointer from integer without a cast
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6246: error: dereferencing pointer to incomplete type
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c: In function `ov51x_v4l1_ioctl':
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6358: warning: initialization makes pointer from integer without a cast
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6364: error: implicit declaration of function `video_usercopy'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c: In function `ov51x_v4l1_read':
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6384: warning: initialization makes pointer from integer without a cast
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c: In function `ov51x_v4l1_mmap':
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6554: warning: initialization makes pointer from integer without a cast
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c: At top level:
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6625: error: variable `vdev_template' has initializer but incomplete type
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6626: error: unknown field `owner' specified in initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6626: warning: excess elements in struct initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6626: warning: (near initialization for `vdev_template')
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6627: error: unknown field `name' specified in initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6627: warning: excess elements in struct initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6627: warning: (near initialization for `vdev_template')
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6628: error: unknown field `type' specified in initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6628: warning: excess elements in struct initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6628: warning: (near initialization for `vdev_template')
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6629: error: unknown field `hardware' specified in initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6629: warning: excess elements in struct initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6629: warning: (near initialization for `vdev_template')
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6630: error: unknown field `fops' specified in initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6630: warning: excess elements in struct initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6630: warning: (near initialization for `vdev_template')
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6632: error: unknown field `release' specified in initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6632: error: `video_device_release' undeclared here (not in a function)
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6632: warning: excess elements in struct initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6632: warning: (near initialization for `vdev_template')
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6634: error: unknown field `minor' specified in initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6634: warning: excess elements in struct initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6634: warning: (near initialization for `vdev_template')
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c: In function `ov51x_probe':
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8298: error: implicit declaration of function `video_device_alloc'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8298: warning: assignment makes pointer from integer without a cast
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8302: error: dereferencing pointer to incomplete type
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8302: error: dereferencing pointer to incomplete type
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8302: error: dereferencing pointer to incomplete type
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8304: error: dereferencing pointer to incomplete type
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8306: error: implicit declaration of function `video_set_drvdata'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8314: error: implicit declaration of function `video_register_device'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8314: error: `VFL_TYPE_GRABBER' undeclared (first use in this function)
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8314: error: (Each undeclared identifier is reported only once
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8314: error: for each function it appears in.)
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8321: error: dereferencing pointer to incomplete type
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8331: error: dereferencing pointer to incomplete type
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8354: error: dereferencing pointer to incomplete type
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8355: error: implicit declaration of function `video_device_release'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8357: error: implicit declaration of function `video_unregister_device'
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c: At top level:
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8464: error: unknown field `owner' specified in initializer
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:8464: warning: initialization from incompatible pointer type
    /home/ilkin/ov51x-1.65-1.12-mark/ov51x.c:6625: error: storage size of `vdev_template' isn't known
    make[2]: *** [/home/ilkin/ov51x-1.65-1.12-mark/ov51x.o] Hata 1
    make[1]: *** [_module_/home/ilkin/ov51x-1.65-1.12-mark] Hata 2
    make[1]: `/usr/src/linux-2.6.18.6-71' dizininden çıkılıyor
    make: *** [all] Hata 2




  • Kod hatası gibi geliyor bana ama bu da saçma. Pardus e-posta listelerine sorarsanız daha iyi yardım alırsınız.
  • Umarım yardımcı olur.
    --------------------------------------
    OV511 Installation Instructions:

    * Instrucciones para la instalación en Español (por Paco Aldarias Raya): html | pdf | tex

    Before you start:

    Many kernels and Linux distributions already come with ov511 preinstalled. To check whether it is installed, run "modprobe ov511" as root. If you don't get any errors, then the driver is already installed. Skip to the "Loading and Using the Driver" section below.

    These built-in drivers usually work, but may not be the most recent version. You may need to install a more recent driver if:

    * You want to use an OV518 camera (Creative WebCam Mini, model PD0040 or Philips PCVC720K). Note: These cameras REQUIRE the ov518_decomp module to be loaded.
    * You want to use compression support for higher frame rates (requires version 1.41)
    * You have a device that is not supported by older drivers (Lifeview CapView, camera with OV6620 sensor, etc...)
    * You enjoy having the latest version of everything :-)

    Installing the driver:

    1. Make sure you have a compiler and kernel source that matches your currently running kernel.
    2. Be sure that your kernel supports USB. If it doesn't, see my kernel installation instructions.
    3. Download the latest driver.
    4. Decompress it. For example, "tar xvzf ov511-1.58.tar.gz".
    5. Change to the directory that got created, e.g. "cd ov511-1.58 ".
    6. Run "make". If you get errors about include files, edit Makefile and set "INCLUDEDIR=/path_to_kernel_source/include".
    7. If you have a 2.4 or 2.5 kernel, run "make install". That will list the available install options for your kernel. Run whichever one matches your kernel best.

    Loading and using the driver:

    1. Become root. Eg: "su -"
    2. Load USB support:
    1. See which type of USB controller you have with "lspci".
    2. For UHCI controllers, either "modprobe usb-uhci" OR "modprobe uhci". They are equivalent, but one might work better for you than the other.
    3. For OHCI controllers, "modprobe usb-ohci".
    4. If these modules don't exist, it's possible that USB is built into your kernel. Also, on 2.5 kernels, the drivers are called uhci-hcd and ohci-hcd.
    3. Make sure that USB is working: Check that /proc/bus/usb/devices exists and contains data. If it doesn't exist, don't worry: "Preliminary USB device filesystem" is probably not enabled in your kernel config, or usbdevfs isn't mounted. This won't affect the ov511 driver, but it makes problems harder to diagnose.
    4. Load ov511: "modprobe ov511". This should also automatically load the "videodev" (Video4Linux) module if you have one.
    5. Make sure the driver is working: When you run the "dmesg" command, you should see some messages from ov511 telling you which kind of bridge and sensor chips your camera uses. If you see errors from ov511, report them to me.
    6. Check that /dev/video0 exists. If it doesn't, you can create it with "mknod /dev/video0 c 81 0 ". If you have another video device, you camera might be on /dev/video1 (change the last argument to mknod to 1 in that case).
    7. Some applications look for the device at /dev/video . In some operating systems (e.g. RedHat 7.1), /dev/video might be a directory and not a device node or a symbolic link. You will have to manually specify the device as /dev/video0 when you use your video application.
    8. Give users (besides root) permission to use the camera. This requires read and write access to /dev/video0 . You can grant this permission with "chmod 666 /dev/video0 ". If you don't want everyone on your system to be able to use the camera, use the "chown" command instead to make /dev/video0 belong to you.
    9. Download an application fromhttp://alpha.dyndns.org/ov511/apps.html and test it. I recommend Xawtv and Vidcat. (Note: vidcat might not work on cameras with OV6620 or OV6630 sensors).

    Using Compression Support:

    This information is only valid for the stable driver series (1.xx). For 2.xx drivers, please see the README that comes with the driver.

    Compression support will give you better frame rates with OV511 cameras, and is REQUIRED with OV518 cameras. It requires lots of CPU power, and reduces the image quality somewhat, though. If you want/need it, do the following:

    (NOTE: for OV518 cameras, substitute ov518_decomp for ov511_decomp )

    1. Make sure you installed the latest driver using the above instructions. The driver that comes with kernels and operating systems by default has no compression support.
    2. Add the following line to your /etc/modules.conf . This will load the decompressor after ov511 is loaded, and unload the decompressor before ov511 is unloaded:

    above ov511 ov511_decomp

    3. If you want compression enabled by default all of the time, add the following line to /etc/modules.conf:

    options ov511 compress=1

    4. Load ov511.If you didn't make compression the default in /etc/modules.conf , load it with the compress=1 option (modprobe ov511 compress=1). If it is already loaded, remove it first with " rmmod ov511"
    5. When you unload ov511, you must do it with modprobe (modprobe -r ov511). With rmmod, you will get "ov511: Device or resource busy", since it doesn't remove ov511_decomp automatically.


    Please send any corrections to this page to mark@alpha.dyndns.org




  • Peki kamerayı nası başlatıcam
  • lsmod ile ov511 modülü yüklenmiş olarak gözükmesi gerek. Kalan kısmını bilmiyorum. Şu ana kadar ihtiyacım olmadı. Ama çalıştıracağın program otomatik görür belki???
  • Sorunu çözdüm.Depoya giren ov51x paketini kurmamla görüntü almam bir oldu.

    @rahjman yanılmıyorsam sende de aynı kamera var.Sende yüklesen iyi olur.
  • 
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.