camorama

Karl Larsen k5di at zianet.com
Wed Jan 30 20:53:37 UTC 2008


Karl Larsen wrote:
> Thomas Kaiser wrote:
>   
>> Karl Larsen wrote:
>>   
>>     
>>> Karl Larsen wrote:
>>>     
>>>       
>>>> Thomas Kaiser wrote:
>>>>
>>>>       
>>>>    Hi Thomas something went wrong with the make install. I did this:
>>>>
>>>> root at karl-desktop:~# locate gspca.o
>>>> /home/karl/work/gspcav1-20071214/.gspca.o.cmd
>>>> /home/karl/work/gspcav1-20071214/gspca.o
>>>>
>>>> and it says this kernel item was not put in the kernel at all. I am an 
>>>> old hand at tarballs but this one is different. I will make sure that 
>>>> make install has the right address and truck on. Thanks!
>>>>
>>>> Karl
>>>>
>>>>
>>>>   
>>>>       
>>>>         
>>>     Hi again Thomas I went to the kernel's modules and found this:
>>>
>>> root at karl-desktop:/lib/modules/2.6.22-14-generic/ubuntu/media# cd gspcav1/
>>> root at karl-desktop:/lib/modules/2.6.22-14-generic/ubuntu/media/gspcav1# ls
>>> gspca.ko
>>> root at karl-desktop:/lib/modules/2.6.22-14-generic/ubuntu/media/gspcav1#
>>>
>>> And this is the only filename.ko in the tarball and made by the system. 
>>> I think maybe I need to make this module available to the kernel.
>>>
>>> I did a ps -A and did not see gspca so that must be the problem :-)
>>>
>>>
>>> Karl
>>>
>>>
>>>     
>>>       
>> Hello Karl
>>
>> First, the command to see the modules in the kernel is "lsmod", not ps -A! And 
>> the file your looking for is gspca.ko not gspca.o!
>>
>> So, you run Gutsy.
>> On my install, I have a /lib/modules/2.6.22-14-generic/ubuntu/media/gspcav1/ 
>> folder but his is empty. See:
>>
>> thomas at AMD64:~$ ls /lib/modules/2.6.22-14-generic/ubuntu/media/gspcav1/
>> thomas at AMD64:~$
>>
>> The correct location is /lib/modules/2.6.22-14-generic/ubuntu/gspcav1/media/. See:
>> thomas at AMD64:~$ ls /lib/modules/2.6.22-14-generic/ubuntu/gspcav1/media/
>> gspca.ko  gspca.ko.orig
>> thomas at AMD64:~$
>>
>> When you set the MODULE_INSTALLDIR variable to this path, you should have the 
>> kernel module there.
>>
>> Thomas
>>
>>   
>>     
>     Here is locate again:
> karl at karl-desktop:~$ locate gspca.ko
> /lib/modules/2.6.22-14-generic/ubuntu/media/gspcav1/gspca.ko
> /lib/modules/2.6.22-14-generic/kernel/drivers/usb/media/gspca.ko
> /home/karl/work/gspcav1-20071214/.gspca.ko.cmd
> /home/karl/work/gspcav1-20071214/gspca.ko
>
> I did a # modprobe gspca which was successful it appears. It shows up at 
> the top like this:
>
> root at karl-desktop:~# lsmod
> Module                  Size  Used by
> gspca                 608336  0
> videodev               29312  1 gspca
> v4l2_common            18432  1 videodev
> v4l1_compat            15364  1 videodev
>
> So I need to make sure gspca is loaded automatically. I think it is 
> /etc/modeprobe.conf but not certain on Debian.
>
> Karl
>
>
>   
    Well for now I am beat. It does not work even when the module is in 
the kernel. So either the module I made is bad, not likely because no 
error messages were generated. I see that there is no /dev/video on my 
system. This means something? :-)

    I have the newer tarball but will just wait awhile until someone has 
success.

Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list