[SOLVED] A4Tech camera and CentOS 5.7

Issues related to hardware problems
icemans
Posts: 64
Joined: 2012/02/19 21:21:30
Location: Burgas, Bulgaria

Re: A4Tech camera and CentOS 5.7

Post by icemans » 2012/02/23 16:22:21

OK! Does it matter what I will download - CD or DVD of CentOS 6?

icemans
Posts: 64
Joined: 2012/02/19 21:21:30
Location: Burgas, Bulgaria

Re: A4Tech camera and CentOS 5.7

Post by icemans » 2012/02/23 19:50:55

I installed kernel-ml. First I had the problem with startX and I had to uninstall Nvidia driver to be able to startX.

[code]X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-53.el5 i686 Red Hat, Inc.
Current Operating System: Linux localhost.localdomain 2.6.39-4.1.el5.elrepo #1 SMP PREEMPT Wed Jan 18 12:18:21 EST 2012 i686
Build Date: 06 October 2011
Build ID: xorg-x11-server 1.1.1-48.76.el5_7.5
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 23 21:32:23 2012
(==) Using config file: "/etc/X11/xorg.conf"
FATAL: Module nvidia not found.
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA: system's kernel log for additional error messages.
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.

Fatal server error:
no screens found[/code]

I success startx without Nvidia driver. Now I tried camera with Skype but it still doesn't work. Is it possible to be a problem that the system starts without Nvidia driver or doesn't matter?

[code]$ uname -r
2.6.39-4.1.el5.elrepo[/code]

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: A4Tech camera and CentOS 5.7

Post by AlanBartlett » 2012/02/23 23:06:28

Whilst running [b]kernel-ml-2.6.39-4.1.el5.elrepo[/b], what does the following command line show --

[code]
[b]grep -i 0ac8 /lib/modules/*/modules.alias | grep -i 303b[/b]
[/code]
The [b]gspca_zc3xx[/b] module, perhaps? If so, is it loaded?

[code]
[b]/sbin/lsmod | grep gspca_zc3xx[/b]
[/code]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: A4Tech camera and CentOS 5.7

Post by pschaff » 2012/02/24 01:25:58

[quote]
icemans wrote:
OK! Does it matter what I will download - CD or DVD of CentOS 6?[/quote]
I'd go with the LiveDVD unless you have a reason to do otherwise - more features.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: A4Tech camera and CentOS 5.7

Post by AlanBartlett » 2012/02/24 17:41:54

Assuming you use a [i]Gnome[/i] desktop then, while running [b]kernel-ml-2.6.39-4.1.el5.elrepo[/b], take the following sequence for testing --

[b]System[/b] ---> [b]Preferences[/b] ---> [b]More Preferences[/b] ---> [b]Multimedia Systems Selector[/b]

Now select the [b]Video[/b] tab, set the [b]Default Input Plugin[/b] to [b]Video for Linux 2 (v4l2)[/b] and left-click on [b]Test[/b]. If the correct driver has been selected and loaded, you should see a test display showing the image that the camera is capturing.

icemans
Posts: 64
Joined: 2012/02/19 21:21:30
Location: Burgas, Bulgaria

Re: A4Tech camera and CentOS 5.7

Post by icemans » 2012/02/24 19:04:44

[code]# grep -i 0ac8 /lib/modules/*/modules.alias | grep -i 303b
/lib/modules/2.6.18-238.el5/modules.alias:alias usb:v0AC8p303Bd*dc*dsc*dp*ic*isc*ip* gspca
/lib/modules/2.6.18-238.el5/modules.alias:alias usb:v0AC8p303Bd*dc*dsc*dp*ic*isc*ip* gspca_zc3xx
/lib/modules/2.6.18-274.18.1.el5/modules.alias:alias usb:v0AC8p303Bd*dc*dsc*dp*ic*isc*ip* gspca
/lib/modules/2.6.18-274.18.1.el5/modules.alias:alias usb:v0AC8p303Bd*dc*dsc*dp*ic*isc*ip* gspca_zc3xx
/lib/modules/2.6.18-274.18.1.el5PAE/modules.alias:alias usb:v0AC8p303Bd*dc*dsc*dp*ic*isc*ip* gspca_zc3xx
/lib/modules/2.6.39-4.1.el5.elrepo/modules.alias:alias usb:v0AC8p303Bd*dc*dsc*dp*ic*isc*ip* gspca_zc3xx[/code]

[code]# /sbin/lsmod | grep gspca_zc3xx
gspca_zc3xx 42061 0
gspca_main 27230 1 gspca_zc3xx[/code]

[quote]
AlanBartlett wrote:
......................
Now select the [b]Video[/b] tab, set the [b]Default Input Plugin[/b] to [b]Video for Linux 2 (v4l2)[/b] and left-click on [b]Test[/b]. If the correct driver has been selected and loaded, you should see a test display showing the image that the camera is capturing.[/quote]

When I try this I see this message:

[code]Video for Linux 2 (v4l2): Could not negotiate format[/code]

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: A4Tech camera and CentOS 5.7

Post by AlanBartlett » 2012/02/25 02:44:12

[quote]
When I try this I see this message:

[code]
Video for Linux 2 (v4l2): Could not negotiate format
[/code]
[/quote]
Hmm. The correct driver is present and loaded. It could be that the camera is outputting data in a format that the test software cannot understand.

Did you try with the original [b]Video for Linux (v4l)[/b]?

icemans
Posts: 64
Joined: 2012/02/19 21:21:30
Location: Burgas, Bulgaria

Re: A4Tech camera and CentOS 5.7

Post by icemans » 2012/02/25 15:55:05

Yes, I tried:
[code]Video for Linux (v4l): Could not get/set settings from/on resource.[/code]

icemans
Posts: 64
Joined: 2012/02/19 21:21:30
Location: Burgas, Bulgaria

Re: A4Tech camera and CentOS 5.7

Post by icemans » 2012/02/25 16:39:04

I tried and [b]CentOS 6 Live DVD[/b] - the camera doesn't work again. But I tried and [b]Kopete[/b] from Live DVD and there the camera works?!?

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: A4Tech camera and CentOS 5.7

Post by pschaff » 2012/02/25 21:27:39

Those seem to be mutually contradictory statements.

Post Reply