OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: hannu, dev, cesium

New Member
Posts: 1
Joined: Fri Mar 16, 2012 12:11 pm


Postby goatboy » Fri Mar 16, 2012 12:25 pm

hi people.
i'm an happy final user of our open sound system driver. i installed it on a freenas machine (based on freebsd9). on this machine i installed subsonic too, and with your driver i can listen music locally like a juke box using the front analog output of the card.
my sound card is a sound blaster live 5.1.

i need an help: i would like to let out ALL sounds from the DIGITAL OUT (that is now connected to digital input of my Logitech Z-5500 home theater system). What's the way to do?

here's some info:

Code: Select all

sleepynas:~# ossinfo
Version info: OSS 4.2 (b 2006/201203061650) (0x00040100) BSD
Platform: FreeBSD/i386 7.3-RELEASE-p7 FreeBSD 7.3-RELEASE-p7 #0: Sun Oct  9 05:13:39 JST 2011     aoyama@fbsd7.freenas.local:/usr/obj/freenas/usr/src/sys/FREENAS-i386 (sleepynas)

Number of audio devices:        5
Number of audio engines:        9
Number of MIDI devices:         1
Number of mixer devices:        1

Device objects
 0: oss_sblive0 SB Live interrupts=80089 (80089)

MIDI devices (/dev/midi*)
0: SB Live external MIDI (MIDI port 1 of device object 0)

Mixer devices
 0: SB Live (STAC9708) (Mixer 0 of device object 0)

Audio devices
SB Live main                      /dev/oss/oss_sblive0/pcm0  (device index 0)
SB Live front out                 /dev/oss/oss_sblive0/pcm1  (device index 1)
SB Live side out                  /dev/oss/oss_sblive0/pcm2  (device index 2)
SB Live center/lfe out            /dev/oss/oss_sblive0/pcm3  (device index 3)
SB Live 5.1 output device         /dev/oss/oss_sblive0/pcm4  (device index 4)

  /dev/dsp -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_in -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_out -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_sblive0/pcm4

Code: Select all

sleepynas:~# ossmix -a
Selected mixer 0/SB Live (STAC9708)
Known controls are:
line [<leftvol>:<rightvol>] (currently 32:32)
line.rec ON|OFF (currently ON)
mic <monovol> (currently 0)
mic.rec ON|OFF (currently OFF)
cd [<leftvol>:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 32:32)
aux1.rec ON|OFF (currently OFF)
phone [<leftvol>:<rightvol>] (currently 0:0)
phone.rec ON|OFF (currently OFF)
rear [<leftvol>:<rightvol>] (currently 75:75)
center [<leftvol>:<rightvol>] (currently 75:75)
autorese ON|OFF (currently ON)
pcm.main <monovol> (currently 100)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-src <High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 24.7 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB) ("java")
vmix0.pcm2 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
pcm2 [<leftvol>:<rightvol>] (currently 100:100)
vol [<leftvol>:<rightvol>] (currently 75:75)
equalizer.prescale <monovol> (currently 100)
equalizer.lo <monovol> (currently 128)
equalizer.mid <monovol> (currently 128)
equalizer.hi <monovol> (currently 128)
equalizer.xhi <monovol> (currently 128)
equalizer.bypass ON|OFF (currently OFF)
front.spdif <monovol> (currently 100)
front.digcd <monovol> (currently 100)
front.ac97 <monovol> (currently 0)
front.pcm <monovol> (currently 100)
front.aux <monovol> (currently 100)
front.vol [<leftvol>:<rightvol>] (currently 100:100)
surr.spdif <monovol> (currently 0)
surr.digcd <monovol> (currently 0)
surr.ac97 <monovol> (currently 0)
surr.pcm <monovol> (currently 100)
surr.aux <monovol> (currently 0)
surr.vol [<leftvol>:<rightvol>] (currently 100:100)
record.spdif <monovol> (currently 100)
record.digcd <monovol> (currently 100)
record.ac97 <monovol> (currently 100)
record.pcm <monovol> (currently 0)
record.aux <monovol> (currently 100)
record.vol [<leftvol>:<rightvol>] (currently 100:100)

thank you very much, for help, and for cool drivers.

Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: help about DIGITAL OUTPUT

Postby cesium » Sat Mar 17, 2012 1:37 pm

Possibly you need to set sblive_digital_din=1 in oss_sblive.conf (see "man oss_sblive" for explanation).

New Member
Posts: 1
Joined: Thu Jul 21, 2016 4:54 am

Re: help about DIGITAL OUTPUT

Postby ghudson621 » Thu Jul 21, 2016 4:56 am

I too had a similar issue .

Return to “BSD”

Who is online

Users browsing this forum: No registered users and 1 guest