I can confirm the bug too, I'm using the latest pwc snapshot and it works fine with all other applications. Sometimes amsn will be unable to reopen the device when I closed it in a previous convo. It will give a grabber error.
>From: Max <[EMAIL PROTECTED]> >Reply-To: Mailing list for developers and everyone helping AMSN ><[email protected]> >To: "Mailing list for developers and everyone helping AMSN" ><[email protected]> >Subject: Re: [Amsn-devel] webcam is not released after using it >Date: Mon, 29 May 2006 00:49:04 +0200 > >i'm using pwc and i confirm that there is a problem but it only appeared >recently... the bug was not present before (i would say like 2 to 3 weeks >ago). If you guys tells me how to use previous versions of amsn with svn >(is >that even possible?), i could tell you exactly when this bug arrived in >amsn's code. > >On 5/28/06, Youness Alaoui <[EMAIL PROTECTED]> wrote: >> >>in the forums, many people reported the issue, but I don't know if they >>were all using pwc... >>if the change is indeed caused by the change of getimage to nextframe >>call, then it might be because there was an mmap or a buffer allocated >>that was never freed... >>we should check the return value of close () (assuming it returns an error >>in case it doesn't close), or look inside pwc's close method to see if >>there is a reason why the close would fail, maybe we should do a >>free_buffers() before the close.... because users say that the open/close >>works fine with other softwares (gnomemeeting, and cam softs) >> >>KaKaRoTo >> >>On Sun, 28 May 2006 07:30:36 -0400, Vivia Nikolaidou <[EMAIL PROTECTED]> >>wrote: >> >> > Always works perfectly with ov511, tested thousands of times on my >> > side. Another person with spca5xx also confirmed that webcam is >> > released correctly. >> > >> > So let's just assume it's a pwc bug? :) >> > >> > On 5/28/06, Harry Vennik <[EMAIL PROTECTED]> wrote: >> >> About 'webcam not released': I can confirm this is true, and have >> >> already >> >> searched through the code for the reason why this happens. It *might* >>be >> >> related to the change from getimage() to nextframe(), but I am not at >> >> all >> >> sure. Because all necessary calls seem to be done correctly, which is >> >> approved by the fact that we have not had this complaint often yet (so >> >> apparently things work well with other webcam drivers), I think it is >>a >> >> pwc >> >> driver bug (not the first one eh...). >> >> >> >> I proofed that there is actually done a close() on the device: >> >> >> >> vid-open: trying: v4l2... >> >> v4l2: open >> >> v4l2: init >> >> v4l2: device info: >> >> pwc 10.0.11 / Logitech QuickCam Pro 4000 @ usb-0000:00:10.2-2 >> >> v4l2: close >> >> vid-open: ok: v4l2 >> >> vid-open: flags: 2 >> >> v4l2: open >> >> ng_dev_open: opened Logitech QuickCam Pro 4000 [refcount 1] >> >> 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+460800, used 115200 >> >> v4l2: buf 1: video-cap 0x71000+460800, used 115200 >> >> v4l2: start ts=1148814415628311000 >> >> 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 >> >> >> >> The line of code printing 'v4l2: close' is right before the actual >> >> close() in >> >> the code. >> >> >> >> >> >> Op zondag 28 mei 2006 11:54, schreef Sander Hoentjen: >> >> > corellian if I stop sending my webcam (using pwc driver), aMSN still >> >> reads >> >> > or uses /dev/v4l/video0 corellian until I reset aMSN >> >> > corellian that means, I only can send webcam one time, then I have >>to >> >> reset >> >> > aMSN to send to another person, or send again to the same person. >> >> corellian >> >> > that's the 'lsof' output, when I'm not sending webcam, but I've used >> >> it: >> >> > corellian wish 29227 corellian mem CHR 81,0 >> >> > 44270654 /dev/v4l/video0 corellian wish 29227 corellian >> >> mem REG >> >> > 3,8 73472 845256 >> >> > /home/corellian/amsn/utils/linux/capture/libng/plugins/drv0-v4l2.so >> >> > corellian wish 29227 corellian mem >>REG 3,8 44960 >> >> > 845259 >> >> /home/corellian/amsn/utils/linux/capture/libng/plugins/drv1-v4l.so >> >> > corellian wish 29227 corellian mem >>REG 3,8 85852 >> >> > 845236 /home/corellian/amsn/utils/webcamsn/webcamsn.so * march1980 >> >> has quit >> >> > (Read error: 110 (Connection timed out)) >> >> > corellian and, when I send and receive, sometimes says that's >> >> rejected, but >> >> > that's not rejected/cancelled! corellian well I hope any devel will >> >> read >> >> > this :S >> >> >> >> >> >> _______________________________________________ >> >> Amsn-devel mailing list >> >> [email protected] >> >> https://lists.sourceforge.net/lists/listinfo/amsn-devel >> >> >> > >> > >> >> >> >>-- >>KaKaRoTo >> >> >>_______________________________________________ >>Amsn-devel mailing list >>[email protected] >>https://lists.sourceforge.net/lists/listinfo/amsn-devel >> > > > >-- >Maxime VERZIER (www.billets-orientes.com / www.verzier.info) >_______________________________________________ >Amsn-devel mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/amsn-devel _________________________________________________________________ Zie en hoor je vrienden met MSN Messenger 7.5 http://www.join.msn.com/messenger/overview _______________________________________________ Amsn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amsn-devel
