linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stelian Pop <stelian.pop@fr.alcove.com>
To: volodya@mindspring.com
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver
Date: Fri, 29 Jun 2001 11:29:04 +0200	[thread overview]
Message-ID: <20010629112903.B30190@come.alcove-fr> (raw)
In-Reply-To: <E15A7os-0003e9-00@come.alcove-fr> <Pine.LNX.4.20.0106281504570.1132-100000@node2.localnet.net>
In-Reply-To: <Pine.LNX.4.20.0106281504570.1132-100000@node2.localnet.net>; from volodya@mindspring.com on Thu, Jun 28, 2001 at 03:11:22PM -0400

On Thu, Jun 28, 2001 at 03:11:22PM -0400, volodya@mindspring.com wrote:

> I imagine it is either using ZV port or VIP/MPP connector - I'll be happy
> to help you to get it to work, provided you know the part that produces
> video stream.

This part is described in the chip's doc here:
	http://va.samba.org/picturebook/72002_E_.pdf

Look at the page 9 where the connections between the chip and
the video bus are described. The problem is that there are 2 possible
modes (ZV-port or Digital YC), and I'm not sure which one Sony
chose to use...

> > Well, not quite... I've had several X lockups while using the YUV 
> > acceleration code. Let's say one lockup per half an hour.
> 
> That's not supposed to happen - let me know what causes it.. what you are
> using, etc..

The lockups happen upon closing xawtv (used with xv output). Let's
say one time in ten runs... Then the X server is dead, but I can
still log in using the network and do whatever I want. But if I kill
the X server the whole system freezes hard.

> > but in 640x480 the framerate achieved with Xv is below the
> > one I get by converting YUV->RGB in software...
> 
> You have to be careful here - you can't write to the framebuffer without 
> waiting for engine to go idle. Otherwise it'll lockup.

??? That's not me, it's xawtv, through the XV facilities of the 
X server which writes to the framebuffer... Or maybe I don't 
understand the question...

Anyway, I've retested it with the latest ati.2 binaries and how
the 640x480 xv speed seems to have improved (or something in
my configuration changed, of course :-) ).

> > (but no X driver recognizes this connector today). The motion jpeg
> > chip this camera is based on definately has a video output.
> 
> I can help you get this to work.

I'd like to, thanks.

> > Or it could just be the application who gets YUV data from the chip
> > then send it directly to the video board. Today this works, almost
> > (because we need a patched X - read gatos - and a patched xawtv - in
> > order to do scaling).
> 
> Try using xv_stream from ati_xv branch on gatos.

It won't work out of the box either (it uses only v4l read calls and
doesn't support mmap, it assumes a capture size of 352x288 which this
camera does not support etc). But it should be easy to patch it and
make it work with this camera, just like I did with xawtv.

Stelian.

PS: this hasn't much to do with the kernel anymore, I suggest we
take this discussion off list now. I'm not sure neither if Linus
is really interested in getting a copy of this. :-)
-- 
Stelian Pop <stelian.pop@fr.alcove.com>
|---------------- Free Software Engineer -----------------|
| Alcôve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|------------- Alcôve, liberating software ---------------|

  reply	other threads:[~2001-06-29  9:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-12 20:58 [PATCH 2.4.5-ac12] New Sony Vaio Motion Eye camera driver Alex Deucher
2001-06-12 22:50 ` egger
2001-06-13 13:05   ` Alex Deucher
2001-06-12 22:51 ` Linus Torvalds
2001-06-13  6:33   ` egger
2001-06-13 10:24   ` Stelian Pop
2001-06-14 21:36     ` Linus Torvalds
2001-06-15 21:10     ` Stelian Pop
2001-06-28 19:11     ` volodya
2001-06-29  9:29       ` Stelian Pop [this message]
2001-06-13 13:09   ` Alex Deucher
  -- strict thread matches above, loose matches on Subject: below --
2001-06-10 13:25 Stelian Pop
2001-06-10 14:39 ` Alan Cox
2001-06-10 15:57   ` Stelian Pop
2001-06-10 15:58     ` Alan Cox
2001-06-10 16:46       ` Stelian Pop
2001-06-10 19:07         ` Linus Torvalds
2001-06-10 23:41           ` egger
2001-06-11  0:13             ` Linus Torvalds
2001-06-11 19:37               ` egger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010629112903.B30190@come.alcove-fr \
    --to=stelian.pop@fr.alcove.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    --cc=volodya@mindspring.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).