TPM on Thinkpad T43

From: Jens Taprogge
Date: Fri Jun 10 2005 - 14:39:38 EST


Hello Kylie,

I have followed your discussion on LKML titled "TPM on IBM thinkcenter
S51". I seem to have a very similar problem with the TPM in a T43
laptop.

I added the additional PCI IDs but that is not enough to make the driver
detect the chip. Additionally the value of NSC_SID_INDEX is 0xFF
instead of 0xFE.

Changing that in the driver gives the following debug output:
tpm_nsc 0000:00:1f.0: NSC TPM detected
tpm_nsc 0000:00:1f.0: NSC LDN 0xff, SID 0xff, SRID 0xff
tpm_nsc 0000:00:1f.0: NSC SIOCF1 0xff SIOCF5 0xff SIOCF6 0xff SIOCF8 0xff
tpm_nsc 0000:00:1f.0: NSC IO Base0 0xffff
tpm_nsc 0000:00:1f.0: NSC IO Base1 0xffff
tpm_nsc 0000:00:1f.0: NSC Interrupt number and wakeup 0xff
tpm_nsc 0000:00:1f.0: NSC IRQ type select 0xff
tpm_nsc 0000:00:1f.0: NSC DMA channel select0 0xff, select1 0xff
tpm_nsc 0000:00:1f.0: NSC Config 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff
tpm_nsc 0000:00:1f.0: NSC PC21100 TPM revision 31

Trying to read from /sys/class/misc/tpm0/device/pcrs results in:
tpm_nsc 0000:00:1f.0: IBF timeout
tpm_nsc 0000:00:1f.0: tpm_transmit: tpm_send: error 4294967291

I am guessing that this is indeed not a NSC chip.

I also tried using the Atmel driver by adding the same PCI IDs. But
again the reading of registers 4..7 indicated it is not.

Do you have an idea on how to get the device working?

Best Regards
Jens

PS: I am not subscribed to LKML, so please send copies of replies to me.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/