From LinuxTVWiki
Jump to: navigation, search

New MS2106 Easycap

There's a new Easycap variant using the Macro Silicon M2106 chip [[1]] which is a USB video class device but as of kernel 5.1.0 it is not supported.

These can be identified by the USB ID 534d:0021.

Here are some forum posts about trying to get this working with various degrees of success [[2]], [[3]] and [[4]].

The device however works fine (both audio and video). Tested on kernel version 5.4.72 on an x86_64 architecture.

To get the video working, I've followed this simple guide http : // dietrichschroff. blog spot .com/2020/04/using-video-capture-usb-stick-with.html (spam filter is preventing me from posting the actual link so you will need to remove the spaces to visit the link).

But the TLDR version is that you should issue modprobe uvcvideo then you should open VLC and choose Media -> Open Capture Device then in the video field select /dev/video0.

To get the audio working, I've simply selected the "audio device name" from VLC's dropdown menu. In my case it was hw:1,0 (if your PC only has one audio card then that should work for you too).

If you don't want to use VLC and instead want to record the audio/video you can do something like that ffmpeg -f alsa -i hw:1 -f video4linux2 -i /dev/video0 -f mpeg output.mp4

Kernel dmesg output

   [23560.029322] usb 2-1.3: new high-speed USB device number 17 using ehci-pci
   [23560.109176] usb 2-1.3: New USB device found, idVendor=534d, idProduct=0021, bcdDevice= 1.21
   [23560.109181] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
   [23560.109184] usb 2-1.3: Product: AV TO USB2.0
   [23560.109186] usb 2-1.3: Manufacturer: MACROSILICON
   [23560.109188] usb 2-1.3: SerialNumber: 20150130
   [23560.109639] uvcvideo: Found UVC 1.00 device AV TO USB2.0 (534d:0021)
   [23560.109919] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
   [23560.110266] uvcvideo 2-1.3:1.0: Entity type for entity Processing 2 was not initialized!
   [23560.110269] uvcvideo 2-1.3:1.0: Entity type for entity Camera 1 was not initialized!
   [23560.115530] hid-generic 0003:534D:0021.000D: hiddev96,hidraw1: USB HID v1.10 Device [MACROSILICON AV TO USB2.0] on usb-0000:00:1d.0-1.3/input4