From: Martin P. <Mar...@ia...> - 2009-08-24 12:00:56
|
Donnie . wrote: > I have recently started working on jTss with TPM Emulator. > Unable to open TPM device file /dev/tpm. Reason: /dev/tpm (Input/output error). > Though I have changed the permissions of /dev/tpm* by using the command chmod 777, but still its not working. The TPM emulator kernel module connects to the user space daemon, communicating via (usually) /var/run/tpm/tpmd_socket:0 You need to set proper directory plus permissions for this, too. Note: This most likely does not survive a reboot. >I hav to import only the related libraries from jTss folder You need at least iaik_jtss_tsp.jar and iaik_jtss_tcs.jar, plus their .ini files (placed into the same directory) to talk to the TPM. HTH, Martin |