From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m9UHYj26029132 for ; Thu, 30 Oct 2008 13:34:45 -0400 Received: from smtp0.lie-comtel.li (smtp0.lie-comtel.li [217.173.238.80]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m9UHYXdl015867 for ; Thu, 30 Oct 2008 13:34:33 -0400 Received: from localhost (localhost.lie-comtel.li [127.0.0.1]) by smtp0.lie-comtel.li (Postfix) with ESMTP id 704A59FEC1B for ; Thu, 30 Oct 2008 18:34:33 +0100 (GMT-1) Received: from [192.168.0.16] (217-173-228-198.cmts.powersurf.li [217.173.228.198]) by smtp0.lie-comtel.li (Postfix) with ESMTP id 5210C9FEC13 for ; Thu, 30 Oct 2008 18:34:33 +0100 (GMT-1) Message-ID: <4909F027.6010000@kaiser-linux.li> Date: Thu, 30 Oct 2008 18:34:31 +0100 From: Thomas Kaiser MIME-Version: 1.0 To: Video 4 Linux References: <4900DA6B.4050902@kaiser-linux.li> <1224831699.1761.13.camel@localhost> <49021251.8020402@kaiser-linux.li> <4902DB0F.4000401@hhs.nl> In-Reply-To: <4902DB0F.4000401@hhs.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: gspca, what do I am wrong? List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: Hans de Goede wrote: > Thomas Kaiser wrote: >> Hello Jean-Francois >> >> I got some time and I would like to test the new gspca V2 v4l2 driver >> but with this issues I will get up soon :-( >> >> I have about 20 webcams laying around which I would like to test with >> the new gspca V2 "in kernel" drive with a "stock distribution >> (Ubuntu)" kernel. >> > > Please don't give up we would really like to have you onboard, you did a > greta job with the gspcav1 pixart drivers and I'm sure you will make a > valuable contributor! > > The problem is that gspca now is part of the v4l-dvb tree, so when you > build it now you rebuild the entire v4l subsystem really, this means > that you must make sure that all v4l modules, including videodev.ko are > unloaded before trying to modprobe for example gspca_pac207, so that the > new version of videodev.ko gets loaded. > > This has been working fine for me both with older and newer kernels (on > Fedora), so if you are really sure no old modules are loaded, it might > be there is something funny / weird going on with the way your > distribution provides kernel sources for building out of tree modules > (as Thierry hints at). > > To give you an idea, here is how I test gspca: > > --- begin test.sh --- > #!/bin/bash > > set -e > > make > sudo make install > > sudo rmmod gspca_sonixb || : > sudo rmmod gspca_spca501 || : > sudo rmmod gspca_spca561 || : > sudo rmmod gspca_pac207 || : > sudo rmmod gspca_pac7311 || : > sudo rmmod gspca_ov519 || : > sudo rmmod gspca_zc3xx || : > sudo rmmod gspca_main || : > sudo rmmod tuner || : > sudo rmmod msp3400 || : > sudo rmmod bttv || : > sudo rmmod compat_ioctl32 || : > sudo rmmod videodev || : > sudo rmmod v4l1_compat || : > sudo rmmod ir_common || : > > sudo modprobe gspca_main debug=15 > sudo modprobe gspca_sonixb > sudo modprobe gspca_spca501 > sudo modprobe gspca_spca561 > sudo modprobe gspca_pac207 > sudo modprobe gspca_pac7311 > sudo modprobe gspca_ov519 > sudo modprobe gspca_zc3xx > sudo modprobe bttv > --- end test.sh --- > > Regards, > > Hans > Hello Hans I didn't gave up, yet ;-) Recently, there was a kernel upgrade for Ubuntu. I updated and built the v4l-dvb tree new, without doing a "make install". After that I insmoded the needed modules (videodev, gspac_main, gspca_....) by hand and the cam worked :-) After that I check the kernel log and found "Unknown symbol" from gspca again! But now I recognized that these errors are coming from the old gspca module which ubuntu tried to load as I plugged the cam. I blacklist the gspca module, did a "make install", rebooted, plugged the cam and it was working with the new gspca module. No "Unknown symbol" messages anymore in the kernel log :-) But I still don't know why it did not work before. Anyway I am happy at the moment :-) Thomas -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list