nForce2 S/PDIF mixer control

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

nForce2 S/PDIF mixer control

Postby Guest » Fri Jan 27, 2006 9:07 am

Hello all,

I'm using OSS 3.99.3d on FreeBSD 5.4-RELEASE, with an nForce2 chipset and the S/PDIF output on /dev/dsp2. The sound is great, but I can't seem to control the output volume on the S/PDIF interface with the mixer0 interface. Is there a way to get this working without switching over to the virtual mixer?

Here is my /dev/sndstat output:
Card config:
MPU-401 (UART) at 0x330 irq 10
Intel ICH AC97 audio controller at 0xb400 irq 20

Audio devices:
0: Nvidia nForce2 (DUPLEX)
1: Nvidia nForce2 (shadow) (DUPLEX)
Opened by 1555/xmms @ 48000/48000 Hz
2: Nvidia nForce2 (S/PDIF) (GRC3)
3: OSS Virtual Mixer v2.5 Playback CH #0 (GRC3)
4: OSS Virtual Mixer v2.5 Playback CH #1 (GRC3)
5: OSS Virtual Mixer v2.5 Playback CH #2 (GRC3)
6: OSS Virtual Mixer v2.5 Playback CH #3 (GRC3)
7: OSS Virtual Mixer v2.5 Playback CH #4 (GRC3)
8: OSS Virtual Mixer v2.5 Playback CH #5 (GRC3)
9: OSS Virtual Mixer v2.5 Playback CH #6 (GRC3)
10: OSS Virtual Mixer v2.5 Playback CH #7 (GRC3)

Synth devices:
0: OSS Virtual Synth v2.5

Midi devices:
0: MPU-401 (UART)

Mixers:
0: AC97 Mixer (ALC650)
1: Virtual Mixer

History:
dsp0: pid 1555 cmd 'xmms' OUT
Guest
 

Re: nForce2 S/PDIF mixer control

Postby dev » Fri Jan 27, 2006 10:26 pm

Anonymous wrote:Hello all,

I'm using OSS 3.99.3d on FreeBSD 5.4-RELEASE, with an nForce2 chipset and the S/PDIF output on /dev/dsp2. The sound is great, but I can't seem to control the output volume on the S/PDIF interface with the mixer0 interface. Is there a way to get this working without switching over to the virtual mixer?

Here is my /dev/sndstat output:
Card config:
MPU-401 (UART) at 0x330 irq 10
Intel ICH AC97 audio controller at 0xb400 irq 20

Audio devices:
0: Nvidia nForce2 (DUPLEX)
1: Nvidia nForce2 (shadow) (DUPLEX)
Opened by 1555/xmms @ 48000/48000 Hz
2: Nvidia nForce2 (S/PDIF) (GRC3)
3: OSS Virtual Mixer v2.5 Playback CH #0 (GRC3)
4: OSS Virtual Mixer v2.5 Playback CH #1 (GRC3)
5: OSS Virtual Mixer v2.5 Playback CH #2 (GRC3)
6: OSS Virtual Mixer v2.5 Playback CH #3 (GRC3)
7: OSS Virtual Mixer v2.5 Playback CH #4 (GRC3)
8: OSS Virtual Mixer v2.5 Playback CH #5 (GRC3)
9: OSS Virtual Mixer v2.5 Playback CH #6 (GRC3)
10: OSS Virtual Mixer v2.5 Playback CH #7 (GRC3)

Synth devices:
0: OSS Virtual Synth v2.5

Midi devices:
0: MPU-401 (UART)

Mixers:
0: AC97 Mixer (ALC650)
1: Virtual Mixer

History:
dsp0: pid 1555 cmd 'xmms' OUT



You cannot control SPDIF output volume - it's DIGITAL!.

You can however control the volume as follows:

1) edit /usr/lib/oss/etc/options.cfg and set:
softoss_masterdev=2

2) rm /dev/dsp; ln -s /dev/dsp3 /dev/dsp

3) rm /dev/mixer; ln -s /dev/mixer1 /dev/mixer

4) run soundon and now you should run your application and you'll see that you can control the output and you can get it out the SPDIF port.


regards
Dev
dev
Developer
 
Posts: 580
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA


Return to BSD

Who is online

Users browsing this forum: No registered users and 1 guest

cron