Re: [expert] /dev/dsp always in use

2003-11-17 Thread Ronald J. Hall
On Sunday 16 November 2003 05:34 pm, elPunishar wrote:
 high all!

 i've got a problem on mandrake 9.1 with my nforce onboard soundcard.

 /dev/dsp seems to be alway in use, even when theres no other program
 running that has anything to do with sound.

First off, do (as root) a:

lsof /dev/dsp

and it will show you what (if anything) has it tied up. If something has it, 
you can kill it using the given pid number. If nothing is hoarding it, then 
you might want to go into the KDE control center and reduce the amount of 
time that artsd (the usual suspect!) is using.

HTHs!

-- 
  
  /\  
DarkLord 
  \/  


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] /dev/dsp always in use

2003-11-17 Thread Anne Wilson
On Monday 17 Nov 2003 1:09 pm, Ronald J. Hall wrote:
 On Sunday 16 November 2003 05:34 pm, elPunishar wrote:
  high all!
 
  i've got a problem on mandrake 9.1 with my nforce onboard
  soundcard.
 
  /dev/dsp seems to be alway in use, even when theres no other
  program running that has anything to do with sound.

 First off, do (as root) a:

 lsof /dev/dsp

 and it will show you what (if anything) has it tied up. If
 something has it, you can kill it using the given pid number. If
 nothing is hoarding it, then you might want to go into the KDE
 control center and reduce the amount of time that artsd (the usual
 suspect!) is using.

 HTHs!

Under 9.1 I've had a few niggles with sound.  The first improvement 
was when I followed the advice to find sound in kde's control center, 
and shorten the release time to 1.  That was a big improvement.

For some apps you may need to run kickarts, which temporarily switches 
off artsd.  It installs a tray icon so you can switch arts in and out 
at will.  HTH

Anne
-- 
Registered Linux User No.293302
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] /dev/dsp always in use

2003-11-17 Thread elPunishar
On Monday 17 Nov 2003 1:25 pm, Anne Wilson wrote:
 On Monday 17 Nov 2003 1:09 pm, Ronald J. Hall wrote:
  On Sunday 16 November 2003 05:34 pm, elPunishar wrote:
   high all!
  
   i've got a problem on mandrake 9.1 with my nforce onboard
   soundcard.
  
   /dev/dsp seems to be alway in use, even when theres no other
   program running that has anything to do with sound.
 
  First off, do (as root) a:
 
  lsof /dev/dsp
 
  and it will show you what (if anything) has it tied up. If
  something has it, you can kill it using the given pid number. If
  nothing is hoarding it, then you might want to go into the KDE
  control center and reduce the amount of time that artsd (the usual
  suspect!) is using.
 
  HTHs!

 Under 9.1 I've had a few niggles with sound.  The first improvement
 was when I followed the advice to find sound in kde's control center,
 and shorten the release time to 1.  That was a big improvement.

 For some apps you may need to run kickarts, which temporarily switches
 off artsd.  It installs a tray icon so you can switch arts in and out
 at will.  HTH

 Anne


thank you all!

the command: artsshell suspend
works like a charm :)

greetings.
lukas

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] /dev/dsp always in use

2003-11-17 Thread Charlie
On Tue, 18 Nov 2003 12:09 am, many eyes noted that Ronald J. Hall wrote:
 On Sunday 16 November 2003 05:34 pm, elPunishar wrote:
  high all!
 
  i've got a problem on mandrake 9.1 with my nforce onboard soundcard.
 
  /dev/dsp seems to be alway in use, even when theres no other program
  running that has anything to do with sound.

 First off, do (as root) a:

 lsof /dev/dsp

 and it will show you what (if anything) has it tied up. If something has
 it, you can kill it using the given pid number. If nothing is hoarding it,
 then you might want to go into the KDE control center and reduce the amount
 of time that artsd (the usual suspect!) is using.

 HTHs!

Run 

$ top 

and look if aplay is running. if so kill it.

Charlie

-- 
Depend on the rabbit's foot if you will, but remember, it didn't help
the rabbit.
-- R.E. Shay

This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and
OpenOffice.org1.1.0


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] /dev/dsp always in use

2003-11-16 Thread elPunishar
high all!

i've got a problem on mandrake 9.1 with my nforce onboard soundcard.

/dev/dsp seems to be alway in use, even when theres no other program running 
that has anything to do with sound.

this means, Xine doesn't play sound because of that. 
mplayer brings a error at the start of a movie, but then plays with sound, but 
i can't control the volume on mplayer.
most games bring an error on /dev/dsp and some of them can play sound with 
artsdsp -m quake3 if i'm lucky.
and sound in flash movies doesn't work.. i suspect its also because of that.

