I've been trying to get motion to run on a constant basis but it appears that the usb bus falls into a sleep mode disabling the cam.
The usb cam is a Microsoft Corp. LifeCam NX-3000 (UVC-compliant).
It works for about an hour or so and then the cam turns off. I've tried it in a usb hub and from the pi hub with no avail it always sleeps and never comes back.
Now I tried this cam on my laptop which is running arch Linux just like the pi and it runs forever, never sleeping, just watching and waiting for motion to happen.
So what could be going on with the cam and pi that is so different from my laptop setup?
Is there some kind of power setting on the pie that needs to be set?
Is there a script that I could run that would keep the cam running such as with a keep-alive statement like for nics?
Any help with this problem would be greatly appreciated!