Find the answer to your Linux question:
Results 1 to 9 of 9
Hi all again. I have had gentoo set up on my lappy for about a week now with no issues relating to this, but when i tried to play music ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640

    /dev/dsp missing? (SOLVED)


    Hi all again.

    I have had gentoo set up on my lappy for about a week now with no issues relating to this, but when i tried to play music this arvo, both snackamp and mpg123 complained that /dev/dsp is missing.
    well actually snackamp complained about /dev/mixer & mpg123 about /dev/dsp.

    i am sure i didnt change any settings relating to /dev/dsp & /dev/mixer. a quick search in /dev dir reveals that i have no /dev/dsp, /dev/dsp1 and /dev/mixer.

    i do have /dev/dsp2 and /dev/dsp3 though.
    what is going on? may this have anything to do with the fact that i have been unable to get alsa to save its volume settings as "alsactl" does not exist?
    thanks guys
    -weed
    Last edited by Weedman; 03-15-2006 at 09:19 AM. Reason: might as well use alsa instead of oss (oss is old)
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

  2. #2
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640
    :bump:
    -weed
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

  3. #3
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    when you emerged the alsa drivers did you also emerge alsa tools, alsactl is a function from alsa tools I think.
    Operating System: GNU Emacs

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640
    a second check reveals that /dev/dsp and /dev/mixer are only required for oss, not alsa. i set xmms to output thru alsa, and it worked.

    2ndly, alsactl does exist, but only as root, and does not restore the sound for me as a user (not root).

    -weed
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

  6. #5
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    yeah the alsa dsp is located in /dev/sound/dsp if you want oss emulation then enable that in your kernel as some programs still require oss to work.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  7. #6
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640
    but you see, i did enable oss emulation in the kernel. unless i put it as a module. ill check my kernel configfile. but i do remember /dev/dsp existing when i installed mpg123, now it complains about it missing.

    Thanks spencerf

    -weed
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

  8. #7
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    Quote Originally Posted by spencerf
    yeah the alsa dsp is located in /dev/sound/dsp if you want oss emulation then enable that in your kernel as some programs still require oss to work.
    EEK! dont enable oss in the kernel that will block alsa!! from loading. to enable oss emulanion you simply add
    Code:
    oss
    useflag in
    Code:
    /etc/make.conf


    then if using alsa-driver recompile the driver or if kernel alsa simply recompile the kernel
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  9. #8
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    I wasn't actually suggesting that he enable OSS in the kernel. Only the emulation stuff located under alsa.

    Code:
    <M> OSS Mixer API      [*] OSS Sequencer API
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  10. #9
    Linux Enthusiast Weedman's Avatar
    Join Date
    May 2005
    Location
    Tasmania, Australia
    Posts
    640
    oh well, i will use alsa for xmms and mpg123.

    i already use alsa for xmms, so i mightas well use it for everything else.

    thanks guys, that gave me a bit more of an understanding of oss.
    -weed
    "Time has more than one meaning, and is more than one dimension" - /.unknown
    --Registered Linux user #396583--

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •