OV511 based webcam and webcamd

Marc Fonvieille blackend at freebsd.org
Mon Apr 13 13:04:31 UTC 2020


Hans,

I have several questions:

- The fact it's a USB 1.0 device, can it be a problem?

- When plugged, /dev/usb/0.3.0 is created and linked to /dev/ugen0.3.
  /dev/usb/0.3.1 is also created.  I assume it's Endpoint 1, but I don't
  have any /dev/ugen0.3.1 is it normal?

- If I try to read data from /dev/usb/0.3.1, I get
  
  kernel: ugen_isoc_read_callback: actlen=0, aframes=0
  syslogd: last message repeated 1 times
  kernel: ugen0.3: <vendor 0x05a9 product 0xa511> at usbus0 (disconnected)
  
  For that, I quickly updated old vid program
  (http://ovtvid-bsd.sourceforge.net/) used on 4.11 for 12.1 (see
  https://people.freebsd.org/~blackend/usb/vid.c).  I get the same
  behavoir as with webcamd, i.e., all configuration settings via the
  control endpoint are accepted, once the program tries to get video
  data it fails (the device is disconnected).

-- 
Marc


More information about the freebsd-multimedia mailing list