[oi-dev] Logitech C930e
stes@PANDORA.BE
stes at telenet.be
Thu Nov 11 13:24:17 UTC 2021
Presumably it is a lot of work to get it working ...
I think this, because based on my attempt to attach a C930e,
I discovered in the Illumos database an old request
https://www.illumos.org/issues/2268
from a long time ago to have "full V4L2 stack to support TV cards".
This is issue is flagged as: Difficulty:Hard
Basically there is no libv4l2 (no full V4L2 stack) for OpenIndiana and the BSD alternative that Mehmet Erol Sanliturk pointed out, is probably also a lot of work.
Also it is not clear to me whether user level applications such as "ffmpeg" support the BSD webcamd.
An effort to port webcamd to OpenIndiana only makes sense if programs such as "ffmpeg" would support webcamd, I suppose.
However the good news or positive news is that Squeak has a CameraPlugin which only simply opens /dev/video0 and does not use libv4l2. This plugin compiles but does not seem to work for me.
My understanding is that Squeak just like older applications like Ekiga (communication) open /dev/video* devices directly without the "stack" of libv4l2 on top of /dev/video.
This can be ported to OpenIndiana but maybe only supports a very limited set of hardware.
In any case I've submitted a PR for oi-docs to update the documentation and write that I tried attaching the C930e and that as far as I can see, it does NOT work.
This in itself is not a big issue to me, I'm impressed in general by the quality of OpenIndiana which does not have to be underestimated compared to other UNIX variants.
Regards,
David Stes
----- Op 7 nov 2021 om 13:57 schreef toasterson toasterson at gmail.com:
> Hi
>
> I know Firefox's WebRTC is disabled but would only need a couple more
> libraries to enable during build. Then all Web based conferencing tools
> would work. But it is a bit of work to get going.
>
>
> -Till
>
>
> On 07.11.21 12:35, stes at PANDORA.BE wrote:
>>
>> 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
>>
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
>>
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
More information about the oi-dev
mailing list