إعـــــــلان

تقليص
لا يوجد إعلان حتى الآن.

مشكلة في تشغيل الكميرا dev/video0

تقليص
X
 
  • تصفية - فلترة
  • الوقت
  • عرض
إلغاء تحديد الكل
مشاركات جديدة

  • مشكلة في تشغيل الكميرا dev/video0

    السلام عليكم

    عندي مشكله في تشغيل الكميرا مع العلم اني أتبعت خطوات تثبيت الكميرا
    وعند تنفيذ الأمر modprobe gspca
    لا يعرض اي رسالة لي و اعتقد معنى هذا انها مثبتة !! ولاكن عند تشغير أي برنامج خاص بالكميرا يعرض لي الرسالة السابقة

    فما العمل في هذه المشكله ؟؟؟

  • #2
    ما نوع الكاميرا واعطينا نتائج الامرين :

    lspci

    lsusb
    KISS Protocol - Keep It Simple, Stupid

    تعليق


    • #3
      أسم الكميرا : BisonCam

      نتيجة الأمر lspci
      00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
      00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
      00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
      00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
      00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
      00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
      00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
      00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
      00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
      00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
      00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
      00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
      00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
      00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
      00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
      00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
      00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
      02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
      05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
      05:09.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
      05:09.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
      05:09.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
      05:09.3 Generic system peripheral [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller



      ونتيجة lsusb


      Bus 005 Device 003: ID 0402:5602 ALi Corp.
      Bus 005 Device 001: ID 0000:0000
      Bus 003 Device 001: ID 0000:0000
      Bus 004 Device 001: ID 0000:0000
      Bus 001 Device 001: ID 0000:0000
      Bus 002 Device 003: ID 09da:000a A4 Tech Co., Ltd
      Bus 002 Device 001: ID 0000:0000


      مع العلم ان السطر الأول
      Bus 005 Device 003: ID 0402:5602 ALi Corp
      هو السطر الخاص بالكميرا

      تعليق


      • #4
        ثبت الدرايفر هذا uvcvideo ثم عرفه بالكرنل وانشالله تشتغل
        modprobpe uvcvideo

        تعليق


        • #5
          أخي العزيز حملت هذه الدريفير من

          ومزالت المشكلة كما هي

          و الأمر أن الجهاز قد تعرف على الكميرا ولاكن كلما أشغل أي برنامج يعرض لي نفس الرسالة

          تعليق


          • #6
            كود:
            tar xvf uvcvideo-****.tar
            cd uvcvideo
            cd trunk
            make
            make install
            depmod -ae
            modprobe uvcvideo
            اذا حصل خطأ اكتب لي الاوامر اللي كتبت والرسائل وماهو نوع توزيعتك

            تعليق


            • #7
              [email protected]:~$ tar xvf uvcvideo-52.tar.gz
              uvcvideo-52/
              uvcvideo-52/Makefile
              uvcvideo-52/v4l2_enumfrmfmt.h
              uvcvideo-52/uvcvideo.c
              uvcvideo-52/uvcvideo.h
              [email protected]:~$ cd uvcvideo-52/
              [email protected]:~/uvcvideo-52$ cd trunk
              bash: cd: trunk: No such file or directory
              [email protected]:~/uvcvideo-52$ make
              Building USB Video Class driver...
              make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
              CC [M] /home/nemo/uvcvideo-52/uvcvideo.o
              In file included from /home/nemo/uvcvideo-52/uvcvideo.c:49:
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:8: error: nested redefinition of ‘enum v4l2_frmsizetypes’
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:8: error: redeclaration of ‘enum v4l2_frmsizetypes’
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:9: error: redeclaration of enumerator ‘V4L2_FRMSIZE_TYPE_DISCRETE’
              include/linux/videodev2.h:340: error: previous definition of ‘V4L2_FRMSIZE_TYPE_DISCRETE’ was here
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:10: error: redeclaration of enumerator ‘V4L2_FRMSIZE_TYPE_CONTINUOUS’
              include/linux/videodev2.h:341: error: previous definition of ‘V4L2_FRMSIZE_TYPE_CONTINUOUS’ was here
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:11: error: redeclaration of enumerator ‘V4L2_FRMSIZE_TYPE_STEPWISE’
              include/linux/videodev2.h:342: error: previous definition of ‘V4L2_FRMSIZE_TYPE_STEPWISE’ was here
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:14: error: nested redefinition of ‘enum v4l2_frmivaltypes’
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:14: error: redeclaration of ‘enum v4l2_frmivaltypes’
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:15: error: redeclaration of enumerator ‘V4L2_FRMIVAL_TYPE_DISCRETE’
              include/linux/videodev2.h:380: error: previous definition of ‘V4L2_FRMIVAL_TYPE_DISCRETE’ was here
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:16: error: redeclaration of enumerator ‘V4L2_FRMIVAL_TYPE_CONTINUOUS’
              include/linux/videodev2.h:381: error: previous definition of ‘V4L2_FRMIVAL_TYPE_CONTINUOUS’ was here
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:17: error: redeclaration of enumerator ‘V4L2_FRMIVAL_TYPE_STEPWISE’
              include/linux/videodev2.h:382: error: previous definition of ‘V4L2_FRMIVAL_TYPE_STEPWISE’ was here
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:24: error: redefinition of ‘struct v4l2_frmsize_discrete’
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:32: error: redefinition of ‘struct v4l2_frmsize_stepwise’
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:52: error: redefinition of ‘struct v4l2_frmsizeenum’
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:73: error: redefinition of ‘struct v4l2_frmival_stepwise’
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:84: error: redefinition of ‘struct v4l2_frmivalenum’
              In file included from /home/nemo/uvcvideo-52/uvcvideo.c:49:
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:116:1: warning: "VIDIOC_ENUM_FRAMESIZES" redefined
              In file included from include/linux/videodev.h:15,
              from /home/nemo/uvcvideo-52/uvcvideo.c:38:
              include/linux/videodev2.h:1474:1: warning: this is the location of the previous definition
              In file included from /home/nemo/uvcvideo-52/uvcvideo.c:49:
              /home/nemo/uvcvideo-52/v4l2_enumfrmfmt.h:117:1: warning: "VIDIOC_ENUM_FRAMEINTERVALS" redefined
              In file included from include/linux/videodev.h:15,
              from /home/nemo/uvcvideo-52/uvcvideo.c:38:
              include/linux/videodev2.h:1475:1: warning: this is the location of the previous definition
              /home/nemo/uvcvideo-52/uvcvideo.c: In function ‘uvc_init_isoc’:
              /home/nemo/uvcvideo-52/uvcvideo.c:1555: warning: assignment from incompatible pointer type
              /home/nemo/uvcvideo-52/uvcvideo.c: In function ‘uvc_init_status’:
              /home/nemo/uvcvideo-52/uvcvideo.c:3736: warning: passing argument 6 of ‘usb_fill_int_urb’ from incompatible pointer type
              make[2]: *** [/home/nemo/uvcvideo-52/uvcvideo.o] Error 1
              make[1]: *** [_module_/home/nemo/uvcvideo-52] Error 2
              make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
              make: *** [uvcvideo] Error 2
              [email protected]:~/uvcvideo-52$ make install
              Installing USB Video Class driver...
              make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
              DEPMOD 2.6.22-14-generic
              make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
              depmod -ae
              FATAL: Could not open /lib/modules/2.6.22-14-generic/modules.dep.temp for writing: Permission denied
              make: *** [install] Error 1
              [email protected]:~/uvcvideo-52$ depmod -ae
              FATAL: Could not open /lib/modules/2.6.22-14-generic/modules.dep.temp for writing: Permission denied
              [email protected]:~/uvcvideo-52$ modprobe uvcvideo
              WARNING: Error inserting v4l2_common (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l2-common.ko): Operation not permitted
              WARNING: Error inserting v4l1_compat (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l1-compat.ko): Operation not permitted
              WARNING: Error inserting videodev (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videodev.ko): Operation not permitted
              WARNING: Error inserting compat_ioctl32 (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/compat_ioctl32.ko): Operation not permitted
              FATAL: Error inserting uvcvideo (/lib/modules/2.6.22-14-generic/ubuntu/media/usbvideo/uvcvideo.ko): Operation not permitted
              [email protected]:~/uvcvideo-52$



              والتوزيعة
              ubunto 7.10

              تعليق


              • #8
                وتم تحميل الدريفير من

                تعليق


                • #9
                  الدرايفر موجود في الاوبنتو على ما أظن اعمل عرض للمودل الموجودة عندك وبيظهر لك المودل ثم عرفه بالكرنل
                  كود:
                  modprobe -l | grep uvcvideo
                  modprobe uvcvideo

                  تعليق


                  • #10
                    طيب جرب هذا البرنامج
                    ثبته هكذا :
                    sudo apt-get install camorama

                    تعليق


                    • #11
                      أولا أشكركم على مجهودكم معي...

                      ثانيا اني جربت الأوامر و تضهر لي هذه
                      [email protected]:~$ modprobe -l | grep uvcvideo
                      /lib/modules/2.6.22-14-generic/ubuntu/media/usbvideo/uvcvideo.ko
                      [email protected]:~$ modprobe uvcvideo
                      WARNING: Error inserting v4l2_common (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l2-common.ko): Operation not permitted
                      WARNING: Error inserting v4l1_compat (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l1-compat.ko): Operation not permitted
                      WARNING: Error inserting videodev (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videodev.ko): Operation not permitted
                      WARNING: Error inserting compat_ioctl32 (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/compat_ioctl32.ko): Operation not permitted
                      FATAL: Error inserting uvcvideo (/lib/modules/2.6.22-14-generic/ubuntu/media/usbvideo/uvcvideo.ko): Operation not permitted


                      بالنسبة للبرنامج camorama
                      مثبت عندي و يعرض نفس المشكلة

                      و الذي يحيرني أني أتبعت كل الطرق و خصوصا الطرق الموجوده في منتدي يوبينتو ولاكن تضل المشكلة كما هي
                      و الفكره التي تدور في عقلي هل يمكن تغير video0 إلى أي ملف أخر ؟؟

                      تعليق


                      • #12
                        المشاركة الأصلية بواسطة Abaza مشاهدة المشاركة
                        أولا أشكركم على مجهودكم معي...

                        ثانيا اني جربت الأوامر و تضهر لي هذه
                        [email protected]:~$ modprobe -l | grep uvcvideo
                        /lib/modules/2.6.22-14-generic/ubuntu/media/usbvideo/uvcvideo.ko
                        [email protected]:~$ modprobe uvcvideo
                        WARNING: Error inserting v4l2_common (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l2-common.ko): Operation not permitted
                        WARNING: Error inserting v4l1_compat (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l1-compat.ko): Operation not permitted
                        WARNING: Error inserting videodev (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videodev.ko): Operation not permitted
                        WARNING: Error inserting compat_ioctl32 (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/compat_ioctl32.ko): Operation not permitted
                        FATAL: Error inserting uvcvideo (/lib/modules/2.6.22-14-generic/ubuntu/media/usbvideo/uvcvideo.ko): Operation not permitted


                        بالنسبة للبرنامج camorama
                        مثبت عندي و يعرض نفس المشكلة

                        و الذي يحيرني أني أتبعت كل الطرق و خصوصا الطرق الموجوده في منتدي يوبينتو ولاكن تضل المشكلة كما هي
                        و الفكره التي تدور في عقلي هل يمكن تغير video0 إلى أي ملف أخر ؟؟
                        مافي تصريح !! ماتدخل بحساب root ولا جرب هذي !!!
                        كود:
                        sudo modprobe uvcvideo

                        تعليق


                        • #13
                          تمام ولاكن لا تزال المشكله كما هي ...

                          تعليق


                          • #14
                            طيب أثناء عملية التنصيب .. عملت blacklist للدرافير ؟

                            تعليق


                            • #15
                              لا...

                              تعليق

                              يعمل...
                              X