pwc
[Top] [All Lists]

[pwc] PWC (all versions I guess) and aMsn (since switch to FC5, new tcl/

To:
Subject: [pwc] PWC (all versions I guess) and aMsn (since switch to FC5, new tcl/tk)
From: "Mikael Jonasson" <>
Date: Thu, 17 Aug 2006 15:57:45 +0200
This has been up before (open the cam work but does not close without the need of closing whole aMsn, in other words unable to reconnect to it without aMsn restart) but that time I didn't see anyone post this:

Starting...
cd amsn
cd ./utils/linux/capture
wish test.tcl
And this should mean that is not just a aMsn bug, but a problem with tcl/tk?

vid-probe: trying: v4l2...
open(/dev/video1): No such file or directory
open(/dev/video2): No such file or directory
open(/dev/video3): No such file or directory
Found Logitech QuickCam Pro 4000 at /dev/video0
vid-probe: trying: v4l...
open(/dev/video1): No such file or directory
open(/dev/video2): No such file or directory
open(/dev/video3): No such file or directory
Found Logitech QuickCam Pro 4000 at /dev/video0
vid-open: trying: v4l2...
v4l2: open
v4l2: init
v4l2: device info:
 pwc 10.0.11 / Logitech QuickCam Pro 4000 @ usb-0000:02:03.1-1
v4l2: close
vid-open: ok: v4l2
vid-open: flags: 2
v4l2: fini
vid-open: trying: v4l2...
v4l2: open
v4l2: init
v4l2: device info:
 pwc 10.0.11 / Logitech QuickCam Pro 4000 @ usb-0000:02:03.1-1
v4l2: close
vid-open: ok: v4l2
vid-open: flags: 2
v4l2: fini
vid-open: trying: v4l2...
v4l2: open
v4l2: init
v4l2: device info:
 pwc 10.0.11 / Logitech QuickCam Pro 4000 @ usb-0000:02:03.1-1
v4l2: close
vid-open: ok: v4l2
vid-open: flags: 2
v4l2: open
ng_dev_open: opened Logitech QuickCam Pro 4000 [refcount 1]
Trying converter from 16 bit YUV 4:2:2 (packed, YUYV) to 24 bit TrueColor (BE: rgb) Trying converter from 16 bit YUV 4:2:2 (planar) to 24 bit TrueColor (BE: rgb) Trying converter from 12 bit YUV 4:2:0 (planar) to 24 bit TrueColor (BE: rgb)
v4l2: new capture params (320x240, YU12, 115200 byte)
convert-in : 320x240 12 bit YUV 4:2:0 (planar)
convert-out: 320x240 24 bit TrueColor (BE: rgb)
v4l2: buf 0: video-cap 0x0+462848, used 115200
v4l2: buf 1: video-cap 0x71000+462848, used 115200
v4l2: start ts=1155821876871747000

 capture]$ wish test.tcl
vid-probe: trying: v4l2...
open(/dev/video1): No such file or directory
open(/dev/video2): No such file or directory
open(/dev/video3): No such file or directory
Found Logitech QuickCam Pro 4000 at /dev/video0
vid-probe: trying: v4l...
open(/dev/video1): No such file or directory
open(/dev/video2): No such file or directory
open(/dev/video3): No such file or directory
Found Logitech QuickCam Pro 4000 at /dev/video0
vid-open: trying: v4l2...
v4l2: open
v4l2: init
v4l2: device info:
 pwc 10.0.11 / Logitech QuickCam Pro 4000 @ usb-0000:02:03.1-1
v4l2: close
vid-open: ok: v4l2
vid-open: flags: 2
v4l2: fini
vid-open: trying: v4l2...
v4l2: open
v4l2: init
v4l2: device info:
 pwc 10.0.11 / Logitech QuickCam Pro 4000 @ usb-0000:02:03.1-1
v4l2: close
vid-open: ok: v4l2
vid-open: flags: 2
v4l2: fini
vid-open: trying: v4l2...
v4l2: open
v4l2: init
v4l2: device info:
 pwc 10.0.11 / Logitech QuickCam Pro 4000 @ usb-0000:02:03.1-1
v4l2: close
vid-open: ok: v4l2
vid-open: flags: 2
v4l2: open
ng_dev_open: opened Logitech QuickCam Pro 4000 [refcount 1]
Trying converter from 16 bit YUV 4:2:2 (packed, YUYV) to 24 bit TrueColor (BE: rgb) Trying converter from 16 bit YUV 4:2:2 (planar) to 24 bit TrueColor (BE: rgb) Trying converter from 12 bit YUV 4:2:0 (planar) to 24 bit TrueColor (BE: rgb)
v4l2: new capture params (320x240, YU12, 115200 byte)
convert-in : 320x240 12 bit YUV 4:2:0 (planar)
convert-out: 320x240 24 bit TrueColor (BE: rgb)
v4l2: buf 0: video-cap 0x0+462848, used 115200
v4l2: buf 1: video-cap 0x71000+462848, used 115200
v4l2: start ts=1155822040129598000

............
So far still ok right? Now closing the preview in chooser... With only the three buttons left...
...........

v4l2: buf 0: video-cap 0x0+115200, used 115200
v4l2: buf 1: video-cap 0x71000+115200, used 115200
v4l2: close
ng_dev_close: closed Logitech QuickCam Pro 4000 [refcount 0]
v4l2: fini

...........
And the cam is still active, and does not stop until test.tcl is closed
...........


_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
  • [pwc] PWC (all versions I guess) and aMsn (since switch to FC5, new tcl/tk), Mikael Jonasson <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU