OSS v4.0-1012/4.1test0 Nevada snv_78 on MacBook

OSS specific Solaris discussion (x86/SPARC)

Moderators: hannu, dev, kodachi, cesium

OSS v4.0-1012/4.1test0 Nevada snv_78 on MacBook

Postby ivoronin » Tue Jan 15, 2008 10:33 am

I've tried to install OSS v4.0-1012 and 4.1test0 on my MacBook, running snv_78 - all looks fine, but i have no sound despite the sound meter (ossxmix) shows activity. Any suggestions?
Code: Select all
bash-3.2# ossinfo -v
Version info: OSS 4.1test0 (b 080108/200801132042 (0x00040003) CDDL
Platform: SunOS/i86pc 5.11 snv_78 (macbook)

Number of audio devices:        8
Number of audio engines:        16
Number of MIDI devices:         0
Number of mixer devices:        1


Device objects
0: osscore0 OSS common devices
1: hdaudio0 Intel HD Audio interrupts=264 (264)
    HD Audio controller Intel HD Audio
    Vendor ID    0x808627d8
    Subvendor ID 0x83847680
     Codec  0: STAC9221 A1 (0x83847680/0x106b2200)
2: vmix0 OSS transparent virtual support
3: sadasupport0 SADA compatibility layer

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio STAC9221 A (Mixer 0 of device object 1)
    Device file /dev/oss/hdaudio0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:

Audio devices
High Definition Audio front       /dev/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
      Engine      3: Available for use
      Engine      4: Available for use
      Engine      5: Available for use
      Engine      6: Available for use
      Engine      7: Available for use
      Engine      8: Available for use
      Engine      9: Available for use
High Definition Audio center/LFE  /dev/oss/hdaudio0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER
    Modes: OUTPUT
      Out engine  1: Available for use
High Definition Audio rear        /dev/oss/hdaudio0/pcm2  (device index 2)
    Legacy device /dev/dsp2
    Caps: TRIGGER
    Modes: OUTPUT
      Out engine  1: Available for use
High Definition Audio side        /dev/oss/hdaudio0/pcm3  (device index 3)
    Legacy device /dev/dsp3
    Caps: TRIGGER
    Modes: OUTPUT
      Out engine  1: Available for use
High Definition Audio spdif-out   /dev/oss/hdaudio0/spdout0  (device index 4)
    Legacy device /dev/dsp4
    Caps: TRIGGER
    Modes: OUTPUT
      Out engine  1: Available for use
High Definition Audio rec1        /dev/oss/hdaudio0/pcmin0  (device index 5)
    Legacy device /dev/dsp5
    Caps: DUPLEX TRIGGER
    Modes: IN/OUT
      In engine   1: Available for use
      Engine      2: Available for use
      Engine      3: Available for use
      Engine      4: Available for use
      Engine      5: Available for use
      Engine      6: Available for use
      Engine      7: Available for use
      Engine      8: Available for use
      Engine      9: Available for use
High Definition Audio rec2        /dev/oss/hdaudio0/pcmin1  (device index 6)
    Legacy device /dev/dsp6
    Caps: TRIGGER
    Modes: INPUT 
      In engine   1: Available for use
High Definition Audio spdif-in    /dev/oss/hdaudio0/spdin0  (device index 7)
    Legacy device /dev/dsp7
    Caps: TRIGGER
    Modes: INPUT 
      In engine   1: Available for use

Code: Select all
bash-3.2# osstest
Sound subsystem and version: OSS 4.1test0 (b 080108/200801132042 (0x00040003)
Platform: SunOS/i86pc 5.11 snv_78

*** Scanning sound adapter #-1 ***
/dev/oss/hdaudio0/pcm0 (audio engine 0): High Definition Audio front
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/hdaudio0/pcm1 (audio engine 1): High Definition Audio center/LFE
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/hdaudio0/pcm2 (audio engine 2): High Definition Audio rear
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/hdaudio0/pcm3 (audio engine 3): High Definition Audio side
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/hdaudio0/spdout0 (audio engine 4): High Definition Audio spdif-out
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/hdaudio0/pcmin0 (audio engine 5): High Definition Audio rec1
- Skipping input only device
/dev/oss/hdaudio0/pcmin1 (audio engine 6): High Definition Audio rec2
- Skipping input only device
/dev/oss/hdaudio0/spdin0 (audio engine 7): High Definition Audio spdif-in
- Skipping input only device

*** All tests completed OK ***

Code: Select all
bash-3.2# prtdiag
System Configuration: Apple Inc. MacBook2,1
BIOS Configuration: Apple Inc.     MB21.88Z.00A5.B07.0706270922 06/27/07

==== Processor Sockets ====================================

Version                          Location Tag
-------------------------------- --------------------------
Intel(R) Core(TM)2 CPU           U2E1
Intel(R) Core(TM)2 CPU           U2E1

==== Memory Device Sockets ================================

Type    Status Set Device Locator      Bank Locator
------- ------ --- ------------------- --------------------
DDR2    in use 0   DIMM0               BANK 0
DDR2    in use 0   DIMM1               BANK 1

==== On-Board Devices =====================================
Integrated Graphics Controller
Azalia Audio Codec
Yukon Ethernet Controller
SATA
PATA
Sudden Motion Sensor

==== Upgradeable Slots ====================================

ID  Status    Type             Description
--- --------- ---------------- ----------------------------
2   available PCI Express      AirPort
ivoronin
 
Posts: 4
Joined: Tue Jan 15, 2008 10:20 am

Postby seawright » Tue Jan 15, 2008 12:09 pm

You mention ossxmix so I presume you have checked that the volume controls are at maximum. If there are list boxes in ossxmix check that channels that should be output are not set to input.

When you say no sound heard is that from internal speakers?
Have you checked audio jack sockets with headphones?

As stupid as this may sound, it is worth checking all audio sockets with headphones as sometimes audio output has been routed to the mic. (pink) socket.
regards
Clive
seawright
 
Posts: 88
Joined: Sat Jan 06, 2007 9:10 pm
Location: Hampshire UK

Postby ivoronin » Tue Jan 15, 2008 12:38 pm

I've already checked all of those things :-( No sound from internal speakers, audio jack and even mic jack.
Image


seawright wrote:You mention ossxmix so I presume you have checked that the volume controls are at maximum. If there are list boxes in ossxmix check that channels that should be output are not set to input.

When you say no sound heard is that from internal speakers?
Have you checked audio jack sockets with headphones?

As stupid as this may sound, it is worth checking all audio sockets with headphones as sometimes audio output has been routed to the mic. (pink) socket.
[/img]
ivoronin
 
Posts: 4
Joined: Tue Jan 15, 2008 10:20 am

Postby seawright » Tue Jan 15, 2008 1:02 pm

Solaris is not my field but from your description everything software wise appears correct. I am surprised by the total lack of mute controls but this may be normal for your hardware configuration (my mixer is littered with them).

The only other suggestion is the function list box associated with the Blue jack. Change this to a setting other than input and retest all possible outputs. Mine is set to linein and my speakers operate correctly when connected to the blue jack.
regards
Clive
seawright
 
Posts: 88
Joined: Sat Jan 06, 2007 9:10 pm
Location: Hampshire UK

Postby ivoronin » Tue Jan 15, 2008 7:56 pm

PS: Found this in syslog:
Code: Select all
Jan 15 22:54:17 macbook vmix: [ID 968132 kern.warning] WARNING: Attach failed

Any suggestions?
ivoronin
 
Posts: 4
Joined: Tue Jan 15, 2008 10:20 am

Postby seawright » Tue Jan 15, 2008 8:37 pm

It may indicate a problem but osstest without any options does not use vmix.
To be doubly sure you can remove vmix from the configuration file:
/usr/lib/oss/etc/installed_drivers
before rerunning osstest by running:
soundoff
ossdetect -V
soundon

Osstest did not show any errors but I would have expected it to measure the sample rate and this did not happen.
Whether this is a feature of the driver in Solaris or an indication of a problem I do not know.
regards
Clive
seawright
 
Posts: 88
Joined: Sat Jan 06, 2007 9:10 pm
Location: Hampshire UK

Postby dev » Wed Jan 16, 2008 5:20 pm

ivoronin wrote:PS: Found this in syslog:
Code: Select all
Jan 15 22:54:17 macbook vmix: [ID 968132 kern.warning] WARNING: Attach failed

Any suggestions?


Just reboot and it should get fixed.


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

Postby tomas.dzik » Fri Jan 18, 2008 10:31 am

Hi,
I am using MacBook Pro with Nevada 80 and oss v4.0-1012.
I was able to get sound only from line-in jack. In ossxmix it is controlled by connector blue entry. I wasn't able to get sound from internal speakers and from headphone output.
I was looking for some information on the web and I found, that linux users reported similar problem for ALSA, but current version of ALSA works OK on current MacBook Pro.
If anybody is going to fix this problem I will provide any info needed and I would be also willing to test the fix/binaries if needed.

Thanks.
Tomas Dzik
tomas.dzik
 
Posts: 3
Joined: Fri Jan 18, 2008 10:03 am

Postby ivoronin » Fri Jan 18, 2008 10:41 am

tomas.dzik wrote:Hi,
I am using MacBook Pro with Nevada 80 and oss v4.0-1012.
I was able to get sound only from line-in jack. In ossxmix it is controlled by connector blue entry. I wasn't able to get sound from internal speakers and from headphone output.
I was looking for some information on the web and I found, that linux users reported similar problem for ALSA, but current version of ALSA works OK on current MacBook Pro.
If anybody is going to fix this problem I will provide any info needed and I would be also willing to test the fix/binaries if needed.

Thanks.

I've selected "rear" (another choice was "input") and nothing changed :-(
No sound from headphones connected to line-in jack.

PS: sorry, "side" not "rear"
Last edited by ivoronin on Fri Jan 18, 2008 10:55 am, edited 1 time in total.
ivoronin
 
Posts: 4
Joined: Tue Jan 15, 2008 10:20 am

Postby tomas.dzik » Fri Jan 18, 2008 10:51 am

ivoronin wrote:
tomas.dzik wrote:Hi,
I am using MacBook Pro with Nevada 80 and oss v4.0-1012.
I was able to get sound only from line-in jack. In ossxmix it is controlled by connector blue entry. I wasn't able to get sound from internal speakers and from headphone output.
I was looking for some information on the web and I found, that linux users reported similar problem for ALSA, but current version of ALSA works OK on current MacBook Pro.
If anybody is going to fix this problem I will provide any info needed and I would be also willing to test the fix/binaries if needed.

Thanks.

I've selected "rear" (another choice was "input") and nothing changed :-(
No sound from headphones connected to line-in jack.


I didn't try it using osstest. Instead I selected rear in ossxmix and after that configured xmms to use oss and to use Audio device "High Definiton Audio rear (OUTPUT)".
Tomas Dzik
tomas.dzik
 
Posts: 3
Joined: Fri Jan 18, 2008 10:03 am

Postby dev » Fri Jan 18, 2008 4:34 pm

edit /kernel/drv/hdaudio.conf
set hdaudio_snoopy=1
run ossdetect

download http://www.4front-tech.com/test/snoopy.gz
gunzip it

now log in on the console (you must not be running in JDS/Gnome)

type snoopy > out.txt and send file to support@opensound.com or post the contents here.

We will be able to look at the HD Audio codec internals and see what the hell is going on.


Really all the HDAudio vendors should be lined up against a wall and lashed 50 times.

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

Postby tomas.dzik » Tue Jan 22, 2008 8:40 am

dev wrote:edit /kernel/drv/hdaudio.conf
set hdaudio_snoopy=1
run ossdetect

download http://www.4front-tech.com/test/snoopy.gz
gunzip it

now log in on the console (you must not be running in JDS/Gnome)

type snoopy > out.txt and send file to support@opensound.com or post the contents here.

We will be able to look at the HD Audio codec internals and see what the hell is going on.


Really all the HDAudio vendors should be lined up against a wall and lashed 50 times.

regards
Dev


Hi Dev,
I already sent output of snoopy to support@opensound.com. Please, let me know whether you got it OK and whether I can do anything more to help.
Tomas Dzik
tomas.dzik
 
Posts: 3
Joined: Fri Jan 18, 2008 10:03 am

Any progress ?

Postby sriramnrn » Tue Feb 26, 2008 12:23 pm

I've got a Macbookpro, and have installed oss with Moinak Ghosh's help at the Sun Tech Days. Is there anything that you'd like to have him or me investigate ?

I tried the snoopy tool, and it gave me the following:
/dev/oss/hdaudio0/pcm0: Device busy

ossxmix is configured to send Front audio to the internal speaker.

The blue connector too is set to play Front audio.

Here's the output of ossinfo -v
Version info: OSS 4.0 (b1013/200802020502) (0x00040003)
Platform: SunOS/i86pc 5.11 snv_81 (sunshine)

Number of audio devices: 10
Number of audio engines: 18
Number of mixer devices: 1


Device objects
0: sadasupport0 SADA compatibility layer
1: hdaudio0 Intel HD Audio interrupts=100445 (323310)
HD Audio controller Intel HD Audio
Vendor ID 0x8086284b
Subvendor ID 0x106b00a0
Codec 0: ALC885 (0x10ec0885/0x106b2c00)
2: osscore0 OSS common devices
3: ossusb0 USB audio/MIDI device
4: vmix0 OSS transparent virtual support
5: vmix0


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

Audio devices
High Definition Audio front /dev/oss/hdaudio0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Busy (IN/OUT) label 'SADA'
High Definition Audio rear /dev/oss/hdaudio0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Available for use
High Definition Audio center/LFE /dev/oss/hdaudio0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Available for use
High Definition Audio side /dev/oss/hdaudio0/pcm3 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Available for use
High Definition Audio pcm4 /dev/oss/hdaudio0/pcm4 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Available for use
High Definition Audio spdif-out /dev/oss/hdaudio0/spdout0 (device index 5)
Legacy device /dev/dsp5
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: Available for use
High Definition Audio rec /dev/oss/hdaudio0/pcmin0 (device index 6)
Legacy device /dev/dsp6
Caps: TRIGGER
Modes: INPUT
In engine 1: Available for use
High Definition Audio rec1 /dev/oss/hdaudio0/pcmin1 (device index 7)
Legacy device /dev/dsp7
Caps: TRIGGER
Modes: INPUT
In engine 1: Available for use
High Definition Audio rec2 /dev/oss/hdaudio0/pcmin2 (device index 8)
Legacy device /dev/dsp8
Caps: TRIGGER
Modes: INPUT
In engine 1: Available for use
High Definition Audio spdif-in /dev/oss/hdaudio0/spdin0 (device index 9)
Legacy device /dev/dsp9
Caps: TRIGGER
Modes: INPUT
In engine 1: Available for use
sriramnrn
 
Posts: 1
Joined: Tue Feb 26, 2008 12:14 pm

Postby seawright » Tue Feb 26, 2008 8:01 pm

As well as setting hdaudio_snoopy=1 in /kernel/drv/hdaudio.conf you need to run snoopy as root.
Running it as a normal user should output:
Code: Select all
hdaudio_snoopy mode is not available
regards
Clive
seawright
 
Posts: 88
Joined: Sat Jan 06, 2007 9:10 pm
Location: Hampshire UK

Postby dev » Thu Feb 28, 2008 4:52 pm

seawright wrote:As well as setting hdaudio_snoopy=1 in /kernel/drv/hdaudio.conf you need to run snoopy as root.
Running it as a normal user should output:
Code: Select all
hdaudio_snoopy mode is not available


you need to run ossdetect to reinstall the drivers with the updated .conf file.


Regards
Dev
dev
 
Posts: 576
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Next

Return to Solaris

Who is online

Users browsing this forum: No registered users and 1 guest