Portál AbcLinuxu, 12. května 2025 13:41
Zdravím, nejdříve musím říct, že o přechodu na Ubuntu 9.04 nemůže být řeč, protože je pro můj HW nestabilní zdáse. Můj problém je, že nevidím kameru v žádném softu... Myslím, že by měla být vidět v dev/video ale není tam nic... našel jsem návod na ubuntu.cz:
http://wiki.ubuntu.cz/Webkamery/stk11xx
při zadání:
make -f Makefile.standalone
mám chybu:
make -C /lib/modules/2.6.29/build SUBDIRS= modules
make: *** /lib/modules/2.6.29/build: No such file or directory. Stop.
make: *** [driver] Error 2
zadám tedy nápravu jak píší v návodu- intalace ctags:
sudo apt-get install ctags
Pozn: Vybírám exuberant-ctags místo ctags
exuberant-ctags je již nejnovější verze.
0 aktualizováno, 0 nově instalováno, 0 k odstranění a 0 neaktualizováno.
jarda@jarda-laptop:/etc/camdriver$ make clean
make: *** No rule to make target `clean'. Stop.
jarda@jarda-laptop:/etc/camdriver$ make
make: *** No targets. Stop.
co teď?? :(
Dobry den,
me funguje kamera v pohode, pouzivam program cheese. Mozna napiste typ notebooku, jestli nekdo ma podobnou zkusenost jako Vy.
právě, že Cheese mi byl porazen pro "hraní", žel mám tam okno se zrněním -> nejsou prostě ovladače na kameru.
Mám notebook Asus F5R (integrovaná ATI grafika, 1.86 GHz Dual Core, ...)
make: *** /lib/modules/2.6.29/build: No such file or directory. Stop.ta chyba říkala, že v /lib/modules/ není složka s tím číslem- číslem jádra. Přepsal jsem soubor Makefile.standalone na číslo mého jádra v Ubuntu 8.10 a hlásí mi to teď tyto chyby:
jarda@jarda-laptop:/etc/camdriver$ make -f Makefile.standalone make -C /lib/modules/2.6.27-11-generic/build SUBDIRS=/etc/camdriver modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' CC [M] /etc/camdriver/stk11xx-v4l.o /etc/camdriver/stk11xx-v4l.c: In function ‘v4l_stk11xx_ioctl’: /etc/camdriver/stk11xx-v4l.c:1658: warning: passing argument 1 of ‘video_usercopy’ from incompatible pointer type /etc/camdriver/stk11xx-v4l.c:1658: warning: passing argument 2 of ‘video_usercopy’ makes pointer from integer without a cast /etc/camdriver/stk11xx-v4l.c:1658: warning: passing argument 4 of ‘video_usercopy’ makes integer from pointer without a cast /etc/camdriver/stk11xx-v4l.c:1658: error: too few arguments to function ‘video_usercopy’ /etc/camdriver/stk11xx-v4l.c: In function ‘v4l_stk11xx_register_video_device’: /etc/camdriver/stk11xx-v4l.c:1682: warning: assignment from incompatible pointer type /etc/camdriver/stk11xx-v4l.c: At top level: /etc/camdriver/stk11xx-v4l.c:1724: error: variable ‘v4l_stk11xx_fops’ has initializer but incomplete type /etc/camdriver/stk11xx-v4l.c:1725: error: unknown field ‘owner’ specified in initializer /etc/camdriver/stk11xx-v4l.c:1725: warning: excess elements in struct initializer /etc/camdriver/stk11xx-v4l.c:1725: warning: (near initialization for ‘v4l_stk11xx_fops’) /etc/camdriver/stk11xx-v4l.c:1726: error: unknown field ‘open’ specified in initializer /etc/camdriver/stk11xx-v4l.c:1726: warning: excess elements in struct initializer /etc/camdriver/stk11xx-v4l.c:1726: warning: (near initialization for ‘v4l_stk11xx_fops’) /etc/camdriver/stk11xx-v4l.c:1727: error: unknown field ‘release’ specified in initializer /etc/camdriver/stk11xx-v4l.c:1727: warning: excess elements in struct initializer /etc/camdriver/stk11xx-v4l.c:1727: warning: (near initialization for ‘v4l_stk11xx_fops’) /etc/camdriver/stk11xx-v4l.c:1728: error: unknown field ‘read’ specified in initializer /etc/camdriver/stk11xx-v4l.c:1728: warning: excess elements in struct initializer /etc/camdriver/stk11xx-v4l.c:1728: warning: (near initialization for ‘v4l_stk11xx_fops’) /etc/camdriver/stk11xx-v4l.c:1729: error: unknown field ‘poll’ specified in initializer /etc/camdriver/stk11xx-v4l.c:1729: warning: excess elements in struct initializer /etc/camdriver/stk11xx-v4l.c:1729: warning: (near initialization for ‘v4l_stk11xx_fops’) /etc/camdriver/stk11xx-v4l.c:1730: error: unknown field ‘mmap’ specified in initializer /etc/camdriver/stk11xx-v4l.c:1730: warning: excess elements in struct initializer /etc/camdriver/stk11xx-v4l.c:1730: warning: (near initialization for ‘v4l_stk11xx_fops’) /etc/camdriver/stk11xx-v4l.c:1731: error: unknown field ‘ioctl’ specified in initializer /etc/camdriver/stk11xx-v4l.c:1731: warning: excess elements in struct initializer /etc/camdriver/stk11xx-v4l.c:1731: warning: (near initialization for ‘v4l_stk11xx_fops’) make[2]: *** [/etc/camdriver/stk11xx-v4l.o] Error 1 make[1]: *** [_module_/etc/camdriver] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' make: *** [driver] Error 2
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.