On 2/20/21 5:09 PM, Jakob Alvermark wrote:
On 2/20/21 5:00 PM, Hans Petter Selasky wrote:
On 2/20/21 3:33 PM, Jakob Alvermark wrote:
# service webcamd start ugen1.7
webcamd 19267 - - Attached to ugen1.7[0]
# ls /var/run/webcamd.*
/var/run/webcamd.1.7.0.pid    /var/run/webcamd.2.4.0.pid
# cat /var/run/webcamd.1.7.0.pid

It might be something in the devd script which only starts the one webcam. Can you dump the USB device descriptor for both webcams?

usbconfig -d X.Y dump_device_desc

Where X.Y are the numbers after ugen.

$ usbconfig -d 1.7 dump_device_desc
ugen1.7: <vendor 0x046d product 0x0825> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x00ef  <Miscellaneous device>
   bDeviceSubClass = 0x0002
   bDeviceProtocol = 0x0001
   bMaxPacketSize0 = 0x0040
   idVendor = 0x046d
   idProduct = 0x0825
   bcdDevice = 0x0012
   iManufacturer = 0x0000  <no string>
   iProduct = 0x0000  <no string>
   iSerialNumber = 0x0002  <AE73A920>
   bNumConfigurations = 0x0001

$ usbconfig -d 2.4 dump_device_desc
ugen2.4: <Chicony Electronics Co.,Ltd. Integrated Camera> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0201
   bDeviceClass = 0x00ef  <Miscellaneous device>
   bDeviceSubClass = 0x0002
   bDeviceProtocol = 0x0001
   bMaxPacketSize0 = 0x0040
   idVendor = 0x04f2
   idProduct = 0xb681
   bcdDevice = 0x6926
   iManufacturer = 0x0003  <Chicony Electronics Co.,Ltd.>
   iProduct = 0x0001  <Integrated Camera>
   iSerialNumber = 0x0002  <6926>
   bNumConfigurations = 0x0001


Also dump the configuration descriptor:

usbconfig -d X.Y dump_curr_config_desc

--HPS

_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to