Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: weird video(4)/uvideo(4) behaviour on suspend/resume

From: Theo de Raadt (deraadtcvs.openbsd.org)
Date: Fri Aug 06 2010 - 15:44:45 CDT

> video0 detached
> uvideo0 detached

The intent is for all USB devices to detach. They get powered off,
and we cannot maintain their state. They come back up, and we
reattach them.

> But, after I played a bit with suspend and resume,
> I encountered this on resume:
> uvideo0 at uhub0
> port 5 configuration 1 interface 0 "Sonix Technology Co., Ltd. USB 2.0 Camera" rev 2.00/1.00 addr 2
> video0 at uvideo0

Of course.

> Important: I did not touch or move the lid after
> the detachment messages above!
> This works reliably. If I move the lid again
> it detaches and I can suspend/resume to get
> it back again. It does not come back without
> suspend/resume though.

Sounds like a problem with your machine.