Početak›Forumi›Linuks›Opšte Linuks diskusije›Web kamera na slackware 12?
- This topic has 61 odgovor, 6 glasova, and was last updated 16 years ranije by nole1.
-
AutorČlanci
-
1. avgust 2007. u 7:25 pm #58551dukenukem_4dUčesnik
mislim da ne treba video,samo napravi screen od desktopa
kada radi kamerica!(kao ono My linux desktop)1. avgust 2007. u 7:29 pm #58552sdfasfasffsdqqfdqUčesnikmislim da ne treba video,samo napravi screen od desktopa
kada radi kamerica!(kao ono My linux desktop)posalacu ti to kasnije! sad nesto skidam sa neta
a sta rece kolko ti treba vremena da zavrsis ono sa actiontec modemom i sta ti uopste radis sa njim trenutno?1. avgust 2007. u 7:33 pm #58553dukenukem_4dUčesnikznaci ,nakacis ovde screenshot desktopa i oznacis temu da je resena
(malo je bilo offtopic doduse ali sta da se radi)
osim toga nisam siguran da je na linuxo uopste do sada nakacena slicka sa kamerice?
ili je bilo davno.1. avgust 2007. u 7:48 pm #58554sdfasfasffsdqqfdqUčesniknemogu sad da resetujem komp posto skidam nesto!sutra kad instaliram mandrivu uradicu isto ono kao na pclos i poslacu vam screenshot 🙂
2. avgust 2007. u 6:10 am #58555nowaveUčesnikZnaci kamerica je proradila? Super. Izvinjavam se sto se nisam juce javljao, bio sam prilicno zauzet. Gde je Screenshot? 🙂
Nasao sam kako promeniti output driver za tvtime:
tvtime -D driver
gde je driver jedan od sledecih:
Xv, DirectFB, mga, matroxtv, SDL2. avgust 2007. u 12:46 pm #58556KixUčesnikIsti problem a drugacija web kamera.
Logitech QuikCam Express evo i slika kako izgleda. http://www.sybaritic.co.za/store/images/WC-LQEs.jpg
Prvo sa uradio lsusb :
[code]root@Kix:/home/kix# lsusb
Bus 5 Device 1: ID 0000:0000
Bus 3 Device 1: ID 0000:0000
Bus 1 Device 1: ID 0000:0000
Bus 4 Device 1: ID 0000:0000
Bus 2 Device 5: ID 046d:092f Logitech, Inc.
Bus 2 Device 2: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
Bus 2 Device 1: ID 0000:0000
[/code]zatim skinuo sa drajver http://mxhaard.free.fr/spca5xx.html za pomenutu kameru jer se nalazi u listi ali prilikom instaliranja izbaci mi sledece :
[code]bash-3.1# make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.21.5′
CC [M] /home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:39:26: error: linux/config.h: No such file or directory
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca50x_init_isoc’:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:1623: warning: assignment from incompatible pointer type
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_open’:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2394: warning: implicit declaration of function ‘video_devdata’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2394: warning: initialization makes pointer from integer without a cast
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2399: warning: implicit declaration of function ‘video_get_drvdata’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2399: warning: initialization makes pointer from integer without a cast
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_close’:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2489: warning: initialization makes pointer from integer without a cast
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_do_ioctl’:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2549: warning: initialization makes pointer from integer without a cast
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_ioctl’:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3093: warning: implicit declaration of function ‘video_usercopy’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_read’:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3112: warning: initialization makes pointer from integer without a cast
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_mmap’:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3211: warning: initialization makes pointer from integer without a cast
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: At top level:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3263: error: variable ‘spca50x_template’ has initializer but incomplete type
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3264: error: unknown field ‘owner’ specified in initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3264: warning: excess elements in struct initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3264: warning: (near initialization for ‘spca50x_template’)
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3265: error: unknown field ‘name’ specified in initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3265: warning: excess elements in struct initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3265: warning: (near initialization for ‘spca50x_template’)
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3266: error: unknown field ‘type’ specified in initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3266: warning: excess elements in struct initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3266: warning: (near initialization for ‘spca50x_template’)
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3267: error: unknown field ‘hardware’ specified in initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3267: warning: excess elements in struct initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3267: warning: (near initialization for ‘spca50x_template’)
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3268: error: unknown field ‘fops’ specified in initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3268: warning: excess elements in struct initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3268: warning: (near initialization for ‘spca50x_template’)
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: error: unknown field ‘release’ specified in initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: error: ‘video_device_release’ undeclared here (not in a function)
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: warning: excess elements in struct initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: warning: (near initialization for ‘spca50x_template’)
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3272: error: unknown field ‘minor’ specified in initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3272: warning: excess elements in struct initializer
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3272: warning: (near initialization for ‘spca50x_template’)
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘cd_to_spca50x’:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3340: warning: implicit declaration of function ‘to_video_device’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3340: warning: initialization makes pointer from integer without a cast
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3341: warning: return makes pointer from integer without a cast
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca50x_create_sysfs’:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3450: warning: implicit declaration of function ‘video_device_create_file’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_probe’:
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5509: warning: implicit declaration of function ‘video_device_alloc’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5509: warning: assignment makes pointer from integer without a cast
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5512: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5512: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5512: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5514: error: dereferencing pointer to incomplete type
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5516: warning: implicit declaration of function ‘video_set_drvdata’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: warning: implicit declaration of function ‘video_register_device’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function)
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: (Each undeclared identifier is reported only once
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: for each function it appears in.)
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5550: error: dereferencing pointer to incomplete type
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5551: warning: implicit declaration of function ‘video_device_release’
/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5553: warning: implicit declaration of function ‘video_unregister_device’
make[2]: *** [/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o] Error 1
make[1]: *** [_module_/home/kix/Arhiva/WEBCAM/spca5xx-v4l1goodbye] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21.5′
make: *** [default] Error 2
[/code]Sta posle ovoga …
2. avgust 2007. u 12:59 pm #58557nowaveUčesnikSkini poslednju verziju kernela, otpakuj ga gde hoces, ali napravi simbolicku vezu ka njemu u diru /usr/src/:
ln -s /dir_gde_je_kernel /usr/src/linux,
zatim skini poslednju verziju tog driver-a kojeg build-ujes, i pokusaj ponovo.2. avgust 2007. u 1:33 pm #58558sdfasfasffsdqqfdqUčesnike Kix aj mi nadji drajver za moju genius kameru ja sam gledao na ovom sajtu ali nigde nema da pise download!
3. avgust 2007. u 9:54 am #58559KixUčesnikDownload je pri vrhu strane.
Ali to tebi neznaci nista jer tvoj tip kamere se ne nalazi na spisku. Ja bar nemogu da je nadjem.
Pogledaj ovde http://www.qbik.ch/usb/devices/showdevcat.php?id=9&o=140&w=t&s=v&d=a3. avgust 2007. u 10:54 am #58560dukenukem_4dUčesnik@kmix to je u stvari taj driver i za Bl4cK_DoOm -ovu genius kamericu vid c45 pid 6005 ili 6007
pogledaj datoteku gspca_core.c i trazi po pid-ovima
ime uredjaja je drugacije ali to je nebitno (uglavnom) ako je pid istidirektan link do drivera za Bl4cK_DoOm
http://mxhaard.free.fr/spca50x/Download/gspcav1-20070508.tar.gz -
AutorČlanci
Moraš biti prijavljen da bi postavio komentar u ovoj temi.