Tuesday June 24, 2008 updates for audiohd(7d) driver
Today, I fixed some bugs in the audiohd prototype. Now, both playback and
recording can work, and output mute can work as well. But there is no
monitor gain.
http://blogs.sun.com/minskey/resource/audiohd-test-0625.tgz
( Jun 24 2008, 10:41:21 PM PDT ) Permalink Comments [2]I have just implemented recording for audiohd driver. Now, this driver
can perform basic playback and recording operations. But the mute and
the adjustion of monitor gain are not implemented yet.
Here, you can download and give it a try:
http://blogs.sun.com/minskey/resource/audiohd-test.tgz
( Jun 20 2008, 05:00:06 AM PDT ) Permalink Comments [1]audiohd driver prototype for opensolaris
Recently, I am writing a topology parser for HD audio codec. The goal of this project
is to provide a generic HD audio driver for Solaris and enable audiohd to work with all
HD codecs which comply Intel high-definition audio specification. Now, this prototype
can find paths for playback and recording, but only playback works. The recording path
cannot work because I haven't finish input port configuration and volume adjustion for
recording.
I put the prototype here, you can download it and give it a try:
http://blogs.sun.com/minskey/resource/audiohd-test.tgz
After untar this file, you can do:
1. backup old audiohd driver:
cp /kernel/drv/audiohd /kernel/drv/audiohd.bak
cp /kernel/drv/amd64/audiohd /kernel/drv/amd64/audiohd.bak
2. edit /kernel/drv/audiohd.conf, uncommnet this line: "reset-configuration=1;"
3. copy new audiohd prototype from the above tarball
cp obj32/audiohd /kernel/drv/audiohd
cp obj64/audiohd /kernel/drv/amd64/audiohd
4. reboot system. but if you don't want to reboot, then do
1) entering CDE or console mode (not in gnome)
2) rem_drv audiohd
3) add_drv -i '"pciexclass,0403"' audiohd
But pls remember that this binary is just a very very early verion under developing.
There is no quality guarantee from Sun Microsystems or me. Use it only if you agree
to take the risk by yourself. :)
if this prototype panic your system, you can boot into fail-safe and run the following
command:
rem_drv -b /a audiohd
And then reboot.
Some guys report the driver works for the following codecs, if it works for others
pls send me an email : minskey.guo@sun.com.
Oh, you can check the codec by "dmesg | grep audio" after installing this driver.
Realtek :
ALC260 vid=0x10ec0260
ALC262 vid=0x10ec0262
ALC660 vid=0x10ec0660
ALC883 vid=0x10ec0883
ALC885 vid=0x10ec0885
ALC888 vid=0x10ec0888
IDT/Sigmetal:
STAC9200 vid=0x83847690
STAC9271D vid=0x83847627
Analog Devices:
AD1884 vid=0x11d41884
AD1984 vid=0x11d41984