Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have spent enough time trying to figure this out. I need someone with a deeper understanding of the relationship between, em28xx, video0, v4l2 and the Motion video capture package (or any other I guess)

A couple of days ago I was feeling a bit full of myself and managed to delete the kernel headers from my Ubuntu 12.04 Server (minimal) video capture system which consist of a couple surveillance cams and the Dazzle DVC100 capture card. I have been using this system for years and before deleting the headers it worked great. The Dazzle has always been plug and play as I have upgraded system hardware and done a number of fresh installs since Maverick.

I repaired my system by plugging the hdd into a USB adapter, mounting /dev, /proc, and /run, chrooting and re-installing the headers. Advice I found on this site. Thank you all. I had a little more work to do after that, the network card driver had to be reinstalled and initram.d rebuilt. Forgive and misnomers here, I am not that experienced with Linux but am getting there with the help of all the cool folks willing to share their knowledge.

Now when I run Motion, it starts but I can see from the webserved stream that there is no image (just gray) but Motions overlay is there with time, date stamp and a message saying "unable to open video device since..." the date and time follows and it's always the time I opened the ip in my browser.

My current understanding is that the em28xx module works with v4l to get video from video0, or otherway around, but the output goes to Motion. Here is my lsusb and lsmod data.

Thanks to anyone who has continued reading...

    lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2304:021a Pinnacle Systems, Inc. Dazzle DVC100 Audio Device
Bus 002 Device 002: ID 14cd:6116 Super Top M6116 SATA Bridge
Bus 004 Device 002: ID 04d9:1400 Holtek Semiconductor, Inc. PS/2 keyboard + mouse controller



    sudo lsusb -v | grep -A 5 idVendor
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.02
  iManufacturer           3 Linux 3.2.0-32-generic ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:12.2
--
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.02
  iManufacturer           3 Linux 3.2.0-32-generic ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:13.2
--
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.02
  iManufacturer           3 Linux 3.2.0-32-generic ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:16.2
--
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.02
  iManufacturer           3 Linux 3.2.0-32-generic ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0000:00:12.0
--
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.02
  iManufacturer           3 Linux 3.2.0-32-generic ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0000:00:13.0
--
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.02
  iManufacturer           3 Linux 3.2.0-32-generic ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0000:00:14.5
--
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.02
  iManufacturer           3 Linux 3.2.0-32-generic ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0000:00:16.0
--
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.02
  iManufacturer           3 Linux 3.2.0-32-generic xhci_hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:04:00.0
--
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0003 3.0 root hub
  bcdDevice            3.02
  iManufacturer           3 Linux 3.2.0-32-generic xhci_hcd
  iProduct                2 xHCI Host Controller
  iSerial                 1 0000:04:00.0
--
  idVendor           0x2304 Pinnacle Systems, Inc.
  idProduct          0x021a Dazzle DVC100 Audio Device
  bcdDevice            1.00
  iManufacturer           2 Pinnacle Systems GmbH
  iProduct                1 DVC100
  iSerial                 0 
--
  idVendor           0x14cd Super Top
  idProduct          0x6116 M6116 SATA Bridge
  bcdDevice            1.50
  iManufacturer           1 Super Top   
  iProduct                3 USB 2.0  SATA BRIDGE   
  iSerial                 2 M6116018VE15
--
  idVendor           0x04d9 Holtek Semiconductor, Inc.
  idProduct          0x1400 PS/2 keyboard + mouse controller
  bcdDevice            1.42
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.