Optical audio out on nForce2

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: hannu, dev, cesium, kodachi

Optical audio out on nForce2

Postby l0b0 » Thu Jun 28, 2007 7:57 am

I've tried for some days now to get an optical signal (S/PDIF, aka. IEC-958 type II) from my Nvidia nForce2 onboard audio chip to my Logitech Z-680 5.1 surround system, without success. I've checked the User's Guide, man pages, and forums for help.

Installation information:
FreeBSD 6.2-RELEASE (last
Code: Select all
portsnap update && portupgrade -a
Installed the kernel sources with sysinstall, then installed OSS 4.0.b1003_1:
Code: Select all
cd /usr/ports/audio/oss/ && make install clean

Ran ossdetect.
I have not added any sound settings to /etc/sysctl.conf.

The result so far:
Code: Select all
$ cat /usr/local/lib/oss/etc/installed_drivers
ich #Nvidia nForce2
vmix #OSS Transparent Virtual Mixing Architecture

Code: Select all
$ sudo ossinfo
OSS has not detected any supported sound hardware in your system.

Code: Select all
$ ls /dev/dsp*
/dev/dsp0.0   /dev/dsp0.1   /dev/dspW0.0  /dev/dspW0.1  /dev/dspr0.1

Code: Select all
$ dmesg | grep pcm
pcm0: <nVidia> port 0xd000-0xd0ff,0xd400-0xd47f mem 0xd5080000-0xd5080fff irq 22 at device 6.0 on pci0
pcm0: <Avance>

Code: Select all
$ sysctl hw.snd
hw.snd.targetirqrate: 32
hw.snd.report_soft_formats: 1
hw.snd.verbose: 1
hw.snd.unit: 0
hw.snd.maxautovchans: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 0
hw.snd.pcm0.ac97rate: 48000

Code: Select all
$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <nVidia> at io 0xd000, 0xd400 irq 22 bufsz 16384  (1p/1r/0v channels duplex default)

What have I done wrong? I can't find any howto for installing and configuring OSS. I don't know which parameters to use for e.g. VLC - I've tried anything I could think of (I've set "Use S/PDIF when available", and tried setting the device to /dev/dsp, /dev/dsp0, /dev/dsp0.0, and /dev/dsp0.1). The Logitech control center just shows "Detecting..." when the input channel is set to optical.
New Member
Posts: 3
Joined: Thu Jun 28, 2007 6:36 am

Return to BSD

Who is online

Users browsing this forum: No registered users and 1 guest