Web-kamera – majdnem működik

Kezdőlap Fórumok Egyéb perifériák (HID) Web-kamera – majdnem működik

10 bejegyzés megtekintése - 11-20 / 39
  • Szerző
    Bejegyzés
  • #2176479
    tothaa
    Felhasználó

      Csináltam egy újabb kernelt, de azzal a KOPETE-nek sincs képe :-(, se drivert nem lehet kiválasztani neki…
      – valamit kifelejtettem?

      Egyelőre nem akar lefordulni a sn9c1xx….:

      Uhura:/usr/src/sn9c1xx-1.48# make modules
      **************************************************************************
      * Building Video4Linux2 driver v1.48 for SN9C1xx PC Camera Controllers…*
      * Official Linux 2.6.19 is the minimum version for this driver.          *
      * Read the documentation „sn9c102.txt” for more informations.            *
      * Type „make help” for a list of available targets.                      *
      **************************************************************************

      make -C /lib/modules/`uname -r`/build M=/usr/src/sn9c1xx-1.48 modules
      make[1]: Entering directory `/usr/src/linux-2.6.27.7′
        CC [M]  /usr/src/sn9c1xx-1.48/sn9c102_core.o
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1033: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1033: warning: its scope is only this definition or declaration, which is probably not what you want
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_show_reg’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1041: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1041: warning: type defaults to ‘int’ in declaration of ‘__mptr’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1041: warning: initialization from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1041: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1057: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_reg’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1066: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1066: warning: type defaults to ‘int’ in declaration of ‘__mptr’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1066: warning: initialization from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1066: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1090: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_show_val’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1099: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1099: warning: type defaults to ‘int’ in declaration of ‘__mptr’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1099: warning: initialization from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1099: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1122: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_val’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1132: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1132: warning: type defaults to ‘int’ in declaration of ‘__mptr’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1132: warning: initialization from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1132: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1161: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_show_i2c_reg’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1169: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1169: warning: type defaults to ‘int’ in declaration of ‘__mptr’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1169: warning: initialization from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1169: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1187: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_i2c_reg’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1196: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1196: warning: type defaults to ‘int’ in declaration of ‘__mptr’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1196: warning: initialization from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1196: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1220: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_show_i2c_val’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1229: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1229: warning: type defaults to ‘int’ in declaration of ‘__mptr’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1229: warning: initialization from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1229: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1257: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_i2c_val’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1267: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1267: warning: type defaults to ‘int’ in declaration of ‘__mptr’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1267: warning: initialization from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1267: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1302: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_green’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1313: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1313: warning: type defaults to ‘int’ in declaration of ‘__mptr’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1313: warning: initialization from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1313: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1333: warning: passing argument 1 of ‘sn9c102_store_reg’ from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1334: warning: passing argument 1 of ‘sn9c102_store_val’ from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1341: warning: passing argument 1 of ‘sn9c102_store_reg’ from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1342: warning: passing argument 1 of ‘sn9c102_store_val’ from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1351: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_blue’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1361: warning: passing argument 1 of ‘sn9c102_store_reg’ from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1362: warning: passing argument 1 of ‘sn9c102_store_val’ from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1369: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_red’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1379: warning: passing argument 1 of ‘sn9c102_store_reg’ from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1380: warning: passing argument 1 of ‘sn9c102_store_val’ from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1386: warning: ‘struct class_device’ declared inside parameter list
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_show_frame_header’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1391: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1391: warning: type defaults to ‘int’ in declaration of ‘__mptr’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1391: warning: initialization from incompatible pointer type
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1391: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1405: error: expected ‘)’ before ‘(’ token
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1407: error: expected ‘)’ before ‘(’ token
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1409: error: expected ‘)’ before ‘(’ token
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1411: error: expected ‘)’ before ‘(’ token
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1413: error: expected ‘)’ before ‘(’ token
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1414: error: expected ‘)’ before ‘(’ token
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1415: error: expected ‘)’ before ‘(’ token
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1416: error: expected ‘)’ before ‘(’ token
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_create_sysfs’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1422: error: ‘struct video_device’ has no member named ‘class_dev’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1425: error: implicit declaration of function ‘class_device_create_file’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1425: error: ‘class_device_attr_reg’ undeclared (first use in this function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1425: error: (Each undeclared identifier is reported only once
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1425: error: for each function it appears in.)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1427: error: ‘class_device_attr_val’ undeclared (first use in this function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1430: error: ‘class_device_attr_frame_header’ undeclared (first use in this function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1435: error: ‘class_device_attr_i2c_reg’ undeclared (first use in this function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1438: error: ‘class_device_attr_i2c_val’ undeclared (first use in this function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1444: error: ‘class_device_attr_green’ undeclared (first use in this function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1448: error: ‘class_device_attr_blue’ undeclared (first use in this function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1451: error: ‘class_device_attr_red’ undeclared (first use in this function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:1458: error: implicit declaration of function ‘class_device_remove_file’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_ioctl’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:3191: error: implicit declaration of function ‘v4l_print_ioctl’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:3207: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_usb_probe’:
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:3300: error: ‘struct video_device’ has no member named ‘owner’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:3301: error: ‘struct video_device’ has no member named ‘type’
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:3301: error: ‘VID_TYPE_CAPTURE’ undeclared (first use in this function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:3301: error: ‘VID_TYPE_SCALES’ undeclared (first use in this function)
      /usr/src/sn9c1xx-1.48/sn9c102_core.c:3302: error: ‘struct video_device’ has no member named ‘hardware’
      make[2]: *** [/usr/src/sn9c1xx-1.48/sn9c102_core.o] Error 1
      make[1]: *** [_module_/usr/src/sn9c1xx-1.48] Error 2
      make[1]: Leaving directory `/usr/src/linux-2.6.27.7′
      make: *** [modules] Error 2
      Uhura:/usr/src/sn9c1xx-1.48#

      #2176480
      tothaa
      Felhasználó

        Csináltam egy újabb kernelt, de azzal a KOPETE-nek sincs képe :-(, se drivert nem lehet kiválasztani neki…
        – valamit kifelejtettem?

        Egyelőre nem akar lefordulni a sn9c1xx….:

        Uhura:/usr/src/sn9c1xx-1.48# make modules
        **************************************************************************
        * Building Video4Linux2 driver v1.48 for SN9C1xx PC Camera Controllers…*
        * Official Linux 2.6.19 is the minimum version for this driver.          *
        * Read the documentation „sn9c102.txt” for more informations.            *
        * Type „make help” for a list of available targets.                      *
        **************************************************************************

        make -C /lib/modules/`uname -r`/build M=/usr/src/sn9c1xx-1.48 modules
        make[1]: Entering directory `/usr/src/linux-2.6.27.7′
          CC [M]  /usr/src/sn9c1xx-1.48/sn9c102_core.o
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1033: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1033: warning: its scope is only this definition or declaration, which is probably not what you want
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_show_reg’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1041: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1041: warning: type defaults to ‘int’ in declaration of ‘__mptr’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1041: warning: initialization from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1041: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1057: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_reg’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1066: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1066: warning: type defaults to ‘int’ in declaration of ‘__mptr’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1066: warning: initialization from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1066: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1090: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_show_val’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1099: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1099: warning: type defaults to ‘int’ in declaration of ‘__mptr’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1099: warning: initialization from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1099: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1122: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_val’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1132: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1132: warning: type defaults to ‘int’ in declaration of ‘__mptr’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1132: warning: initialization from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1132: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1161: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_show_i2c_reg’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1169: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1169: warning: type defaults to ‘int’ in declaration of ‘__mptr’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1169: warning: initialization from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1169: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1187: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_i2c_reg’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1196: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1196: warning: type defaults to ‘int’ in declaration of ‘__mptr’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1196: warning: initialization from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1196: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1220: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_show_i2c_val’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1229: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1229: warning: type defaults to ‘int’ in declaration of ‘__mptr’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1229: warning: initialization from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1229: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1257: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_i2c_val’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1267: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1267: warning: type defaults to ‘int’ in declaration of ‘__mptr’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1267: warning: initialization from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1267: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1302: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_green’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1313: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1313: warning: type defaults to ‘int’ in declaration of ‘__mptr’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1313: warning: initialization from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1313: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1333: warning: passing argument 1 of ‘sn9c102_store_reg’ from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1334: warning: passing argument 1 of ‘sn9c102_store_val’ from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1341: warning: passing argument 1 of ‘sn9c102_store_reg’ from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1342: warning: passing argument 1 of ‘sn9c102_store_val’ from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1351: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_blue’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1361: warning: passing argument 1 of ‘sn9c102_store_reg’ from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1362: warning: passing argument 1 of ‘sn9c102_store_val’ from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1369: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_store_red’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1379: warning: passing argument 1 of ‘sn9c102_store_reg’ from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1380: warning: passing argument 1 of ‘sn9c102_store_val’ from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1386: warning: ‘struct class_device’ declared inside parameter list
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_show_frame_header’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1391: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1391: warning: type defaults to ‘int’ in declaration of ‘__mptr’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1391: warning: initialization from incompatible pointer type
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1391: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1405: error: expected ‘)’ before ‘(’ token
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1407: error: expected ‘)’ before ‘(’ token
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1409: error: expected ‘)’ before ‘(’ token
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1411: error: expected ‘)’ before ‘(’ token
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1413: error: expected ‘)’ before ‘(’ token
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1414: error: expected ‘)’ before ‘(’ token
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1415: error: expected ‘)’ before ‘(’ token
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1416: error: expected ‘)’ before ‘(’ token
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_create_sysfs’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1422: error: ‘struct video_device’ has no member named ‘class_dev’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1425: error: implicit declaration of function ‘class_device_create_file’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1425: error: ‘class_device_attr_reg’ undeclared (first use in this function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1425: error: (Each undeclared identifier is reported only once
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1425: error: for each function it appears in.)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1427: error: ‘class_device_attr_val’ undeclared (first use in this function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1430: error: ‘class_device_attr_frame_header’ undeclared (first use in this function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1435: error: ‘class_device_attr_i2c_reg’ undeclared (first use in this function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1438: error: ‘class_device_attr_i2c_val’ undeclared (first use in this function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1444: error: ‘class_device_attr_green’ undeclared (first use in this function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1448: error: ‘class_device_attr_blue’ undeclared (first use in this function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1451: error: ‘class_device_attr_red’ undeclared (first use in this function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:1458: error: implicit declaration of function ‘class_device_remove_file’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_ioctl’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:3191: error: implicit declaration of function ‘v4l_print_ioctl’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: At top level:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:3207: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c: In function ‘sn9c102_usb_probe’:
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:3300: error: ‘struct video_device’ has no member named ‘owner’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:3301: error: ‘struct video_device’ has no member named ‘type’
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:3301: error: ‘VID_TYPE_CAPTURE’ undeclared (first use in this function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:3301: error: ‘VID_TYPE_SCALES’ undeclared (first use in this function)
        /usr/src/sn9c1xx-1.48/sn9c102_core.c:3302: error: ‘struct video_device’ has no member named ‘hardware’
        make[2]: *** [/usr/src/sn9c1xx-1.48/sn9c102_core.o] Error 1
        make[1]: *** [_module_/usr/src/sn9c1xx-1.48] Error 2
        make[1]: Leaving directory `/usr/src/linux-2.6.27.7′
        make: *** [modules] Error 2
        Uhura:/usr/src/sn9c1xx-1.48#

        #2176481
        gabaman
        Felhasználó
          tothaa wrote:
          – valamit kifelejtettem?

          Egyelőre nem akar lefordulni a sn9c1xx….:

          (…)

          make[1]: Entering directory `/usr/src/linux-2.6.27.7′

          A modul integrálva van a 2.6.19 óta, sn9c102-nak hívják. Mellesleg az API szinte mindegyik verzióban változik, Linus szerint jól van ez így, ezért  nem fordul le a modul.

          Itt a commit:
          http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f423b9a86a6dd3d2bc08d78f4d21525a14c40a6b

          Itt meg az azóta történt összes változás:
          http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git&a=search&h=HEAD&st=commit&s=sn9c102

          Próbáld meg feltenni a gspca meghajtót is, átpakoltak oda néhány dolgot az eredeti meghajtóból.

          #2176482
          gabaman
          Felhasználó
            tothaa wrote:
            – valamit kifelejtettem?

            Egyelőre nem akar lefordulni a sn9c1xx….:

            (…)

            make[1]: Entering directory `/usr/src/linux-2.6.27.7′

            A modul integrálva van a 2.6.19 óta, sn9c102-nak hívják. Mellesleg az API szinte mindegyik verzióban változik, Linus szerint jól van ez így, ezért  nem fordul le a modul.

            Itt a commit:
            http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f423b9a86a6dd3d2bc08d78f4d21525a14c40a6b

            Itt meg az azóta történt összes változás:
            http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git&a=search&h=HEAD&st=commit&s=sn9c102

            Próbáld meg feltenni a gspca meghajtót is, átpakoltak oda néhány dolgot az eredeti meghajtóból.

            #2176483
            GegSite
            Felhasználó

              Fura módon nekem sincs kép camoramában, de csak ott nem, le is töröltem.
              Használj helyette cheese (csííz), azzal lehet fényképezni, s videózni is.

              kicsit más: Valakinek működik normálisan a Youtube QuickCapture-je?
              Mert nekem az előnézetnél minden jó, de amikor megnyomom a felvételt a kép megáll, s csak a hangot veszi fel.

              u.i.: Valaki mondjon egy GPL-es okos videószerkesztőt ami normálisan működik, még tudna webcameráról felvenni mégjobb lenne (ogv el is).

              #2176484
              GegSite
              Felhasználó

                Fura módon nekem sincs kép camoramában, de csak ott nem, le is töröltem.
                Használj helyette cheese (csííz), azzal lehet fényképezni, s videózni is.

                kicsit más: Valakinek működik normálisan a Youtube QuickCapture-je?
                Mert nekem az előnézetnél minden jó, de amikor megnyomom a felvételt a kép megáll, s csak a hangot veszi fel.

                u.i.: Valaki mondjon egy GPL-es okos videószerkesztőt ami normálisan működik, még tudna webcameráról felvenni mégjobb lenne (ogv el is).

                #2176485
                Soltan
                Felhasználó

                  GegSite :Valaki mondjon egy GPL-es okos videószerkesztőt ami normálisan működik, még tudna webcameráról felvenni mégjobb lenne (ogv el is).

                  Hát én videoszerkesztésre az avidemuxot használom egyszerű ki program de a hibája neki, hogy nem tud felvenni webkameráról. Én felvenni a mencodert használom, nagyon sokoldalú és jól paraméterezhető program.

                  #2176486
                  Soltan
                  Felhasználó

                    GegSite :Valaki mondjon egy GPL-es okos videószerkesztőt ami normálisan működik, még tudna webcameráról felvenni mégjobb lenne (ogv el is).

                    Hát én videoszerkesztésre az avidemuxot használom egyszerű ki program de a hibája neki, hogy nem tud felvenni webkameráról. Én felvenni a mencodert használom, nagyon sokoldalú és jól paraméterezhető program.

                    #2176487
                    pkristof
                    Felhasználó

                      Sziasztok!

                      Tud valaki segíteni? Sn9c201 kamera nem ad képet 11.0 Suse alatt. Felraktam a Suse megfeleló kernelmodulját, megtalálja a /dev/video0 -t és kép nincs. Igazából a Skype-hoz kellene.
                      lsmod kimenete:
                      Module                  Size      Used by
                      sn9c20x                88608    0
                      compat_ioctl32      25984    1 sn9c20x
                      videodev                52096    2 sn9c20x,compat_ioctl32
                      v4l1_compat          29444    1 videodev

                      xawtv -hwscan kimenete:
                      This is xawtv-3.95, running on Linux/x86_64 (2.6.25.20-0.1-default)
                      looking for available devices
                      port 280-311
                          type : Xvideo, image scaler
                          name : NV17 Video Texture

                      /dev/video0: OK                        [ -device /dev/video0 ]
                          type : v4l2
                          name : SN9C20x USB 2.0 Webcam Driver
                          flags:  capture

                      skype kimenete:
                      Skype V4L2: Could not find a suitable capture format
                      Skype V4L2: Could not find a suitable capture format
                      Starting the process…
                      Skype Xv: Xv ports available: 32
                      Skype XShm: XShm support enabled
                      Skype Xv: Using Xv port 280
                      Skype Xv: No suitable overlay format found

                      Mit rontottam el, vagy mi hiányzik még? Segítségeteket előre is köszönöm.

                      #2176488
                      pkristof
                      Felhasználó

                        Sziasztok!

                        Tud valaki segíteni? Sn9c201 kamera nem ad képet 11.0 Suse alatt. Felraktam a Suse megfeleló kernelmodulját, megtalálja a /dev/video0 -t és kép nincs. Igazából a Skype-hoz kellene.
                        lsmod kimenete:
                        Module                  Size      Used by
                        sn9c20x                88608    0
                        compat_ioctl32      25984    1 sn9c20x
                        videodev                52096    2 sn9c20x,compat_ioctl32
                        v4l1_compat          29444    1 videodev

                        xawtv -hwscan kimenete:
                        This is xawtv-3.95, running on Linux/x86_64 (2.6.25.20-0.1-default)
                        looking for available devices
                        port 280-311
                            type : Xvideo, image scaler
                            name : NV17 Video Texture

                        /dev/video0: OK                        [ -device /dev/video0 ]
                            type : v4l2
                            name : SN9C20x USB 2.0 Webcam Driver
                            flags:  capture

                        skype kimenete:
                        Skype V4L2: Could not find a suitable capture format
                        Skype V4L2: Could not find a suitable capture format
                        Starting the process…
                        Skype Xv: Xv ports available: 32
                        Skype XShm: XShm support enabled
                        Skype Xv: Using Xv port 280
                        Skype Xv: No suitable overlay format found

                        Mit rontottam el, vagy mi hiányzik még? Segítségeteket előre is köszönöm.

                      10 bejegyzés megtekintése - 11-20 / 39
                      • Be kell jelentkezni a hozzászóláshoz.