https://www.linuxtv.org/wiki/index.php?title=Meye&feed=atom&action=historyMeye - Revision history2024-03-19T02:47:52ZRevision history for this page on the wikiMediaWiki 1.39.6https://www.linuxtv.org/wiki/index.php?title=Meye&diff=22658&oldid=prevJimbley: Added category: Webcams2009-05-11T21:51:34Z<p>Added category: Webcams</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:51, 11 May 2009</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 119:</td>
<td colspan="2" class="diff-lineno">Line 119:</td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br /></td>
</tr>
<tr>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>- 'motioneye' still uses the meye private v4l1 API extensions.</div></td>
<td class="diff-marker"></td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>- 'motioneye' still uses the meye private v4l1 API extensions.</div></td>
</tr>
<tr>
<td colspan="2" class="diff-empty diff-side-deleted"></td>
<td class="diff-marker" data-marker="+"></td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Webcams]]</div></td>
</tr>
</table>Jimbleyhttps://www.linuxtv.org/wiki/index.php?title=Meye&diff=16234&oldid=prevCityK: 9 revision(s)2008-11-07T04:37:14Z<p>9 revision(s)</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 04:37, 7 November 2008</td>
</tr>
<!-- diff cache key linuxtvwikidb:diff:wikidiff2:1.12:old-16233:rev-16234:1.13.0 -->
</table>CityKhttps://www.linuxtv.org/wiki/index.php?title=Meye&diff=16233&oldid=prevJs: Reverted edits by McrU2q (Talk); changed back to last version by UpooPoo2008-07-12T09:28:17Z<p>Reverted edits by <a href="/wiki/index.php/Special:Contributions/McrU2q" title="Special:Contributions/McrU2q">McrU2q</a> (<a href="/wiki/index.php?title=User_talk:McrU2q&action=edit&redlink=1" class="new" title="User talk:McrU2q (page does not exist)">Talk</a>); changed back to last version by <a href="/wiki/index.php?title=User:UpooPoo&action=edit&redlink=1" class="new" title="User:UpooPoo (page does not exist)">UpooPoo</a></p>
<p><b>New page</b></p><div>===Vaio Picturebook Motion Eye Camera Driver Readme===<br />
From /usr/src/linux/Documentation/video4linux/meye.txt<br />
<br />
* Copyright (C) 2001-2004 Stelian Pop <stelian@popies.net><br />
* Copyright (C) 2001-2002 Alcôve <www.alcove.com><br />
* Copyright (C) 2000 Andrew Tridgell <tridge@samba.org><br />
<br />
This driver enables the use of video4linux compatible applications with the<br />
Motion Eye camera. This driver requires the "Sony Vaio Programmable I/O<br />
Control Device" driver (which can be found in the "Character drivers"<br />
section of the kernel configuration utility) to be compiled and installed<br />
(using its "camera=1" parameter).<br />
<br />
It can do at maximum 30 fps @ 320x240 or 15 fps @ 640x480.<br />
<br />
Grabbing is supported in packed YUV colorspace only.<br />
<br />
MJPEG hardware grabbing is supported via a private API (see below).<br />
<br />
===Hardware supported===<br />
<br />
This driver supports the 'second' version of the MotionEye camera :)<br />
<br />
The first version was connected directly on the video bus of the Neomagic<br />
video card and is unsupported.<br />
<br />
The second one, made by Kawasaki Steel is fully supported by this<br />
driver (PCI vendor/device is 0x136b/0xff01)<br />
<br />
The third one, present in recent (more or less last year) Picturebooks<br />
(C1M* models), is not supported. The manufacturer has given the specs<br />
to the developers under a NDA (which allows the develoment of a GPL<br />
driver however), but things are not moving very fast (see<br />
http://r-engine.sourceforge.net/) (PCI vendor/device is 0x10cf/0x2011).<br />
<br />
There is a forth model connected on the USB bus in TR1* Vaio laptops.<br />
This camera is not supported at all by the current driver, in fact<br />
little information if any is available for this camera<br />
(USB vendor/device is 0x054c/0x0107).<br />
<br />
===Driver options===<br />
<br />
Several options can be passed to the meye driver using the standard<br />
module argument syntax (<param>=<value> when passing the option to the<br />
module or meye.<param>=<value> on the kernel boot line when meye is<br />
statically linked into the kernel). Those options are:<br />
<br />
forcev4l1: force use of V4L1 API instead of V4L2<br />
gbuffers: number of capture buffers, default is 2 (32 max)<br />
gbufsize: size of each capture buffer, default is 614400<br />
video_nr: video device to register (0 = /dev/video0, etc)<br />
<br />
===Module use===<br />
<br />
In order to automatically load the meye module on use, you can put those lines<br />
in your /etc/modprobe.conf file:<br />
<br />
alias char-major-81 videodev<br />
alias char-major-81-0 meye<br />
options meye gbuffers=32<br />
<br />
===Usage===<br />
<br />
xawtv >= 3.49 (<http://bytesex.org/xawtv/>) for display and uncompressed video capture:<br />
<br />
xawtv -c /dev/video0 -geometry 640x480<br />
<br />
or<br />
<br />
xawtv -c /dev/video0 -geometry 320x240<br />
<br />
motioneye (<http://popies.net/meye/>) for getting ppm or jpg snapshots, mjpeg video<br />
<br />
===Private API===<br />
<br />
The driver supports frame grabbing with the video4linux API<br />
(either v4l1 or v4l2), so all video4linux tools (like xawtv)<br />
should work with this driver.<br />
<br />
Besides the video4linux interface, the driver has a private interface<br />
for accessing the Motion Eye extended parameters (camera sharpness,<br />
agc, video framerate), the shapshot and the MJPEG capture facilities.<br />
<br />
This interface consists of several ioctls (prototypes and structures<br />
can be found in include/linux/meye.h):<br />
<br />
MEYEIOC_G_PARAMS<br />
MEYEIOC_S_PARAMS<br />
Get and set the extended parameters of the motion eye camera.<br />
The user should always query the current parameters with<br />
MEYEIOC_G_PARAMS, change what he likes and then issue the<br />
MEYEIOC_S_PARAMS call (checking for -EINVAL). The extended<br />
parameters are described by the meye_params structure.<br />
<br />
MEYEIOC_QBUF_CAPT<br />
Queue a buffer for capture (the buffers must have been<br />
obtained with a VIDIOCGMBUF call and mmap'ed by the<br />
application). The argument to MEYEIOC_QBUF_CAPT is the<br />
buffer number to queue (or -1 to end capture). The first<br />
call to MEYEIOC_QBUF_CAPT starts the streaming capture.<br />
<br />
MEYEIOC_SYNC<br />
Takes as an argument the buffer number you want to sync.<br />
This ioctl blocks until the buffer is filled and ready<br />
for the application to use. It returns the buffer size.<br />
<br />
MEYEIOC_STILLCAPT<br />
MEYEIOC_STILLJCAPT<br />
Takes a snapshot in an uncompressed or compressed jpeg format.<br />
This ioctl blocks until the snapshot is done and returns (for<br />
jpeg snapshot) the size of the image. The image data is<br />
available from the first mmap'ed buffer.<br />
<br />
Look at the 'motioneye' application code for an actual example.<br />
<br />
===Bugs / Todo===<br />
<br />
- the driver could be much cleaned up by removing the v4l1 support. However, this means all v4l1-only applications will stop working.<br />
<br />
- 'motioneye' still uses the meye private v4l1 API extensions.</div>Jshttps://www.linuxtv.org/wiki/index.php?title=Meye&diff=16225&oldid=prevLiontooth at 07:28, 9 May 20052005-05-09T07:28:04Z<p></p>
<p><b>New page</b></p><div>===Vaio Picturebook Motion Eye Camera Driver Readme===<br />
From /usr/src/linux/Documentation/video4linux/meye.txt<br />
<br />
* Copyright (C) 2001-2004 Stelian Pop <stelian@popies.net><br />
* Copyright (C) 2001-2002 Alcôve <www.alcove.com><br />
* Copyright (C) 2000 Andrew Tridgell <tridge@samba.org><br />
<br />
This driver enables the use of video4linux compatible applications with the<br />
Motion Eye camera. This driver requires the "Sony Vaio Programmable I/O<br />
Control Device" driver (which can be found in the "Character drivers"<br />
section of the kernel configuration utility) to be compiled and installed<br />
(using its "camera=1" parameter).<br />
<br />
It can do at maximum 30 fps @ 320x240 or 15 fps @ 640x480.<br />
<br />
Grabbing is supported in packed YUV colorspace only.<br />
<br />
MJPEG hardware grabbing is supported via a private API (see below).<br />
<br />
===Hardware supported===<br />
<br />
This driver supports the 'second' version of the MotionEye camera :)<br />
<br />
The first version was connected directly on the video bus of the Neomagic<br />
video card and is unsupported.<br />
<br />
The second one, made by Kawasaki Steel is fully supported by this<br />
driver (PCI vendor/device is 0x136b/0xff01)<br />
<br />
The third one, present in recent (more or less last year) Picturebooks<br />
(C1M* models), is not supported. The manufacturer has given the specs<br />
to the developers under a NDA (which allows the develoment of a GPL<br />
driver however), but things are not moving very fast (see<br />
http://r-engine.sourceforge.net/) (PCI vendor/device is 0x10cf/0x2011).<br />
<br />
There is a forth model connected on the USB bus in TR1* Vaio laptops.<br />
This camera is not supported at all by the current driver, in fact<br />
little information if any is available for this camera<br />
(USB vendor/device is 0x054c/0x0107).<br />
<br />
===Driver options===<br />
<br />
Several options can be passed to the meye driver using the standard<br />
module argument syntax (<param>=<value> when passing the option to the<br />
module or meye.<param>=<value> on the kernel boot line when meye is<br />
statically linked into the kernel). Those options are:<br />
<br />
forcev4l1: force use of V4L1 API instead of V4L2<br />
gbuffers: number of capture buffers, default is 2 (32 max)<br />
gbufsize: size of each capture buffer, default is 614400<br />
video_nr: video device to register (0 = /dev/video0, etc)<br />
<br />
===Module use===<br />
<br />
In order to automatically load the meye module on use, you can put those lines<br />
in your /etc/modprobe.conf file:<br />
<br />
alias char-major-81 videodev<br />
alias char-major-81-0 meye<br />
options meye gbuffers=32<br />
<br />
===Usage===<br />
<br />
xawtv >= 3.49 (<http://bytesex.org/xawtv/>) for display and uncompressed video capture:<br />
<br />
xawtv -c /dev/video0 -geometry 640x480<br />
<br />
or<br />
<br />
xawtv -c /dev/video0 -geometry 320x240<br />
<br />
motioneye (<http://popies.net/meye/>) for getting ppm or jpg snapshots, mjpeg video<br />
<br />
===Private API===<br />
<br />
The driver supports frame grabbing with the video4linux API<br />
(either v4l1 or v4l2), so all video4linux tools (like xawtv)<br />
should work with this driver.<br />
<br />
Besides the video4linux interface, the driver has a private interface<br />
for accessing the Motion Eye extended parameters (camera sharpness,<br />
agc, video framerate), the shapshot and the MJPEG capture facilities.<br />
<br />
This interface consists of several ioctls (prototypes and structures<br />
can be found in include/linux/meye.h):<br />
<br />
MEYEIOC_G_PARAMS<br />
MEYEIOC_S_PARAMS<br />
Get and set the extended parameters of the motion eye camera.<br />
The user should always query the current parameters with<br />
MEYEIOC_G_PARAMS, change what he likes and then issue the<br />
MEYEIOC_S_PARAMS call (checking for -EINVAL). The extended<br />
parameters are described by the meye_params structure.<br />
<br />
MEYEIOC_QBUF_CAPT<br />
Queue a buffer for capture (the buffers must have been<br />
obtained with a VIDIOCGMBUF call and mmap'ed by the<br />
application). The argument to MEYEIOC_QBUF_CAPT is the<br />
buffer number to queue (or -1 to end capture). The first<br />
call to MEYEIOC_QBUF_CAPT starts the streaming capture.<br />
<br />
MEYEIOC_SYNC<br />
Takes as an argument the buffer number you want to sync.<br />
This ioctl blocks until the buffer is filled and ready<br />
for the application to use. It returns the buffer size.<br />
<br />
MEYEIOC_STILLCAPT<br />
MEYEIOC_STILLJCAPT<br />
Takes a snapshot in an uncompressed or compressed jpeg format.<br />
This ioctl blocks until the snapshot is done and returns (for<br />
jpeg snapshot) the size of the image. The image data is<br />
available from the first mmap'ed buffer.<br />
<br />
Look at the 'motioneye' application code for an actual example.<br />
<br />
===Bugs / Todo===<br />
<br />
- the driver could be much cleaned up by removing the v4l1 support. However, this means all v4l1-only applications will stop working.<br />
<br />
- 'motioneye' still uses the meye private v4l1 API extensions.</div>Liontooth