Portál AbcLinuxu, 15. července 2025 10:37
modprobe -r dm_crypt modprobe -r des_generic modprobe -r md4 modprobe -r hidp modprobe -r hid modprobe -r snd_hrtimer modprobe -r joydev modprobe -r snd_hda_codec_hdmi modprobe -r snd_hda_codec_conexant modprobe -r snd_hda_intel modprobe -r snd_hda_codec modprobe -r snd_hwdep modprobe -r snd_pcm modprobe -r arc4 modprobe -r ath9kSystem zacne usinat jak bych si pral. Problem je, ze kvuli uzivatelskym pozadavkum (proste me to prudi) sit a zvuk chci mit uspany a ne vypnuty/zapnuty. Pokusy jsem dosel k tomuto seznamu:
modprobe -r snd_hrtimer modprobe -r snd_hda_codec_hdmi modprobe -r snd_hda_codec_conexant modprobe -r snd_hda_intel modprobe -r snd_hda_codec modprobe -r snd_hwdep modprobe -r snd_pcmKtery nekdy funguje a nekdy ne. Kdyby nekohoh napadlo jak z toho ven, sem s tim. A jeste jednou se zeptam, nevite nekdo jak zjistit, ktere zarizeni probudilo system z uspani (suspend)?
killall -9 pulseaudio killall -9 pulseaudio killall -9 pulseaudio killall -9 pulseaudio killall -9 pulseaudio killall -9 pulseaudio killall -9 pulseaudio killall -9 pulseaudio modprobe -r snd_hrtimer modprobe -r snd_hda_codec_hdmi modprobe -r snd_hda_codec_conexant modprobe -r snd_hda_intel modprobe -r snd_hda_codec modprobe -r snd_hwdep modprobe -r snd_pcmBohuzel jak je kodu zrejme to killne veskere audio v systemu
dmesg | grep snd_hda_intel
# pm-suspend # dmesg |grep snd_hda_intel [ 12.631757] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 12.631810] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X [ 12.631836] snd_hda_intel 0000:00:1b.0: setting latency timer to 64 # pm-suspend # dmesg |grep snd_hda_intel [ 12.631757] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 12.631810] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X [ 12.631836] snd_hda_intel 0000:00:1b.0: setting latency timer to 64 [ 148.143385] snd_hda_intel 0000:00:1b.0: PCI INT A disabled [ 148.159125] PM: suspend of drv:snd_hda_intel dev:0000:00:1b.0 complete after 223.859 msecs [ 148.773618] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002) [ 148.775595] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 148.775600] snd_hda_intel 0000:00:1b.0: setting latency timer to 64 [ 148.775634] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X # pm-suspend # dmesg |grep snd_hda_intel [ 12.631757] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 12.631810] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X [ 12.631836] snd_hda_intel 0000:00:1b.0: setting latency timer to 64 [ 148.143385] snd_hda_intel 0000:00:1b.0: PCI INT A disabled [ 148.159125] PM: suspend of drv:snd_hda_intel dev:0000:00:1b.0 complete after 223.859 msecs [ 148.773618] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002) [ 148.775595] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 148.775600] snd_hda_intel 0000:00:1b.0: setting latency timer to 64 [ 148.775634] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-X [ 200.147310] snd_hda_intel 0000:00:1b.0: PCI INT A disabled [ 200.162785] PM: suspend of drv:snd_hda_intel dev:0000:00:1b.0 complete after 117.040 msecs [ 200.833568] snd_hda_intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002) [ 200.877104] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 200.877110] snd_hda_intel 0000:00:1b.0: setting latency timer to 64 [ 200.877147] snd_hda_intel 0000:00:1b.0: irq 46 for MSI/MSI-XZkousel jsem ruzne parametry toho snd_hda_intel, ale nic nefunguje. Tipuju to na nejakou souvislost s HDMI, ale nemam o tom moc prehled a tak se chytam vsemoznych rad. Jinak docasne reseni je zabit pulseaudio, odebrat modul a pak ho zas nahrat. Je to opruz a navic musim restartovat kmix a pulseaudio pod prave bezicim userem. Nevim kde v PM utils zapnout nejakej hook pro prave beziciho usera, resp. kde to navazat v KDE, ktere pouzivam na desktopu a ktere to vlastne cele spousti.
ps aux | awk '/\/usr\/bin\/pulseaudio --start/ {print $1}'
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.