camorama
Thomas Kaiser
ubuntu at kaiser-linux.li
Wed Jan 30 19:27:28 UTC 2008
Karl Larsen wrote:
> Karl Larsen wrote:
>> Thomas Kaiser wrote:
>>
>>> Karl Larsen wrote:
>>>
>>>
>>>> steve wrote:
>>>>
>>>>
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>>
>>>>> Karl Larsen wrote:
>>>>> | steve wrote:
>>>>> | Karl Larsen wrote:
>>>>> | | steve wrote:
>>>>> | | Karl Larsen wrote:
>>>>> | |
>>>>> | | |>
>>>>> | | | I looked at the FAQ and the database and several other places and find
>>>>> | | | no information on how to set up my camera in Linux. I really think
>>>>> it is
>>>>> | | | not possible for some reason
>>>>> | | |
>>>>> | | | Karl
>>>>> | | |
>>>>> | | |
>>>>> | | does it work in any other app? have you installed spca cam drivers?
>>>>> | |
>>>>> | |> No. Should I apt-get install spca cam? I tried it and it said no
>>>>> | |> such thing. Yes the camera works fine on WindowsXP.
>>>>> | |
>>>>> | |> Karl
>>>>> | |
>>>>> | |>
>>>>> |
>>>>> | download and install this
>>>>> |
>>>>> | http://www.reillyblog.com/uploads/gspcav1-20071214.tar.gz
>>>>> |
>>>>> | reboot, and then your cam will work.
>>>>> |
>>>>> |
>>>>> |
>>>>> |>
>>>>>
>>>>> | Hi Steve did as you asked but my system can't find gspcagui -d
>>>>> | /dev/video0
>>>>> | so it can't work. I guess gspcagui should be in /usr/bin?
>>>>>
>>>>>
>>>>> | Karl
>>>>>
>>>>>
>>>>> not sure what that app is, but i dont think what i gave you installs
>>>>> that. if you have a compatible camera, (hundreds are), and you have
>>>>> installed the driver, plug it in, and it should "just work" in skype,
>>>>> ekiga, and other apps as well.
>>>>>
>>>>> did you get any compile erros, and did you reboot?
>>>>>
>>>>>
>>>>> - --
>>>>> Steve Reilly
>>>>>
>>>>> http://reillyblog.com
>>>>>
>>>>>
>>>>> -----BEGIN PGP SIGNATURE-----
>>>>> Version: GnuPG v1.4.6 (GNU/Linux)
>>>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>>>
>>>>> iD8DBQFHn+UR1L48K811Km0RAnlPAJ9f3R+9DgNhwpZopSFlRIWnU4e1ZACfUVJh
>>>>> pBdTKYjukWk7eVZVbbBqX+k=
>>>>> =S95e
>>>>> -----END PGP SIGNATURE-----
>>>>>
>>>>>
>>>>>
>>>>>
>>>> Hi Steve, I just got back to it. Here is the err file:
>>>>
>>>> karl at karl-desktop:~/work/gspcav1-20071214$ more kgspca.err
>>>> make -C /lib/modules/`uname -r`/build
>>>> SUBDIRS=/home/karl/work/gspcav1-20071214 C
>>>> C=cc modules
>>>> make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
>>>> CC [M] /home/karl/work/gspcav1-20071214/gspca_core.o
>>>> CC [M] /home/karl/work/gspcav1-20071214/decoder/gspcadecoder.o
>>>> LD [M] /home/karl/work/gspcav1-20071214/gspca.o
>>>> Building modules, stage 2.
>>>> MODPOST 1 modules
>>>> CC /home/karl/work/gspcav1-20071214/gspca.mod.o
>>>> LD [M] /home/karl/work/gspcav1-20071214/gspca.ko
>>>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
>>>> karl at karl-desktop:~/work/gspcav1-20071214$
>>>>
>>>> It looks to me like it made the headers and they are in the pile I
>>>> compiled. The help keeps talking about v4l infrastucture which I know
>>>> nothing about :-)
>>>>
>>>>
>>>>
>>> Did you run "sudo make install"?
>>> and reboot.
>>>
>>> But before running this command, check in the Makefile if the install path
>>> points to the right folder.
>>> In gutsy it should read:
>>> MODULE_INSTALLDIR = /lib/modules/$(KERNEL_VERSION)/ubuntu/gspcav1/media/
>>>
>>> Thomas
>>>
>>>
>>>
>>>
>> 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
--
http://www.kaiser-linux.li
More information about the ubuntu-users
mailing list