LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-08-2004, 03:23 PM   #1
alexrait1
Member
 
Registered: Jul 2003
Location: Israel
Distribution: slackware current kernel 2.6.9
Posts: 70

Rep: Reputation: 15
lsof and fuser do not work with /dev/dsp


I can't figure out what wrong with lsof and fuser, that they work on all distributions but slackware 10.
Usually, If I hear a sound (radio stream) and give this command to the kconsole:
Code:
losf /dev/dsp
or
Code:
fuser /dev/dsp
one of them at least would produce an output with the application name (the one which currently opened /dev/dsp). But, on Slackware that trick would not work, what can be wrong? It goes to the next line instead...

Last edited by alexrait1; 10-08-2004 at 03:24 PM.
 
Old 10-08-2004, 04:24 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Works here ... no idea what your problem is.

I have tried it on my notebook using OSS and
a workstation using ALSA.


Cheers,
Tink
 
Old 10-09-2004, 08:52 AM   #3
alexrait1
Member
 
Registered: Jul 2003
Location: Israel
Distribution: slackware current kernel 2.6.9
Posts: 70

Original Poster
Rep: Reputation: 15
Hey, thanx for the reply.

Indeed if I try to play some radio station or anything with xmms for instance, I can see an appropriate line appears when I type lsof.
But, it does not appear when I do the same with xine, totem, kaffeine.
 
Old 10-09-2004, 08:59 AM   #4
andrade
Member
 
Registered: Oct 2004
Location: Portugal
Distribution: Ubuntu
Posts: 41

Rep: Reputation: 15
I'm not much inside of the this subject... but try do to that... run the script alsaconf ... and retry... ot try to use other device instead of dsp
 
Old 10-09-2004, 05:07 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally posted by alexrait1
Hey, thanx for the reply.

Indeed if I try to play some radio station or anything with xmms for instance, I can see an appropriate line appears when I type lsof.
But, it does not appear when I do the same with xine, totem, kaffeine.
Hard to say - I can't think of any logical explanation.

All I can say is it works here, and if you didn't compile
your apps differently or aren't running a security hardened
kernel that will disallow users to see root's activities (and
totem and co e.g. running against a sound-server that's
onwed by root) I have no clue as to what's going on.


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no /dev/dsp nor /dev/mixer on 2.6.9 amuro_ray Slackware 9 08-03-2009 03:54 PM
"/dev/dsp not found" error on KDE, GNOME sound also doesn't work KneeLess Linux - Software 3 09-04-2007 04:41 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 01:27 PM
Playing multiple sounds: does /dev/dsp work? WRSpithead Linux - General 1 07-19-2005 11:17 PM
changing file ownership /dev/dsp (doesnt work..) icehenge Linux - General 8 03-12-2004 09:48 PM


All times are GMT -5. The time now is 08:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration