You are not logged in.

#1 2009-04-14 17:35:37

resadent
Member
Registered: 2008-05-17
Posts: 35

My webcam still doesn't work with kernel 2.6.29 (ZC0301)

Hi. Well, since kernel 2.6.27 my webcam won't work. Some time ago I posted this and people told me to wait for kernel 2.6.29. I have upgraded a few days ago, but nothing has changed. My system recognizes the webcam, but I can't use it at all...
Dmesg shows this:

usb 2-4: USB disconnect, address 2
usb 2-4: new full speed USB device using ohci_hcd and address 4
usb 2-4: configuration #1 chosen from 1 choice
usb 2-4: ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x0AC8:0x303B)
usb 2-4: No supported image sensor detected

But, it doesn't work. That it what happens when I load the correct module:

usbcore: registered new interface driver zc3xx
zc3xx: registered

I have search in dmesg's logs, and I have found this:

zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.10
usb 2-4: ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x0AC8:0x3
03B)

Please help me, with the old gspca driver and kernel 2.6.26 it worked correctly.

Offline

#2 2009-04-22 03:12:34

netmanny
Member
Registered: 2008-05-13
Posts: 41

Re: My webcam still doesn't work with kernel 2.6.29 (ZC0301)

zc3xx: probe 2wr ov vga 0x0000
[   10.488537] zc3xx: probe sensor -> 11
[   10.488539] zc3xx: Find Sensor HV7131R(c)
[   10.489299] gspca: probe ok
[   10.493392] usbcore: registered new interface driver zc3xx
[   10.493436] zc3xx: registered
this is what i got in mine and the one thing it does not work on is  Skype I have the distorted  green screen of CR%$#$@
any way for some reason It works just fine under the  xubuntu -ubuntu version of Skype ... What are they doing different that makes it work????
Just a suggestion to developers to see if they are missing a small detail... I'm not unhappy with Arch specially since is FREE... So what the He@# do we want for FREE, Perfection???
I'm sure if we give it more reading and time it will get fix.
Sorry for my rant lay off are a b@#@.:D

Offline

#3 2009-04-24 15:47:01

resadent
Member
Registered: 2008-05-17
Posts: 35

Re: My webcam still doesn't work with kernel 2.6.29 (ZC0301)

netmanny wrote:

zc3xx: probe 2wr ov vga 0x0000
[   10.488537] zc3xx: probe sensor -> 11
[   10.488539] zc3xx: Find Sensor HV7131R(c)
[   10.489299] gspca: probe ok
[   10.493392] usbcore: registered new interface driver zc3xx
[   10.493436] zc3xx: registered
this is what i got in mine and the one thing it does not work on is  Skype I have the distorted  green screen of CR%$#$@
any way for some reason It works just fine under the  xubuntu -ubuntu version of Skype ... What are they doing different that makes it work????
Just a suggestion to developers to see if they are missing a small detail... I'm not unhappy with Arch specially since is FREE... So what the He@# do we want for FREE, Perfection???
I'm sure if we give it more reading and time it will get fix.
Sorry for my rant lay off are a b@#@.:D

It may have kernel 2.6.24 and gspca... since the kernel 2.6.27, the gspca module is in the kernel and our webcams doesn't work.

Offline

#4 2009-04-30 07:02:30

netmanny
Member
Registered: 2008-05-13
Posts: 41

Re: My webcam still doesn't work with kernel 2.6.29 (ZC0301)

Have you figure out how to compile the module for gspca every one of atempts ends on this...

