Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Asus F5N a webcam  (Přečteno 2894 krát)

Pavol XV

  • Aktivní člen
  • *
  • Příspěvků: 101
    • http://zaweli.yw.sk/
Asus F5N a webcam
« kdy: 19 Května 2009, 22:26:13 »
Zdravim. Potrebujem poradit na Ubuntu 8.04 som svoju vstavanu webcameru rozbehal tymto sposobom http://wiki.ubuntu.cz/Webkamery/stk11xx a isla v pohode aj v skype. No v Ubuntu 9.04 mi to nechce fungovat a neviem kde je zrada no velmi v kode sa nevyznam

Kód: [Vybrat]
pavol@pavol-laptop:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 174f:6a31 Syntek Web Cam - Asus A8J, F3S, F5R, VX2S, V1S
Bus 001 Device 003: ID 0bda:0116 Realtek Semiconductor Corp. Mass Storage Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
pavol@pavol-laptop:~$

a toto pri instalacii

Kód: [Vybrat]
pavol@pavol-laptop:~$ sudo mv camdriver /etc/
pavol@pavol-laptop:~$ cd /etc/camdriver
pavol@pavol-laptop:/etc/camdriver$ make -f Makefile.standalone
make -C /lib/modules/2.6.28-11-generic/build SUBDIRS=/etc/camdriver modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M]  /etc/camdriver/stk11xx-usb.o
  CC [M]  /etc/camdriver/stk11xx-v4l.o
/etc/camdriver/stk11xx-v4l.c: In function ‘v4l_stk11xx_ioctl’:
/etc/camdriver/stk11xx-v4l.c:1662: warning: passing argument 1 of ‘video_usercopy’ from incompatible pointer type
/etc/camdriver/stk11xx-v4l.c:1662: warning: passing argument 2 of ‘video_usercopy’ makes pointer from integer without a cast
/etc/camdriver/stk11xx-v4l.c:1662: warning: passing argument 4 of ‘video_usercopy’ makes integer from pointer without a cast
/etc/camdriver/stk11xx-v4l.c:1662: 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:1686: warning: assignment from incompatible pointer type
/etc/camdriver/stk11xx-v4l.c: At top level:
/etc/camdriver/stk11xx-v4l.c:1728: error: variable ‘v4l_stk11xx_fops’ has initializer but incomplete type
/etc/camdriver/stk11xx-v4l.c:1729: error: unknown field ‘owner’ 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 ‘open’ 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 ‘release’ 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’)
/etc/camdriver/stk11xx-v4l.c:1732: error: unknown field ‘read’ specified in initializer
/etc/camdriver/stk11xx-v4l.c:1732: warning: excess elements in struct initializer
/etc/camdriver/stk11xx-v4l.c:1732: warning: (near initialization for ‘v4l_stk11xx_fops’)
/etc/camdriver/stk11xx-v4l.c:1733: error: unknown field ‘poll’ specified in initializer
/etc/camdriver/stk11xx-v4l.c:1733: warning: excess elements in struct initializer
/etc/camdriver/stk11xx-v4l.c:1733: warning: (near initialization for ‘v4l_stk11xx_fops’)
/etc/camdriver/stk11xx-v4l.c:1734: error: unknown field ‘mmap’ specified in initializer
/etc/camdriver/stk11xx-v4l.c:1734: warning: excess elements in struct initializer
/etc/camdriver/stk11xx-v4l.c:1734: warning: (near initialization for ‘v4l_stk11xx_fops’)
/etc/camdriver/stk11xx-v4l.c:1735: error: unknown field ‘ioctl’ specified in initializer
/etc/camdriver/stk11xx-v4l.c:1735: warning: excess elements in struct initializer
/etc/camdriver/stk11xx-v4l.c:1735: warning: (near initialization for ‘v4l_stk11xx_fops’)
make[2]: *** [/etc/camdriver/stk11xx-v4l.o] Chyba 1
make[1]: *** [_module_/etc/camdriver] Chyba 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [driver] Chyba 2
pavol@pavol-laptop:/etc/camdriver$ sudo modprobe videodev
pavol@pavol-laptop:/etc/camdriver$ sudo modprobe v4l1-compat
pavol@pavol-laptop:/etc/camdriver$ sudo insmod stk11xx.ko
insmod: can't read 'stk11xx.ko': No such file or directory
pavol@pavol-laptop:/etc/camdriver$
\\_|_/ Pavol XV <O>   U804-64b (Ubuntu8.04-64bit)

pavolzetor

  • Host
Re: Asus F5N a webcam
« Odpověď #1 kdy: 21 Května 2009, 18:09:36 »

Pavol XV

  • Aktivní člen
  • *
  • Příspěvků: 101
    • http://zaweli.yw.sk/
Re: Asus F5N a webcam
« Odpověď #2 kdy: 23 Května 2009, 16:54:53 »
Dik, ale aj tak nechapem co tam je napisane. Anglicky neviem a google mi tuto stranku nevie prelozit.
\\_|_/ Pavol XV <O>   U804-64b (Ubuntu8.04-64bit)

pavolzetor

  • Host
Re: Asus F5N a webcam
« Odpověď #3 kdy: 23 Května 2009, 20:21:48 »
skompiluj verziu 1.4 a potom vykonaj "sudo addgroup $USER video", kde tá premená je tvoje prihlasovacie meno

tala2xlc

  • Návštěvník
  • Příspěvků: 13
Re: Asus F5N a webcam
« Odpověď #4 kdy: 31 Května 2009, 20:15:06 »
mam tu istu webkameru a ten isty problem ...preinstalovanie linux-headers nepomohlo a pri kompilacii mi vyhodi presne to iste...
Kód: [Vybrat]
make[1]: Entering directory `/lib/modules/2.6.27-14-generic/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/2.6.27-14-generic/build'
make: *** [driver] Chyba 2

nejaka rada pls....
ASUS F5V, Intel Dualcore T2130, 2GB RAM, 160GB hitachi HDD, ATI X2300 128MB (839 hypermemory), Ubuntu 8.10 , Vista Business 32bit

 

Provoz zaštiťuje spolek OpenAlt.