From owner-FreeBSD-users-jp@jp.freebsd.org  Tue Dec  9 17:17:46 1997
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) id RAA12528
	Tue, 9 Dec 1997 17:17:46 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.8+3.0Wbeta7/8.7.3) with ESMTP id RAA12511
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 9 Dec 1997 17:17:09 +0900 (JST)
Received: from spec.co.jp ([202.32.13.219]) by specgw.spec.co.jp (8.8.7/3.3Wb-SPEC) with ESMTP id RAA18828; Tue, 9 Dec 1997 17:16:34 +0900 (JST)
Message-ID: <348CFE5D.C5742687@spec.co.jp>
Date: Tue, 09 Dec 1997 17:16:29 +0900
From: Atsushi Murai <amurai@spec.co.jp>
Organization: SPEC
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
To: FreeBSD-users-jp@jp.freebsd.org
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=24]
X-Sequence: FreeBSD-users-jp 22026
Subject: [FreeBSD-users-jp 22026] PCMCIA(PAO) with Paldio 321S
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B$3$s$K$A$O!#B<0f!w#S#P#E#C$G$9!#$A$g$C$HD9$$$G$9$,!%!%!%!%(B

$B#1!%G==q(B
 $B!!$A$g$C$H$7$?0B@A$19g$$$G(BPHS$B7HBS$H#P#C%+!<%I$,9gBN$7$?(BPaldio 321S$B$H8@$&(B
$B3F%5%]!<%H!&%j%9%H5Z$S(BFAQ$B$K$b$G$F$-$F$$$J$$%b%G%`%+!<%I$r!VK?(BMS$B<R$N(B*95$B$NI8=`(B
$B%b%G%`%I%i%$%P!<7PM3$G(BAT$B%3%^%s%I$,$?$?$1$k!W!&!V%+!<%I%9%m%C%H$+$iEE8;6!5k(B
$B2DG=$G=<EE$N<j4V$,L5$$!W$H$$$C$?M}M3$G!V(BFreeBSD$B$G$b;H$($k$H?.$8$F!W!!$3$3#2!&(B
$B#3F|!"$O$^$C$F$*$j$^$9!#$=$l$G$b(BPCMCIA$B$O$^$C$?$/$NAG?M$J$,$i8=>]$,8+$($F$-$?(B
$B$N$G$9$,!"G!2?$;(BPCMCIA$B$OAG?M$f$(!"@h?M$NJ}!9$+$i$42sEz$"$k$$$O%R%s%H$N$465<((B
$B$$$?$@$1$l$P=u$+$j$^$9!#!J$A$J$_4D6-$OLu$"$C$F(B-current$B$G$9!#(B)

2. $B@_Dj(B

$B!!(B 1) /etc/pccard.conf($BH4?h(B)
   # NTT DoCoMo DATA/FAX Adapter
   card "NTT Personal" "32K Paldio 321S PC CARD"
        config  0x22 "sio2" 11
        insert  echo NTT Personal 32K Paldio 321S PC CARD inserted
        remove  echo NTT Personal 32K Paldio 321S PC CARD removed

   # NTT-IT CO., LTD ThunderCard AVF288, V.34
   card "NTT-IT CO., LTD" "ThunderCard AVF288, V.34"
        config  0x22 "sio2" 11
        insert  echo NTT-IT CO., LTD ThunderCard AVF288, V.34 inserted
        insert  echo NTT-IT CO., LTD ThunderCard AVF288, V.34 removed
   
   2)  /usr/src/sys/i386/conf/MINE($BH4?h(B)
   device          apm0    at isa? flags 0x31      # Advanced Power Management

   # PCCARD (PCMCIA) support
   controller      card0
   device          pcic0   at card?
   device          pcic1   at card?
   device          sio2    at isa? disable port "IO_COM3" tty irq 11 vector
siointr

   options PSM_HOOKAPM             #hook the APM resume event
   options PSM_RESETAFTERSUSPEND   #reset the device at the resume event


3$B!%>I>u(B
    1) sio.c$B$N(Bprobe$BItJ,$G3NG'$,<:GT$9$k;v$K$h$j(BSIO$B%I%i%$%P!<$,F3F~$5$l$J$$!#(B
       $B>0!"$3$N(Bprobe$B%k!<%A%s$KBP$7$F$O(Bpccard$B$N>l9g$K<:GT$9$k%1!<%9$,4v$D$+(B
       $B$"$k$H$N;v$G@hHL8x3+$5$l$?(BPAO-19971206$B$+$i(Bprobe$B$N0lIt$r(BPCCARD$B$G$O(B
       $B%O%7%g%k%3!<%I5Z$S3F=j$K(BExtra DELAY$B$r$$$l$F$_$?$,JQ2=$J$7!#(B

       sio2: Warning: irq_pending error.
       sio2: Warning: IIR status error.
       sio2: probe test 2 failed

    2) $BF1$84D6-$G(B"NTT-IT CO., LTD" "ThunderCard AVF288, V.34"$B$r:9$9$H40`z$K(B
       $BG'<1$9$k!#(Bcu -l /dev/cuaa2 -s 57600$B$H$+$G$A$c$s$H(BAT$B%3%^%s%I$bBG$F$k!#(B


4. $BAG?M$NA[A|5Z$S$4<ALd(B($B>P(B)
    1) Paldio 321S$B$N;~!"(BI/O$B%]!<%H(B0x3e8$B$NFbMF$r(Bprintf$BEy$GI=<($5$;$k$H(B0xff$B$H$+(B
       $B$K$J$C$F$$$kMM$K8+$($k!]!d$b$7$+$7$F$A$c$s$H%+!<%I$,%^%C%W$5$l$F$$$J(B
       $B$$!)(B

    2) pccardd$B$N%=!<%9%3!<%I$r8+$k$H(BI/O address line == 10$B$H$+8@$&%3%a%s%H$,(B
       $B$"$k$,(BPaldio$B$N>l9g(BI/O address line$B$,(B 11$B$rJV$*$j!"$=$N=hM}J}K!$O(B10$B$N;~(B
       $B$HF1$8$K8+$($k$,$=$l$G$$$$$N$+!)(B

    3) Palido 321S$B$N>l9g(BIRQ modes$B$,(Blevel$B$H$J$C$F$$$k$,$3$l$O!)(B

5. "pccardc dumpcis"$B$NFbMF(B
-------------------------- Paldio 321S -----------------------------------
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  00 00 ff
        Common memory device information:
                Device number 1, type No device, WPS = OFF
                Speed = No speed, Memory block size = 512b, 1 units
Tuple #2, code = 0x15 (Version 1 info), length = 40
    000:  04 01 4e 54 54 20 50 65 72 73 6f 6e 61 6c 00 33
    010:  32 4b 20 50 61 6c 64 69 6f 20 33 32 31 53 20 50
    020:  43 20 43 41 52 44 00 ff
        Version = 4.1, Manuf = [NTT Personal],card vers = [32K Paldio 321S PC
C
ARD]
        Addit. info = [\xff],[]
Tuple #3, code = 0x1a (Configuration map), length = 5
    000:  01 23 00 02 0f
        Reg len = 2, config register addr = 0x200, last config = 0x23
        Registers: XXXX----
Tuple #4, code = 0x1b (Configuration entry), length = 14
    000:  e0 41 99 01 55 ab 60 f8 03 07 30 b8 86 20
        Config index = 0x20(default)
        Interface byte = 0x41 (I/O)  +RDY/-BSY active
        Vcc pwr:
                Nominal operating supply voltage: 5 x 1V
        Card decodes 11 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x3f8 block length = 0x8
                IRQ modes: Level
                IRQs:  4 5 11 12 13 15
        Max twin cards = 0
        Misc attr: (Power down supported)
Tuple #5, code = 0x1b (Configuration entry), length = 7
    000:  21 08 ab 60 f8 02 07
        Config index = 0x21
        Card decodes 11 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x2f8 block length = 0x8
Tuple #6, code = 0x1b (Configuration entry), length = 7
    000:  22 08 ab 60 e8 03 07
        Config index = 0x22
        Card decodes 11 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x3e8 block length = 0x8
Tuple #7, code = 0x1b (Configuration entry), length = 7
    000:  23 08 ab 60 e8 02 07
        Config index = 0x23
        Card decodes 11 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x2e8 block length = 0x8
Tuple #8, code = 0x20 (Manufacturer ID), length = 4
    000:  b0 00 00 00
        PCMCIA ID = 0xb0, OEM ID = 0x0
Tuple #9, code = 0x21 (Functional ID), length = 2
    000:  02 00
        Serial port/modem
Tuple #10, code = 0x22 (Functional EXT), length = 4
    000:  00 02 0f 7f
        Serial interface extension:
                16550 UART, Parity - Space,Mark,Odd,Even,
Tuple #11, code = 0x22 (Functional EXT), length = 9
    000:  01 1f 3f 00 10 00 00 10 00
        Modem interface capabilities:
Tuple #12, code = 0x22 (Functional EXT), length = 12
    000:  02 06 00 00 00 00 01 07 07 00 00 00
        Data modem services available:
Tuple #13, code = 0xff (Terminator), length = 0
2 slots found
-------------------------- ThunderCard -----------------------------------
onfiguration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 2
    000:  00 ff
        Common memory device information:
                Device number 1, type No device, WPS = OFF
                Speed = No speed, Memory block size = reserved, 32 units
Tuple #2, code = 0x15 (Version 1 info), length = 44
    000:  04 01 4e 54 54 2d 49 54 20 43 4f 2e 2c 20 4c 54
    010:  44 00 54 68 75 6e 64 65 72 43 61 72 64 20 41 56
    020:  46 32 38 38 2c 20 56 2e 33 34 00 ff
        Version = 4.1, Manuf = [NTT-IT CO., LTD],card vers = [ThunderCard
AVF28
8, V.34]
        Addit. info = [\xff],[]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  31 01 c8 02
        PCMCIA ID = 0x131, OEM ID = 0x2c8
Tuple #4, code = 0x21 (Functional ID), length = 2
    000:  02 00
        Serial port/modem
Tuple #5, code = 0x22 (Functional EXT), length = 4
    000:  00 02 0f 5c
        Serial interface extension:
                16550 UART, Parity - Space,Mark,Odd,Even,
Tuple #6, code = 0x22 (Functional EXT), length = 13
    000:  02 06 00 3f 3c 03 03 0f 07 00 00 b5 20
        Data modem services available:
Tuple #7, code = 0x22 (Functional EXT), length = 9
    000:  05 1f 0d 00 03 00 00 03 00
        Modem interface capabilities:
Tuple #8, code = 0x22 (Functional EXT), length = 9
    000:  13 06 00 0f 00 00 00 b5 20
Tuple #9, code = 0x22 (Functional EXT), length = 9
    000:  23 06 00 0f 00 00 00 b5 20
Tuple #10, code = 0x22 (Functional EXT), length = 9
    000:  06 1f 0d 00 06 00 00 06 00
        Modem interface capabilities:
Tuple #11, code = 0x22 (Functional EXT), length = 18
    000:  84 06 00 0b 02 07 14 00 02 00 04 00 08 00 10 00
    010:  00 00
Tuple #12, code = 0x22 (Functional EXT), length = 9
    000:  07 1f 0d 00 06 00 00 06 00
        Modem interface capabilities:
Tuple #13, code = 0x1a (Configuration map), length = 5
    000:  01 30 00 02 17
        Reg len = 2, config register addr = 0x200, last config = 0x30
        Registers: XXX-X---
Tuple #14, code = 0x1b (Configuration entry), length = 19
    000:  e0 41 9d 78 26 26 2e 0d e7 5f aa 60 f8 03 07 30
    010:  ff ff 28
        Config index = 0x20(default)
        Interface byte = 0x41 (I/O)  +RDY/-BSY active
        Vcc pwr:
                Continuous supply current: 2 x 100mA
                Max current average over 1 second: 2 x 100mA
                Max current average over 10 ms: 2.5 x 100mA
                Power down supply current: 1.2 x 10mA
        RDY/BSY scale Speed = 5.0 x 10 ms, scaled by 10
        Card decodes 31 address lines, limited 8/16 Bit I/O
                IRQ modes:  Pulse
                IRQs:  NMI IOCK BERR VEND 0 1 2 3 4 6 9 11 13 15
        Max twin cards = 0
        Misc attr: (Audio-BVD2) (Read-only) (Power down supported) (Ext byte =
0x3)
Tuple #15, code = 0x1b (Configuration entry), length = 7
    000:  21 08 aa 60 f8 02 07
        Config index = 0x21
        Card decodes 10 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x2f8 block length = 0x8
Tuple #16, code = 0x1b (Configuration entry), length = 7
    000:  22 08 aa 60 e8 03 07
        Config index = 0x22
        Card decodes 10 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x3e8 block length = 0x8
Tuple #17, code = 0x1b (Configuration entry), length = 7
    000:  23 08 aa 60 e8 02 07
        Config index = 0x23
        Card decodes 10 address lines, 8 Bit I/O only
                I/O address # 1: block start = 0x2e8 block length = 0x8
Tuple #18, code = 0x1b (Configuration entry), length = 3
    000:  30 08 23
        Config index = 0x30
        Card decodes 3 address lines, 8 Bit I/O only
Tuple #19, code = 0x14 (No link), length = 0
Tuple #20, code = 0xff (Terminator), length = 0
2 slots found
-- 
Atsushi Murai                 Internet: amurai@spec.co.jp amurai@freebsd.org
System Planning and Engineering Co.,Ltd.       Voice   : +81-33833-5341
PGP Key fingerprint : 1C 27 22 77 11 43 64 90  9E 5E 68 CE 65 BD 68 06
PGP Public Key      : http://www.pgp.com/keyserver/pks-lookup.cgi
