Author Topic: gspcav1 & uvcvideo for new kernel  (Read 3795 times)

Sefy

  • Guest
gspcav1 & uvcvideo for new kernel
« on: October 16, 2009, 12:03:46 PM »
hey guys, i've been forwarded here by melodie who suggested i post a request.

Ever since the new 2.6.26.8.tex4 and then the latest released 2.6.27.31.tex5 kernels, Kopete, which is the only MultiIM i'm aware of in Linux which had webcam support. Well, just lost it's support. As it uses V4L drivers and not V4L2, so although cameras do work in the new kernels (Skype for example works great) but Kopete just has blank in the selections.

I would really appreciate if this could be resolved somehow, either by kernel, by modules or by some sort of hack/patch to current KDE3 kopete. Is there anything i can do?

Thanks in advance!

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: gspcav1 & uvcvideo for new kernel
« Reply #1 on: October 16, 2009, 12:46:22 PM »
Sefy, I'll gladly help out :-)

I just need to understand how the v4l drivers are supposed to work - I have posted several posts on this, but no answers. Reading about the kernels show that several cameras are supported, but they are not as I experience. If someone could explain to me if it is kernel-patching we need, or dkms-modules I'll be waaaay happy and build along for you (if it is dkms module based) :-)

cheers,
MBantz

Sefy

  • Guest
Re: gspcav1 & uvcvideo for new kernel
« Reply #2 on: October 16, 2009, 01:00:59 PM »
Hi MBantz, first i gotta say thanks!
Although i'm not sure how help you to help me :-\
All i know is that the two dkms's needed apparently for most cameras to be supported in Kopete are:

dkms-gspcav1
dkms-uvcvideo

Which both don't compile after any kernel that came after 26.8.tex3 kernel, even when using the force switch

Sefy

  • Guest
Re: gspcav1 & uvcvideo for new kernel
« Reply #3 on: December 18, 2009, 12:59:08 PM »
Is there any progress on this? :(
I've been without a webcam for a few months now, i can't even downgrade the kernel to the one that worked as it was removed from repos :-/
Please help ?  :'(

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: gspcav1 & uvcvideo for new kernel
« Reply #4 on: December 18, 2009, 01:15:43 PM »
Is there any progress on this? :(
I've been without a webcam for a few months now, i can't even downgrade the kernel to the one that worked as it was removed from repos :-/
Please help ?  :'(

Have a look at Pidgin  .... there is a plugin for voice/video which may do as you require

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: gspcav1 & uvcvideo for new kernel
« Reply #5 on: December 18, 2009, 01:16:13 PM »
The reason the dkms don't compile could be the following (I could also be wrong, just guessing here):
All kernels in our repo are compiled with the old gcc and to successfully compile a dkms (at least some of them) you would have to use the old gcc. Yet, as soon as you update from the original iso installation you will install the new gcc. Now, if you install the dkms the system will use a different gcc-compiler than the one which was used for the kernel, and that does not work.

Maybe this procedure could work:
- do a fresh install form the latest iso,
- do not update anything but only install the required dkms and then reboot,
- test to see if your cam works in kopete,
- now update the system
Note: after that do not install any newer kernel because in this case the dkms kernel module would have to be rebuild and, as you know, this won't work. Please also note that this procedure may not work at all as there are many many differences in applications and their dependencies from the time the latest iso was released until now. So, if you are lucky it may work, if not you only wasted some time. It is possibly a good idea to test that first in a virtual machine.

The only other alternative would be to wait for a newer kernel in our repo which either already has these modules included or on which these modules could be compiled with the new gcc.

hope this makes sense  :)
regards,
-pinoc

Edit: maybe all that was just crap. If Skype works with the cam then the correct videocam drivers are working well and it is a kopete-specifc issue?
« Last Edit: December 18, 2009, 02:40:02 PM by pinoc »

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: gspcav1 & uvcvideo for new kernel
« Reply #6 on: December 18, 2009, 02:08:11 PM »
Just had a look at Kopete -- don't normally use Kopete -- and it appears that Kopete is not detecting any devices ....... just got a blue square in place of video and no devices in the list to choose from ....

Sefy

  • Guest
Re: gspcav1 & uvcvideo for new kernel
« Reply #7 on: December 18, 2009, 03:01:48 PM »
@JohnBoy, what you are getting on Kopete is exactly what i'm getting with any kernel above the original .8.tex3
Any other application (Skype, wxCam, even Web Based Flash) are detecting and using the WebCam, so in a way, the drivers are installed.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: gspcav1 & uvcvideo for new kernel
« Reply #8 on: December 18, 2009, 04:17:36 PM »
Maybe something was missed when it was built?

Strange that it is not seeing the device.
According to all I have read it should work for V4l2 devices with some exceptions maybe.

Sefy

  • Guest
Re: gspcav1 & uvcvideo for new kernel
« Reply #9 on: December 18, 2009, 04:22:10 PM »
It works with all kernels upto .8.tex3,
After that, since neither gspcav1 nor uvcvideo get installed, it no longer sees any V4L2 devices.
even KdeTV seems my WebCam, just not Kopete (which is the only multi-im in Linux which even has WebCam support)

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: gspcav1 & uvcvideo for new kernel
« Reply #10 on: December 18, 2009, 04:23:19 PM »
Did you try Pidgin?

Sefy

  • Guest
Re: gspcav1 & uvcvideo for new kernel
« Reply #11 on: December 18, 2009, 04:40:34 PM »
Pidgin has no Cam support  :-\

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: gspcav1 & uvcvideo for new kernel
« Reply #12 on: December 18, 2009, 05:06:24 PM »
Pidgin has no Cam support  :-\

Look for the video plugin for it in the repository.
I have not yet used it but the plugin is active.

I just tried what you described ..... Kopete will display the v4l2 webcam using the previous kernel but not the latest.

regards.

Sefy

  • Guest
Re: gspcav1 & uvcvideo for new kernel
« Reply #13 on: December 19, 2009, 02:09:53 AM »
I will try Pidgin with the Video Plugin (Strange i didn't see it being mentioned on the Pidgin page), how did you download an older kernel? the .8.tex3 isn't on the repos. If it is, i'm downgrading to it now.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: gspcav1 & uvcvideo for new kernel
« Reply #14 on: December 19, 2009, 04:23:22 AM »
I will try Pidgin with the Video Plugin (Strange i didn't see it being mentioned on the Pidgin page), how did you download an older kernel? the .8.tex3 isn't on the repos. If it is, i'm downgrading to it now.

I did not downgrade .... I just never deleted that kernel when I upgraded to the newer one.
« Last Edit: December 19, 2009, 04:26:00 AM by JohnBoy »