All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tony \"Chainsaw\" Vroon" <chainsaw@gentoo.org>
To: alsa-devel@alsa-project.org
Subject: SB0880 X-Fi Titanium Fatal1ty Pro (with codecgraph)
Date: Sun, 13 Jul 2008 22:51:42 +0100	[thread overview]
Message-ID: <1215985902.4196.11.camel@localhost> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 3495 bytes --]

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.

[-- Attachment #1.1.2: codec#1 --]
[-- Type: text/plain, Size: 6265 bytes --]

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

[-- Attachment #1.1.3: codec#1.svg --]
[-- Type: image/svg+xml, Size: 25423 bytes --]

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

             reply	other threads:[~2008-07-13 21:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-13 21:51 Tony "Chainsaw" Vroon [this message]
2008-07-14 10:57 ` SB0880 X-Fi Titanium Fatal1ty Pro (with codecgraph) Takashi Iwai
2008-07-14 13:23   ` Maximilian Güntner
2008-07-14 13:30     ` Takashi Iwai
2008-07-14 13:59       ` Maximilian Güntner
2008-07-14 14:05         ` Takashi Iwai
2008-07-14 21:35           ` Tony Vroon
2008-07-14 21:29   ` Tony "Chainsaw" Vroon
2008-07-14 23:38   ` Tony "Chainsaw" Vroon
2008-07-15 17:22   ` Tony "Chainsaw" Vroon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1215985902.4196.11.camel@localhost \
    --to=chainsaw@gentoo.org \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.