installare driver m560x per chipset Ali Cor.
Inviato: mercoledì 7 gennaio 2009, 16:03
ciao a tutti... nel mio pc ho una webcam integrata con chipset Ali Corp. che, come tutti gli sfortunati possessori come me sapranno, non esistono driver funzionanti!!
ho trovato su source forge una versione dei driver (attualmente in fase pre-beta) che sembra che almeno faccia riconoscere la webcam al SO.
bene una volta scaricati ho provato (seguendo il file di istruzioni che c'era all'interno dei driver) a installarli ma quando mi vengono restituiti un bel pò di errori:
non riesco assolutamente a capire come risolvere il problema dato che non mi sono mai imbattuto in un errore simile e google non è stato di molto aiuto... qualcuno può darmi qualche delucidazione??
ho trovato su source forge una versione dei driver (attualmente in fase pre-beta) che sembra che almeno faccia riconoscere la webcam al SO.
bene una volta scaricati ho provato (seguendo il file di istruzioni che c'era all'interno dei driver) a installarli ma quando mi vengono restituiti un bel pò di errori:
Codice: Seleziona tutto
luca@luca-laptop:~$ cd m560x-driver/m560x/trunk/km_m560x/
luca@luca-laptop:~/m560x-driver/m560x/trunk/km_m560x$ sudo makemake -C /lib/modules/2.6.27-9-generic/build SUBDIRS=/home/luca/m560x-driver/m560x/trunk/km_m560x modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
CC [M] /home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.o
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘rvmalloc’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:73: error: implicit declaration of function ‘PAGE_ALIGN’
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:81: error: implicit declaration of function ‘SetPageReserved’
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:81: error: implicit declaration of function ‘vmalloc_to_page’
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘rvfree’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:98: error: implicit declaration of function ‘ClearPageReserved’
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘m5602_init_from_script’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:432: warning: assignment discards qualifiers from pointer target type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:434: warning: passing argument 1 of ‘script_find_section’ discards qualifiers from pointer target type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘m5603_init_from_script’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:700: warning: assignment discards qualifiers from pointer target type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:702: warning: passing argument 1 of ‘script_find_section’ discards qualifiers from pointer target type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘init_hashtab’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:901: warning: assignment discards qualifiers from pointer target type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:904: warning: passing argument 1 of ‘script_find_section’ discards qualifiers from pointer target type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: At top level:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1615: warning: ‘struct class_device’ declared inside parameter list
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1615: warning: its scope is only this definition or declaration, which is probably not what you want
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘show_model’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1615: warning: initialization from incompatible pointer type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: At top level:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1615: error: expected ‘)’ before ‘(’ token
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1616: warning: ‘struct class_device’ declared inside parameter list
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘show_in_use’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1616: warning: initialization from incompatible pointer type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: At top level:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1616: error: expected ‘)’ before ‘(’ token
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1617: warning: ‘struct class_device’ declared inside parameter list
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘show_streaming’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1617: warning: initialization from incompatible pointer type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: At top level:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1617: error: expected ‘)’ before ‘(’ token
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1618: warning: ‘struct class_device’ declared inside parameter list
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘show_palette’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1618: warning: initialization from incompatible pointer type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: At top level:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1618: error: expected ‘)’ before ‘(’ token
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1619: warning: ‘struct class_device’ declared inside parameter list
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘show_frames_total’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1619: warning: initialization from incompatible pointer type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: At top level:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1619: error: expected ‘)’ before ‘(’ token
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1620: warning: ‘struct class_device’ declared inside parameter list
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘show_frames_read’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1620: warning: initialization from incompatible pointer type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: At top level:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1620: error: expected ‘)’ before ‘(’ token
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1621: warning: ‘struct class_device’ declared inside parameter list
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘show_packets_dropped’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1621: warning: initialization from incompatible pointer type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: At top level:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1621: error: expected ‘)’ before ‘(’ token
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1622: warning: ‘struct class_device’ declared inside parameter list
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘show_decoding_errors’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1622: warning: initialization from incompatible pointer type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: At top level:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1622: error: expected ‘)’ before ‘(’ token
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘m560x_create_sysfs_files’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1626: error: implicit declaration of function ‘video_device_create_file’
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1626: error: ‘class_device_attr_model’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1626: error: (Each undeclared identifier is reported only once
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1626: error: for each function it appears in.)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1627: error: ‘class_device_attr_in_use’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1628: error: ‘class_device_attr_streaming’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1629: error: ‘class_device_attr_palette’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1630: error: ‘class_device_attr_frames_total’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1631: error: ‘class_device_attr_frames_read’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1632: error: ‘class_device_attr_packets_dropped’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1633: error: ‘class_device_attr_decoding_errors’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘m560x_remove_sysfs_files’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1638: error: implicit declaration of function ‘video_device_remove_file’
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1638: error: ‘class_device_attr_model’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1639: error: ‘class_device_attr_in_use’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1640: error: ‘class_device_attr_streaming’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1641: error: ‘class_device_attr_palette’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1642: error: ‘class_device_attr_frames_total’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1643: error: ‘class_device_attr_frames_read’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1644: error: ‘class_device_attr_packets_dropped’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1645: error: ‘class_device_attr_decoding_errors’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: At top level:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1667: error: variable ‘m560x_vm_ops’ has initializer but incomplete type
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1668: error: unknown field ‘open’ specified in initializer
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1668: warning: excess elements in struct initializer
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1668: warning: (near initialization for ‘m560x_vm_ops’)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1669: error: unknown field ‘close’ specified in initializer
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1669: warning: excess elements in struct initializer
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1669: warning: (near initialization for ‘m560x_vm_ops’)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘v4l_m560x_mmap’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1974: error: ‘VM_WRITE’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1990: error: ‘VM_IO’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1991: error: ‘VM_RESERVED’ undeclared (first use in this function)
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1995: error: implicit declaration of function ‘vmalloc_to_pfn’
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:1996: error: implicit declaration of function ‘remap_pfn_range’
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c: In function ‘usb_m560x_probe’:
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:2829: error: ‘struct video_device’ has no member named ‘owner’
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:2830: error: ‘struct video_device’ has no member named ‘type’
/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.c:2831: error: ‘struct video_device’ has no member named ‘hardware’
make[2]: *** [/home/luca/m560x-driver/m560x/trunk/km_m560x/m560x_core.o] Error 1
make[1]: *** [_module_/home/luca/m560x-driver/m560x/trunk/km_m560x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make: *** [all] Error 2