Re: webcam problem after suspend/hibernate

2010-04-11 Thread Pavel Machek
Hi! > > > My testing shows that: > > > 1. If I remove uvcvideo BEFORE suspend and reinsert it after resume, > > > > > > it works. However, I cannot always rmmod uvcvideo before suspend > > > as it may be in use. ... > > > I think uvcvideo is failing to reinitialize the camera on resume

Re: webcam problem after suspend/hibernate

2010-04-11 Thread Laurent Pinchart
On Sunday 04 April 2010 21:34:06 Pavel Machek wrote: > Hi! > > > > If unload/reload of uvcvideo helps, it is most likely problem in that. > > > > > > If unload/reload of ehci_hcd is needed, it is most likely ehci problem. > > > > My testing shows that: > > 1. If I remove uvcvideo BEFORE suspend

Re: webcam problem after suspend/hibernate

2010-04-06 Thread Pavel Machek
On Tue 2010-04-06 11:32:46, Mohamed Ikbel Boulabiar wrote: > Hi ! > > > Ok, that puts the problem firmly into uvcvideo area. > > > > Try changing its _resume routine to whatever is done on device > > unplug... it should be rather easy, and is quite close to "correct" > > solution. > > I am waitin

Re: webcam problem after suspend/hibernate

2010-04-06 Thread Mohamed Ikbel Boulabiar
Hi ! > Ok, that puts the problem firmly into uvcvideo area. > > Try changing its _resume routine to whatever is done on device > unplug... it should be rather easy, and is quite close to "correct" > solution. I am waiting to try that. If I always need to rmmod/modprobe everytime, that is meaning

Re: webcam problem after suspend/hibernate

2010-04-04 Thread Pavel Machek
Hi! > > If unload/reload of uvcvideo helps, it is most likely problem in that. > > > > If unload/reload of ehci_hcd is needed, it is most likely ehci problem. > > My testing shows that: > > 1. If I remove uvcvideo BEFORE suspend and reinsert it after resume, > it works. However, I cannot

Re: webcam problem after suspend/hibernate

2010-04-04 Thread Philippe Troin
Pavel Machek writes: > Hi! > > > > > Do you mean the dmesg output ? > > > > A full dmesg is included in this address : > > > > http://pastebin.com/8XU619Uk > > > > Not in all suspend/hibernate the problem comes, only in some of them > > > > and this included dmesg output is just after a non work

Re: webcam problem after suspend/hibernate

2010-04-04 Thread Pavel Machek
Hi! > > > Do you mean the dmesg output ? > > > A full dmesg is included in this address : > > > http://pastebin.com/8XU619Uk > > > Not in all suspend/hibernate the problem comes, only in some of them > > > and this included dmesg output is just after a non working case of > > > webcam fault. > > >

Re: webcam problem after suspend/hibernate

2010-04-01 Thread Philippe Troin
Pavel Machek writes: > > Do you mean the dmesg output ? > > A full dmesg is included in this address : > > http://pastebin.com/8XU619Uk > > Not in all suspend/hibernate the problem comes, only in some of them > > and this included dmesg output is just after a non working case of > > webcam fault.

Re: webcam problem after suspend/hibernate

2010-04-01 Thread Pavel Machek
Hi! > Do you mean the dmesg output ? > A full dmesg is included in this address : > http://pastebin.com/8XU619Uk > Not in all suspend/hibernate the problem comes, only in some of them > and this included dmesg output is just after a non working case of > webcam fault. > > > I also have found thi

Re: webcam problem after suspend/hibernate

2010-03-31 Thread Mohamed Ikbel Boulabiar
Hi, Do you mean the dmesg output ? A full dmesg is included in this address : http://pastebin.com/8XU619Uk Not in all suspend/hibernate the problem comes, only in some of them and this included dmesg output is just after a non working case of webcam fault. I also have found this in `/var/log/mes

Re: webcam problem after suspend/hibernate

2010-03-30 Thread Laurent Pinchart
Hi Mohamed, On Tuesday 30 March 2010 23:55:38 Mohamed Ikbel Boulabiar wrote: > Hi, > > After suspend/resume, I have my webcam no more working. > The /dev/video0 file still exist, but the webcam won't be used until I do > this : rmmod uvcvideo > modprobe uvcvideo > (2.6.31.8-0.1) > > This is

webcam problem after suspend/hibernate

2010-03-30 Thread Mohamed Ikbel Boulabiar
Hi, After suspend/resume, I have my webcam no more working. The /dev/video0 file still exist, but the webcam won't be used until I do this : rmmod     uvcvideo modprobe uvcvideo (2.6.31.8-0.1) This is may be caused by a bug somewhere. These are more information about my hardware : I have Microdi