EPILOG  ->      ->       A Sound Mystery
 
 
To recap: 
 
besenmuckel hat folgendes geschrieben:: 
for  lsof
 Code: 
apt-get install lsof
 
 
Package already installed in both Mint and Kanotix distros.
 
 
TheOne hat folgendes geschrieben:: 
If some application blocks your sound device, you can see that via
 Code: 
lsof | grep snd
 
 
This produced a plethora of info, and I ended up not being able to see the wood for the trees and might have been in danger of killing an essential proces  
 
 
besenmuckel hat folgendes geschrieben:: 
Thanx
 
 
Mint hat folgendes geschrieben:: 
mint@mint ~ $ lsof | grep pcm 
 
pulseaudi  4642       mint  mem       CHR      116,3               13176 /dev/snd/pcmC0D0p
 
pulseaudi  4642       mint   36u      CHR      116,3      0t0      13176 /dev/snd/pcmC0D0p
 
plugin-co  5013       mint  mem       REG       0,16    22076      19784 /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
 
 
 
besenmuckel hat folgendes geschrieben:: 
http://wiki.ubuntuusers.de/Soundkarten_konfigurieren/HDA?redirect=no hat folgendes geschrieben:: 
Dazu muss die Datei /etc/modprobe.d/alsa-base.conf ... folgende Zeile eingefügt:
 
 
options snd-hda-intel model=3stack
 
 
Nach dem Ändern der Datei kann der Rechner neu gestartet werden. ALSA erfährt dann beim Starten, welcher HDA-Typ angesprochen wird.
 
 
 
After restarting the problem still persisted. Well since then there has been an intervening cold start.
 
 
On getting to desktop minimised all windows and ran
 
Code: 
kanotix@Kanotix:~$ lsof | grep pcm
 
lsof: WARNING: can't stat() ext2 file system /isofrom
 
      Output information may be incomplete.
 
lsof: WARNING: can't stat() squashfs file system /filesystem.squashfs
 
      Output information may be incomplete.
 
lsof: WARNING: can't stat() ext2 file system /live-rw-backing
 
      Output information may be incomplete.
 
 
Possibly no one blocking sound access, so ran Kaffeine, which worked    
 
Following which ran
 
Code: 
kanotix@Kanotix:~$ lsof | grep pcm
 
kaffeine- 3538    kanotix  mem       CHR      116,3             10697 /dev/snd/pcmC0D0p
 
kaffeine- 3538    kanotix   19u      CHR      116,3       0t0   10697 /dev/snd/pcmC0D0p
 
 
TheOne hat folgendes geschrieben:: 
Try to increase volume of PCM and Master channel.
 
Kano hat folgendes geschrieben:: 
Usally you need to increase front too.
 
With Kaffeine running, ran 'alsamixer' and was able to adjust contols and eliminate unnecessary ones  -> ->          
 
 
  
 
 
Ran Flash Video in Iceweasel
 
Code: 
kanotix@Kanotix:~$ lsof | grep pcm
 
plugin-co 3715    kanotix  mem       CHR      116,3             10697 /dev/snd/pcmC0D0p
 
plugin-co 3715    kanotix   22u      CHR      116,3       0t0   10697 /dev/snd/pcmC0D0p
 
Played a sound
 
Code: 
kanotix@Kanotix:~$ play /usr/share/sounds/KDE-Im-New-Mail.ogg
 
/usr/share/sounds/KDE-Im-New-Mail.ogg:
 
 
 File Size: 23.4k     Bit Rate: 181k
 
  Encoding: Vorbis        
 
  Channels: 2 @ 16-bit   
 
Samplerate: 48000Hz      
 
Replaygain: off         
 
  Duration: 00:00:01.03  
 
 
In:100%  00:00:01.03 [00:00:00.00] Out:49.7k [      |      ]        Clip:0    
 
Done.
 
Ran Gnome Media Player followed by a Sound
 
Code: 
kanotix@Kanotix:~$ lsof | grep pcm
 
mplayer   4712    kanotix  mem       CHR      116,3             10697 /dev/snd/pcmC0D0p
 
mplayer   4712    kanotix    7w      CHR      116,3       0t0   10697 /dev/snd/pcmC0D0p
 
kanotix@Kanotix:~$ play /usr/share/sounds/KDE-Im-New-Mail.ogg
 
 
/usr/share/sounds/KDE-Im-New-Mail.ogg:
 
 
 File Size: 23.4k     Bit Rate: 181k
 
  Encoding: Vorbis        
 
  Channels: 2 @ 16-bit   
 
Samplerate: 48000Hz      
 
Replaygain: off         
 
  Duration: 00:00:01.03  
 
 
In:100%  00:00:01.03 [00:00:00.00] Out:49.7k [      |      ]        Clip:0    
 
Done.
 
Had gnome audio o/p set to 'pulse' but there was no sound until reset to 'alsa'
 
Checked sound file device
 
Code: 
kanotix@Kanotix:~$ lsof | grep pcm
 
plugin-co 4739    kanotix  mem       CHR      116,3             10697 /dev/snd/pcmC0D0p
 
plugin-co 4739    kanotix   20u      CHR      116,3       0t0   10697 /dev/snd/pcmC0D0p
 
 
 
Flash Plugin seems to always grab the sound device file, but this time appears to have relinquished it to the active process. It is this same plugin plugin-co which had the sound device file before, when nothing was happening. So it remains a puzzle as to why this plugin now seems to be behaving properly.   
 
 
Attached file lists all processes on m/c., and maybe s.o. can spot one which could have been responsible for locking out processes from the sound device file. |