how can i use the EyeToy

Forum for questions and support relating to the 1.24.x releases only.
Locked
makuser
Posts: 1
Joined: Tue Aug 18, 2009 1:13 pm

how can i use the EyeToy

Post by makuser »

Hello dear community,
I have a Sony EyeToy (Logitech / Namtai).
How must I configure ZM, so that it runs with the camera?
I need the setting values.
The camera is mounted at / dev/video0.
I have run lsusb and it came out:

Code: Select all

root@router_de:/# lsusb
***
Bus 004 Device 002: ID 054c:0155 Sony Corp.
***
root@router_de:/#
So i think, that the cam is detectet, but it doesn't work with my settings.

I NEED YOUR HELP

MAK
hushpuppy
Posts: 147
Joined: Wed Aug 08, 2007 10:28 am

Post by hushpuppy »

Are any drivers loaded for the cam?, (lsmod). Thats the first thing you need, and to try and get things working i ALWAYS start off with "auto" and "grey" settings with 320 x 240 size (and try /dev/video AND /dev/video0)

Stop / disable all other sources until you get this working, even if they themselves work.
kiko-lpa
Posts: 8
Joined: Sun Mar 28, 2010 6:15 pm

Eyetoy Drivers.

Post by kiko-lpa »

Hi to all. :)
:shock: I am new in the community and Zoneminder user. I am planning to use ZM and of the cams I will use is the Eyetoy from PSP2.
My installation will run under a runnig Ubuntu 9.04, later will port to Ubuntu 9.10 and Ubuntu Enterprise Cloud. http://www.ubuntu.com/cloud/private

I have managed to make Eyetoy to work on a Windows Vista System using the following http://www.publiblanes.net/eye_toy/Inst ... _en_xp.htm SORRY SPANISH.

From what I have seen Ubuntu includes drivers for Eyetoy or can install using http://www.ubuntu-es.org/index.php?q=node/72578 SORRY SPANISH AGAIN

The working drivers are in http://www.rastageeks.org/downloads/ov51x-jpeg/

I hope this will help and will be back with results.
:arrow: :wink:
kiko-lpa
Posts: 8
Joined: Sun Mar 28, 2010 6:15 pm

Bit further

Post by kiko-lpa »

hi Again,

I have made a bit progress and now I am closer to see something.

After trying to install ov51x in different ways, at last managed using the following from http://ubuntuforums.org/archive/index.php/t-273166.html

Code: Select all

apt-get update
apt-get install ov51x-jpeg-source module-assistant
module-assistant a-i ov51x-jpeg
The aboved worked for me with no problem.

Now if I tail /var/log/syslog I get:

Code: Select all

Mar 29 10:06:37 lin-server zmc_dvideo0[5021]: INF [Servidores: 10000 - Capturing at 13.89 fps]
Mar 29 10:07:49 lin-server zmc_dvideo0[5021]: INF [Servidores: 11000 - Capturing at 13.89 fps]
Mar 29 10:09:00 lin-server zmc_dvideo0[5021]: INF [Servidores: 12000 - Capturing at 14.08 fps]
Mar 29 10:09:15 lin-server zmdc[2442]: INF [Starting pending process, zmc -m 2]
Mar 29 10:09:15 lin-server zmdc[5197]: INF ['zmc -m 2' started at 10/03/29 10:09:15]
Mar 29 10:09:15 lin-server zmc_m2[5197]: INF [Debug Level = 0, Debug Log = <none>]
Mar 29 10:09:15 lin-server zmdc[2442]: INF ['zmc -m 2' starting at 10/03/29 10:09:15, pid = 5197]
Mar 29 10:09:15 lin-server zmc_m2[5197]: ERR [No monitors found]
Mar 29 10:09:15 lin-server zmdc[2442]: ERR ['zmc -m 2' exited abnormally, exit status 255]
Will findout abouth the 255 error code.

Even the log says that there is not monitor created I Have one called servidores. Maybe I need more documentation reading as I am new to ZM.

The important part is the there is a video recognition that captures frames at 13 or 14 fps from my Eyetoy, also y I access the monitor I don't see any image but the system gives such information.

Furthermore: I am configuring the monitor with thhe following options:
From SOURCE TAB:
Device Path /dev/video0
Capture Method Video for Linux version 2
Device Channel 0
Device Format PAL
Capture Palette JPEG
Capture Width (pixels) 489
Capture Height (pixels) 240
Preserve Aspect Ratio Yes
Orientation Normal

Once Again I hope this will help someone,
Will keep on trying. :P
kiko-lpa
Posts: 8
Joined: Sun Mar 28, 2010 6:15 pm

Confirmed EYETOY Namtai Working

Post by kiko-lpa »

Got it at last.

Have to say that some of my problems were that did not know much about ZM, more reading.

At the end this is what I have.
- Ubuntu Server 9.10 upgraded from working 9.04
- Installed with apt-get. Version 1.24.1 (Needs upgrading to 1.24.2)
- No use of ov51x-jpeg from http://www.rastageeks.org/ov51x-jpeg/in ... /Main_Page
- gspca includes gspca_ov519. Run

Code: Select all

lsmod
- When quering the video

Code: Select all

zmu -d /dev/video0  -q -v
I get all data as it should be.
- Config for the Eyetoy Namtai:
Video 4 Linux 2
PAL G
RGB24
Width 320
Height 240

Please, take note for newbies that when you change cameras settings best to restart Zoneminder.

Code: Select all

 /etc/init.d/zoneminder restart
I got this camera for 4€ at a second hand shop, I use it for small space where at the computing deptarment and the quality is very fine for my needs, probably I will get another 2 cams.

Thanks to all googlers out there.
dom_
Posts: 4
Joined: Thu May 29, 2008 10:10 pm

Post by dom_ »

Hi all,

I used the driver mentioned a long time ago but I wasn't able to compile
it on my gentoo 2.6.33 kernel.
This are patches I found while googling to make it compile again with 2.6.33 kernel.

To note that I used those patchs :
kernel_messages.patch
ov51x-jpeg-2.6.29.patch
ov51x-jpeg-2.6.30.patch
noowner.patch
v4lcompat_old_kernels_only.patch

and in my case, I replaced "linux/autoconf.h" with "generated/autoconf.h"

Using this, I'm able to get my eyetoy working back.

Hope this can help people out there.

++dom
kiko-lpa
Posts: 8
Joined: Sun Mar 28, 2010 6:15 pm

Upgrading to Ubuntu 10.4 Lucid Lynx

Post by kiko-lpa »

When upgraded to Ubuntu 10.4 Lucid Lynx my config broke.

Managed to make it work following http://www.zoneminder.com/forums/viewto ... 3801#63801

Many thanks to kayjaygee_13 for the post
Locked