[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sound issues on ThinkPad X220T (Lenovo)



On 4/11/20, riveravaldez <riveravaldezmail@gmail.com> wrote:
> Hi,
>
> I would like to know what's the proper way to solve this. I'm on an
> updated debian-testing installation (with pulseaudio installed and
> working, but the problem seems to be previous, i.e., in ALSA, because
> pavucontrol doesn't show the soundcard in its correspondent tab).
>
> I can get audio from audacity and audacious as long as I choose
> manually the proper soundcard in its options, but not from other
> programs (e.g., firefox, mplayer, etc.), which I suppose use the
> default soundcard.
>
> Strangely, 'speaker-test -c2' doesn't produce a sound. But 'sudo
> speaker-test -c2' works flawlessly. (The idea to check that came from
> [1].)
>
> I already tested (following [2]):
>
> $ sudo alsactl init
> Found hardware: "HDA-Intel" "Conexant CX20590"
> "HDA:14f1506e,17aa21db,00100003 HDA:80862805,80860101,00100000"
> "0x17aa" "0x21db"
> Hardware is initialized using a generic method
>
> But nothing changed after reboot. (Though, the CX20590 is the working
> choice for audacious/audacity.)
>
> I have this info:
>
> $ cat /proc/asound/cards
>  0 [PCH            ]: HDA-Intel - HDA Intel PCH
>                       HDA Intel PCH at 0xf2520000 irq 35
>
> $ lspci -v
> 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset
> Family High Definition Audio Controller (rev 04)
> 	Subsystem: Lenovo 6 Series/C200 Series Chipset Family High Definition
> Audio Controller
> 	Flags: bus master, fast devsel, latency 0, IRQ 35
> 	Memory at f2520000 (64-bit, non-prefetchable) [size=16K]
> 	Capabilities: <access denied>
> 	Kernel driver in use: snd_hda_intel
> 	Kernel modules: snd_hda_intel
>
> Any other info I could provide?
> What should I do?
>
> BTW, JACK also fails to work, with these messages:
>
> 20:59:14.349 Reiniciar estadísticas.
> 20:59:14.356 Cambios en las conexiones ALSA.
> Cannot connect to server socket err = No existe el fichero o el directorio
> Cannot connect to server request channel
> jack server is not running or cannot be started
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
> skipping unlock
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
> skipping unlock
> 20:59:31.365 JACK está iniciándose...
> 20:59:31.366 /usr/bin/jackd -v -dalsa -r48000 -p512 -n2 -Xseq -D
> -Chw:PCH,0 -Phw:PCH,0
> Cannot connect to server socket err = No existe el fichero o el directorio
> Cannot connect to server request channel
> jack server is not running or cannot be started
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
> skipping unlock
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
> skipping unlock
> 20:59:31.382 JACK se inició con PID=3144.
> no message buffer overruns
> no message buffer overruns
> no message buffer overruns
> jackdmp 1.9.12
> Copyright 2001-2005 Paul Davis and others.
> Copyright 2004-2016 Grame.
> Copyright 2016-2017 Filipe Coelho.
> jackdmp comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
> JACK server starting in realtime mode with priority 10
> self-connect-mode is "Don't restrict self connect requests"
> Jack: JackPosixThread::StartImp : create non RT thread
> Jack: JackPosixThread::ThreadHandler : start
> Jack: capture device hw:PCH,0
> Jack: playback device hw:PCH,0
> Jack: apparent rate = 48000
> Jack: frames per period = 512
> Jack: JackDriver::Open capture_driver_name = hw:PCH,0
> Jack: JackDriver::Open playback_driver_name = hw:PCH,0
> Jack: Check protocol client = 8 server = 8
> Jack: JackEngine::ClientInternalOpen: name = system
> Jack: JackEngine::AllocateRefNum ref = 0
> Jack: JackLinuxFutex::Allocate name = jack_sem.1000_default_system val = 0
> Jack: JackEngine::NotifyAddClient: name = system
> Jack: JackGraphManager::SetBufferSize size = 512
> Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
> Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
> Jack: JackDriver::SetupDriverSync driver sem in flush mode
> audio_reservation_init
> Acquire audio card Audio0
> creating alsa driver ...
> hw:PCH,0|hw:PCH,0|512|2|48000|0|0|nomon|swmeter|-|32bit
> ATTENTION: The playback device "hw:PCH,0" is already in use. Please
> stop the application using it and run JACK again
> Jack: JackDriver::Close
> Jack: JackConnectionManager::DirectDisconnect last: ref1 = 0 ref2 = 0
> Jack: JackGraphManager::DisconnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
> Jack: JackEngine::ClientInternalClose ref = 0
> Jack: JackEngine::ClientCloseAux ref = 0
> Jack: JackGraphManager::RemoveAllPorts ref = 0
> Released audio card Audio0
> audio_reservation_finish
> Jack: ~JackDriver
> Cannot initialize driver
> Jack: no message buffer overruns
> Jack: JackPosixThread::Stop
> Jack: JackPosixThread::ThreadHandler : exit
> JackServer::Open failed with -1
> Jack: Succeeded in unlocking 82280346 byte memory area
> Jack: JackShmMem::delete size = 0 index = 0
> Jack: ~JackDriver
> Jack: Succeeded in unlocking 1187 byte memory area
> Jack: JackShmMem::delete size = 0 index = 1
> Jack: Cleaning up shared memory
> Jack: Cleaning up files
> Jack: Unregistering server `default'
> Failed to open server
> 20:59:31.602 JACK ha sido detenido
> 20:59:33.455 No puede conectarse al servidor JACK como cliente. - La
> operación global falló. - No puede conectarse al servidor. Por favor
> revise la ventana de mensajes para mas información.
> Cannot connect to server socket err = No existe el fichero o el directorio
> Cannot connect to server request channel
> jack server is not running or cannot be started
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
> skipping unlock
> JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1,
> skipping unlock
>
> Thanks a lot!
>
> [1] http://forums.debian.net/viewtopic.php?f=6&t=39116#p246951
> [2] https://wiki.debian.org/ALSA#Loading_modules
>

I guess I should have added:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CX20590 Analog [CX20590 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Thanks a lot in advance.


Reply to: