OpenSolaris + OSS V4.0: no 4 speakers

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

OpenSolaris + OSS V4.0: no 4 speakers

Postby maurelio79 » Sun May 18, 2008 5:21 pm

Hi to everyone, i recently installed OpenSolaris 2008.05, but i've a problem with the audio: i cant listen from all my speakers.

I've a Creative Labs on an i86pc with sblive drivers, but the sound came out only from front left and fron right speaker, no sound from center speaker and from the main speaker.

How can i resolve the problem?

I post the output of some command

Code: Select all
prtconf -pv


Node 0x000025
assigned-addresses: 81014810.00000000.0000bc00.00000000.00000020
reg: 00014800.00000000.00000000.00000000.00000000.01014810.00000000.00000000.00000000.00000020
+compatible: 'pci1102,2.1102.8066.a' + 'pci1102,2.1102.8066' + 'pci1102,8066' + 'pci1102,2.a' + 'pci1102,2' + 'pciclass,040100' + 'pciclass,0401'+
model: 'Audio device'
power-consumption: 00000001.00000001
fast-back-to-back:
devsel-speed: 00000001
interrupts: 00000001
max-latency: 00000014
min-grant: 00000002
subsystem-vendor-id: 00001102
subsystem-id: 00008066
unit-address: '9'
class-code: 00040100
revision-id: 0000000a
vendor-id: 00001102
device-id: 00000002
name: 'pci1102,8066'


Code: Select all
prtconf -D|grep pci1102


pci1102,8066, instance #0 (driver name: sblive)
pci1102,20


Code: Select all
mixerctl



Dispositivo /dev/audioctl:
Nome = SUNW,oss
Versione = a
Configurazione = onboard1

Il mixer audio per /dev/audioctl è abilitato


Can someone help me?

Thanks very much
maurelio79
New Member
 
Posts: 6
Joined: Sun May 18, 2008 5:08 pm

Postby cesium » Sun May 18, 2008 5:27 pm

Does osstest work? What does ossinfo output?

