Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: error opening /dev/dsp

  1. #1
    Guest

    error opening /dev/dsp

    I have mandrake 9.1. and SiS 7012 chip. the OS recognizes it. but at startup a message comes "error in opening /dev/dsp ". writing to null device. so, that song plays in XMMS but no sound is there.
    someone suggest me to write $chmod 755 /dev/dsp.
    but I don't find any file or directory named /dev/dsp in my system. then how can I create it?

  2. #2

    Re:error opening /dev/dsp

    hello,
    drake uses devfs - this means that that a kernel module needs to be loaded before it will work - can you please post the contents of /etc/modules.conf - thx

    btw welcome to linux junior

  3. #3
    Guest

    Re:error opening /dev/dsp

    the contents of /etc/modules.conf is :-

    probeall scsi_hostadapter ide-scsi
    probeall usb-interface usb-ohci
    above snd-intel8x0 snd-pcm-oss
    alias sound-slot-0 ali5455

  4. #4

    Re:error opening /dev/dsp

    Hi,

    Just a quick note, since PBHarris is already helping you with the module;

    chmod 755 /dev/dsp will give the owner of dsp (root) full rights, and everyone else read and write rights. While this will work, it is considered a quick and dirty way of doing it, since it might be a security risk. I personally don't think that it will matter much on a home box, but if you wanted to learn the "correct" (more secure really, and easier to administer on a multiuser environment), you can take a look at thislink. Is a Google cache of the original site, because the site seems to be down.


  5. #5

    Re:error opening /dev/dsp

    I use ArchLinux, which also uses devfs. I have not used Drake9.1, so I don't know if this will work exactly, but this is what needs to be done in Arch to get sound working for everyone:

    In your /etc/devfsd.conf file, add the two following lines to the end:
    Code:
    REGISTER sound/.* PERMISSIONS root.users 660
    REGISTER snd/.*   PERMISSIONS root.users 660
    Note that you only need to add the second line if you are using alsa.

    HTH

  6. #6
    Guest

    Re:error opening /dev/dsp

    when i change the permissions of /dev/dsp to 777 from root but still the sound doesn't come. after logout and log into other user it shows the file attrib as old rw-------.
    it seems the permissions 777 don't work after logout.

    help me. how to change the permissions of /dev/dsp to 777 permanently.

  7. #7

    Re:error opening /dev/dsp

    On a text editor, open /etc/rc.local, and add the line chmod 777 /dev/dsp

  8. #8
    Guest

    Re:error opening /dev/dsp

    oh tickster it did not work. /dev/dsp has been created by mknod. but the permissions are not changing permanently. even when it changes (for the current login only,for that temporary period before logging out) i play song in XMMS it shows the song is playing but there is no sound.
    please tell me what to do?

  9. #9

    Re:error opening /dev/dsp

    If you issue the command /sbin/chmod 777 /dev/dsp* /dev/mixer manually, from a terminal, as root, does it work?


    Also, if you go to /etc , do you see a file called devfsd.conf?

  10. #10

    Re:error opening /dev/dsp

    hello,
    /dev/dsp does not need to be mod 777, if it is 660 (rw-rw----) and you are in the group for audio then it should be okay -

    if the device is there, i.e. /dev/dsp exists and the modules are loaded, i.e. sound, snd-intel8x0 ali5455 then audio should be working - turn the volume up and try cat /usr/share/sounds/generic.wav > /dev/dsp

Similar Threads

  1. Opening a zip file
    By Yuvanakannan in forum Windows - General Topics
    Replies: 1
    Last Post: 08-19-2006, 06:19 AM
  2. slow opening
    By nichos in forum Windows - General Topics
    Replies: 0
    Last Post: 08-16-2005, 06:36 PM
  3. Opening ports
    By Lunke in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 06-16-2004, 04:57 PM
  4. Job opening
    By creedon in forum General Chat
    Replies: 2
    Last Post: 11-15-2002, 03:00 PM
  5. opening tty's
    By Bartman in forum Linux - General Topics
    Replies: 3
    Last Post: 07-20-2002, 05:55 PM

Bookmarks

Posting Permissions

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