make -C /lib/modules/`uname -r`/build SUBDIRS=/home/manny/Projects/arch/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.29-ARCH'
  CC [M]  /home/manny/Projects/arch/gspcav1-20071224/gspca_core.o
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
In file included from /home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:845:
/home/manny/Projects/arch/gspcav1-20071224/utils/spcausb.h: In function 'spca5xxRegRead':
/home/manny/Projects/arch/gspcav1-20071224/utils/spcausb.h:95: error: implicit declaration of function 'info'
/home/manny/Projects/arch/gspcav1-20071224/utils/spcausb.h: In function 'spca_set_interface':
/home/manny/Projects/arch/gspcav1-20071224/utils/spcausb.h:278: error: implicit declaration of function 'warn'
In file included from /home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:853:
/home/manny/Projects/arch/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function 'sp5xxfw2_init':
/home/manny/Projects/arch/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:122: error: called object 'info' is not a function
/home/manny/Projects/arch/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:136: error: called object 'info' is not a function
/home/manny/Projects/arch/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:141: error: called object 'info' is not a function
/home/manny/Projects/arch/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:148: error: called object 'info' is not a function
/home/manny/Projects/arch/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:176: error: called object 'info' is not a function
/home/manny/Projects/arch/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h: In function 'sp5xxfw2_start':
/home/manny/Projects/arch/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:214: error: called object 'info' is not a function
/home/manny/Projects/arch/gspcav1-20071224/Sunplus-jpeg/sp5xxfw2.h:230: error: called object 'info' is not a function
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c: In function 'spca5xx_ioctl':
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function 'video_usercopy'
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c: At top level:
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:2609: error: unknown field 'owner' specified in initializer
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:2609: warning: initialization from incompatible pointer type
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:2611: error: unknown field 'type' specified in initializer
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:2615: warning: initialization from incompatible pointer type
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c: In function 'spca50x_create_sysfs':
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:2769: error: implicit declaration of function 'video_device_create_file'
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:2780: error: implicit declaration of function 'video_device_remove_file'
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c: In function 'spca5xx_probe':
/home/manny/Projects/arch/gspcav1-20071224/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/home/manny/Projects/arch/gspcav1-20071224/gspca_core.o] Error 1
make[1]: *** [_module_/home/manny/Projects/arch/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-ARCH'
make: *** [default] Error 2

losts of time wasted.

Offline

#5 2009-04-30 07:26:06

combuster
Member
From: Serbia
Registered: 2008-09-30
Posts: 711
Website

Re: My webcam still doesn't work with kernel 2.6.29 (ZC0301)

Mine works just fine in cheese but skype gives me a distorted green screen also...

usb 6-1: new full speed USB device using uhci_hcd and address 2
usb 6-1: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
gspca: main v2.4.0 registered
gspca: probing 0c45:60fc
sonixj: Sonix chip id: 11
gspca: probe ok
gspca: probing 0c45:60fc
gspca: probing 0c45:60fc
usbcore: registered new interface driver sonixj
sonixj: registered
sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49
usbcore: registered new interface driver sn9c102
usbcore: registered new interface driver snd-usb-audio

I use 64-bit version of Arch and I've installed lib32-libv4l just in case but still no go in skype... Gonna investigate further now...

Ok, found a solution in aur comments... You have to install lib32-libv4l, create a text file with the following text:

LD_PRELOAD=/opt/lib32/usr/lib/libv4l/v4l1compat.so /path2skype/skype

and give it execute permissions... You can copy this file to /usr/bin so you can start it with skype (if u name this txt file like that). Just to mention I've downloaded skype_static-2.0.0.72 from skype website, didn't build it from aur... Now video works just fine...

Last edited by combuster (2009-04-30 08:05:48)

Offline

#6 2009-05-01 04:06:37

netmanny
Member
Registered: 2008-05-13
Posts: 41

Re: My webcam still doesn't work with kernel 2.6.29 (ZC0301)

After changing to arch i686 boot version and creating the file as you suggested .... in to  /home/me/bin
and then editing  the menu to direct the icon launcher I can Finlay run it with just a click and it works finally...
Thanks  this is what my /bin/skype say just in case some one else want to do it  using the default install of skype



#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype

Ok  so there .. Is working Thank you .
OK  so there .. Is working Thank you .
I'm not going to try to go back to x86_64 until the next realize
the module does not load so I asume is build in kernel  instead of module...

Last edited by netmanny (2009-05-01 04:10:54)

Offline

#7 2009-05-01 09:55:58

brazzmonkey
Member
From: between keyboard and chair
Registered: 2006-03-16
Posts: 818

Re: My webcam still doesn't work with kernel 2.6.29 (ZC0301)

different hardware, similar issues since GSPCA is included in the kernel...
http://bbs.archlinux.org:80/viewtopic.php?id=65106
http://bugs.archlinux.org/task/13750


what goes up must come down

Offline

#8 2009-05-22 19:38:08

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: My webcam still doesn't work with kernel 2.6.29 (ZC0301)

Hoping to get my logitech communicate STX running. Hoped that this was the driver/fix needed.
Doesn't seem to want to install on 32 bit system.
http://aur.archlinux.org/packages.php?ID=20859

Offline

#9 2009-05-27 17:21:17

resadent
Member
Registered: 2008-05-17
Posts: 35

Re: My webcam still doesn't work with kernel 2.6.29 (ZC0301)

Thanks a lot! Today I have tried one more time, but skype didn't work well. I have tried your fix, combuster, and it works.

Offline

#10 2009-05-27 22:54:11

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: My webcam still doesn't work with kernel 2.6.29 (ZC0301)

Yep, me too!
turns out that by doing a:
pacman -S libv4l

I could get the needed 32 bit lib installed.

So now doing the:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype

Has skype working with video.
thank you very much.

Last edited by yvonney (2009-05-27 22:54:26)

Offline

#11 2009-05-29 21:24:32

jduped
Member
From: Canada
Registered: 2009-03-12
Posts: 58

Re: My webcam still doesn't work with kernel 2.6.29 (ZC0301)

Thanks big_smile


The ultimate effect of shielding men from the effects of folly is to fill the world with fools - Herbert Spencer

Offline

Board footer

Powered by FluxBB