This is not right. "New USB hub found" then "New USB device found, idVendor=045e, idProduct=075d" (I take it that's the camera). For some reason your system is losing sight of the USB bus and then rediscovering it, followed by rediscovering the camera. no wonder its device path is changing.

Of course, it may be the program you are running that triggers this behaviour, so you could try something different, like mjpg-streamer.

]]>2013-07-11T10:03:27+00:002013-07-11T10:03:27+00:00http://www.linuxformat.com/forums/viewtopic.php?t=16133&p=111677#p111677All entries are timestamped so just load it into your favourite text viewer, or use the log viewer provided by your distro, and look at what happened around that time.

]]>2013-07-11T08:11:59+00:002013-07-11T08:11:59+00:00http://www.linuxformat.com/forums/viewtopic.php?t=16133&p=111674#p111674Statistics: Posted by nelz — Thu Jul 11, 2013 8:11 am
]]>2013-07-11T06:49:56+00:002013-07-11T06:49:56+00:00http://www.linuxformat.com/forums/viewtopic.php?t=16133&p=111673#p111673I want to turn my old Lenovo R61 into a timelapse camera. I have a series of scripts that used to work on my HP NC6220, may it rest in pices. I use a Microsoft home cinema HD camera.

But I'm experiencing USB issues, it seams to loose USB connection and not reconnect. I have tried a lot of things but none were successful. Maybe I'm doing it wrong. So now I'm asking for help. And I'll be debugging at the same time myself.

For starters I'm using uvccapture, but I'm using a version that should be better with this camera (http://dp.nonoo.hu/modified-uvccapture/). It was better on the HP pc, but both versions seam to be equally bad on the Lenovo PC.

My script does a lot of odd things to handle the problems I have seen over time.

In front of the script below I have a script with a loop calling it. It does nothing else at the moment.

I have not been able to find out where exactly this procedure craches. But I believe (from what I have seen in the terminal window) that the “path” to the webcam changes or becomes unavailable at some point (sometimes on the second picture) and this can only be helped by reconnecting the webcam.

Code:

ERROR opening V4L interface : No such file or directory

Yesterday I shot almost 1000 pictures at a 24 second interval. I'll make it into a movie and post it later.

Next time my script crashes I'll have a look at lsusb to see if the interface changes. Currently it is:

Code:

Bus 002 Device 002: ID 045e:075d Microsoft Corp. LifeCam Cinema

I hope that some one has a bright idea. I would love to see this work.