Hello again,
Maybe this is better; like you I have two audio devices but only 1 is connected to speakers so you have to point the correct device by hand. Opensolaris won't do that automatically (like Windows does). One of your audiotest runs will not produce sound (no speakers attached) and maybe the other is silent because the system default points at the wrong audio device ?

$ls /dev/sound

shows

0     1     audiohd:0      audiohd:0dsp      audiohd:1    audiohd:1dsp
0ctl  1ctl  audiohd:0ctl  audiohd:0mixer  audiohd:1ctl    audiohd:1mixer

and you presumably will have the same. You have to decide whether "0" or "1" refers to the device connected to your hdmi.


In my case audiohd0 is the appropriate choice, so I set that in Gnome volume control, and I use Gconf-editor (not installed by default so you need to get it from the osol repo) with
/system/gstreamer/0.10/default

to set the keys for audiosink,chataudiosink and musicaudiosink to

oss4sink device = "/dev/sound/audiohd:0dsp"

(assuming audiohd0 is the correct choice).

You may also have to fix /dev/audio and /dev/audioctl, something like (as root)

#ln -s /dev/sound/audiohd:0ctl  /dev/audioctl
#ln -s /dev/sound/audiohd:0 /dev/audio

These moves got my audio sorted out. I've no experience with HDMI and assume you know your HDMI connection is good.

Hope something here helps.














On 11/14/10 06:37 AM, Francisco Mazzeo wrote:
Hi guys

I am trying to get sound working on my opensolaris desktop and I have been
unable to so. The computer is connected directly to a Sharp TV via HDMI and
the device should passthrough audio to the TV. This is not happening.

I do not hear ANY sound at all from the below tests... please help

@Gserver:~/Downloads# scanpci

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x2e20
Intel Corporation 4 Series Chipset DRAM Controller

pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x8086 device 0x2e21
Intel Corporation 4 Series Chipset PCI Express Root Port

pci bus 0x0000 cardnum 0x06 function 0x00: vendor 0x8086 device 0x2e29
Intel Corporation 4 Series Chipset PCI Express Root Port

pci bus 0x0000 cardnum 0x1a function 0x00: vendor 0x8086 device 0x3a37
Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4

pci bus 0x0000 cardnum 0x1a function 0x01: vendor 0x8086 device 0x3a38
Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5

pci bus 0x0000 cardnum 0x1a function 0x02: vendor 0x8086 device 0x3a39
Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6

pci bus 0x0000 cardnum 0x1a function 0x07: vendor 0x8086 device 0x3a3c
Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2

pci bus 0x0000 cardnum 0x1b function 0x00: vendor 0x8086 device 0x3a3e
Intel Corporation 82801JI (ICH10 Family) HD Audio Controller

pci bus 0x0000 cardnum 0x1c function 0x00: vendor 0x8086 device 0x3a40
Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1

pci bus 0x0000 cardnum 0x1c function 0x01: vendor 0x8086 device 0x3a42
Intel Corporation 82801JI (ICH10 Family) PCI Express Port 2

pci bus 0x0000 cardnum 0x1c function 0x02: vendor 0x8086 device 0x3a44
Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3

pci bus 0x0000 cardnum 0x1c function 0x03: vendor 0x8086 device 0x3a46
Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 4

pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x3a34
Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1

pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x3a35
Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2

pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x3a36
Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3

pci bus 0x0000 cardnum 0x1d function 0x07: vendor 0x8086 device 0x3a3a
Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1

pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x244e
Intel Corporation 82801 PCI Bridge

pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x3a16
Intel Corporation 82801JIR (ICH10R) LPC Interface Controller

pci bus 0x0000 cardnum 0x1f function 0x02: vendor 0x8086 device 0x3a22
Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller

pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x3a30
Intel Corporation 82801JI (ICH10 Family) SMBus Controller

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x9498
ATI Technologies Inc RV730 PRO [Radeon HD 4650]

pci bus 0x0001 cardnum 0x00 function 0x01: vendor 0x1002 device 0xaa38
ATI Technologies Inc RV710/730

pci bus 0x0004 cardnum 0x00 function 0x00: vendor 0x10ec device 0x8168
Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet
controller

pci bus 0x0005 cardnum 0x00 function 0x00: vendor 0x1131 device 0x7160
Philips Semiconductors Device unknown

pci bus 0x0006 cardnum 0x00 function 0x00: vendor 0x11ab device 0x6121
Marvell Technology Group Ltd. 88SE6121 SATA II Controller
@Gserver:~/Downloads# audiotest
Sound subsystem and version: SunOS Audio 4.0 (0x00040003)
Platform: SunOS 5.11 oi_147 i86pc

*** Scanning sound adapter #1 ***
/dev/sound/audiohd:0dsp (audio engine 0): audiohd#0
- Performing audio playback test...
<left>  ................OK
<right>  ...............OK
<stereo>  ..............OK
<measured sample rate 47959.00 Hz (-0.09%)>

*** Scanning sound adapter #2 ***
/dev/sound/audiohd:1dsp (audio engine 1): audiohd#1
- Performing audio playback test...
<left>  ................OK
<right>  ...............OK
<stereo>  ..............OK
<measured sample rate 294961.00 Hz (514.50%)>

*** All tests completed OK ***
@Gserver:~/Downloads# uname -a
SunOS Gserver 5.11 oi_147 i86pc i386 i86pc
@Gserver:~/Downloads# cat /dev/sndstat
SunOS Audio Framework

Audio Devices:
0: audiohd#0 Intel HD Audio, ICH10 (DUPLEX)
1: audiohd#1 ATI HD Audio, Radeon HD 4670 (DUPLEX)

Mixers:
0: audiohd#0 Intel HD Audio, ICH10
HD codec: Realtek ALC888
1: audiohd#1 ATI HD Audio, Radeon HD 4670
HD codec: ATI R600 HDMI
@Gserver:~/Downloads#

@Gserver:~/Downloads# prtconf
System Configuration: Oracle Corporation i86pc
Memory size: 4096 Megabytes
System Peripherals (Software Nodes):

i86pc
scsi_vhci, instance #0
pci, instance #0
pci8086,2e20, instance #0 (driver not attached)
pci8086,2e21, instance #0
display, instance #0
pci1787,aa38, instance #1
pci8086,2e29 (driver not attached)
pci1565,3106, instance #0
pci1565,3106, instance #1
pci1565,3106, instance #2
device, instance #0
keyboard, instance #0
mouse, instance #1
pci1565,3105, instance #0
pci1565,820c, instance #0
pci8086,3a40, instance #2
pci8086,3a42, instance #3
pci1565,2307, instance #0
pci8086,3a44, instance #4
pci17de,7542 (driver not attached)
pci8086,3a46, instance #5
pci-ide, instance #0
ide (driver not attached)
ide (driver not attached)
pci1565,3106, instance #3
pci1565,3106, instance #4
pci1565,3106, instance #5
pci1565,3105, instance #1
pci8086,244e, instance #0
isa, instance #0
motherboard (driver not attached)
asy, instance #0 (driver not attached)
motherboard (driver not attached)
pit_beep, instance #0
pci1565,5205, instance #0
disk, instance #1
disk, instance #2
disk, instance #3
disk, instance #4
pci1565,3106 (driver not attached)
fw, instance #0
cpu, instance #0
cpu, instance #1
cpu, instance #2
cpu, instance #3
sb, instance #1
used-resources (driver not attached)
options, instance #0
pseudo, instance #0
agpgart, instance #0 (driver not attached)
xsvc, instance #0


Motherboard is Biostar Tpower I45... thanks in advance.
_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss


_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to