Motion - Support Question 2010x 05x 15x 011523

Motion can't open device after capture

Question

Hi, if you see the log, my cam change "device", i saw the kernel do this after the cam capture a motion, i try the same with skype and the cam works fine, after the first change, to input 5 motion still working, but after the 3 changes to input 7, motion can't open the device.

I try to add on on_camara_lost /etc/init.d/motion restart, but doesn't work for that device address. How can i fix it? Thanks.

May 15 02:55:10 debian kernel: [  721.003887] usb 1-3: USB disconnect, address 2
May 15 02:55:10 debian kernel: [  721.260092] usb 1-3: new high speed USB device using ehci_hcd and address 5
May 15 02:55:11 debian kernel: [  721.969165] usb 1-3: New USB device found, idVendor=045e, idProduct=075d
May 15 02:55:11 debian kernel: [  721.969190] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
May 15 02:55:11 debian kernel: [  721.969210] usb 1-3: Product: Microsoft® LifeCam Cinema(TM)
May 15 02:55:11 debian kernel: [  721.969228] usb 1-3: Manufacturer: Microsoft
May 15 02:55:11 debian kernel: [  721.973334] usb 1-3: configuration #1 chosen from 1 choice
May 15 02:55:11 debian kernel: [  721.975384] uvcvideo: Found UVC 1.00 device Microsoft® LifeCam Cinema(TM) (045e:075d)
May 15 02:55:11 debian kernel: [  721.981730] input: Microsoft® LifeCam Cinema(TM) as /devices/pci0000:00/0000:00:0f.5/usb1/1-3/1-3:1.0/input/input5
May 15 02:55:12 debian kernel: [  723.108159] 5:3:1: cannot get freq at ep 0x82
May 15 02:57:23 debian kernel: [  853.876100] usb 1-3: USB disconnect, address 5
May 15 02:57:23 debian kernel: [  854.132112] usb 1-3: new high speed USB device using ehci_hcd and address 6
May 15 02:57:24 debian kernel: [  854.848483] usb 1-3: New USB device found, idVendor=045e, idProduct=075d
May 15 02:57:24 debian kernel: [  854.848508] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
May 15 02:57:24 debian kernel: [  854.848529] usb 1-3: Product: Microsoft® LifeCam Cinema(TM)
May 15 02:57:24 debian kernel: [  854.848547] usb 1-3: Manufacturer: Microsoft
May 15 02:57:24 debian kernel: [  854.852897] usb 1-3: configuration #1 chosen from 1 choice
May 15 02:57:24 debian kernel: [  854.854702] uvcvideo: Found UVC 1.00 device Microsoft® LifeCam Cinema(TM) (045e:075d)
May 15 02:57:24 debian kernel: [  854.861062] input: Microsoft® LifeCam Cinema(TM) as /devices/pci0000:00/0000:00:0f.5/usb1/1-3/1-3:1.0/input/input6
May 15 02:57:25 debian kernel: [  855.984227] 6:3:1: cannot get freq at ep 0x82
May 15 02:57:33 debian kernel: [  863.920421] usb 1-3: USB disconnect, address 6
May 15 02:57:33 debian kernel: [  864.176100] usb 1-3: new high speed USB device using ehci_hcd and address 7
May 15 02:57:33 debian kernel: [  864.325190] usb 1-3: New USB device found, idVendor=045e, idProduct=075d
May 15 02:57:33 debian kernel: [  864.325216] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
May 15 02:57:33 debian kernel: [  864.325236] usb 1-3: Product: Microsoft® LifeCam Cinema(TM)
May 15 02:57:33 debian kernel: [  864.325253] usb 1-3: Manufacturer: Microsoft
May 15 02:57:33 debian kernel: [  864.329374] usb 1-3: configuration #1 chosen from 1 choice
May 15 02:57:33 debian kernel: [  864.331421] uvcvideo: Found UVC 1.00 device Microsoft® LifeCam Cinema(TM) (045e:075d)
May 15 02:57:33 debian kernel: [  864.338002] input: Microsoft® LifeCam Cinema(TM) as /devices/pci0000:00/0000:00:0f.5/usb1/1-3/1-3:1.0/input/input7
May 15 02:57:34 debian kernel: [  865.464180] 7:3:1: cannot get freq at ep 0x82

Environment

Motion version: Trunk 533
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS: Debian, kernel 2.6.32-5-686

-- PabloGNU - 15 May 2010

Answer

Topic revision: r2 - 15 May 2010, PabloGNU
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.