Solaris 10 Java Desktop (no audio device) after 4.2 install?

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

Solaris 10 Java Desktop (no audio device) after 4.2 install?

Postby deansalv » Sun Sep 13, 2009 9:41 pm

Hello :
I have an SB Audigy card that worked fine with the previous version of OSS but now the devices are not working. This must be a device naming issue with Java Desktop, Solaris 10 on Sparc and the new OSS.

Has anyone been able to fix their devices or been able to solve this problem?

Thank you;
Dean
"Ultra E 450 Dual 400 mhz
3 gig Ram
SB Audigy Sound card
Expert 3D Video

Sound subsystem and version: OSS 4.2 (b 2000/200909100847) (0x00040100)
Platform: SunOS/sun4u 5.10 Generic_141414-10

*** Scanning sound adapter #-1 ***
/dev/oss/oss_sblive0/pcm0 (audio engine 0): SB Audigy4 main
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47962.00 Hz (-0.08%)>
/dev/oss/oss_sblive0/pcm1 (audio engine 5): SB Audigy4 front out
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47971.00 Hz (-0.06%)>
/dev/oss/oss_sblive0/pcm2 (audio engine 6): SB Audigy4 side out
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47971.00 Hz (-0.06%)>
/dev/oss/oss_sblive0/pcm3 (audio engine 7): SB Audigy4 center/lfe out
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47971.00 Hz (-0.06%)>
/dev/oss/oss_sblive0/pcm4 (audio engine 8): SB Audigy4 raw S/PDIF (output only)
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47971.00 Hz (-0.06%)>

*** All tests completed OK ***"
deansalv
New Member
 
Posts: 8
Joined: Fri Dec 29, 2006 8:00 pm
Location: Portland, Oregon

Postby cesium » Tue Sep 15, 2009 1:13 pm

Do the /dev/dspN symlinks exist? Is the SADA emulation loaded? "ossinfo -v3" output should be able to tell this...
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Solaris 10 Java Desktop (no audio device) after 4.2 install?

Postby deansalv » Thu Sep 17, 2009 12:48 am

Hello:
The system does initialize sound at boot. I do not hear the sound server coming up when Java Desktop loads and the volume control remains muted no matter how many times I try to unmute it. Originally it was asking for /dev/audioctl as missing. I lined that /dev/mixer to /dev/audioctl. Now the volume control just remains muted nothing will play sound except the osstest.

Thank you for any help.

Here is the output of ossinfo -v3
/users/dean.salvadore:[452]>$ ossinfo -v3
Version info: OSS 4.2 (b 2000/200909100847) (0x00040100)
Platform: SunOS/sun4u 5.10 Generic_141414-10 (ultra450)

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 Audigy4 interrupts=143945 (143945)
1: osscore0 OSS common devices

MIDI devices (/dev/midi*)
0: Audigy UART (MIDI port 1 of device object 0)
Device file /dev/oss/oss_sblive0/mid-1, Legacy device /dev/midi00
Modes: IN/OUT , Available for use
Caps:
Minimum latency: Not indicated
Device handle: PCI10211102-0-md01


Mixer devices
0: SB Audigy4 (STAC9750) (Mixer 0 of device object 0)
Device file /dev/oss/oss_sblive0/mix-1, Legacy device /dev/mixer0
Priority: 2
Caps:
Device handle: PCI10211102-0-mx01
Device priority: 2


Audio devices
SB Audigy4 main /dev/oss/oss_sblive0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER
Modes: IN/OUT
Engine 1: 0/SB Audigy4 main
Available for use
Engine 2: 1/SB Audigy4 main (vmix)
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000418):
AFMT_U8 - 8 bit unsigned
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Device handle: PCI10211102-0-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated

SB Audigy4 front out /dev/oss/oss_sblive0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: 5/SB Audigy4 front out
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000418):
AFMT_U8 - 8 bit unsigned
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Device handle: PCI10211102-0-au02
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated

SB Audigy4 side out /dev/oss/oss_sblive0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: 6/SB Audigy4 side out
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000418):
AFMT_U8 - 8 bit unsigned
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Device handle: PCI10211102-0-au03
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated

SB Audigy4 center/lfe out /dev/oss/oss_sblive0/pcm3 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: 7/SB Audigy4 center/lfe out
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000418):
AFMT_U8 - 8 bit unsigned
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Device handle: PCI10211102-0-au04
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated

SB Audigy4 raw S/PDIF (output only) /dev/oss/oss_sblive0/pcm4 (device index 4) Legacy device /dev/dsp4
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: 8/SB Audigy4 raw S/PDIF (output only)
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000418):
AFMT_U8 - 8 bit unsigned
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Device handle: PCI10211102-0-au05
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 48000 (8000,11025,16000,22050,24000,32000,44100,48000)
HW Type: Not indicated.
Minimum latency: Not indicated


