レコーダーに B-CAS カード認識させた
こいつに B-CAS カード差して適当な USB ポートに差しておく。チップ付いてるほうが上。
NTT-ME SCR3310-NTTCom
posted with amazlet at 13.07.01
pcsc-tools + 依存パッケージ入れて起動してみる。
$ sudo aptitude -y install pcscd libpcsclite1 libpcsclite-dev libccid pcsc-tools $ pcsc_scan PC/SC device scanner V 1.4.18 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> Compiled with PC/SC lite version: 1.7.4 Using reader plug'n play mechanism Scanning present readers...
なんか上記で止まってしまう。どうやら起動ファイルの修正が必要っぽい。
$ sudo vi /etc/init.d/pcscd - # DO NOT start the daemon on startup - # comment the line to have the same behavior as in version < 1.6.0 - exit 0 + # DO NOT start the daemon on startup + # comment the line to have the same behavior as in version < 1.6.0 + #exit 0
再起動すると認識されますよ。やりましたね。
$ sudo /etc/init.d/pcscd restart $ pcsc_scan PC/SC device scanner V 1.4.18 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr> Compiled with PC/SC lite version: 1.7.4 Using reader plug'n play mechanism Scanning present readers... 0: SCM SCR 3310 NTTCom [Vendor Interface] 00 00 Tue Jun 18 23:49:32 2013 Reader 0: SCM SCR 3310 NTTCom [Vendor Interface] 00 00 Card state: Card inserted, ATR: 3B F0 12 00 FF 91 81 B1 7C 45 1F 03 99 ATR: 3B F0 12 00 FF 91 81 B1 7C 45 1F 03 99 + TS = 3B --> Direct Convention + T0 = F0, Y(1): 1111, K: 0 (historical bytes) TA(1) = 12 --> Fi=372, Di=2, 186 cycles/ETU 21505 bits/s at 4 MHz, fMax for Fi = 5 MHz => 26881 bits/s TB(1) = 00 --> VPP is not electrically connected TC(1) = FF --> Extra guard time: 255 (special value) TD(1) = 91 --> Y(i+1) = 1001, Protocol T = 1 ----- TA(2) = 81 --> Protocol to be used in spec mode: T=1 - Unable to change - defined by interface bytes TD(2) = B1 --> Y(i+1) = 1011, Protocol T = 1 ----- TA(3) = 7C --> IFSC: 124 TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5 TD(3) = 1F --> Y(i+1) = 0001, Protocol T = 15 - Global interface bytes following ----- TA(4) = 03 --> Clock stop: not supported - Class accepted by the card: (3G) A 5V B 3V + Historical bytes: + TCK = 99 (correct checksum) Possibly identified card (using /usr/share/pcsc/smartcard_list.txt): 3B F0 12 00 FF 91 81 B1 7C 45 1F 03 99 Japanese Chijou Digital B-CAS Card (pay TV)