The officially official Devuan Forum!

You are not logged in.

#1 Yesterday 15:11:51

peacefulvillage
Member
Registered: Yesterday
Posts: 6  

EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

Hi folks. I have Devuan os with lxqt and I am having a hard time getting the dji mic mini (which is default set to mono) to dual mono (it doesn´t do true stereo recording), and the Logitech C920s Pro to display in 1920 Full HD 30 fps, without using the sound from the webcam, but from the dji mic. They should always start up after restarting or logging off when plugged in as default. How to do this? I tried everything with no luck. I don´t have anyone that can help me. i have to get this done like yesterday, as I have an interview in a day.

Last edited by peacefulvillage (Yesterday 15:17:13)

Offline

#2 Yesterday 16:43:55

g4sra
Member
Registered: 2018-12-12
Posts: 19  

Re: EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

Hi, I would resort to configuring ALSA directly at the system level and not rely on any app.

I would edit /etc/asound.conf defining a mono 'type dsnoop' device that corresponds to the Mic.
(use 'arecord -l' to show you the CARD names ALSA is using)

pcm.dji_mic {
        type dsnoop
        ipc_key 34848
        ipc_key_add_uid true
        ipc_perm 0666
        slave.pcm {
            type hw
            card "DJITHINGY"
            device 0  # mic
            channels 1
        }
    }

I would the wrap that device definition with another of 'type route' with two channels, which maps the
single mic channel onto both channels.

pcm.stereo_dji_mic {
    type route
    slave.pcm  dji_mic
    ttable {
      0.0 1.0 # left to left at full volume
      0.1 1.0  # left to right at full volume
    }
    channels 2
}

I would then wrap the stereo mic with type plug to manage format conversions

pcm.source {
   type plug
   slave.pcm stereo_dji_mic
}

Once configured run 'arecord -L'
if /etc/asound.conf is wrong or has syntax errors etc that command will barf with an error message you can google

The above is off the top of my head but should enable you to search for what you need.

Offline

#3 Yesterday 18:01:30

peacefulvillage
Member
Registered: Yesterday
Posts: 6  

Re: EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

I appreciate your time and effort to helping. I am so nontechnical with Devuan. I am stuck on what to do... your instruction are for Linux experts.

Offline

#4 Yesterday 18:35:42

igorzwx
Member
Registered: 2024-05-06
Posts: 203  

Re: EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

Post the output of these commands:

fuser -av $(find /dev/snd -type c 2>/dev/null)
inxi -A

You may need to install inxi

sudo apt install inxi

Offline

#5 Yesterday 18:39:45

peacefulvillage
Member
Registered: Yesterday
Posts: 6  

Re: EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

fuser -av $(find /dev/snd -type c 2>/dev/null)
                     USER        PID ACCESS COMMAND
/dev/snd/controlC2:  rms        4134 F.... lxqt-panel
/dev/snd/pcmC2D0c:
/dev/snd/controlC1:  rms        4134 F.... lxqt-panel
/dev/snd/pcmC1D0c:
/dev/snd/controlC0:  rms        4134 F.... lxqt-panel
/dev/snd/hwC0D2:
/dev/snd/hwC0D0:
/dev/snd/pcmC0D9p:
/dev/snd/pcmC0D8p:
/dev/snd/pcmC0D7p:
/dev/snd/pcmC0D3p:
/dev/snd/pcmC0D0c:
/dev/snd/pcmC0D0p:
/dev/snd/seq:
/dev/snd/timer:

rms@ASUS:~$ inxi -A
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio driver: snd_hda_intel
  Device-2: DJI MIC MINI type: USB driver: hid-generic,snd-usb-audio,usbhid
  Device-3: Logitech C920 PRO HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo
  API: ALSA v: k6.1.0-38-amd64 status: kernel-api

Offline

#6 Yesterday 18:51:41

igorzwx
Member
Registered: 2024-05-06
Posts: 203  

Re: EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

You may try to configure ALSA with arateconf
It is not difficult to compile: just copy and paste commands to terminal.

The user manual is here:
_https://dev1galaxy.org/viewtopic.php?id=6644

The updated instruction for compilation is here:
_https://dev1galaxy.org/viewtopic.php?id=7142

Offline

#7 Yesterday 21:09:46

peacefulvillage
Member
Registered: Yesterday
Posts: 6  

Re: EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

all too technical for me. I scream when i see pages of codes. Help please a newbie non-technoical person. I have an interview tomorrow

Offline

#8 Yesterday 21:29:41

igorzwx
Member
Registered: 2024-05-06
Posts: 203  

Re: EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

Don't panic! If you have an interview tomorrow, you may better try to compile.

Open: _https://dev1galaxy.org/viewtopic.php?id=7142

Scroll to the blue line:

How to compile Petrov's fftrate ALSA plugin on Devuan 5 Daedalus

Install "build-essential", etc.

sudo apt update
sudo apt-get install build-essential git debhelper
sudo apt install libasound2-dev libasound2-plugins swh-plugins 

and so on.

Last edited by igorzwx (Yesterday 21:30:31)

Offline

#9 Yesterday 22:12:11

peacefulvillage
Member
Registered: Yesterday
Posts: 6  

Re: EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

that didn´t fix the audio mixer not working beside the clock and still the two devices are not fully functioning the way I need.

Offline

#10 Yesterday 22:21:08

igorzwx
Member
Registered: 2024-05-06
Posts: 203  

Re: EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

Post the output of this command:

cat ~/.asoundrc

and the output of these two commands:

whereis arateconf
dpkg -l | grep alsa-config-utils

You were supposed to compile and install arateconf (along with other things), and use arateconf (in interactive mode) to generate ~/.asoundrc

The sound icon "beside the clock" is not a "mixer". It is a sound applet.
The ALSA software mixer is to be configured with the help of arateconf

A mixer is supposed to mix something, as the name suggests.
OSS4 has vmix. It is enabled by default and works out of the box.
ALSA has dmix. It is not enabled by default. It has to be configured by the user.

Last edited by igorzwx (Today 01:27:25)

Offline

#11 Today 03:04:33

peacefulvillage
Member
Registered: Yesterday
Posts: 6  

Re: EmergencyProblem setting up DJI Mic Mini and Logitech C920s Pro Webcam

does anyone have a free remote desktop that they can access my computer? I can offer my free ebook for the assistance.

Offline

Board footer