Nodes
/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/mixer -> ../devices/pseudo/osscore@0:mixer
/dev/sndstat -> ../devices/pseudo/osscore@0:sndstat
deansalv
New Member
 
Posts: 8
Joined: Fri Dec 29, 2006 8:00 pm
Location: Portland, Oregon

Re: Solaris 10 Java Desktop (no audio device) after 4.2 install?

Postby cesium » Sat Sep 19, 2009 10:25 pm

I guess the system tries to use SADA API, but OSS4 doesn't emulate it? Try loading oss_sadasupport driver..
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Solaris 10 Java Desktop (no audio device) after 4.2 install?

Postby rasta » Mon Oct 19, 2009 10:10 pm

I have the same problem. oss 4.1 Solaris drivers worked fine with JDS using Vbox versions earlier than 3.0.8.

I'm using Solaris 10 u8 x86 as a VirtualBox guest on a WinXP host. Using Vbox 3.0.8 with Windows DirectSound host driver and ICH AC97 controller enabled. The JDS sound icon is always disabled with the red stripe ("No audio device"). osstest works fine, but Solaris will not recognize oss 4.2 drivers, and thus desktop sound will not work. ossdetect will enable JDS sound, but makes the system unstable (possibly a problem with Vbox 3.0.8 ), and desktop sound will again be disabled after next reboot.

> ossinfo -v3
Version info: OSS 4.2 (b 2000/200909100851) (0x00040100)
Platform: SunOS/i86pc 5.10 Generic_141445-09 (hostname)

Number of audio devices: 1
Number of audio engines: 6
Number of MIDI devices: 0
Number of mixer devices: 1


Device objects
0: oss_ich0 Intel ICH (2415) interrupts=1 (1)
1: osscore0 OSS common devices
2: oss_sadasupport SADA compatibility layer

MIDI devices (/dev/midi*)

Mixer devices
0: ICH AC97 Mixer (STAC9700) (Mixer 0 of device object 0)
Device file /dev/oss/oss_ich0/mix-1, Legacy device /dev/mixer0
Priority: 10
Caps:
Device handle: PCI00008086-0-mx01
Device priority: 10


Audio devices
Intel ICH (2415) /dev/oss/oss_ich0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER
Modes: IN/OUT
Engine 1: 0/Intel ICH (2415)
Available for use
Engine 2: 1/Intel ICH (2415) (vmix)
Available for use
Input formats (0x00000410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Output formats (0x00000410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
Device handle: PCI00008086-0-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 6
Native sample rates (min - max): 5000 - 48000
HW Type: Not indicated.
Minimum latency: Not indicated


Nodes
/dev/dsp -> /dev/oss/oss_ich0/pcm0
/dev/dsp_in -> /dev/oss/oss_ich0/pcm0
/dev/dsp_out -> /dev/oss/oss_ich0/pcm0
/dev/dsp_ac3 -> /dev/oss/oss_ich0/pcm0
/dev/dsp_multich -> /dev/oss/oss_ich0/pcm0
/dev/mixer -> ../devices/pseudo/osscore@0:mixer
/dev/sndstat -> ../devices/pseudo/osscore@0:sndstat

> ls -l /devices/pseudo/oss_sadasupport\@0\:sound\,audio*
No match

Please help.
rasta
Member
 
Posts: 33
Joined: Mon Oct 19, 2009 9:17 pm

Re: Solaris 10 Java Desktop (no audio device) after 4.2 install?

Postby rasta » Tue Oct 27, 2009 9:08 pm

Here is the end of the package install screen output when installing oss 4.2 onto a Solaris 10 u8 x86 system. Note the failure to attach. Is this problem the cause of the JDS no audio device issue? If so, what should be done about it other than wait for oss 4.3?

Removing old driver oss_audiopci
Removing old driver oss_hdaudio
Removing old driver usb_ac
Removing old driver usb_as
add_drv -m '* 0666 root sys' osscore
add_drv -m '* 0666 root sys' -i '"pci8086,2415"' oss_ich
devfsadm: driver failed to attach: oss_ich
Warning: Driver (oss_ich) successfully added to system but failed to attach
add_drv -m '* 0666 root sys' oss_sadasupport



Open Sound System installation complete

You can use the osstest command to test audio playback in your system.

It may be necessary to reboot the system before all devices get properly
detected by the system.

Installation of <oss> was successful.
rasta
Member
 
Posts: 33
Joined: Mon Oct 19, 2009 9:17 pm


Return to Solaris

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest

cron