[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    Re: [Haiku-bugs] [Haiku] #1072: Write an HDA audio driver and add-on
From:       "tqh" <trac () haiku-os ! org>
Date:       2008-12-31 17:43:08
Message-ID: 049.5cec90d984e3bbaede78e5a02db77753 () haiku-os ! org
[Download RAW message or body]

#1072: Write an HDA audio driver and add-on
---------------------------+------------------------------------------------
 Reporter:  axeld          |       Owner:  ithamar       
     Type:  enhancement    |      Status:  assigned      
 Priority:  normal         |   Milestone:  R1            
Component:  Drivers/Audio  |     Version:  R1 development
Blockedby:                 |    Platform:  All           
 Blocking:  3193           |  
---------------------------+------------------------------------------------

Comment(by tqh):

 I made a quick hack for getting HDA working on ATI SBX00 chips, after
 looking at what ALSA HDA does on init.
 It's choppy but otherwise correct, as opposed to the noise without it. It
 needs to setup 'snooping':

 Basically same as reading/writing TCSEL in hdacontroller.cpp
 but on register 0x42 OR'ing what is written back with 0x2.
 (See the lines ~731 /* TCSEL is reset to TC0 (clear 0-2 bits) */
 I added my hack before the /* Enable controller interrupts */ section
 )

 For Nvidia the register is 0x4e and the value to OR with is 0x0F.

 Sorry for the cryptic explanation, but don't want to introduce any license
 complications.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/1072#comment:18>
Haiku <http://dev.haiku-os.org>
The Haiku operating system.
_______________________________________________
Haiku-bugs mailing list
Haiku-bugs@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/haiku-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic