#9390 NORM 1.5-BTe: custom PCI subproduct ID for HDA chip
Zarro Boogs per Child
bugtracker at laptop.org
Sat Jul 4 14:58:46 EDT 2009
#9390: custom PCI subproduct ID for HDA chip
---------------------------------+------------------------------------------
Reporter: dsd | Owner: wad
Type: defect | Status: new
Priority: normal | Milestone: 1.5-BTest
Component: hardware | Version: 1.5-A1
Resolution: | Keywords:
Next_action: never set | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
---------------------------------+------------------------------------------
Comment(by gnu):
In reading the generic Intel HDA codec spec, and comparing it to the
http://dev.laptop.org/~dsd/20090629/codec0.txt, it seems that the
"Configuration Default" registers aren't being set up properly by OFW.
These registers define the physical location, color, and type of device
connected by motherboard wiring to each pin on the codec. E.g. "Internal
Mic Inside Lid" versus "External Green Headphone Output 1/8" Jack on Left
side". It's also easy to specify "Not Connected" here. Normally these
would be set at power-on by the BIOS, and then read by the software in
order to properly label the various audio controls. This design avoids
needing separate software driver mods (kernel "quirks") for every single
model of motherboard or laptop.
(These register contents are not retained over a full codec power-down, so
the kernel would probably want to save a copy from boot time.)
If these registers are set in a way that the generic kernel code knows (or
can be taught) how to interpret them correctly, then no code custom to
OLPC will be needed in the HDA drivers, which would be a blessing.
(copied from a longer email to devel on 3 July 2009 by John Gilmore)
--
Ticket URL: <http://dev.laptop.org/ticket/9390#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list