as /dev/dsp seems to be the default sound device (which in my case has got 
some problem), maybe i need to change this somewhere and set another sound 
device for default ? 
i'm very confused.. can somebody clear it for me please ?

tnx a lot!
lukas

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] /dev/dsp always in use

2003-11-16 Thread Bryan Phinney
On Sunday 16 November 2003 05:34 pm, elPunishar wrote:
 high all!

 i've got a problem on mandrake 9.1 with my nforce onboard soundcard.

 /dev/dsp seems to be alway in use, even when theres no other program
 running that has anything to do with sound.

 this means, Xine doesn't play sound because of that.
 mplayer brings a error at the start of a movie, but then plays with sound,
 but i can't control the volume on mplayer.
 most games bring an error on /dev/dsp and some of them can play sound with
 artsdsp -m quake3 if i'm lucky.
 and sound in flash movies doesn't work.. i suspect its also because of
 that.

 as /dev/dsp seems to be the default sound device (which in my case has got
 some problem), maybe i need to change this somewhere and set another sound
 device for default ?
 i'm very confused.. can somebody clear it for me please ?

If you are running KDE desktop, the artsd which is the Arts Sound daemon is 
running and that will cause dsp to always be busy.  You can configure Xine to 
use arts sound and then it should coexist peacefully with artsd, and the same 
is true for mplayer.  Never had a problem with flash, so I don't know why 
that would be a problem.  I do have problems with realplayer and in most 
cases, need to kill artsd before running any real media files and then just 
start it back up again.

-- 
Bryan Phinney
Software Test Engineer


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] /dev/dsp always in use

2003-11-16 Thread J.P. Pasnak

elPunishar said:

 high all!

 i've got a problem on mandrake 9.1 with my nforce onboard soundcard.

 /dev/dsp seems to be alway in use, even when theres no other program
 running
 that has anything to do with sound.

 this means, Xine doesn't play sound because of that.
 mplayer brings a error at the start of a movie, but then plays with sound,
 but
 i can't control the volume on mplayer.
 most games bring an error on /dev/dsp and some of them can play sound with
 artsdsp -m quake3 if i'm lucky.
 and sound in flash movies doesn't work.. i suspect its also because of
 that.

 as /dev/dsp seems to be the default sound device (which in my case has got
 some problem), maybe i need to change this somewhere and set another sound
 device for default ?
 i'm very confused.. can somebody clear it for me please ?

 tnx a lot!
 lukas

 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com


Both mplayer and xine can be set to use artsd, and in konqueror, under
plugins/plugins, you can set them to use artsd for playback.

You can also disable artsd when you want to play a game via kcontrol, then
turn it back on when done.

-- 
Live fast, die young,
You're sucking up my bandwidth.

J.P. Pasnak, CD
CCNA
http://www.warpedsystems.sk.ca

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] /dev/dsp always in use

2003-11-16 Thread Greg Meyer
On Sunday 16 November 2003 05:19 pm, Bryan Phinney wrote:
 On Sunday 16 November 2003 05:34 pm, elPunishar wrote:
  high all!
 
  i've got a problem on mandrake 9.1 with my nforce onboard soundcard.
 
  /dev/dsp seems to be alway in use, even when theres no other program
  running that has anything to do with sound.
 
  this means, Xine doesn't play sound because of that.
  mplayer brings a error at the start of a movie, but then plays with
  sound, but i can't control the volume on mplayer.
  most games bring an error on /dev/dsp and some of them can play sound
  with artsdsp -m quake3 if i'm lucky.
  and sound in flash movies doesn't work.. i suspect its also because of
  that.
 
  as /dev/dsp seems to be the default sound device (which in my case has
  got some problem), maybe i need to change this somewhere and set another
  sound device for default ?
  i'm very confused.. can somebody clear it for me please ?

 If you are running KDE desktop, the artsd which is the Arts Sound daemon is
 running and that will cause dsp to always be busy.  You can configure Xine
 to use arts sound and then it should coexist peacefully with artsd, and the
 same is true for mplayer.  Never had a problem with flash, so I don't know
 why that would be a problem.  I do have problems with realplayer and in
 most cases, need to kill artsd before running any real media files and then
 just start it back up again.

You can also reduce the artsd timeout in kcontrol so that programs that cannot 
use arts still can get the dsp if necessary.
-- 
/g

Outside of a dog, a man's best friend is a book, inside
a dog it's too dark to read -Groucho Marx


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com