[alsa-devel] SB0880 X-Fi Titanium Fatal1ty Pro (with codecgraph)
Tony "Chainsaw" Vroon
chainsaw at gentoo.org
Sun Jul 13 23:51:42 CEST 2008
Good evening,
Just wanted to share that this card seems to be HD-Audio compatible (by
virtue of its UAA compatibility claim);
http://uk.europe.creative.com/products/product.asp?category=1&subcategory=208&product=17791
For a while now, I've been trying to write a skeleton patch_creative.c
to hook up some basic playback functions. As this has failed, I will
instead post all information I can gather about the card, in the hope
that such a basic patch_creative.c can be written that I can then slowly
extend.
I was unable to set up proper PCM paths (and thus listen to any audio at
all), but did manage to get the card detected with a simple addition to
hda_intel.c:
+ /* Creative Labs UAA-compatible */
+ { PCI_DEVICE(0x1102, 0x000b), .driver_data =
AZX_DRIVER_CREATIVE },
A guess at correct mixer controls would be:
HDA_CODEC_VOLUME("PCM Playback Volume", 0x02, 0x0, HDA_OUTPUT),
HDA_CODEC_MUTE("PCM Playback Switch", 0x02, 0x0, HDA_OUTPUT),
HDA_CODEC_VOLUME("Surround Playback Volume", 0x03, 0x0, HDA_OUTPUT),
HDA_CODEC_MUTE("Surround Playback Switch", 0x03, 0x0, HDA_OUTPUT),
HDA_CODEC_VOLUME_MONO("Center Playback Volume", 0x04, 1, 0x0,
HDA_OUTPUT),
HDA_CODEC_MUTE_MONO("Center Playback Switch", 0x04, 1, 0x0, HDA_OUTPUT),
HDA_CODEC_VOLUME_MONO("LFE Playback Volume", 0x04, 2, 0x0, HDA_OUTPUT),
HDA_CODEC_MUTE_MONO("LFE Playback Switch", 0x04, 2, 0x0, HDA_OUTPUT),
HDA_CODEC_VOLUME("Side Playback Volume", 0x05, 0x0, HDA_OUTPUT),
HDA_CODEC_MUTE("Side Playback Switch", 0x05, 0x0, HDA_OUTPUT),
Please find attached the codec details and the resulting codec graph.
It is a PCI-Express card, lspci information follows:
83:00.0 Audio device [0403]: Creative Labs Device [1102:000b] (rev 03)
Subsystem: Creative Labs Device [1102:0043]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 505
Region 0: Memory at d0100000 (64-bit, non-prefetchable) [size=64K]
Region 2: Memory at d0200000 (64-bit, non-prefetchable) [size=2M]
Region 4: Memory at d4000000 (64-bit, non-prefetchable) [size=64M]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [48] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0
Enable+
Address: 00000000feeff00c Data: 41c9
Capabilities: [58] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0
<64ns, L1 <1us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive-
BWMgmt- ABWMgmt-
Capabilities: [100] Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff
Capabilities: [300] Advanced Error Reporting <?>
Kernel driver in use: HDA Intel
Regards,
Tony V.
-------------- next part --------------
Codec: Generic 1102 SB0880
Address: 1
Vendor Id: 0x1102000d
Subsystem Id: 0x11020043
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
rates [0x160]: 44100 48000 96000
bits [0xa]: 16 24
formats [0x1]: PCM
Default Amp-In caps: ofs=0x67, nsteps=0x73, stepsize=0x01, mute=1
Default Amp-Out caps: ofs=0x67, nsteps=0x67, stepsize=0x01, mute=1
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x5: Stereo Amp-Out
Amp-Out caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-Out vals: [0x40 0x40]
Converter: stream=0, channel=0
Node 0x03 [Audio Output] wcaps 0x5: Stereo Amp-Out
Amp-Out caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-Out vals: [0x67 0x67]
Converter: stream=0, channel=0
Node 0x04 [Audio Output] wcaps 0x5: Stereo Amp-Out
Amp-Out caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-Out vals: [0x67 0x67]
Converter: stream=0, channel=0
Node 0x05 [Audio Output] wcaps 0x5: Stereo Amp-Out
Amp-Out caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-Out vals: [0x67 0x67]
Converter: stream=0, channel=0
Node 0x06 [Vendor Defined Widget] wcaps 0xf0001d: Stereo Amp-Out
Amp-Out caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-Out vals: [0x67 0x67]
Node 0x07 [Audio Output] wcaps 0x205: Stereo Digital Amp-Out
Amp-Out caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-Out vals: [0x67 0x67]
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
Node 0x08 [Audio Input] wcaps 0x100103: Stereo Amp-In
Amp-In caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-In vals: [0x67 0x67]
Converter: stream=0, channel=0
SDI-Select: 0
Connection: 1
0x13
Node 0x09 [Audio Input] wcaps 0x10010b: Stereo Amp-In
Amp-In caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-In vals: [0x67 0x67]
Converter: stream=0, channel=0
SDI-Select: 0
Connection: 1
0x14
Node 0x0a [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-In vals: [0x67 0x67]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xa]: 16 24
formats [0x1]: PCM
Connection: 1
0x15
Node 0x0b [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-In vals: [0x67 0x67]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xa]: 16 24
formats [0x1]: PCM
Connection: 1
0x16
Node 0x0c [Audio Input] wcaps 0x100303: Stereo Digital Amp-In
Amp-In caps: ofs=0x67, nsteps=0x7f, stepsize=0x01, mute=1
Amp-In vals: [0x67 0x67]
Converter: stream=0, channel=0
SDI-Select: 0
Digital: Copyright Non-Audio Pro GenLevel
Digital category: 0x70
Connection: 1
0x17
Node 0x0d [Pin Complex] wcaps 0x400189: Stereo
Pincap 0x0814: OUT Detect
Pin Default 0x01014010: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=00, enabled=0
Connection: 1
0x02
Node 0x0e [Pin Complex] wcaps 0x400189: Stereo
Pincap 0x0814: OUT Detect
Pin Default 0x01016011: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Orange
DefAssociation = 0x1, Sequence = 0x1
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=00, enabled=0
Connection: 1
0x03
Node 0x0f [Pin Complex] wcaps 0x400189: Stereo
Pincap 0x0814: OUT Detect
Pin Default 0x01011012: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0x1, Sequence = 0x2
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=00, enabled=0
Connection: 1
0x04
Node 0x10 [Pin Complex] wcaps 0x400189: Stereo
Pincap 0x0814: OUT Detect
Pin Default 0x01012014: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Grey
DefAssociation = 0x1, Sequence = 0x4
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=00, enabled=0
Connection: 1
0x05
Node 0x11 [Pin Complex] wcaps 0x400189: Stereo
Pincap 0x081c: OUT HP Detect
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0x0, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=00, enabled=0
Connection: 1
0x02
Node 0x12 [Pin Complex] wcaps 0x400389: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x01452130: [Jack] SPDIF Out at Ext Rear
Conn = Optical, Color = Grey
DefAssociation = 0x3, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0xc0: OUT HP
Unsolicited: tag=00, enabled=0
Connection: 1
0x07
Node 0x13 [Pin Complex] wcaps 0x400089: Stereo
Pincap 0x0824: IN Detect
Pin Default 0x01813040: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
DefAssociation = 0x4, Sequence = 0x0
Pin-ctls: 0xa0: IN HP
Unsolicited: tag=00, enabled=0
Node 0x14 [Pin Complex] wcaps 0x400089: Stereo
Pincap 0x0824: IN Detect
Pin Default 0x02a19050: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x5, Sequence = 0x0
Pin-ctls: 0xa0: IN HP
Unsolicited: tag=00, enabled=0
Node 0x15 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
Amp-In caps: N/A
Amp-In vals: [0x00 0x00]
Pincap 0x0826: IN Detect Trigger
Pin Default 0x00000000: [Jack] Line Out at Ext N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0x0, Sequence = 0x0
Pin-ctls: 0xa0: IN HP
Unsolicited: tag=00, enabled=0
Node 0x16 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
Amp-In caps: N/A
Amp-In vals: [0x00 0x00]
Pincap 0x0826: IN Detect Trigger
Pin Default 0x41911070: [N/A] Aux at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0x7, Sequence = 0x0
Pin-ctls: 0xa0: IN HP
Unsolicited: tag=00, enabled=0
Node 0x17 [Pin Complex] wcaps 0x400289: Stereo Digital
Pincap 0x0820: IN
Pin Default 0x01c51180: [Jack] SPDIF In at Ext Rear
Conn = Optical, Color = Black
DefAssociation = 0x8, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0xa0: IN HP
Unsolicited: tag=00, enabled=0
Node 0x18 [Vendor Defined Widget] wcaps 0xf00080: Mono
Unsolicited: tag=00, enabled=0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codec#1.svg
Type: image/svg+xml
Size: 25423 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20080713/9b2bbe15/attachment-0001.svg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20080713/9b2bbe15/attachment-0001.sig
More information about the Alsa-devel
mailing list