install webcam driver

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

install webcam driver

Postby pinadski on Sun Apr 12, 2009 4:33 am

i am using linux mint 6 fluxbox CE (dual boot winxp)and in the device manager my webcam is detected as ZC0301[P].
i found the drivers for ZC0301p found here > http://www.linux-projects.org/modules/m ... .php?cid=8
and it is in tar.gz file.
the instructions are there in txt format and i cannot do it because im a noob in linux.
can someone make a deb file so i can install it easily and automatically?

this is the instruction:
5. Driver installation
======================
As noted above, kernel 2.6.19 is the minimum for this driver; for it to work
properly, the driver needs kernel support for Video4Linux and USB.

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

The ZC0301 controller also provides a built-in microphone interface. It is
supported by the USB Audio driver thanks to the ALSA API:

# Sound
#
CONFIG_SOUND=y

# Advanced Linux Sound Architecture
#
CONFIG_SND=m

# USB devices
#
CONFIG_SND_USB_AUDIO=m

Moving along to the ZC0301 driver: after having downloaded the package,
decompress and compile:

[user@localhost home]$ tar xvzf zc0301-x.x.tar.gz
[user@localhost home]$ cd zc0301-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 zc0301-x.x]$ make clean
[user@localhost zc0301-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.

If everything went well, the ZC0301 driver can be used either immediatly
(skip to the next paragraph) or be installed.

The driver will not be installed in the default directory reserved for modules
being built outside the kernel. This means that the possible version of the
driver present in the official Linux kernel tree might be overwritten during
the installation process.

To install the driver, run as root:

[root@localhost zc0301-x.x]# make modules_install


your help is badly needed
thanks very much
pinadski
Level 1
Level 1
 
Posts: 2
Joined: Sun Apr 12, 2009 4:21 am

Linux Mint is funded by ads and donations.
 

Re: install webcam driver

Postby nick on Sun Apr 12, 2009 10:57 am

Hi

Why dont you try this, it looks a lot easier?

http://www.ubuntugeek.com/tip-getting-y ... buntu.html

If you do not understand any commands post back.

Also post output of
Code: Select all
lsusb
if any problems


Nick
nick
Level 5
Level 5
 
Posts: 686
Joined: Sat Dec 02, 2006 8:04 am

Re: install webcam driver

Postby pinadski on Mon Apr 13, 2009 12:49 am

i also tried live cd linux mint 6 fluxbox ce, same results(module gspca not found)
i also tried it in ubuntu 8.10 same result (module gspca not found)

[ 293.484010] usb 2-1: new full speed USB device using uhci_hcd and address 2
[ 293.677439] usb 2-1: configuration #1 chosen from 1 choice
[ 294.059901] Linux video capture interface: v2.00
[ 294.202669] zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10
[ 294.202708] usb 2-1: ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x0AC8:0x303B)
[ 294.295793] usb 2-1: PB-0330 image sensor detected
[ 294.710086] usb 2-1: Initialization succeeded
[ 294.710741] usb 2-1: V4L2 device registered as /dev/video0
[ 294.711611] usbcore: registered new interface driver zc0301
mint@mint ~ $ sudo modprobe -r gspca
FATAL: Module gspca not found.
mint@mint ~ $ sudo modprobe -r zc0301
mint@mint ~ $ sudo modprobe gspca
FATAL: Module gspca not found.
mint@mint ~ $

mint@mint ~ $ lsusb
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
mint@mint ~ $



i tried live cd of pclinuxos and modprobe works and my webcam works, but the problem of pclinuxos is that i dont know how to install skype and kopete and might also gyachi
i still have to try it in live cd ubuntu 8.10
pinadski
Level 1
Level 1
 
Posts: 2
Joined: Sun Apr 12, 2009 4:21 am


Return to Hardware Support

Who is online

Users browsing this forum: Google Adsense [Bot] and 10 guests