OSS can't find /dev/dsp - BSD

This is a discussion on OSS can't find /dev/dsp - BSD ; When I put oss_enable in my rc.conf, the boot output shows "/dev/dsp not found". I actually don't have /dev/dsp but /dev/dspW0.0 or /dev/DSP0.0 for ICH6 drivers. I've been running BSD for about 8 months now and this is the first ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: OSS can't find /dev/dsp

  1. OSS can't find /dev/dsp

    When I put oss_enable in my rc.conf, the boot output shows "/dev/dsp not
    found". I actually don't have /dev/dsp but /dev/dspW0.0 or /dev/DSP0.0
    for ICH6 drivers. I've been running BSD for about 8 months now and this
    is the first time I've put OSS into rc.conf - so I can live w/o it as I
    do have sound. Is there a way to point OSS to a free/correct sound
    device? Currently have vchans = 4.

    Thanks,

    Monty

  2. Re: OSS can't find /dev/dsp

    In article Monty Hall writes:
    >When I put oss_enable in my rc.conf, the boot output shows "/dev/dsp not
    >found". I actually don't have /dev/dsp but /dev/dspW0.0 or /dev/DSP0.0
    >for ICH6 drivers. I've been running BSD for about 8 months now and this
    >is the first time I've put OSS into rc.conf - so I can live w/o it as I
    >do have sound. Is there a way to point OSS to a free/correct sound
    >device? Currently have vchans = 4.


    You surely "have" /dev/dsp, you just can't see it:-) -

    $ ls -l /dev/dsp*
    crw-rw-rw- 1 root wheel 30, 3 Sep 29 14:15 /dev/dsp0.0
    crw-rw-rw- 1 root wheel 30, 0x00010003 Aug 5 13:58 /dev/dsp0.1
    crw-rw-rw- 1 root wheel 30, 5 Aug 5 13:58 /dev/dspW0.0
    crw-rw-rw- 1 root wheel 30, 0x00010005 Aug 5 13:58 /dev/dspW0.1
    crw-rw-rw- 1 root wheel 30, 11 Aug 5 13:58 /dev/dspr0.0

    No /dev/dsp, right...

    $ ls -l /dev/dsp
    crw-rw-rw- 1 root wheel 30, 3 Sep 29 14:15 /dev/dsp

    - but there it is!

    Now, I don't know anything about OSS, but if it tries to find /dev/dsp
    by listing the directory instead of just going ahead and trying to open
    it, it's broken for FreeBSD devfs, which is standard since 5.0 IIRC.
    Pointing it to one of the "visible" devices might work, but shouldn't be
    needed...

    --Per Hedeland
    per@hedeland.org


+ Reply to Thread