speaker-test 1.2.4<br><br>Playback device is default<br>Stream parameters are 48000Hz, S16_LE, 8 channels<br>Using 16 octaves of pink noise<br>Rate set to 48000Hz (requested 48000Hz)<br>Buffer size range from 96 to 204768<br>Period size range from 48to 102384<br>Using max buffer size 204768<br>Periods = 4<br>Unable to set hw params for playback: Argumento inválido<br>Setting of hwparams failed: Argumento inválido<br></div><div><br></div><div>Esta es la info de mi tarjeta:</div><div><br></div><div>$
Tengo un mini PC (Z83II) corriendo Debian Buster, quiero usarlo para reproducir música, lo tengo sin interfaz gráfico, en modo servidor.
Pero no acierto a hacer un test:
$ speaker-test -D default -c 8
speaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 8 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 204768
Period size range from 48 to 102384
Using max buffer size 204768
Periods = 4
Unable to set hw params for playback: Argumento inválido
Setting of hwparams failed: Argumento inválido
El 2021-12-19 a las 12:07 +0100, Josu Lazkano escribió:
Tengo un mini PC (Z83II) corriendo Debian Buster, quiero usarlo para reproducir música, lo tengo sin interfaz gráfico, en modo servidor.
Pero no acierto a hacer un test:
$ speaker-test -D default -c 8
speaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 8 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 204768
Period size range from 48 to 102384
Using max buffer size 204768
Periods = 4
Unable to set hw params for playback: Argumento inválido
Setting of hwparams failed: Argumento inválido
(...)
Dale un vistado a la página de MythTV donde explican bastante bien cómo probar con esa utilidad y cómo pasarle los parámetros adecuados, aunque
me temo que el éxito de tu misión va a ser una cuestión de prueba-error :-):
Using ALSA's speaker-test utility https://www.mythtv.org/wiki/Using_ALSA%27s_speaker-test_utility
Saludos,
--
Camaleón
El dom, 19 dic 2021 a las 13:42, Camaleón (<noelamac@gmail.com>) escribió:
El 2021-12-19 a las 12:07 +0100, Josu Lazkano escribió:
Tengo un mini PC (Z83II) corriendo Debian Buster, quiero usarlo para reproducir música, lo tengo sin interfaz gráfico, en modo servidor.
Pero no acierto a hacer un test:
$ speaker-test -D default -c 8
speaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 8 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 204768
Period size range from 48 to 102384
Using max buffer size 204768
Periods = 4
Unable to set hw params for playback: Argumento inválido
Setting of hwparams failed: Argumento inválido
(...)
Dale un vistado a la página de MythTV donde explican bastante bien cómo probar con esa utilidad y cómo pasarle los parámetros adecuados, aunque me temo que el éxito de tu misión va a ser una cuestión de prueba-error :-):
Using ALSA's speaker-test utility https://www.mythtv.org/wiki/Using_ALSA%27s_speaker-test_utility
Se me ha escapado el correo antes de tiempo... sigo:
$ speaker-test
speaker-test 1.2.4
El dispositivo de reproducción es default
Los parámetros del flujo son 48000Hz, S16_LE, 1 canales
Usando 16 octavas de ruido rosa
Frecuencia establecida a 48000Hz (se solicitó 48000Hz)
El rango del tamaño del buffer va desde 192 hasta 2097152
El rango del tamaño del perído va desde 64 hasta 699051
Utilizando el tamaño máximo de buffer 2097152
Periodos = 4
fue establecido period_size = 524288
fue establecido buffer_size = 2097152
0 - Frontal izquierdo
^CTiempo por período = 10,933915
Pero parece que el mini PC este no asigna bien el dispositivo por defecto,
o al menos me casca si no le pongo un dispositivo:
$ speaker-test
speaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 204768
Period size range from 48 to 102384
Using max buffer size 204768
Periods = 4
Unable to set hw params for playback: Argumento inválido
Setting of hwparams failed: Argumento inválido
No se que poner en el parámetro -D, he probado con diferentes opciones,
pero todos dan error.
Me gustaría probar a instalar Buster con escritorio, pero tengo bastantes servicios corriendo y no puedo formatearlo.
¿Se os ocurre qué más puedo probar?
Hola a todos,
Tengo un mini PC (Z83II) corriendo Debian Buster, quiero usarlo para reproducir música, lo tengo sin interfaz gráfico, en modo servidor.
Pero no acierto a hacer un test:
$ speaker-test -D default -c 8
speaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 8 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 204768
Period size range from 48 to 102384
Using max buffer size 204768
Periods = 4
Unable to set hw params for playback: Argumento inválido
Setting of hwparams failed: Argumento inválido
Esta es la info de mi tarjeta:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: bytcrrt5651 [bytcr-rt5651], device 0: Audio (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: bytcrrt5651 [bytcr-rt5651], device 1: Deep-Buffer Audio (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture) hw:CARD=bytcrrt5651,DEV=0
bytcr-rt5651,
Direct hardware device without any conversions
hw:CARD=bytcrrt5651,DEV=1
bytcr-rt5651,
Direct hardware device without any conversions plughw:CARD=bytcrrt5651,DEV=0
bytcr-rt5651,
Hardware device with all software conversions plughw:CARD=bytcrrt5651,DEV=1
bytcr-rt5651,
Hardware device with all software conversions
default:CARD=bytcrrt5651
bytcr-rt5651,
Default Audio Device
sysdefault:CARD=bytcrrt5651
bytcr-rt5651,
Default Audio Device
dmix:CARD=bytcrrt5651,DEV=0
bytcr-rt5651,
Direct sample mixing device
dmix:CARD=bytcrrt5651,DEV=1
bytcr-rt5651,
Direct sample mixing device
hw:CARD=Audio,DEV=0
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct hardware device without any conversions
hw:CARD=Audio,DEV=1
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct hardware device without any conversions
hw:CARD=Audio,DEV=2
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct hardware device without any conversions
plughw:CARD=Audio,DEV=0
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Hardware device with all software conversions
plughw:CARD=Audio,DEV=1
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Hardware device with all software conversions
plughw:CARD=Audio,DEV=2
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Hardware device with all software conversions
default:CARD=Audio
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Default Audio Device
sysdefault:CARD=Audio
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Default Audio Device
hdmi:CARD=Audio,DEV=0
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
HDMI Audio Output
hdmi:CARD=Audio,DEV=1
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
HDMI Audio Output
hdmi:CARD=Audio,DEV=2
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
HDMI Audio Output
dmix:CARD=Audio,DEV=0
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct sample mixing device
dmix:CARD=Audio,DEV=1
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct sample mixing device
dmix:CARD=Audio,DEV=2
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct sample mixing device
El sonido lo quiero sacar por el conector jack que dispone el mini PC.
¿Estoy haciendo algo mal? Sin interfaz gráfica no se como poder configurar el sonido.
Un saludo y gracias por todo.
--
Josu Lazkano
Gracias a los dos,
¡Ya lo tengo funcionando! He copiado los ficheros de esta web [ http://davidegironi.blogspot.com/2019/10/linux-mint-on-z83-f-intel-atom-x5-z8350.html]
y ajustado los volumenes con alsamixer.
Ya no casca el speaker-test y tengo sonido.
Muchísimas gracias por vuestra ayuda.
Un saludo.
--
Josu Lazkano
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (3 / 13) |
Uptime: | 71:35:45 |
Calls: | 6,657 |
Calls today: | 3 |
Files: | 12,201 |
Messages: | 5,332,227 |
Posted today: | 1 |