jdawdy
September 10th, 2005, 01:19 PM
I have a Genius videocam NB 300 webcam, which apparently requires a slightly edited SN9C10x driver. Instructions at http://www.linux-projects.org/modules/newbb/viewtopic.php?topic_id=167&forum=3
I downloaded and unzipped the driver, installed build-essentials and the current i386 kernal source package. I added a build folder to /lib/modules/2.6.10-5-386 as that was the initial error * no directory found*.
Now when I try make modules I get
jim@Jim:~$ cd sn9c102-1.24
jim@Jim:~/sn9c102-1.24$ sudo make modules
Password:
************************************************** ************************
* Building Video4Linux2 driver v1.24 for SN9C10x PC Camera Controllers...*
* Official Linux 2.6.10 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/2.6.10-5-386/build M=/home/jim/sn9c102-1.24 modules
make[1]: Entering directory `/lib/modules/2.6.10-5-386/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.10-5-386/build'
make: *** [modules] Error 2
The instructions from the .txt file are (though I am not sure how to determine if the kernel configuration files has these options enabled):
The following options of the kernel configuration file must be enabled and
corresponding modules must be compiled:
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
# USB support
#
CONFIG_USB=m
In addition, depending on the hardware being used, the modules below are
necessary:
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
Moving along to the SN9C10x driver: after having downloaded the package,
decompress and compile:
[user@localhost home]$ tar xvzf sn9c102-x.x.tar.gz
[user@localhost home]$ cd sn9c102-x.x
(where "x.x" has to be substituted with the right version of the module just
downloaded)
It is necessary to properly configure your particular kernel source tree before
compiling the driver. The modular building process is used; therefore you must
have read and write access to your kernel source tree. If not, log in as root
before running the following commands:
[user@localhost sn9c102-x.x]$ make clean
[user@localhost sn9c102-x.x]$ make modules
If the commands fail, control the Makefile and change the path to the kernel
source tree or to any other files, according to your system configuration;
then run the previous commands again.
Please help!
Jim
I downloaded and unzipped the driver, installed build-essentials and the current i386 kernal source package. I added a build folder to /lib/modules/2.6.10-5-386 as that was the initial error * no directory found*.
Now when I try make modules I get
jim@Jim:~$ cd sn9c102-1.24
jim@Jim:~/sn9c102-1.24$ sudo make modules
Password:
************************************************** ************************
* Building Video4Linux2 driver v1.24 for SN9C10x PC Camera Controllers...*
* Official Linux 2.6.10 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/2.6.10-5-386/build M=/home/jim/sn9c102-1.24 modules
make[1]: Entering directory `/lib/modules/2.6.10-5-386/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.10-5-386/build'
make: *** [modules] Error 2
The instructions from the .txt file are (though I am not sure how to determine if the kernel configuration files has these options enabled):
The following options of the kernel configuration file must be enabled and
corresponding modules must be compiled:
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
# USB support
#
CONFIG_USB=m
In addition, depending on the hardware being used, the modules below are
necessary:
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
Moving along to the SN9C10x driver: after having downloaded the package,
decompress and compile:
[user@localhost home]$ tar xvzf sn9c102-x.x.tar.gz
[user@localhost home]$ cd sn9c102-x.x
(where "x.x" has to be substituted with the right version of the module just
downloaded)
It is necessary to properly configure your particular kernel source tree before
compiling the driver. The modular building process is used; therefore you must
have read and write access to your kernel source tree. If not, log in as root
before running the following commands:
[user@localhost sn9c102-x.x]$ make clean
[user@localhost sn9c102-x.x]$ make modules
If the commands fail, control the Makefile and change the path to the kernel
source tree or to any other files, according to your system configuration;
then run the previous commands again.
Please help!
Jim