the illuminati
18-05-2011, 08:13 PM
just to inform you that we got CR working so it will be included in next version
[ 2276.861000] sci: SMP8xxx driver loaded (rd_buffer_size = 256, wr_buffer_size = 256, freq = 3571200, interfaces = 1)
[ 2276.898000] sci0: card state change 0->1
[ 2276.902000] sci0: scard present detected.
[ 2276.906000] sci0: enabled smartcard interface.
[ 2280.936000] scard_open :: scard_priv[minor=0].b_mode = 0
[ 2280.942000] scard_ioctl :: cmd = 80247305
[ 2280.946000] ioctl IOCTL_GET_PARAMETERS: sci0
[ 2280.951000] scard_ioctl :: cmd = 80247304
[ 2280.956000] ioctl IOCTL_SET_PARAMETERS: sci0
[ 2280.961000] T=0 f=3571200 EGT=1 ETU=372
[ 2280.965000] scard_ioctl :: cmd = 80047308
[ 2280.970000] ioctl IOCTL_GET_IS_CARD_PRESENT: sci0 -> 1
[ 2280.976000] scard_ioctl :: cmd = 80047301
[ 2280.980000] clk = 28 | tangox_get_sysclock() = 200250000 | frequency = 3571200 | cold = 1
[ 2280.991000] sci0: scard activation starts ..
[ 2280.995000] sci0: Try 5V ..
[ 2281.004000] Sleep for 1000 jiffies.
[ 2281.014000] sci0: got data 0x23 (cnt: 1)
[ 2281.014000] sci0: error interrupt (status: 0x0000000c)
[ 2281.014000] sci0: SCARD_CTRL : 0x081577e0
[ 2282.004000] Wrong ts detected 0x23 (need to reverse the polarity and MSB)
[ 2282.011000] clk = 28 | tangox_get_sysclock() = 200250000 | frequency = 3571200 | cold = 0
[ 2282.022000] sci0: scard activation starts ..
[ 2282.026000] sci0: Try 5V ..
[ 2282.034000] Sleep for 1000 jiffies.
[ 2282.039000] sci0: got data 0x3b (cnt: 2)
[ 2282.265000] sci0: got data 0xf7 (cnt: 3)
[ 2282.265000] sci0: got data 0x11 (cnt: 4)
[ 2282.265000] sci0: got data 0x0 (cnt: 5)
[ 2282.265000] sci0: got data 0x1 (cnt: 6)
[ 2282.265000] sci0: got data 0x40 (cnt: 7)
[ 2282.265000] sci0: got data 0x96 (cnt: 8)
[ 2282.265000] sci0: got data 0x70 (cnt: 9)
[ 2282.265000] sci0: got data 0x70 (cnt: 10)
[ 2282.265000] sci0: got data 0xa (cnt: 11)
[ 2282.265000] sci0: got data 0xe (cnt: 12)
[ 2282.265000] sci0: got data 0x6c (cnt: 13)
[ 2282.265000] sci0: got data 0xb6 (cnt: 14)
[ 2282.265000] sci0: got data 0xd6 (cnt: 15)
[ 2282.265000] sci0: got data 0x90 (cnt: 16)
[ 2282.265000] sci0: got data 0x0 (cnt: 17)
[ 2283.034000] Correct ts detected 0x3b
[ 2283.034000] sci0: got response from the scard --> switch to normal
[ 2276.861000] sci: SMP8xxx driver loaded (rd_buffer_size = 256, wr_buffer_size = 256, freq = 3571200, interfaces = 1)
[ 2276.898000] sci0: card state change 0->1
[ 2276.902000] sci0: scard present detected.
[ 2276.906000] sci0: enabled smartcard interface.
[ 2280.936000] scard_open :: scard_priv[minor=0].b_mode = 0
[ 2280.942000] scard_ioctl :: cmd = 80247305
[ 2280.946000] ioctl IOCTL_GET_PARAMETERS: sci0
[ 2280.951000] scard_ioctl :: cmd = 80247304
[ 2280.956000] ioctl IOCTL_SET_PARAMETERS: sci0
[ 2280.961000] T=0 f=3571200 EGT=1 ETU=372
[ 2280.965000] scard_ioctl :: cmd = 80047308
[ 2280.970000] ioctl IOCTL_GET_IS_CARD_PRESENT: sci0 -> 1
[ 2280.976000] scard_ioctl :: cmd = 80047301
[ 2280.980000] clk = 28 | tangox_get_sysclock() = 200250000 | frequency = 3571200 | cold = 1
[ 2280.991000] sci0: scard activation starts ..
[ 2280.995000] sci0: Try 5V ..
[ 2281.004000] Sleep for 1000 jiffies.
[ 2281.014000] sci0: got data 0x23 (cnt: 1)
[ 2281.014000] sci0: error interrupt (status: 0x0000000c)
[ 2281.014000] sci0: SCARD_CTRL : 0x081577e0
[ 2282.004000] Wrong ts detected 0x23 (need to reverse the polarity and MSB)
[ 2282.011000] clk = 28 | tangox_get_sysclock() = 200250000 | frequency = 3571200 | cold = 0
[ 2282.022000] sci0: scard activation starts ..
[ 2282.026000] sci0: Try 5V ..
[ 2282.034000] Sleep for 1000 jiffies.
[ 2282.039000] sci0: got data 0x3b (cnt: 2)
[ 2282.265000] sci0: got data 0xf7 (cnt: 3)
[ 2282.265000] sci0: got data 0x11 (cnt: 4)
[ 2282.265000] sci0: got data 0x0 (cnt: 5)
[ 2282.265000] sci0: got data 0x1 (cnt: 6)
[ 2282.265000] sci0: got data 0x40 (cnt: 7)
[ 2282.265000] sci0: got data 0x96 (cnt: 8)
[ 2282.265000] sci0: got data 0x70 (cnt: 9)
[ 2282.265000] sci0: got data 0x70 (cnt: 10)
[ 2282.265000] sci0: got data 0xa (cnt: 11)
[ 2282.265000] sci0: got data 0xe (cnt: 12)
[ 2282.265000] sci0: got data 0x6c (cnt: 13)
[ 2282.265000] sci0: got data 0xb6 (cnt: 14)
[ 2282.265000] sci0: got data 0xd6 (cnt: 15)
[ 2282.265000] sci0: got data 0x90 (cnt: 16)
[ 2282.265000] sci0: got data 0x0 (cnt: 17)
[ 2283.034000] Correct ts detected 0x3b
[ 2283.034000] sci0: got response from the scard --> switch to normal