webcams, again

Scott van Looy scott at ethosuk.org.uk
Wed May 23 15:14:27 UTC 2007


Today Bob Goodwin - W2BOD did spake thusly:

> Scott van Looy wrote:
>> Today Bob Goodwin - W2BOD did spake thusly:
>> 
>>> Scott van Looy wrote:
>>>> Today Bob Goodwin - W2BOD did spake thusly:
>>>> 
>>>>> Scott van Looy wrote:
>>>>>> Today Bob Goodwin - W2BOD did spake thusly:
>>>>>> 
>>>>>>> Paulo Cavalcanti wrote:
>>>>>>>> > Does anyone out there have the Logitech STX Communicate webcam 
>>>>>>>> working
>>>>>>>> > with FC6?  And, if so, what was required besides plugging it in?
>>>>>>>> No. But  you should need gspcav1 kernel module:
>>>>>>>> 
>>>>>>>> http://atrpms.net/dist/fc6/gspca/
>>>>>>>> 
>>>>>>>> Install and load the module (or reboot).
>>>>>>>> 
>>>>>>>> -- 
>>>>>>>> Paulo Roma Cavalcanti
>>>>>>>> LCG - UFRJ 
>>>>>>> How does one deal with this?
>>>>>>> 
>>>>>>> camE
>>>>>>> can't load font arial/8
>>>>>>> can't load font arial/8
>>>>>>> can't load offline image /home/gilbertt/.block.jpg, ignoring
>>>>>>> 
>>>>>> 
>>>>>> ^^^ this is irrelevant, simply config issues with camE
>>>>>> 
>>>>>>> open /dev/video0: No such file or directory
>>>>>> 
>>>>>> ^^^ this would imply that either your camera isn't supported by the 
>>>>>> kernel module or the module isn't loaded...or for some bizarre reason 
>>>>>> it's on video1 or something.
>>>>>> 
>>>>>> Can you verify that the kernel module is loaded? 
>>>>> Should it show when I do lsmod?
>>>>> 
>>>>> That produces a long list but nothing I recognize as related to this.
>>>> 
>>>> Should do.
>>>> Open a terminal and do:
>>>> su -
>>>> tail -f /var/log/messages
>>>> 
>>>> Then in another terminal do:
>>>> modprobe gspca
>>>> 
>>>> and see what happens in the first one...it should detect your webcam and 
>>>> create /dev/video0 - if it still doesn't, paste the output to us here?
>>>> 
>>> modprobe gspca
>>> FATAL: Error inserting gspca 
>>> (/lib/modules/2.6.20-1.2948.fc6/updates/drivers/usb/media/gspca.ko): 
>>> Invalid module format
>>> 
>>> and in messages ;
>>> 
>>> May 23 09:16:32 box6 kernel: Linux video capture interface: v2.00
>>> May 23 09:16:32 box6 kernel: gspca: no version for "struct_module" found: 
>>> kernel tainted.
>>> May 23 09:16:32 box6 kernel: gspca: version magic '2.6.20-1.2948.fc6 SMP 
>>> mod_unload 686 4KSTACKS ' should be '2.6.20-1.2948.fc6 SMP mod_unload 586 
>>> 4KSTACKS '
>> 
>> This would imply that you're trying to load the wrong kernel module for 
>> that kernel.
>> 
>> You appear to be running an i586 kernel, which could possibly mean that 
>> you've got bitten by the anaconda i586 kernel install bug.
>> 
>> You can get a script to fix this:
>> download it and execute it as root from
>> 
>> http://fedoraproject.org/wiki/Bugs/FC6Common?action=AttachFile&do=get&target=kernel-fix.sh 
>> 
>> To do this, in your root shell do:
>> 
>> wget 
>> http://fedoraproject.org/wiki/Bugs/FC6Common?action=AttachFile&do=get&target=kernel-fix.sh
> Nor will it work for me:   10:04:58 ERROR 403: Forbidden.
>> 
>> 
>> (this was failing for me with 403 forbidden, but might work for you)
>> 
>> Then do chmod 770 kernel-fix.sh
>> then do ./kernel-fix.sh
>> 
> Ok, I ran the first URL from Firefox and it appeared to work with a few 
> cryptic [to me] error messages that I lost when it asked me to reboot the 
> computer.
>
> Now I have:  uname -a
> Linux box6 2.6.20-1.2948.fc6 #1 SMP Fri Apr 27 18:53:15 EDT 2007 i686 i686 
> i386 GNU/Linux
>
> Is that the correct Kernel?
>
> modprobe gspca
> FATAL: Error inserting gspca 
> (/lib/modules/2.6.20-1.2948.fc6/updates/drivers/usb/media/gspca.ko): Invalid 
> module format
>
> And the following in messages after doing modprobe gspca:
>
> May 23 10:29:06 box6 kernel: Linux video capture interface: v2.00
> May 23 10:29:06 box6 kernel: gspca: no version for "struct_module" found: 
> kernel tainted.
> May 23 10:29:06 box6 kernel: gspca: version magic '2.6.20-1.2948.fc6 SMP 
> mod_unload 686 4KSTACKS ' should be '2.6.20-1.2948.fc6 SMP mod_unload 586 
> 4KSTACKS '

Looks like it's not the right kernel.

My mistake above, not awake, sorry.

do
wget wget 
http://fedoraproject.org/wiki/Bugs/FC6Common?action=AttachFile\&do=get\&target=kernel-fix.sh

(so you're adding \s in front of the &s so it'll work on the command line)

and then as root do:
chmod 770 kernel-fix.sh
./kernel-fix.sh

and paste the output somewhere and save it so if it doesn't work you can 
get it back


-- 
Scott van Looy - email:me at ethosuk.org.uk | web:www.ethosuk.org.uk
site:www.freakcity.net - the in place for outcasts since 2003
PGP Fingerprint: 7180 5543 C6C4 747B 7E74  802C 7CF9 E526 44D9 D4A7
       -------------------------------------------
       |/// /// /// /// WIDE LOAD /// /// /// ///|
       -------------------------------------------

I've already told you more than I know.




More information about the users mailing list