Portál AbcLinuxu, 14. května 2025 02:06
modprobe spca5xxpote si nainstalujte napriklad xawtv a zjistete si na kterem videu vam kamera bezi prikazem
xawtv -hvscanpravdepodobne by to melo byt /dev/video0
pote si obraz nahodite treba takhle
xawtv -device /dev/video0pokud se vam obraz nezobrazi tak si zkuste pohrat z nastavnim xawtv ma celkem privetive menu
cat /usr/src/linux/.config | grep VIDEO_DEVa mel bys mit za = "m" (bez uvozovek)
Linux video capture interface: v1.00 usbcore: registered new driver spca5xx /usr/src/spca5xx/drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registeredale:
make: sdl-config: Command not found make: sdl-config: Command not found gcc -DUSE_SDL -O2 -DLINUX -DUSE_SDL -O2 -DLINUX -c -o spcaview.o spcaview.c spcaview.c:33:21: error: SDL/SDL.h: není souborem ani adresářem spcaview.c:34:28: error: SDL/SDL_thread.h: není souborem ani adresářem spcaview.c:35:27: error: SDL/SDL_audio.h: není souborem ani adresářem spcaview.c:36:27: error: SDL/SDL_timer.h: není souborem ani adresářem In file included from spcaview.c:45: SDL_audioin.h:42:28: error: SDL/begin_code.h: není souborem ani adresářem In file included from spcaview.c:45: ... atd ... spcaview.c:1903: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetVideoBpp' spcaview.c: In function 'readFrame': spcaview.c:1964: error: 'struct Rbuffer' has no member named 'ptread' spcaview.c:1965: error: 'struct Rbuffer' has no member named 'ptwrite' spcaview.c:1974: error: 'struct Rbuffer' has no member named 'buffer' spcaview.c:1981: error: 'struct Rbuffer' has no member named 'buffer' spcaview.c:1985: error: 'struct Rbuffer' has no member named 'buffer' spcaview.c:1991: error: 'struct Rbuffer' has no member named 'ptwrite' spcaview.c:1991: error: 'struct Rbuffer' has no member named 'ptwrite' make: *** [spcaview.o] Error 1a dál se nedostanu.
dalibor@notebook:/usr/local/bin$ xawtv -hwscan This is xawtv-3.95, running on Linux/i686 (2.6.17.13) looking for available devices port 65-65 type : Xvideo, image scaler name : ATI Radeon Video Overlay dalibor@notebook:/usr/local/bin$ xawtv -device /dev/video0 This is xawtv-3.95, running on Linux/i686 (2.6.17.13) can't open /dev/video0: No such file or directory v4l-conf had some trouble, trying to continue anyway v4l2: open /dev/video0: není souborem ani adresářem v4l2: open /dev/video0: není souborem ani adresářem v4l: open /dev/video0: není souborem ani adresářem no video grabber device available
dalibor@notebook:/usr/local/bin$ ./spcaview Spcaview version: 1.1.4 date: 27:11:2005 (C) mxhaard@magic.fr Initializing SDL. SDL initialized. bpp 3 format 15 Using video device /dev/video0. Initializing v4l. ERROR opening V4L interface : No such device dalibor@notebook:/usr/local/bin$
Section "Module" .. Load "vbe" Load "v4l"Jinak se přesně jedná o model Acer Orbican Integrated webcam, marně ho hledám v podporovaných zařízeních.
USB SPCA5XX camera found. Pixart ....
[spca5xx_probe:8301] Camera type GBRG
maxw 352 maxh 288 minw 160 minh 120
Linux video capture interface: v1.00 usbcore: registered new driver spca5xx /usr/src/spca5xx/drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered V4L-Driver for Vision CPiA based cameras v1.2.3 Since in-kernel colorspace conversion is not allowed, it is disabled by default now. Users should fix the applications in case they don't work without conversion reenabled by setting the 'colorspace_conv' module parameter to 1 USB driver for Vision CPiA based cameras v1.2.3
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.