You are not logged in.

#1 2009-07-19 20:53:41

peoro
Member
Registered: 2007-06-10
Posts: 67

Playstation Eye

Hello,
a few weeks ago I bought a Plaistation Eye (PS3's webcam) to use it on Linux (haven't got a PS3, but that should be the best quality/price webcam around).
It was working fine on 2.6.29-ARCH, but as soon as I upgraded to 2.6.30-ARCH, it stopped working.

I've been quite busy for the last weeks, so chosed to wait for a while, but now I've got some spare time and would like to get it working on the latest kernel...

Google isn't helping me this time, and I couldn't test it on other distributons running 2.6.30...

Here are a few infos about my system...

$ lsusb
Bus 001 Device 005: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye

$ dmesg
usb 1-6: new high speed USB device using ehci_hcd and address 5
usb 1-6: configuration #1 chosen from 1 choice
gspca: probing 1415:2000
ov534: Sensor ID: 7721
ov534: frame_rate: 30
gspca: probe ok
gspca: probing 1415:2000

$ mplayer tv://
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 ;-)                   
Selected device: USB Camera-B4.04.27.1
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = ov534;
 Current input: 0
 Current format: YUYV
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
v4l2: select timeout
v4l2: select timeout ??% ??,?% 0 0
v4l2: select timeout ??% ??,?% 0 0
V:   0.0   5/  5 ??% ??% ??,?% 0 0

$ ucview
libv4l2: error turning on stream: Invalid argument

$ lsmod | grep -i gspca
gspca_ov534             7652  0
gspca_main             23428  1 gspca_ov534
videodev               37088  1 gspca_main
usbcore               149936  9 snd_usb_audio,snd_usb_lib,gspca_ov534,gspca_main,usbhid,usb_storage,ohci_hcd,ehci_hcd

$ modinfo gspca_ov534
filename:       /lib/modules/2.6.30-ARCH/kernel/drivers/media/video/gspca/gspca_ov534.ko
license:        GPL
description:    GSPCA/OV534 USB Camera Driver
author:         Antonio Ospite <ospite@studenti.unina.it>
alias:          usb:v1415p2000d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v06F8p3003d*dc*dsc*dp*ic*isc*ip*
depends:        gspca_main,usbcore
vermagic:       2.6.30-ARCH SMP preempt mod_unload 686

$ ls -lh /dev/video0 /dev/v4l/video0
crw-rw---- 1 root video 81, 0 2009-07-19 22:04 /dev/v4l/video0

Anybody has got a ps3 eye, or knows anything about it?

Offline

#2 2009-07-19 21:25:50

quetzyg
Member
From: /home/quetzyg
Registered: 2006-08-03
Posts: 129

Re: Playstation Eye

Have you seen this thread?


ZzZz...

Offline

#3 2009-07-19 22:18:21

peoro
Member
Registered: 2007-06-10
Posts: 67

Re: Playstation Eye

Err, no, actually I didn't...

Anyway I'm not so sure the issues are related: it looks like they're using UVC webcams, theirs work with some apps (like kopete or guvcview), while mine is not (i tried skype, kopete, mplayer, vlc, xawtv, luvcview, guvcview, uvcview, cheese and others...), and the errors they're getting are different from mine:

$ luvcview
luvcview version 0.2.1
Video driver: x11
A window manager is available
video /dev/video0
 format asked unavailable get width 640 height 480
Unable to dequeue buffer (5).
Error grabbing
 Clean Up done Quit

Offline

#4 2009-07-19 22:38:30

quetzyg
Member
From: /home/quetzyg
Registered: 2006-08-03
Posts: 129

Re: Playstation Eye

Well, I've got a UVC webcam that works perfectly with linux 2.6.30, but a gspca that doesn't.
So, I think the problem is related.

I'll just wait for a new version of libv4l and/or a new kernel.


ZzZz...

Offline

#5 2009-09-10 12:30:22

peoro
Member
Registered: 2007-06-10
Posts: 67

Re: Playstation Eye

The problem was not related.
http://patchwork.kernel.org/patch/42114/

The problem has been fixed on Linux 2.6.30.6 (kernel26-2.6.30.6-1 package) and 2.6.31.

Offline

#6 2009-09-28 14:25:08

Pomalo
Member
Registered: 2009-09-28
Posts: 17

Re: Playstation Eye

I have a Hercule Dualpix HD, which uses the same driver. My problem was solved upgrading to kernel 2.6.31, not with the 2.6.30.6.

Offline

Board footer

Powered by FluxBB