[oi-dev] Logitech C930e

stes@PANDORA.BE stes at telenet.be
Sun Nov 7 11:35:55 UTC 2021


Hi,

I have attached meanwhile a Logitech C930e webcam to the USB 3.1 ports (some docs refer to these ports as USB 3.2) on my OpenIndiana system.

This seems to work.  I can record audio with "audacity" so that's already working.  The microphone of the webcam works and functions fine.

I have not actually been using the webcam video because there seems no "cheese" package in the OpenIndiana repository and I haven't figured out how to capture video with "ffmpeg".

So the USB 2.0 device seems to function on the xhci driver for the USB 3.1/3.2 ports:

# modinfo | grep xhci
103 fffffffff7cf5000   e8f0 251   1  xhci (USB xHCI Driver)

# cfgadm -lv usb1/6
Ap_Id                          Receptacle   Occupant     Condition  Information
When         Type         Busy     Phys_Id
usb1/6                         connected    configured   ok         Mfg: <undef>  Product: Logitech Webcam C930e  NConfigs: 1  Config: 0  <no cfg str descr>
unavailable  usb-miscell  n        /devices/pci at 0,0/pci1028,98d at 14:6

# modinfo usbvc
ffffffff7e73000   7bf8 303   1  usbvc (USB video class driver)

Cheese is "obsoleted" in the OI repository.  The latest cheese-41 seems to use "meson" and doesn't build for me, neither do old versions seem to build.

Perhaps it makes more sense to capture video with "ffmpeg".   

But I think ffmpeg is currently built on OpenIndiana without  --enable-libv4l2 configure option:

https://ffmpeg.org/ffmpeg-devices.html#video4linux2_002c-v4l2

So the video4linux2 options do not seem to work.

$ ffmpeg -list_formats all
ffmpeg version 3.2.14 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7.5.0 (OpenIndiana 7.5.0-il-0)
  configuration: --prefix=/usr --mandir=/usr/share/man --bindir=/usr/bin --libdir=/usr/lib/amd64 --cc=/usr/gcc/7/bin/gcc --enable-runtime-cpudetect --enable-mmx --enable-sse --enable-ssse3 --disable-debug --enable-nonfree --enable-gpl --enable-postproc --enable-avfilter --enable-swscale --enable-libgsm --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libspeex --enable-pthreads --enable-libass --enable-openssl --enable-openal --enable-avresample --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-vdpau --enable-shared --disable-static
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Unrecognized option 'list_formats'.

The option list_formats seems not to be supported although according to the docs if --enable-v4l2 would be used, it could perhaps work.

The /dev/video0 device is there.

Has anyone suggestions on what other application could be used to test the /dev/video0 device ?

Regards,
David Stes



More information about the oi-dev mailing list