[oi-dev] 148b Audio Issues

Ken Gunderson kgunders at teamcool.net
Sun May 22 20:21:15 UTC 2011


On Sun, 2011-05-22 at 15:18 -0400, Albert Lee wrote:
> On Sun, May 22, 2011 at 1:18 PM, Ken Gunderson <kgunders at teamcool.net> wrote:
> > Howdy:
> >
> > No audio here on 148b.  I note a couple bugs filed in Redmine, but not
> > listed as show stoppers for 151.  Shouldn't this be on the radar for 151
> > based release or am I missing something?
> >
> > Sporting two different audio devices on this Tyan K8E based test rig:
> >
> > 1) AC97 nVidia onboard
> >
> > a) previously worked w/o problem on Open/Solaris.
> > b) wants to use audio810 driver
> > c) plays test sound via Multimedia Systems Selector
> > d) played a cd via Sound Juicer once, but otherwise have been unable to
> > repeat.
> > e) scanpci output:
> >
> > pci bus 0x0000 cardnum 0x04 function 0x00: vendor 0x10de device 0x0059
> >  nVidia Corporation CK804 AC'97 Audio Controller
> >  CardVendor 0x10f1 card 0x2865 (Tyan Computer, Tomcat K8E (S2865))
> >  STATUS    0x00b0  COMMAND 0x0007
> >  CLASS     0x04 0x01 0x00  REVISION 0xa2
> >  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
> >  BASE0     0x0000f000 SIZE 256  I/O
> >  BASE1     0x0000ec00 SIZE 256  I/O
> >  BASE2     0xfebfd000 SIZE 4096  MEM
> >  BASEROM   0x00000000  addr 0x00000000
> >  MAX_LAT   0x05  MIN_GNT 0x02  INT_PIN 0x01  INT_LINE 0x0b
> >
> >
> >
> > 2) Audiotrak Prodigy HD.  Envy24 based PCI add in card.
> >
> > a) Never worked on any previous Open/Solaris
> > b) wants to use audiohd driver
> > c) does not play test sound via Multimedia Systems Selector
> > d) but apparently might should work per hcl wiki note pertaining to
> > generic Envy24.
> > e) scanpci output:
> >
> > pci bus 0x0001 cardnum 0x09 function 0x00: vendor 0x1412 device 0x1724
> >  VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio
> > Controller
> >  CardVendor 0x3137 card 0x4154 (Card unknown)
> >  STATUS    0x0210  COMMAND 0x0005
> >  CLASS     0x04 0x01 0x00  REVISION 0x01
> >  BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x00
> >  BASE0     0x0000a400 SIZE 32  I/O
> >  BASE1     0x0000a000 SIZE 128  I/O
> >  BASEROM   0x00000000  addr 0x00000000
> >  MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x01  INT_LINE 0x07
> >
> >
> > That the onboard succeeds in playing test sound but I cannot get audio
> > playback from neither Rhythmbox, Totem, or Juicer seems odd.
> >
> > The Audiotrak is a relatively high grade two channel card targeting more
> > "audiophile" rather than gamer type end user.  I'd be willing put on
> > loan to US based driver developer if it would help polish up support for
> > Envy24 based cards. I also have another Envy24 based card (Chaintech).
> >
> > --
> > Ken Gunderson <kgunders at teamcool.net>
> >
> 
> Driver issues should be filed against illumos-gate (not OpenIndiana) here:
> http://www.illumos.org/projects/illumos-gate/issues
> 
> Use cat /dev/sndstat and audiotest for diagnostics.

Thanks, Albert.  I guess I assumed Gnome's Multimedia Systems Selector
test was just front end to make these calls.  Definitely better to use
lower level tests though:

kvg at allakaket:~$ ls -l /dev|grep audio
lrwxrwxrwx   1 root root    7 2011-05-20 18:45 audio -> sound/0
lrwxrwxrwx   1 root root   10 2011-05-20 18:45 audioctl -> sound/0ctl
lrwxrwxrwx   1 root root   18 2011-05-20 18:45 dsp0 ->
sound/audiohd:0dsp
lrwxrwxrwx   1 root root   19 2011-05-20 18:45 dsp1 ->
sound/audio810:0dsp
lrwxrwxrwx   1 root root   20 2011-05-20 18:45 mixer0 ->
sound/audiohd:0mixer
lrwxrwxrwx   1 root root   21 2011-05-20 18:45 mixer1 ->
sound/audio810:0mixer
lrwxrwxrwx   1 root root   40 2011-05-20 18:45 sndstat
-> ../devices/pseudo/audio at 0:sound,sndstat0

kvg at allakaket:~$ audiotest /dev/dsp0
Sound subsystem and version: SunOS Audio 4.0 (0x00040003)
Platform: SunOS 5.11 oi_148b 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 47911.00 Hz (-0.19%)>

*** All tests completed OK ***
kvg at allakaket:~$ audiotest /dev/dsp1
Sound subsystem and version: SunOS Audio 4.0 (0x00040003)
Platform: SunOS 5.11 oi_148b i86pc

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


dsp0 reports all is fine and dandy but the test doesn't actually produce
any sound.  dsp1 produces sound but none of the Gnome apps, e.g. Juicer,
Rhythmbox, or Totem result in any actual playback.  Hence, methinks this
is more OI Gnome DE related.

> There was an incomplete port of OSS4's Envy24 driver (
> http://opensolaris.org/jive/thread.jspa?threadID=125584 ) which would
> need additional work.

Open source drivers for Envy24 based cards have been reverse engineered
and been in Linux and FreeBSD repositories for years.  I don't know how
closely/distantly related they may be but perhaps might at least be
worth a gander. 

Also, although clearly communicated in my previous message, I meant to
say that if someone got this working that they could keep the Chaintech
card for their trouble.  It's only something like $30 card and seemingly
small reward but sports 7.1, S/PDIF, and sounds great on my wife's
Winblows box.


-- 
Ken Gunderson <kgunders at teamcool.net>





More information about the oi-dev mailing list