Ubuntu server & eyetoy

Forum for questions and support relating to the 1.24.x releases only.
Locked
amphibian
Posts: 3
Joined: Sun Mar 10, 2013 3:45 am

Ubuntu server & eyetoy

Post by amphibian »

I know this camera is an oldie, but I have five of these and it's all I got for right now. Cameras are woking under windows xpcrap and works with my Ubuntu desk-top machine with camera monitoring software and vlc.

I have read most every post on here ref. set up of this usb cam and for the life of me can't get it to work.

I have installed Ubuntu 10.04
Installed Zoneminder
Made the mods to for memory
Made the additions to zmdc.pl

Then I go to setup monitor I select the following "Presets":

BTTV (V4l2) PAL 320x240 and it show registered, then the active light (show recording on camera) goes off on the eyetoy and I have no video.

All other presets I use, monitor will show registered then within a few seconds will de-regisster.

Do I actually have to restart zoneminder each time I load a different preset?
Do these only work in "Low", "Medium" or "High" bandwidth?
Do I need to run something like cambozola streaming and route that stream to zomeminder?

And most importantly, does anyone know if and how to run a stream from vlc to zoneminder if I have to use a seperate stream to zoneminder to get this thing working.

Any help would be more than helpful.

Thanks
amphibian
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Re: Ubuntu server & eyetoy

Post by jameswilson »

What does zmu say about the camera
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
amphibian
Posts: 3
Joined: Sun Mar 10, 2013 3:45 am

Re: Ubuntu server & eyetoy

Post by amphibian »

James Wilson,

Thanks for your quick assistance, you requested the output of zmu,


zmu -d /dev/video0 -q -v -U (username) -P (passwd) -V1 returns the following info:


Video Capabilities
Name: Logitech EyeToy USB Camera
Type : 1
Can capture
Video Channels: 1
Audio Channels: 1
Maximum Width: 640
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 640
Height: 480
Picture Attributes
Palette: 0 -Unknown
Colour Depth: 8
Brightness: 32639
Hue: 0
Colour: 32639
Contrest: 32639
Whiteness: 0
Channel 0 Attributes
Name: ov519
Channel: 0
Flags: 0
Type: 2 - Camera
Format: 0 -PAL


If you would like more info please send me a request with the command parameters and I will run it.

Thanks

amphibian
patman
Posts: 13
Joined: Fri Feb 22, 2013 9:19 pm

Re: Ubuntu server & eyetoy

Post by patman »

Hello i tried also to geht run my Old PS2 eyetoy Camera.
Which username and pw i have to use here?

zmu -d /dev/video0 -q -v -U (username) -P (passwd) -V1

I have only greenscreen if i use jpg in my settings or black&white snow if i use rgb24
Attachments
image.jpg
image.jpg (59.46 KiB) Viewed 7479 times
image.jpg
image.jpg (51.15 KiB) Viewed 7479 times

-> Linux version 3.2.0-40-generic-pae
-> ZoneMinder v1.25.0
-> Hootoo IP Cam
-> Ps2 EyeToy Camera
PacoLM
Posts: 971
Joined: Wed Dec 02, 2009 9:55 pm
Location: Spain

Re: Ubuntu server & eyetoy

Post by PacoLM »


After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
patman
Posts: 13
Joined: Fri Feb 22, 2013 9:19 pm

Re: Ubuntu server & eyetoy

Post by patman »

hi,
it doesnt help.
the first link i an ps3 eyetoy camera .
the second i allready read but nothing good for me.

and my qustion was...
Which username and pw i have to use here?

zmu -d /dev/video0 -q -v -U (username) -P (passwd) -V1
EDIT
The output from zmu -d /dev/video0 -q
error0

any ideas?

EDIT

here some more informations. please HELP
root@server:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 13d1:2004 A-Max Technology Macao Commercial Offshore Co. Ltd.
Bus 002 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 003 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 004 Device 002: ID 054c:0155 Sony Corp.
and
root@server:~# lsmod | grep ov
gspca_ov519 40522 0
gspca_main 27654 1 gspca_ov519
in my mod probe.conf i have this
options parport_pc io=0x378 irq=7 dma=3
options ov51x-jpeg forceblock=1
The Output of mplayer
root@server:/# mplayer tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0 -fps 15 -vf screenshot
MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team

Playing tv://.
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: EyeToy USB camera Namtai
Capabilities: video capture read/write streaming
supported norms:
inputs: 0 = ov519;
Current input: 0
Current format: unknown (0x4745504a)
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

-> Linux version 3.2.0-40-generic-pae
-> ZoneMinder v1.25.0
-> Hootoo IP Cam
-> Ps2 EyeToy Camera
patman
Posts: 13
Joined: Fri Feb 22, 2013 9:19 pm

Re: Ubuntu server & eyetoy

Post by patman »

some more Informations
root@server:/# cat /proc/version
Linux version 3.2.0-40-generic-pae (buildd@roseapple) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #64-Ubuntu SMP Mon Mar 25 21:44:41 UTC 2013

-> Linux version 3.2.0-40-generic-pae
-> ZoneMinder v1.25.0
-> Hootoo IP Cam
-> Ps2 EyeToy Camera
Locked