No sound except on pcm4

OSS specific Solaris discussion (x86/SPARC)

Moderators: hannu, dev, kodachi, cesium

No sound except on pcm4

Postby axellec » Mon Oct 20, 2008 7:17 pm

Hi,
I am running Solaris 10 u5 on a 64-bit AMD, and I have an Azalia sound card

I have installed the driver oss-solaris-v4.1-rc2-i386.pkg (successfully). After reboot, when I run osstest, I only get sound for /dev/oss/oss_hdaudio0/pcm4 (although actually, it says OK everywhere).
And unfortunately, I get no sound anywhere else: for instance, if I try to play something from deezer: no sound at all, if I play a YouTube video: no sound, the GNOME applet tells me "no audio device couldn't open mixer /dev/audioctl".

I also tried the driver oss-solaris-v4.0-1016-i386.pkg. This one produces good sound again for pcm4, and horrible sound (interferences, low volume) for all other.

Also, I think I tried a former OSS driver (maybe 6 months ago ?), and managed to get it work, but unfortunately I haven't kept that version. Is this a regression ?

So, could somebody help me out get this working ? perhaps specify someway to use pcm4 ? or would someone have an old version pointer ?

Best regards,
Axelle

Output of osstest
Sound subsystem and version: OSS 4.1 (b rc2/200810090554) (0x00040090)
Platform: SunOS/i86pc 5.10 Generic_127128-11

*** Scanning sound adapter #-1 ***
/dev/oss/oss_hdaudio0/pcm0 (audio engine 0): HD Audio play front
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured>
/dev/oss/oss_hdaudio0/pcm1 (audio engine 1): HD Audio play rear
<left> OK <right> OK <stereo> OK <measured>
[...]
/dev/oss/oss_hdaudio0/pcm4 (audio engine 4): HD Audio play pcm4
- Performing audio playback test...

--------------
Output of ossinfo -v

Version info: OSS 4.1 (b rc2/200810090554) (0x00040090)
Platform: SunOS/i86pc 5.10 Generic_127128-11 (boureautic)

Number of audio devices: 8
Number of audio engines: 12
Number of mixer devices: 1


Device objects
0: oss_hdaudio0 ATI HD Audio interrupts=15034 (30181)
HD Audio controller ATI HD Audio
Vendor ID 0x10024383
Subvendor ID 0x105b0e0a
Codec 3: ALC888 (0x10ec0888/0x105b0e0a)
1: osscore0 OSS common devices
2: oss_usb0 USB audio/MIDI device
3: oss_sadasupport SADA compatibility layer


Mixer devices
0: High Definition Audio ALC888 (Mixer 0 of device object 0)
Device file /dev/oss/oss_hdaudio0/mix-1, Legacy device /dev/mixer0
Priority: 10
Caps:

Audio devices
HD Audio play front /dev/oss/oss_hdaudio0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER
Modes: IN/OUT
Out engine 1: Available for use
Engine 2: Available for use
HD Audio play rear /dev/oss/oss_hdaudio0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Available for use
HD Audio play center/LFE /dev/oss/oss_hdaudio0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Available for use
HD Audio play side /dev/oss/oss_hdaudio0/pcm3 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Available for use
HD Audio play pcm4 /dev/oss/oss_hdaudio0/pcm4 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Available for use
HD Audio play spdif-out /dev/oss/oss_hdaudio0/spdout0 (device index 5)
Legacy device /dev/dsp5
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Available for use
HD Audio rec mix /dev/oss/oss_hdaudio0/pcmin0 (device index 6) Legacy device /dev/dsp6
Caps: DUPLEX TRIGGER
Modes: IN/OUT
In engine 1: Available for use
Engine 2: Available for use
HD Audio rec mix /dev/oss/oss_hdaudio0/pcmin1 (device index 7) Legacy device /dev/dsp7
Caps: TRIGGER
Modes: INPUT
In engine 1: Available for use
:?:
axellec
 
Posts: 3
Joined: Wed Apr 02, 2008 8:45 pm
Location: Roquefort les Pins

Postby cesium » Mon Oct 20, 2008 7:43 pm

Just change the default output to pcm4. See here how to do this.
cesium
 
Posts: 903
Joined: Sun Aug 12, 2007 12:51 am

SOLVED

Postby axellec » Mon Oct 20, 2008 8:24 pm

cesium wrote:Just change the default output to pcm4. See here how to do this.


Yes :D ! It worked great. Sorry for this stupid question I should have seen that.
Anyway, so it worked out by simply adding a link to the right device to /dev/dsp.

Regards,
Axelle.
axellec
 
Posts: 3
Joined: Wed Apr 02, 2008 8:45 pm
Location: Roquefort les Pins


Return to Solaris

Who is online

Users browsing this forum: Bing [Bot] and 3 guests