What is this reset patch ?
Anyway, the bug is with uvcvideo and not with aMSN...
I had I/O errors sometimes with my webcams and all I had to do was to
rmmod the module, unplug/replug cam and modprobe the module...
Now it seems to be fixed for me.
Maybe your webcam is a recent one and isn't well supported : your are
the only to report such troubles...
Phil

Youness Alaoui a écrit :
> 'with reset patch'.. what's the reset patch ? could it be the one causing the 
> issue ? 
> 
> KKRT
> 
> On Sat, May 05, 2007 at 12:39:27AM +0200, David Girault wrote:
>> Yes I did.
>>
>> Trunk of UVC driver release 99 with reset patch was used.
>> As I can see today, current svn version 101 doesn't include noticable
>> change in ioctl handling.
>>
>> AMSN SVN release used is 8504.
>>
>> Regards,
>> David
>>
>>
>> Youness Alaoui a écrit :
>>> Did you get the latest version of the uvc driver ? because the bug is 
>>> probably in UVC and it was fixed at some 
>>> time after you got the latest version of the driver ?
>>>
>>> KKRT
>>>
>>> On Fri, May 04, 2007 at 11:22:57PM +0200, David Girault wrote:
>>>   
>>>> Hi all,
>>>>
>>>> Sorry for this late answer, I have little problems with my mail server.
>>>>
>>>> Well, for the two test I'd list in my previous email, I just done the
>>>> first one!
>>>>
>>>> I apply the Reset patch that can be found in the uvcvideo mailing list.
>>>> So my buggy webcam work "well" now with luvcview (both in mjpeg and yuv
>>>> mode). I add the "trace=127" option to the uvcvideo kernel module.
>>>>
>>>> But I have still no luck with aMsn! Attached to this email, the trace
>>>> from uvcvideo module.
>>>> aMsn exit just after issuing its first VIDIOC_DQBUF ioctl.
>>>>
>>>> Same error occurs each time, even if I unplug the cam and plug it again.
>>>> I run luvcview before each test with aMsn, just to be sure the cam is
>>>> working.
>>>>
>>>> Below, the log of aMsn when launched from the console:
>>>>
>>>> ---------------------------------------------------------
>>>> [EMAIL PROTECTED] ~ $ amsn
>>>> Playing WAVE '/usr/share/amsn/skins/default/sounds/offline.wav' : Signed
>>>> 16 bit Little Endian, Rate 44100 Hz, Stereo
>>>> ioctl:
>>>> VIDIOC_QUERYCTRL(id=9963778;type=unknown;name="";minimum=0;maximum=0;step=0;default_value=0;flags=0):
>>>> Input/output error
>>>> ioctl: VIDIOC_REQBUFS(count=1;type=VIDEO_CAPTURE;memory=MMAP): Invalid
>>>> argument
>>>> ioctl: VIDIOC_G_CTRL(id=9963776;value=-1221664132): Input/output error
>>>> ioctl: VIDIOC_G_CTRL(id=9963777;value=-1221664132): Input/output error
>>>> mjpg: panic: no more input data
>>>> Oops: malloc_video_bufs is 1 (expected 0)
>>>> [utils/linux/capture/libng/grab-ng.c:malloc_bufs_check:235]
>>>> Oops: processes is 1 (expected 0)
>>>> [utils/linux/capture/libng/convert.c:process_check:179]
>>>> [EMAIL PROTECTED] ~ $
>>>> ---------------------------------------------------------
>>>>
>>>>
>>>> I think that my PVR board isn't the source of the pb since aMsn alway
>>>> open the good /dev/video1.
>>>>
>>>> Sorry to not provide better help,
>>>>
>>>> Regards,
>>>>
>>>> David
>>>>
>>>>
>>>> Vivia Nikolaidou a écrit :
>>>>     
>>>>> Hello David,
>>>>>
>>>>> As you might have seen in the 0.97 TODO thread, we'd like to know the 
>>>>> progress on this issue. In your mail below you said you had some pending 
>>>>> tests to do. Have you completed them? So far, it seems that you are the 
>>>>> only one who is having problems with this revision :S
>>>>>
>>>>> Vivia
>>>>>
>>>>> On Tue, 24 Apr 2007, David Girault wrote:
>>>>>
>>>>>   
>>>>>       
>>>>>> Hello,
>>>>>>
>>>>>> I am not sure you're right. I update UVC driver and AMSN to last SVN
>>>>>> version yesterday.
>>>>>> AMSN release is 8504. UVC driver release is 95.
>>>>>>
>>>>>> And webcam configuration dialog still crash. I need to do more tests.
>>>>>> Just to be sure there is not problem with uvcvideo module unloading (I
>>>>>> unload previous version and load the new one without reboot).
>>>>>>
>>>>>> For information, I also have a PVR150 card in my PC which use last svn
>>>>>> version of ivtv-0.10 driver branch.
>>>>>> PVR150 is /dev/video0
>>>>>> UVC webcam is /dev/video1 (when it was not locked due to hw bug, its a
>>>>>> Logitech Fusion)
>>>>>>
>>>>>> The two next tests:
>>>>>> -Be sure that uvc module loaded is the last one,
>>>>>> -Remove automatic loading of ivtv driver so webcam is alway at 
>>>>>> /dev/video0
>>>>>>
>>>>>> Regards,
>>>>>> David
>>>>>>
>>>>>>
>>>>>> Philippe Valembois - Phil a écrit :
>>>>>>     
>>>>>>         
>>>>>>> Please upgrade your uvcvideo driver... Current revision is r95 and I 
>>>>>>> know it works with it...
>>>>>>> Phil
>>>>>>>
>>>>>>> David Girault a écrit :
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> What a fast response time! Thanks a lot!
>>>>>>>>
>>>>>>>> Well, after emerging last svn version (revision 8479), Webcam assistant
>>>>>>>> work again.
>>>>>>>> So this confirm the problem is with patch 8464.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> David
>>>>>>>>
>>>>>>>> Youness Alaoui a écrit :
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>>>> Ok, thanks for reporting, I reverted that change and committed it in 
>>>>>>>>> revision 8475
>>>>>>>>>
>>>>>>>>> KaKaRoTo
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Apr 17, 2007 at 11:52:32PM +0200, David Girault wrote:
>>>>>>>>>   
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> I'd just subscribe to this mailing list, and I can help testing!
>>>>>>>>>> I have made Gentoo ebuild to install the lastest svn version of amsn.
>>>>>>>>>>
>>>>>>>>>> Tody, I wan't to install lastest svn version (8473) but my webcam
>>>>>>>>>> doesn't work anymore. After some search, the cause is the release 
>>>>>>>>>> 8464.
>>>>>>>>>>
>>>>>>>>>> Doesn't investigate more for the moment because I don't know V4L2 API
>>>>>>>>>> yet. :-(
>>>>>>>>>>
>>>>>>>>>> If anyone have an idea, thank for any related information.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> David
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>>> This SF.net email is sponsored by DB2 Express
>>>>>>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>>>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>>>>>>> http://sourceforge.net/powerbar/db2/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Amsn-devel mailing list
>>>>>>>>>> Amsn-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>>>>>>>>>>     
>>>>>>>>>>         
>>>>>>>>>>             
>>>>>>>>>>                 
>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>> This SF.net email is sponsored by DB2 Express
>>>>>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>>>>>> http://sourceforge.net/powerbar/db2/
>>>>>>>>> _______________________________________________
>>>>>>>>> Amsn-devel mailing list
>>>>>>>>> Amsn-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>>>>>>>>>   
>>>>>>>>>       
>>>>>>>>>           
>>>>>>>>>               
>>>>>>>> -------------------------------------------------------------------------
>>>>>>>> This SF.net email is sponsored by DB2 Express
>>>>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>>>>> http://sourceforge.net/powerbar/db2/
>>>>>>>> _______________________________________________
>>>>>>>> Amsn-devel mailing list
>>>>>>>> Amsn-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>>>>>>>>
>>>>>>>>     
>>>>>>>>         
>>>>>>>>             
>>>>>>> -------------------------------------------------------------------------
>>>>>>> This SF.net email is sponsored by DB2 Express
>>>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>>>> http://sourceforge.net/powerbar/db2/
>>>>>>> _______________________________________________
>>>>>>> Amsn-devel mailing list
>>>>>>> Amsn-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>>>>>>>   
>>>>>>>       
>>>>>>>           
>>>>>> -------------------------------------------------------------------------
>>>>>> This SF.net email is sponsored by DB2 Express
>>>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>>>> control of your XML. No limits. Just data. Click to get it now.
>>>>>> http://sourceforge.net/powerbar/db2/
>>>>>> _______________________________________________
>>>>>> Amsn-devel mailing list
>>>>>> Amsn-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>>>>>>
>>>>>>     
>>>>>>         
>>>>> ---
>>>>>
>>>>> "Where is the life that we have lost in living?
>>>>>  Where is the wisdom that we have lost in knowledge?
>>>>>  Where is the knowledge that we have lost in information?"
>>>>>
>>>>> OEO;
>>>>>   
>>>>>       
>>>   
>>>> uvcvideo: uvc_v4l2_open
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600)
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_INPUT, dir=rw (0xc0045627)
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
>>>> uvcvideo: Trying format 0x33424752 (RGB3): 320x240.
>>>> uvcvideo: Unsupported format 0x33424752.
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
>>>> uvcvideo: Trying format 0x33524742 (BGR3): 320x240.
>>>> uvcvideo: Unsupported format 0x33524742.
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
>>>> uvcvideo: Trying format 0x56595559 (YUYV): 320x240.
>>>> uvcvideo: Using default frame interval 100000.0 us (10.0 fps).
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
>>>> uvcvideo: Trying format 0x59565955 (UYVY): 320x240.
>>>> uvcvideo: Unsupported format 0x59565955.
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
>>>> uvcvideo: Trying format 0x50323234 (422P): 320x240.
>>>> uvcvideo: Unsupported format 0x50323234.
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
>>>> uvcvideo: Trying format 0x32315559 (YU12): 320x240.
>>>> uvcvideo: Unsupported format 0x32315559.
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
>>>> uvcvideo: Trying format 0x33524742 (BGR3): 320x240.
>>>> uvcvideo: Unsupported format 0x33524742.
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
>>>> uvcvideo: Trying format 0x00000000 (<7>uvcvideo: Unsupported format 
>>>> 0x00000000.
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_FMT, dir=rw (0xc0cc5605)
>>>> uvcvideo: Trying format 0x47504a4d (MJPG): 320x240.
>>>> uvcvideo: Using default frame interval 66666.6 us (15.0 fps).
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_REQBUFS, dir=rw (0xc0145608)
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_QUERYBUF, dir=rw (0xc0445609)
>>>> uvcvideo: uvc_v4l2_mmap
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_QBUF, dir=rw (0xc044560f)
>>>> uvcvideo: Queuing buffer 0.
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_STREAMON, dir=-w (0x40045612)
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_G_CTRL, dir=rw (0xc008561b)
>>>> uvcvideo: Failed to query (129) UVC control 2 (unit 2) : -110 (exp. 2).
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_G_CTRL, dir=rw (0xc008561b)
>>>> uvcvideo: Failed to query (129) UVC control 3 (unit 2) : -32 (exp. 2).
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_G_CTRL, dir=rw (0xc008561b)
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_S_CTRL, dir=rw (0xc008561c)
>>>> uvcvideo: uvc_v4l2_poll
>>>> uvcvideo: uvc_v4l2_poll
>>>> uvcvideo: uvc_v4l2_ioctl
>>>> v4l2 ioctl VIDIOC_DQBUF, dir=rw (0xc0445611)
>>>> uvcvideo: Dequeuing buffer 0.
>>>> uvcvideo: uvc_v4l2_release
>>>> usb 2-5: reset high speed USB device using ehci_hcd and address 6
>>>>     
>>>   
>>>> -------------------------------------------------------------------------
>>>> This SF.net email is sponsored by DB2 Express
>>>> Download DB2 Express C - the FREE version of DB2 express and take
>>>> control of your XML. No limits. Just data. Click to get it now.
>>>> http://sourceforge.net/powerbar/db2/
>>>> _______________________________________________
>>>> Amsn-devel mailing list
>>>> Amsn-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>>>>     
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> Amsn-devel mailing list
>>> Amsn-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>>>   
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Amsn-devel mailing list
>> Amsn-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/amsn-devel
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to