Dear all,
I want to use the Logitech HD Pro Webcam C920 on FreeBSD 12.0 but it does not seem to work. While searching the net several other people seemed to had success getting the webcam to work (except audio which is not important to my use case).
The webcam is supported in FreeBSD by webcamd according to the compatibility list here:
I followed the usual installation instructions present in the man page of webcamd and also referred the page of the developer:
But webcamd always exits with:
webcamd: Cannot find USB device
Here's what I have done:
Installed webcamd from pkg and then from ports (debugging and all other options enabled). Manually installed cuse4bsd-kmod and v4l stuff (libv4l, v4l-utils, v4l_compat) again and recompiled webcamd.
I checked that the vendor id 046d and product id 0892 are present in the source code of webcamd.
Above is the output of kldstat, it does not make a difference having the old cuse4bsd kernel module loaded (as above) present in /boot/modules or the official cuse module.
Everything is run as root. So likely no issues with permissions.
So, what am I doing wrong? Or am I missing something?
I'm really puzzled. Thanks a lot for any help.
I want to use the Logitech HD Pro Webcam C920 on FreeBSD 12.0 but it does not seem to work. While searching the net several other people seemed to had success getting the webcam to work (except audio which is not important to my use case).
The webcam is supported in FreeBSD by webcamd according to the compatibility list here:
I followed the usual installation instructions present in the man page of webcamd and also referred the page of the developer:
But webcamd always exits with:
webcamd: Cannot find USB device
Here's what I have done:
Installed webcamd from pkg and then from ports (debugging and all other options enabled). Manually installed cuse4bsd-kmod and v4l stuff (libv4l, v4l-utils, v4l_compat) again and recompiled webcamd.
Code:
kldload cuse
Code:
service devd restart
Code:
usbconfig dump_device_desc dump_curr_config_desc
ugen0.5: <vendor 0x046d HD Pro Webcam C920> at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x00ef <Miscellaneous device>
bDeviceSubClass = 0x0002
bDeviceProtocol = 0x0001
bMaxPacketSize0 = 0x0040
idVendor = 0x046d
idProduct = 0x0892
bcdDevice = 0x0019
iManufacturer = 0x0000 <no string>
iProduct = 0x0002 <HD Pro Webcam C920>
iSerialNumber = 0x0001 <FEEFA12F>
bNumConfigurations = 0x0001
I checked that the vendor id 046d and product id 0892 are present in the source code of webcamd.
Code:
kldstat
Id Refs Address Size Name
1 56 0xffffffff80200000 220f340 kernel
2 1 0xffffffff82410000 6230 ichsmb.ko
3 3 0xffffffff82417000 2e18 smbus.ko
4 1 0xffffffff8241b000 2da8 smb.ko
5 1 0xffffffff8241e000 1cec0 if_rtwn_usb.ko
6 2 0xffffffff8243b000 24a08 rtwn.ko
7 1 0xffffffff82460000 8b80 rtwn-rtl8192eufw.ko
8 1 0xffffffff82469000 c7e0 aesni.ko
9 1 0xffffffff826ea000 2be8 coretemp.ko
10 1 0xffffffff826ed000 1a1a8 asmc.ko
11 1 0xffffffff82ffa000 81f0 tmpfs.ko
12 1 0xffffffff83003000 1a20 fdescfs.ko
13 1 0xffffffff83005000 1800 uhid.ko
14 1 0xffffffff83007000 23a8 ums.ko
15 1 0xffffffff8300a000 3aa0 ng_ubt.ko
16 5 0xffffffff8300e000 a020 netgraph.ko
17 1 0xffffffff83019000 9608 ng_hci.ko
18 3 0xffffffff83023000 9c0 ng_bluetooth.ko
19 1 0xffffffff83024000 cd40 ng_l2cap.ko
20 1 0xffffffff83031000 1b9c0 ng_btsocket.ko
21 1 0xffffffff8304d000 2190 ng_socket.ko
22 1 0xffffffff83050000 9f0 pflog.ko
23 1 0xffffffff83051000 327e8 pf.ko
24 1 0xffffffff83084000 4c40 cuse4bsd.ko
Above is the output of kldstat, it does not make a difference having the old cuse4bsd kernel module loaded (as above) present in /boot/modules or the official cuse module.
Code:
webcamd -d ugen0.5
virtual DVB server adapter driver, version 1.0-hps, (c) 2011 Hans Petter Selasky
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR XMP protocol handler initialized
b2c2-flexcop: B2C2 FlexcopII/II(b)/III digital TV receiver chip loaded successfully
USB Video Class driver (1.1.1)
cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
USBVision USB Video Device Driver for Linux : 0.9.11
webcamd: Cannot find USB device
Everything is run as root. So likely no issues with permissions.
So, what am I doing wrong? Or am I missing something?
I'm really puzzled. Thanks a lot for any help.