Re: webcam problem after suspend/hibernate
From: Philippe Troin
Date: Thu Apr 01 2010 - 13:22:10 EST
Pavel Machek <pavel@xxxxxx> 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.
> > I also have found this in `/var/log/messages | grep uvcvideo`
> > Mar 31 00:31:16 linux-l365 kernel: [399905.714743] usbcore:
> > deregistering interface driver uvcvideo
> > Mar 31 00:31:24 linux-l365 kernel: [399914.121386] uvcvideo: Found UVC
> > 1.00 device LG Webcam (0c45:62c0)
> > Mar 31 00:31:24 linux-l365 kernel: [399914.135661] usbcore: registered
> > new interface driver uvcvideo
> Also try unloading uvcvideo before suspend and reloading it after
I have a similar problem with a Creative Optia webcam.
I have found that removing the ehci_hcd module and reinserting it
fixes the problem.
If your kernel ships with ehci_hcd built-in (F11 and later), the
script included also fixes the problem (it rebind the device).
Of course, I'd love to see this issue fixed.
case "$1" in
cd /sys/bus/usb/drivers/uvcvideo || exit 1
for i in [0-9]*-[0-9]*:*
[ -L "$i" ] || break
set -- $i
for j in $devices
if [ "$j" = "$1" ]
if [ "$found" = no ]
if [ "$devices" != "" ]
cd /sys/bus/usb/drivers/usb || exit 1
for i in $devices
echo $i > unbind
echo $i > bind
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/