Using the central output is usually governed by "sblive_digital_din" or "audigy_digital_din" settings in sblive.conf. Either (depending on card type) should be set to 0 to use the center/LFE output (I'm not sure where sblive.conf is on Solaris. "man sblive" should tell you how to do this).
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Postby maurelio79 » Sun May 18, 2008 5:33 pm

Thanks very much for the answer.

I change the "sblive_digital_din" and "audigy_digital_din" to 0 in alla my sblive.conf

This for osstest
Code: Select all
maurelio@opensolaris:~$ osstest
Sound subsystem and version: OSS 4.0 (b1015/200803241124) (0x00040003)
Platform: SunOS/i86pc 5.11 snv_86

*** Scanning sound adapter #-1 ***
/dev/oss/sblive0/pcm0 (audio engine 0): SB Live main
Note! Device is in use (by PID 0/SADA) but will try anyway
- Performing audio playback test... /dev/oss/sblive0/pcm0: Device busy
The device is busy. There is some other application
using it.
Can't open the device
/dev/oss/sblive0/pcm1 (audio engine 1): SB Live front out
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/sblive0/pcm2 (audio engine 2): SB Live side out
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/sblive0/pcm3 (audio engine 3): SB Live center/lfe out
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/sblive0/pcm4 (audio engine 4): SB Live 5.1 output device
- Skipping multi channel device

*** Some errors were detected during the tests ***
maurelio@opensolaris:~$



This for ossinfo
Code: Select all
maurelio@opensolaris:~$ ossinfo
Version info: OSS 4.0 (b1015/200803241124) (0x00040003)
Platform: SunOS/i86pc 5.11 snv_86 (opensolaris)

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


Device objects
0: sadasupport0 SADA compatibility layer
1: sblive0 SB Live interrupts=179818 (179818)
2: osscore0 OSS common devices
3: ossusb0 USB audio/MIDI device
4: vmix0 OSS transparent virtual mixer


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

Audio devices
SB Live main                      /dev/oss/sblive0/pcm0  (device index 0)
SB Live front out                 /dev/oss/sblive0/pcm1  (device index 1)
SB Live side out                  /dev/oss/sblive0/pcm2  (device index 2)
SB Live center/lfe out            /dev/oss/sblive0/pcm3  (device index 3)
SB Live 5.1 output device         /dev/oss/sblive0/pcm4  (device index 4)
maurelio@opensolaris:~$
maurelio79
New Member
 
Posts: 6
Joined: Sun May 18, 2008 5:08 pm

Postby cesium » Sun May 18, 2008 5:35 pm

You didn't say if this works, or if anything changed... Where did you find sblive.conf?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Postby maurelio79 » Sun May 18, 2008 5:39 pm

One in /kernel/drv/ and the otherone now i don't remeber, but i can found it.

No. nothing is changed, i modifies the files a couple of days ago.

Thanks again

[POSTEDIT]

This is my /kernel/drv/sblive.conf

# Open Sound System configuration file
# Please consult the documentation before changing
# interrupt-priorities
interrupt-priorities=9
#
# Amount of memory allocated to SBLive Synth.
# Values: 4-4096 (in megabytes). Default: 8MB
#
#
sblive_memlimit = 8

#
# Specifies number of audio output engines for SBLive/Audigy.
# Changing this setting is not recommanded.
# Values: 0, 5-32
# Default: 0 (Use device dependent optimum value).
#
#
sblive_devices = 32

#
# Sets the SPDIF/Analog combo output to audio or spdif mode
# Values: 1 = Digital, 0=Analog Default: 0
#
#
sblive_digital_din = 0

#
# Sets the SPDIF/Analog combo output to analog or spdif mode
# Values: 1 = Digital, 0 = Analog Default: 1
#
audigy_digital_din = 0 ;


and yhe otherone in /var/sadm/pkg/oss/save/pspool/oss/reloc/kernel/drv

# Open Sound System configuration file
# Please consult the documentation before changing
# interrupt-priorities
interrupt-priorities=9
#
# Amount of memory allocated to SBLive Synth.
# Values: 4-4096 (in megabytes). Default: 8MB
#
#
sblive_memlimit = 8

#
# Specifies number of audio output engines for SBLive/Audigy.
# Changing this setting is not recommanded.
# Values: 0, 5-32
# Default: 0 (Use device dependent optimum value).
#
#
sblive_devices = 32

#
# Sets the SPDIF/Analog combo output to audio or spdif mode
# Values: 1 = Digital, 0=Analog Default: 0
#
#
sblive_digital_din = 0

#
# Sets the SPDIF/Analog combo output to analog or spdif mode
# Values: 1 = Digital, 0 = Analog Default: 1
#
audigy_digital_din = 0 ;
maurelio79
New Member
 
Posts: 6
Joined: Sun May 18, 2008 5:08 pm

Re: OpenSolaris + OSS V4.0: no 4 speakers

Postby dev » Sun May 18, 2008 5:52 pm

maurelio79 wrote:Hi to everyone, i recently installed OpenSolaris 2008.05, but i've a problem with the audio: i cant listen from all my speakers.

I've a Creative Labs on an i86pc with sblive drivers, but the sound came out only from front left and fron right speaker, no sound from center speaker and from the main speaker.

How can i resolve the problem?


Normally any audio from the front should also come out the front and rear speakers if your mixer speaker mode is set to front+rear - if it's set to discrete then you only get output on front if you send output to the front speakers and you get output on rear speakers if you send output to the rear speakers.


if you want to play 5.1 surround audio you need to select the 5.1 device.


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

Postby maurelio79 » Sun May 18, 2008 6:02 pm

Thanks for answer.

In ossxmix i have selected front+surr.

The other options are
front
surr
discrete.

In total i've 4 speakers: two front, one center and the main speaker from which i turn on the speakers and adjust the bass, but no bass and sound froma center and main.
maurelio79
New Member
 
Posts: 6
Joined: Sun May 18, 2008 5:08 pm

Postby maurelio79 » Mon May 19, 2008 3:52 pm

I, maybe the problem is the driver in use?

On my Mandriva Linux the driver in use is emu10k1, but in OpenSolaris is sblive. In directory /kernel/drv i've also emu10k1: how can i change the driver in use?

Thanks very much.
maurelio79
New Member
 
Posts: 6
Joined: Sun May 18, 2008 5:08 pm

Postby maurelio79 » Mon May 19, 2008 10:51 pm

OK, i think is not possible for me have a normal sound with oss and creative.

I tried to install oss for the integrated audiocard (HD Intel) and the sound is good, but for creative with sblive nothing.

ossplay for me doesen't work: any device is busy.
savemixer doesen't work, after reboot values are restored as default.
osstest gives to me some error and skip multichannel test and i don't know why.

Anyway, thanks very much for the help and i hope for the future.

Bye.
maurelio79
New Member
 
Posts: 6
Joined: Sun May 18, 2008 5:08 pm


Return to Solaris

Who is online

Users browsing this forum: No registered users and 1 guest

cron