openSUSE Forums > Hardware > Laptop » sound stop working after updating on asus k50in

Go Back   openSUSE Forums > Hardware > Laptop
Forums FAQ Members List Search Today's Posts Mark Forums Read


Laptop Questions about laptop hardware and laptop specific software (power management )

Reply
Page 2 of 4 1 2 34
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 21-Oct-2009, 13:01
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,673
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: sound stop working after updating on asus k50in

Quote:
Originally Posted by weisuse View Post
Totally agree with you. I want to find out why too.

I don't have "lsof", instead I used ls or ls-l, is that OK?
I just looked at that
Code:
ls-l /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
IMHO it does not help. or rather it is much more confusing than lsof line I gave. Install lsof.
Reply With Quote
  #12 (permalink)  
Old 21-Oct-2009, 13:10
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,673
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: sound stop working after updating on asus k50in

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 >
Reply With Quote
  #13 (permalink)  
Old 21-Oct-2009, 13:30
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 25
weisuse hasn't been rated much yet
Default Re: sound stop working after updating on asus k50in

lsof installed.

here is the output. So far the sound is working well. cheers.

Quote:
linux-wh0i:/home/wzhou/Desktop # lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/wzhou/.gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
npviewer. 4773 wzhou 13u CHR 116,4 0t0 18725 /dev/snd/pcmC0D0p
pulseaudi 5059 wzhou 20u CHR 116,7 0t0 18746 /dev/snd/controlC0
pulseaudi 5059 wzhou 27u CHR 116,7 0t0 18746 /dev/snd/controlC0
kmix 5658 wzhou 12u CHR 116,7 0t0 18746 /dev/snd/controlC0
__________________
asus k50in core2duo 6500 2.1Ghz, 4G, nVidia G102M 512MB,
opensuse 11.1 64bit KDE
windows vista
Reply With Quote
  #14 (permalink)  
Old 21-Oct-2009, 13:46
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,673
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: sound stop working after updating on asus k50in

Quote:
Originally Posted by weisuse View Post
lsof installed.
here is the output. So far the sound is working well. cheers.
You can run lsof as a regular user.

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
and then when playing an .mp4 file with smplayer
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
and then after that finished, here is firefox playing a flash video I uploaded: YouTube - Show: Dancing with the Dragon and the Phoenix
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
... so in the example you gave, I see "npviewer" present which suggests to me you have firefox running? or you had it running and it has not let go of the video yet.
Reply With Quote
  #15 (permalink)  
Old 21-Oct-2009, 14:30
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 25
weisuse hasn't been rated much yet
Default Re: sound stop working after updating on asus k50in

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:
last.fm running in firefox (using flash)

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
npviewer. 4773 wzhou 13u CHR 116,4 0t0 18725 /dev/snd/pcmC0D0p
pulseaudi 5059 wzhou 20u CHR 116,7 0t0 18746 /dev/snd/controlC0
pulseaudi 5059 wzhou 27u CHR 116,7 0t0 18746 /dev/snd/controlC0
kmix 5658 wzhou 12u CHR 116,7 0t0 18746 /dev/snd/controlC0

close the tab

lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
npviewer. 4773 wzhou 13u CHR 116,4 0t0 18725 /dev/snd/pcmC0D0p
pulseaudi 5059 wzhou 20u CHR 116,7 0t0 18746 /dev/snd/controlC0
pulseaudi 5059 wzhou 27u CHR 116,7 0t0 18746 /dev/snd/controlC0
kmix 5658 wzhou 12u CHR 116,7 0t0 18746 /dev/snd/controlC0

speaker-test hang

quit firefox

~/Desktop> lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
pulseaudi 5059 wzhou 20u CHR 116,7 0t0 18746 /dev/snd/controlC0
pulseaudi 5059 wzhou 27u CHR 116,7 0t0 18746 /dev/snd/controlC0
kmix 5658 wzhou 12u CHR 116,7 0t0 18746 /dev/snd/controlC0

speaker-test working

restart firefox and youtube (dragon and phoenix)

lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
pulseaudi 5059 wzhou 20u CHR 116,7 0t0 18746 /dev/snd/controlC0
pulseaudi 5059 wzhou 27u CHR 116,7 0t0 18746 /dev/snd/controlC0
kmix 5658 wzhou 12u CHR 116,7 0t0 18746 /dev/snd/controlC0
npviewer. 6258 wzhou 14u CHR 116,4 0t0 18725 /dev/snd/pcmC0D0p
__________________
asus k50in core2duo 6500 2.1Ghz, 4G, nVidia G102M 512MB,
opensuse 11.1 64bit KDE
windows vista
Reply With Quote
  #16 (permalink)  
Old 21-Oct-2009, 14:45
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,673
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: sound stop working after updating on asus k50in

Quote:
Originally Posted by weisuse View Post
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?
I think so.

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.
Reply With Quote
  #17 (permalink)  
Old 21-Oct-2009, 14:45
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 25
weisuse hasn't been rated much yet
Default Re: sound stop working after updating on asus k50in

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:
lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
kmix 3891 wzhou 11u CHR 116,7 0t0 4262 /dev/snd/controlC0
pulseaudi 3928 wzhou mem CHR 116,4 4244 /dev/snd/pcmC0D0p
pulseaudi 3928 wzhou 20u CHR 116,7 0t0 4262 /dev/snd/controlC0
pulseaudi 3928 wzhou 25u CHR 116,7 0t0 4262 /dev/snd/controlC0
pulseaudi 3928 wzhou 26u CHR 116,4 0t0 4244 /dev/snd/pcmC0D0p
pulseaudi 3928 wzhou 27u CHR 116,7 0t0 4262 /dev/snd/controlC0
So question will be how to release the device?
__________________
asus k50in core2duo 6500 2.1Ghz, 4G, nVidia G102M 512MB,
opensuse 11.1 64bit KDE
windows vista
Reply With Quote
  #18 (permalink)  
Old 21-Oct-2009, 14:51
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,673
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: sound stop working after updating on asus k50in

Quote:
Originally Posted by weisuse View Post
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:
..........
So question will be how to release the device?
It looks to me that pulse audio is the offending package.

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'.
Reply With Quote
  #19 (permalink)  
Old 21-Oct-2009, 15:38
Puzzled Penguin
 
Join Date: Oct 2009
Posts: 25
weisuse hasn't been rated much yet
Default Re: sound stop working after updating on asus k50in

Quote:
It looks to me that pulse audio is the offending package.

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'.
Reply With Quote
I have amarok-1.4.10. Its current engine is gstreamer/yauap engine. THe other available one is xine engine. I didn't see alsa.
__________________
asus k50in core2duo 6500 2.1Ghz, 4G, nVidia G102M 512MB,
opensuse 11.1 64bit KDE
windows vista
Reply With Quote
  #20 (permalink)  
Old 21-Oct-2009, 19:22
oldcpu's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Europe
Posts: 10,673
oldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of lightoldcpu is rated a glorious beacon of light
Default Re: sound stop working after updating on asus k50in

Quote:
Originally Posted by weisuse View Post
I have amarok-1.4.10. Its current engine is gstreamer/yauap engine. THe other available one is xine engine. I didn't see alsa.
Did not see alsa ? Can you look again ?

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:
Quote:
Originally Posted by oldcpu View Post
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'.
Reply With Quote
Reply
Page 2 of 4 1 2 34

Bookmarks

Tags
alc662, k50in, nvidia, sound


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2