View Single Post
Old 10-04-09, 03:44 PM   #14
|Blu@Sky|
Registered User
 
Join Date: Oct 2009
Posts: 3
Default NVIDIA drivers change HDA config, use HDA-VERB to restore

Thanks to hda-emu while the kernel is compiling I discovered that to obtain

Quote:
Node 0x02 [Audio Output] wcaps 0x6211: 8-Channels Digital
Converter: stream=0, channel=0
Digital: Enabled
we can use against the node 0x02 the verb 0x70d with param 0x1

Code:
set_digi_cvt_1 1
and to obtain

Quote:
Node 0x03 [Pin Complex] wcaps 0x40738d: 8-Channels Digital Amp-Out CP
...
Pin-ctls: 0x40: OUT
we can use against the node 0x03 the verb 0x707 with param 0x40

Code:
set_pin_ctl 64
so the two commands would be

Quote:
hda-verb 0x02 0x70d 0x01
hda-verb 0x03 0x707 0x40
I ran this with the simulator and everything works there. I am still waiting for the AppleTV to finish compiling the kernel with CONFIG_SND_HDA_HWDEP to allow me to change these on-the-fly and try it out.

Will report the results later.

Last edited by |Blu@Sky|; 10-04-09 at 11:06 PM. Reason: changed title of post for better Google indexing
|Blu@Sky| is offline   Reply With Quote