|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Laptop Questions about laptop hardware and laptop specific software (power management ) |
![]() |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Some detail, lsof is a command meaning "list open files", which is used in many Unix-like systems to report a list of all open files and the processes that opened them. lsof - Wikipedia, the free encyclopedia
Its a very handy command < oldcpu ducks as the GUI devotee's send disapproval vibes his way for suggesting a diagnostic command line instead of some unknown gui approach > |
|
|||
|
lsof installed.
here is the output. So far the sound is working well. cheers. Quote:
__________________
asus k50in core2duo 6500 2.1Ghz, 4G, nVidia G102M 512MB, opensuse 11.1 64bit KDE windows vista |
|
||||
|
Quote:
Here is an example from my PC with NO sound playing. Code:
oldcpu@hal1000:~> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/* COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME pulseaudi 5559 oldcpu 20u CHR 116,9 0t0 5411 /dev/snd/controlC0 pulseaudi 5559 oldcpu 27u CHR 116,9 0t0 5411 /dev/snd/controlC0 pulseaudi 5559 oldcpu 32u CHR 116,4 0t0 5351 /dev/snd/controlC1 kmix 5591 oldcpu 10u CHR 116,9 0t0 5411 /dev/snd/controlC0 kmix 5591 oldcpu 11u CHR 116,4 0t0 5351 /dev/snd/controlC1 Code:
oldcpu@hal1000:~> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/* COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME pulseaudi 5559 oldcpu 20u CHR 116,9 0t0 5411 /dev/snd/controlC0 pulseaudi 5559 oldcpu 27u CHR 116,9 0t0 5411 /dev/snd/controlC0 pulseaudi 5559 oldcpu 32u CHR 116,4 0t0 5351 /dev/snd/controlC1 kmix 5591 oldcpu 10u CHR 116,9 0t0 5411 /dev/snd/controlC0 kmix 5591 oldcpu 11u CHR 116,4 0t0 5351 /dev/snd/controlC1 mplayer 7783 oldcpu mem CHR 116,6 5390 /dev/snd/pcmC0D0p mplayer 7783 oldcpu 6r CHR 116,2 0t0 4907 /dev/snd/timer mplayer 7783 oldcpu 7u CHR 116,6 0t0 5390 /dev/snd/pcmC0D0p mplayer 7783 oldcpu 8u CHR 116,9 0t0 5411 /dev/snd/controlC0 Code:
oldcpu@hal1000:~> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/* COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME pulseaudi 5559 oldcpu 20u CHR 116,9 0t0 5411 /dev/snd/controlC0 pulseaudi 5559 oldcpu 27u CHR 116,9 0t0 5411 /dev/snd/controlC0 pulseaudi 5559 oldcpu 32u CHR 116,4 0t0 5351 /dev/snd/controlC1 kmix 5591 oldcpu 10u CHR 116,9 0t0 5411 /dev/snd/controlC0 kmix 5591 oldcpu 11u CHR 116,4 0t0 5351 /dev/snd/controlC1 npviewer. 7816 oldcpu mem CHR 116,6 5390 /dev/snd/pcmC0D0p npviewer. 7816 oldcpu 12u CHR 116,2 0t0 4907 /dev/snd/timer npviewer. 7816 oldcpu 13u CHR 116,6 0t0 5390 /dev/snd/pcmC0D0p npviewer. 7816 oldcpu 14u CHR 116,9 0t0 5411 /dev/snd/controlC0 |
|
|||
|
Here is a quick series I did:
It looks like just closing the tab won't turn off the flash, instead I need to quit the firefox to be able to release the device if I want to use it with another program (let's say amarok). Am I right? Quote:
__________________
asus k50in core2duo 6500 2.1Ghz, 4G, nVidia G102M 512MB, opensuse 11.1 64bit KDE windows vista |
|
||||
|
Quote:
It looks like firefox opens the flash app npviewer to play a video, and it remains open until firefox itself is completely closed. Until then, it will not give up the audio device. Note if you check the preferences/settings menu of various multimedia players, you may find a menu item allowing you to select the output module. If you can set that to alsa (advanced linux sound architecture) then do so, as the alsa API will share the audio. I don't know how to do this in firefox. |
|
|||
|
now I reboot (didn't quit firefox), after started, all the pages in firefox including youtube automatically loaded and there is NO sound for youtube. BUT if I try amarok, it's fine. So the amarok or related something is occupying the device. Here is the lsof:
Quote:
__________________
asus k50in core2duo 6500 2.1Ghz, 4G, nVidia G102M 512MB, opensuse 11.1 64bit KDE windows vista |
|
||||
|
Quote:
Go to Amarok > Settings > Configure Amarok > Engine > Configure Output Engine > Outplug-in ... ensure you have "alsa" selected and not "pulseaudio". That is for amarok-1.4.10. You may have a different Amarok version? From now on leave it set to 'alsa'. |
|
|||
|
Quote:
__________________
asus k50in core2duo 6500 2.1Ghz, 4G, nVidia G102M 512MB, opensuse 11.1 64bit KDE windows vista |
|
||||
|
Quote:
From my PC: Edit - I figure you did not bother to read my post? ... even though I took the time to precisely type the menu to follow: |
![]() |
|
| Bookmarks |
| Tags |
| alc662, k50in, nvidia, sound |
| Thread Tools | |
| Display Modes | |
|
|