Power Developer https://powerdeveloper.org/forums/ |
|
Video on Efika https://powerdeveloper.org/forums/viewtopic.php?f=7&t=1788 |
Page 1 of 1 |
Author: | patryk [ Wed Mar 24, 2010 6:34 am ] |
Post subject: | Video on Efika |
Did anyone use a usb video camera ? I need to capture images and store them at hdd I tried install Palantir, but there are errors like Code: efika:/Palantir/server_# make
When I try use ready program I seegcc -Wall -D_REENTRANT -O2 -g -c -o jpeg.o jpeg.c jpeg.c:15:21: error: jpeglib.h: No such file or directory Code: efika:/Palantir/serverPPC# ./palantir
I installed available one./palantir: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./palantir) Code: efika:/Palantir/serverPPC# aptitude search glibc
Have anyone idea what I did wrong?
v glibc-2.3.6-2 - v glibc-2.3.6.ds1-1 - p glibc-doc - GNU C Library: Documentation v glibc-pic - i libg++2.8.1.3-glibc2.2 - The GNU C++ extension library - runtime ve i A libstdc++2.10-glibc2.2 - The GNU stdc++ library |
Author: | Neko [ Wed Mar 24, 2010 10:35 am ] |
Post subject: | Re: Video on Efika |
Quote: Did anyone use a usb video camera ?
apt-get install libjpeg6-devI need to capture images and store them at hdd I tried install Palantir, but there are errors like Code: efika:/Palantir/server_# make
When I try use ready program I seegcc -Wall -D_REENTRANT -O2 -g -c -o jpeg.o jpeg.c jpeg.c:15:21: error: jpeglib.h: No such file or directory Code: efika:/Palantir/serverPPC# ./palantir
./palantir: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./palantir) ?? Quote: Have anyone idea what I did wrong?
The premade one is obviously for a future version of the distro you're using (I will assume Debian here?) so you will have to compile it yourself as above.If you're missing a header, you basically just need to install the development package for that library. They're usually named in a really hinky way though.. you may just have to apt-cache search libjpeg* and have a look for example. |
Author: | patryk [ Thu Mar 25, 2010 9:23 am ] |
Post subject: | |
You ware right, thank you :-) but now I met next challenge Code: efika:/home/# palantir
everything look okMar 25 10:59:51 [main] -- palantir 2.7 starting -- Mar 25 10:59:51 [main] Definitions for 7 devices found Mar 25 10:59:51 [main] No serial port specified Mar 25 10:59:51 [main] No named pipe specified Mar 25 10:59:51 [video] Card: vivi (/dev/video0) Mar 25 10:59:51 [video] Capabilities: 1 (capture ) Mar 25 10:59:51 [video] Size: (48x32)-(1024x768) Mar 25 10:59:51 [video] Channel no. 0 ('Camera') tuners: 0, flags: 0, type: 2, norm: 1 Mar 25 10:59:51 [video] brightness: 32896 hue: 32896 colour: 32896 Mar 25 10:59:51 [video] contrast: 32896 whiteness: 0 Mar 25 10:59:51 [video] depth: (16) palette: 8 Mar 25 10:59:51 [video] Actual capture box is 320x240 (requested 320x240) Mar 25 10:59:51 [video] Video buffer size: 1245184, frames: 8 Mar 25 10:59:51 [main] Starting device thread Mar 25 10:59:51 [main] Listening on 0.0.0.0 port 3000 Mar 25 10:59:51 [main] Control queue timeout set to 30 s now I try to connect from another machine I paste efika IP address in web browser forexample http://192.168.0.1:3000 and I see a black preview at efika I see something like that Code: Mar 25 11:01:46 [main] 192.168.0.66 - #0: connection accepted, spawning
has someone meet with a similar problem?
server. Mar 25 11:01:46 [main] 1 client(s) connected Mar 25 11:01:46 [main] Capture thread started Mar 25 11:01:46 [http] 192.168.0.66 - video server started Mar 25 11:01:46 [video] CMCAPTURE - mmap failed, should revert to read(): Device or resource busy Mar 25 11:01:46 [video] CSYNC: Device or resource busy |
Author: | Neko [ Thu Mar 25, 2010 7:20 pm ] |
Post subject: | |
Quote: You ware right, thank you :-)
You may need to run the webserver at a higher permissions level (or reduce the permission requirements on the video device). Web server users like "www" usually have absolutely no access to this level of hardware use.but now I met next challenge Code: efika:/home/# palantir
everything look okMar 25 10:59:51 [main] -- palantir 2.7 starting -- Mar 25 10:59:51 [main] Definitions for 7 devices found Mar 25 10:59:51 [main] No serial port specified Mar 25 10:59:51 [main] No named pipe specified Mar 25 10:59:51 [video] Card: vivi (/dev/video0) Mar 25 10:59:51 [video] Capabilities: 1 (capture ) Mar 25 10:59:51 [video] Size: (48x32)-(1024x768) Mar 25 10:59:51 [video] Channel no. 0 ('Camera') tuners: 0, flags: 0, type: 2, norm: 1 Mar 25 10:59:51 [video] brightness: 32896 hue: 32896 colour: 32896 Mar 25 10:59:51 [video] contrast: 32896 whiteness: 0 Mar 25 10:59:51 [video] depth: (16) palette: 8 Mar 25 10:59:51 [video] Actual capture box is 320x240 (requested 320x240) Mar 25 10:59:51 [video] Video buffer size: 1245184, frames: 8 Mar 25 10:59:51 [main] Starting device thread Mar 25 10:59:51 [main] Listening on 0.0.0.0 port 3000 Mar 25 10:59:51 [main] Control queue timeout set to 30 s now I try to connect from another machine I paste efika IP address in web browser forexample http://192.168.0.1:3000 and I see a black preview at efika I see something like that Code: Mar 25 11:01:46 [main] 192.168.0.66 - #0: connection accepted, spawning
has someone meet with a similar problem?server. Mar 25 11:01:46 [main] 1 client(s) connected Mar 25 11:01:46 [main] Capture thread started Mar 25 11:01:46 [http] 192.168.0.66 - video server started Mar 25 11:01:46 [video] CMCAPTURE - mmap failed, should revert to read(): Device or resource busy Mar 25 11:01:46 [video] CSYNC: Device or resource busy "Device or resource busy" could mean anything, some error code like -ENODEV or -EBUYS which is used for a hell of a lot of things. It would help if I could quickly look at the source that is producing the error... is that text output coming from Ruby or from a system library? |
Author: | patryk [ Fri Mar 26, 2010 2:38 am ] |
Post subject: | |
I made mestake, I thought that /dev/video0 is my camera, I compared Windows drivers, and I found that it recognize my camera as UVC camera, so I installed Debian package linux-uvc-source, then I load modules Code: efika:/home/# lsmod
Module Size Used by uvcvideo 63144 0 radeon 139688 0 drm 91384 1 radeon agpgart 37500 1 drm evdev 12576 2 dmesg: Code: usb 1-2: new full speed USB device using ppc-of-ohci and address 6
after thaht I found /dev/video1, so I changed default config and set Video as /dev/video1, but now it is some kind problem with "video channel"usb 1-2: configuration #1 chosen from 1 choice uvcvideo: Found UVC 1.00 device Sirius USB2.0 Camera (0ac8:3343) uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround. input: Sirius USB2.0 Camera as /class/input/input3 Code: efika:/home/# palantir
Mar 26 01:55:41 [main] -- palantir 2.7 starting -- Mar 26 01:55:41 [main] Definitions for 7 devices found Mar 26 01:55:41 [main] No serial port specified Mar 26 01:55:41 [main] No named pipe specified Mar 26 01:55:41 [video] Card: Sirius USB2.0 Camera (/dev/video1) Mar 26 01:55:41 [video] Capabilities: 1 (capture ) Mar 26 01:55:41 [video] Size: (48x32)-(352x288) Mar 26 01:55:41 [video] ** Fatal error: GCHAN: Invalid argument |
Author: | Neko [ Sun Mar 28, 2010 11:37 am ] |
Post subject: | |
Quote: I made mestake, I thought that /dev/video0 is my camera, I compared Windows drivers, and I found that it recognize my camera as UVC camera, so I installed Debian package linux-uvc-source, then I load modules
A quick search turned this up (Dutch) http://gathering.tweakers.net/forum/lis ... es/1303847 - no solution.Code: efika:/home/# lsmod
Module Size Used by uvcvideo 63144 0 radeon 139688 0 drm 91384 1 radeon agpgart 37500 1 drm evdev 12576 2 dmesg: Code: usb 1-2: new full speed USB device using ppc-of-ohci and address 6
after thaht I found /dev/video1, so I changed default config and set Video as /dev/video1, but now it is some kind problem with "video channel"usb 1-2: configuration #1 chosen from 1 choice uvcvideo: Found UVC 1.00 device Sirius USB2.0 Camera (0ac8:3343) uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround. input: Sirius USB2.0 Camera as /class/input/input3 Code: efika:/home/# palantir Mar 26 01:55:41 [main] -- palantir 2.7 starting -- Mar 26 01:55:41 [main] Definitions for 7 devices found Mar 26 01:55:41 [main] No serial port specified Mar 26 01:55:41 [main] No named pipe specified Mar 26 01:55:41 [video] Card: Sirius USB2.0 Camera (/dev/video1) Mar 26 01:55:41 [video] Capabilities: 1 (capture ) Mar 26 01:55:41 [video] Size: (48x32)-(352x288) Mar 26 01:55:41 [video] ** Fatal error: GCHAN: Invalid argument The second result on Google is this thread! :( |
Author: | patryk [ Mon Mar 29, 2010 4:02 pm ] |
Post subject: | |
yessss, I read that thread ;-) I compiled 2.6.33 egg, UVCVIDEO is in module, it loads itself when I connect camera but now it stops at: Code: efika:/home/# palantir
Mar 30 00:14:13 [main] -- palantir 2.7 starting -- Mar 30 00:14:13 [main] Definitions for 7 devices found Mar 30 00:14:13 [main] No serial port specified Mar 30 00:14:13 [main] No named pipe specified Mar 30 00:14:13 [video] Card: Sirius USB2.0 Camera (/dev/video0) Mar 30 00:14:13 [video] Capabilities: 1 (capture ) Mar 30 00:14:13 [video] Size: (48x32)-(352x288) Mar 30 00:14:13 [video] Channel no. 0 ('Camera 1') tuners: 0, flags: 0, type: 2, norm: 0 Mar 30 00:14:13 [video] ** Fatal error: SCHAN: Invalid argument |
Author: | Neko [ Mon Mar 29, 2010 10:14 pm ] |
Post subject: | |
Quote: yessss, I read that thread ;-)
Well, I am sorry I cannot help you, I don't know enough about what you are trying to do nor can I really test it out to see what the problem is. It's really not an Efika problem but a general Linux problem (the thread above is certainly just someone with a PC).I compiled 2.6.33 egg, UVCVIDEO is in module, it loads itself when I connect camera but now it stops at: Code: efika:/home/# palantir Mar 30 00:14:13 [main] -- palantir 2.7 starting -- Mar 30 00:14:13 [main] Definitions for 7 devices found Mar 30 00:14:13 [main] No serial port specified Mar 30 00:14:13 [main] No named pipe specified Mar 30 00:14:13 [video] Card: Sirius USB2.0 Camera (/dev/video0) Mar 30 00:14:13 [video] Capabilities: 1 (capture ) Mar 30 00:14:13 [video] Size: (48x32)-(352x288) Mar 30 00:14:13 [video] Channel no. 0 ('Camera 1') tuners: 0, flags: 0, type: 2, norm: 0 Mar 30 00:14:13 [video] ** Fatal error: SCHAN: Invalid argument You might have much better luck posting to a forum specifically for Palantir or any other related software you're using. |
Page 1 of 1 | All times are UTC-06:00 |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |