[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

driver webcam trust usb



Ciao a tutti,
dopo estenuanti ricerche ho trovato (forse) i driver per la mia webcam (sn9c102). Scompatto e do "make modules":

       /home/utente/sn9c102-1.26# make modules
       **************************************************************************
       * Building Video4Linux2 driver v1.26 for SN9C Controllers...*
       * Official Linux 2.6.15-git6 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=/home/teo/sn9c102-1.26
       modules
       make[1]: Entering directory `/lib/modules/2.6.15-1-486/build'
       make[1]: *** No rule to make target `modules'.  Stop.
       make[1]: Leaving directory `/lib/modules/2.6.15-1-486/build'
       make: *** [modules] Error 2


Per la versione del kernel:

       # uname -r
       2.6.15-1-486

Allego anche il "Makefile" magari può servire....
Cosa posso e devo fare?

#############################################################################
# Makefile for 'SN9C10x PC Camera Controllers' driver for Linux             #
#                                                                           #
#  Copyright (C) 2004-2006 by Luca Risolia <luca.risolia@studio.unibo.it>   #
#                                                                           #
#  This program is free software; you can redistribute it and/or modify     #
#  it under the terms of the GNU General Public License as published by     #
#  the Free Software Foundation; either version 2 of the License, or        #
#  (at your option) any later version.                                      #
#                                                                           #
#  This program is distributed in the hope that it will be useful,          #
#  but WITHOUT ANY WARRANTY; without even the implied warranty of           #
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
#  GNU General Public License for more details.                             #
#                                                                           #
#  You should have received a copy of the GNU General Public License        #
#  along with this program; if not, write to the Free Software              #
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                #
#############################################################################

DRIVER_VERSION = 1.26

##############################################################################

KVERSION = `uname -r`
KDIR := /lib/modules/$(KVERSION)/build
PWD := $(shell pwd)

default: modules

modules:
	@echo '**************************************************************************'
	@echo '* Building Video4Linux2 driver v$(DRIVER_VERSION) for SN9C Controllers...*'
	@echo '* Official Linux 2.6.15-git6 is the minimum version for this driver.     *'
	@echo '* Read the documentation "sn9c102.txt" for more informations.            *'
	@echo '* Type "make help" for a list of available targets.                      *'
	@echo '**************************************************************************'
	@echo
	$(MAKE) -C $(KDIR) M=$(PWD) modules

install: modules_install

modules_install:
	$(MAKE) -C $(KDIR) M=$(PWD) modules_install

clean:
	$(MAKE) -C $(KDIR) M=$(PWD) clean

##############################################################################

help:
	@echo 'List of available targets. Type:'
	@echo '- "make modules" to build the modules'
	@echo '- "make modules_install" to install the built modules'
	@echo '- "make clean" to remove all generated files in the current directory'
	@echo '- "make tar" to create and place an archive of the current directory in $(TARFILE)'
	@echo '- "make help" to print the list of available targets'

##############################################################################

TARFILE=../sn9c102-$(DRIVER_VERSION).tar.gz
DIR=../
FILE=sn9c102-$(DRIVER_VERSION)

tar:
	tar -choz --verbose -C $(DIR) --file=$(TARFILE) $(FILE)

Reply to: