AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / user-283246

kr37's questions

Martin Hope
kr37
Asked: 2024-11-28 10:54:07 +0800 CST

Loop de login do console virtual (não-GUI)

  • 5

Enquanto digito isso, no meu sistema Netrunner Debian 12 KDE, se eu clicar, por exemplo, em Ctrl- Alt- F3, será exibido um prompt de login de terminal.

  • Não consigo passar desse prompt. Se eu digitar o nome de usuário e a senha corretamente, ele simplesmente limpa a tela e mostra o prompt de login do terminal novamente.
  • Ainda posso voltar para a GUI usando Ctrl- Alt- F7para continuar digitando esta pergunta.

Alguma sugestão de onde procurar?

  • /var/log/syslogcontém isso depois de fazer isso:
    2024-11-27T18:59:14.388452-08:00 RzT470Netrunner systemd[1]: Started session-1623.scope - Session 1623 of User rinzin.
    2024-11-27T18:59:14.394477-08:00 RzT470Netrunner wireplumber[1500]: SPA handle 'api.bluez5.enum.dbus' could not be loaded; is it installed?
    2024-11-27T18:59:14.394688-08:00 RzT470Netrunner wireplumber[1500]: PipeWire's BlueZ SPA missing or broken. Bluetooth not supported.
    2024-11-27T18:59:14.396358-08:00 RzT470Netrunner systemd[1]: [email protected]: Deactivated successfully.
    2024-11-27T18:59:14.410998-08:00 RzT470Netrunner systemd[1]: session-1623.scope: Deactivated successfully.
    2024-11-27T18:59:14.411962-08:00 RzT470Netrunner systemd[1]: [email protected]: Scheduled restart job, restart counter is at 3.
    2024-11-27T18:59:14.412850-08:00 RzT470Netrunner systemd[1]: Stopped [email protected] - Getty on tty3.
    2024-11-27T18:59:14.436539-08:00 RzT470Netrunner systemd[1]: Started [email protected] - Getty on tty3.
    2024-11-27T18:59:16.025507-08:00 RzT470Netrunner rtkit-daemon[1392]: Supervising 0 threads of 0 processes of 0 users.
    2024-11-27T18:59:16.034408-08:00 RzT470Netrunner rtkit-daemon[1392]: Supervising 0 threads of 0 processes of 0 users.
    2024-11-27T18:59:20.238554-08:00 RzT470Netrunner wireplumber[1500]: SPA handle 'api.bluez5.enum.dbus' could not be loaded; is it installed?
    2024-11-27T18:59:20.239586-08:00 RzT470Netrunner wireplumber[1500]: PipeWire's BlueZ SPA missing or broken. Bluetooth not supported.
    2024-11-27T18:59:21.834857-08:00 RzT470Netrunner kded5[531489]: Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
    2024-11-27T18:59:21.872833-08:00 RzT470Netrunner kded5[531489]: Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
    2024-11-27T18:59:21.872895-08:00 RzT470Netrunner kded5[531489]: kcm_touchpad: Using X11 backend
    2024-11-27T18:59:21.874708-08:00 RzT470Netrunner kded5[531489]: Width:  3794  height:  3036
    2024-11-27T18:59:21.874761-08:00 RzT470Netrunner kded5[531489]: Approx. resX:  42  resY:  60
    2024-11-27T18:59:21.874822-08:00 RzT470Netrunner kded5[531489]: Touchpad resolution: x:  45  y:  54
    2024-11-27T18:59:21.874863-08:00 RzT470Netrunner kded5[531489]: Final resolution x: 45  y: 54
    2024-11-27T18:59:21.881830-08:00 RzT470Netrunner kwin_x11[1794]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43603, resource id: 153092101, major code: 18 (ChangeProperty), minor code: 0
    
  • E com journalctl -risso eu encontro:
    Nov 27 19:22:21 RzT470Netrunner login[532343]: Permission denied
    Nov 27 19:22:21 RzT470Netrunner login[532343]: gkr-pam: couldn't unlock the login keyring.
    
terminal
  • 1 respostas
  • 36 Views
Martin Hope
kr37
Asked: 2023-12-11 13:19:27 +0800 CST

Como configurar o arquivo de configuração ices2 para Zoom R16 de 8 canais

  • 5

Sou novo no ices2 e no icecast2, mas consegui configurar um stream onde posso me ouvir em meus fones de ouvido. Então, algum sucesso básico com o sistema. Agora, o verdadeiro objetivo:

Gostaríamos de transmitir em 8 idiomas diferentes usando os recursos de interface de áudio de um gravador Zoom R16. Fazendo arecord --dump-hw-params hw1,0no R16, ele retorna:

Recording WAVE 'hw1,0' : Unsigned 8 bit, Rate 8000 Hz, Mono
HW Params of device "default":
--------------------
ACCESS:  RW_INTERLEAVED
FORMAT:  U8 S16_LE S16_BE S24_LE S24_BE S32_LE S32_BE FLOAT_LE FLOAT_BE MU_LAW A_LAW S24_3LE S24_3BE
SUBFORMAT:  STD
SAMPLE_BITS: [8 32]
FRAME_BITS: [8 1024]
CHANNELS: [1 32]
RATE: [1 384000]
PERIOD_TIME: (2 4294967295)
PERIOD_SIZE: [1 1398102)
PERIOD_BYTES: [128 1398102)
PERIODS: [3 1024]
BUFFER_TIME: (7 4294967295]
BUFFER_SIZE: [3 4194304]
BUFFER_BYTES: [384 4194304]
TICK_TIME: ALL
--------------------

Pergunta 1: Qual é o significado dos números com espaços entre eles, como SAMPLE_BITS: [8 32]? Isso significa que os bits de amostra podem ser 8, 16 ou 32?

Pergunta 2: Como resolver "EROR input-alsa/alsa_open_module Formato de exemplo não disponível: argumento inválido"

Quando tento iniciar o ices2, ele simplesmente fecha e o log diz:

[2023-12-10  20:48:46] INFO ices-core/main IceS 2.0.3 started...
[2023-12-10  20:48:46] EROR input-alsa/alsa_open_module Sample format not available: Invalid argument
[2023-12-10  20:48:46] EROR input/input_loop Couldn't initialise input module "alsa"
[2023-12-10  20:48:46] INFO ices-core/main Shutdown complete

O arquivo de configuração que estou usando para ices2 é:

<?xml version="1.0"?>
<ices>

    <!-- run in background  -->                     <background>0</background>

    <!-- where logs go. -->                            <logpath>/var/log/ices2</logpath>
                                                       <logfile>ices.log</logfile> 
    <!-- size in kilobytes -->                         <logsize>2048</logsize>
    <!-- 1=error, 2=warn, 3=infoa ,4=debug -->        <loglevel>4</loglevel>
    <!-- logfile is ignored if this is set to 1 --> <consolelog>0</consolelog>

    <!-- optional filename to write process id to -->  <pidfile>/var/log/ices2/ices.pid</pidfile> 

    <stream>
        <!-- metadata used for stream listing -->
        <metadata>
            <name>8 Languages</name>
            <genre>Dharma Teaching</genre>
            <description>Translation of 2024 International Spring Festival</description>
            <url>http://localhost/</url>
        </metadata>

        <!--    Input module.

            This example uses the 'alsa' module. It takes input from the
            ALSA audio device (e.g. line-in), and processes it for live
            encoding.  -->
        <input>
            <module>alsa</module>
            <param name="rate">48000</param>
            <param name="channels">8</param>
            <param name="device">hw:1,0</param>
            <param name="periods">2</param>
            <!-- Read metadata (from stdin by default, or -->
            <!-- filename defined below (if the latter, only on SIGUSR1) -->
            <param name="metadata">1</param>
            <param name="metadatafilename">testES</param>
        </input>

        <!--    Stream instance.

            You may have one or more instances here.  This allows you to
            send the same input data to one or more servers (or to different
            mountpoints on the same server). Each of them can have different
            parameters. This is primarily useful for a) relaying to multiple
            independent servers, and b) encoding/reencoding to multiple
            bitrates.

            If one instance fails (for example, the associated server goes
            down, etc), the others will continue to function correctly.
            This example defines a single instance doing live encoding at
            low bitrate.  -->

        <instance>
            <!--    Server details.

                You define hostname and port for the server here, along
                with the source password and mountpoint.  -->

            <hostname>localhost</hostname>
            <port>8000</port>
            <password>hackme</password>
            <mount>/spanish.ogg</mount>
            <yp>1</yp>   <!-- allow stream to be advertised on YP, default 0 -->

            <!--    Live encoding/reencoding:

                channels and samplerate currently MUST match the channels
                and samplerate given in the parameters to the alsa input
                module above or the remsaple/downmix section below.  -->

            <encode>  
                <quality>0</quality>
                <samplerate>24000</samplerate>
                <channels>8</channels>
            </encode>

            <!-- stereo->mono downmixing, enabled by setting this to 1 -->
            <downmix>0</downmix>

            <!-- resampling.
            
                Set to the frequency (in Hz) you wish to resample to, -->
             
            <resample>
                <in-rate>48000</in-rate>
                <out-rate>24000</out-rate>
            </resample>
        </instance>

    </stream>
</ices>

Mas no geral, o que eu gostaria de saber é:

Pergunta 3: O que precisa ser inserido no arquivo de configuração para que o canal 1 do gravador possa ser transmitido em espanhol, o canal 2 em francês, o canal 3 em alemão, ... canal 8. Presumo que realmente precise de 8 configurações diferentes arquivos e execute 8 instâncias do ices2, mas como selecionar o canal certo?

Editar: posso dizer também que isso funciona para gravar um arquivo wav de 8 canais:

arecord -D hw:1,0 -f S32_LE -r 48000 -c 8 testr16.wav
alsa
  • 1 respostas
  • 25 Views

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Possível firmware ausente /lib/firmware/i915/* para o módulo i915

    • 3 respostas
  • Marko Smith

    Falha ao buscar o repositório de backports jessie

    • 4 respostas
  • Marko Smith

    Como exportar uma chave privada GPG e uma chave pública para um arquivo

    • 4 respostas
  • Marko Smith

    Como podemos executar um comando armazenado em uma variável?

    • 5 respostas
  • Marko Smith

    Como configurar o systemd-resolved e o systemd-networkd para usar o servidor DNS local para resolver domínios locais e o servidor DNS remoto para domínios remotos?

    • 3 respostas
  • Marko Smith

    apt-get update error no Kali Linux após a atualização do dist [duplicado]

    • 2 respostas
  • Marko Smith

    Como ver as últimas linhas x do log de serviço systemctl

    • 5 respostas
  • Marko Smith

    Nano - pule para o final do arquivo

    • 8 respostas
  • Marko Smith

    erro grub: você precisa carregar o kernel primeiro

    • 4 respostas
  • Marko Smith

    Como baixar o pacote não instalá-lo com o comando apt-get?

    • 7 respostas
  • Martin Hope
    user12345 Falha ao buscar o repositório de backports jessie 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl Por que a maioria dos exemplos do systemd contém WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky Como exportar uma chave privada GPG e uma chave pública para um arquivo 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll status systemctl mostra: "Estado: degradado" 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim Como podemos executar um comando armazenado em uma variável? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S Por que /dev/null é um arquivo? Por que sua função não é implementada como um programa simples? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 Como ver as últimas linhas x do log de serviço systemctl 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - pule para o final do arquivo 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla Por que verdadeiro e falso são tão grandes? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis Substitua a string em um arquivo de texto enorme (70 GB), uma linha 2017-12-30 06:58:33 +0800 CST

Hot tag

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve