Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 1999 21:45:15 +0900
From:      Jun Kuriyama <kuriyama@sky.rim.or.jp>
To:        FreeBSD Mobile <freebsd-mobile@FreeBSD.ORG>
Subject:   Memory Stick
Message-ID:  <37303D5B.39BFA86E@sky.rim.or.jp>

next in thread | raw e-mail | index | archive | help
$B!!(BSONY VAIO PCG-Z505D $B$KFbB"$N(B Memory Stick $B%9%m%C%H$O$3$s$J46$8$K8+$($^(B
$B$9!#(B16MB $B$N%a%G%#%"$r;X$79~$s$@>uBV!#(B

> wdc1 at 0x170-0x177 irq 15 on isa
> wdc1: unit 0 (wd1): <MEMORYSTICK  16M 16K>
> wd1: 15MB (31680 sectors), 495 cyls, 4 heads, 16 S/T, 512 B/S

$B!!$3$l$r(B

# mount -t msdos /dev/wd1s1 /mnt

$B$H$+$9$k$H%^%&%s%H$G$-$^$9!#%a%G%#%">e$K%i%$%H%W%m%F%/%HMQ$N%9%$%C%A$,$"(B
$B$k$s$G$9$,!"$3$l$r=q9~$_6X;_$K$7$F$b0UL#L5$$$_$?$$!#$^$s$^=q$-9~$a$k!#(B
$B!!0l2s%i%$%H%W%m%F%/%H$K$7$F=q$-9~$b$&$H$7$?$i(B I/O failure ($B:F8=$G$-$J$$(B
$B$N$G$&$m3P$((B)$B$@$+$,=P$F!"$=$l$r(B umount $B$7$h$&$H$7$?$i(B OS $B$4$H8G$^$C$F$7(B
$B$^$C$?;v$,$"$j$^$7$?!#(B

$B!!$b$R$H$D!"(BMemory Stick $B$N(B PC Card Adaptor $B$G$"$k(B SONY $B$N(B MSAC-PC1 $B$H$$(B
$B$&$d$D!#$3$l$N(B dumpcis $B$O(B

> leda: {101} pccardc dumpcis
> Configuration data for card in slot 0
> Tuple #1, code = 0x1 (Common memory descriptor), length = 4
>     000:  df 4a 01 ff
>         Common memory device information:
>                 Device number 1, type Function specific, WPS = ON
>                 Speed = 4.0 x 100 ns, Memory block size = reserved, 32 units
>                 Device number 2, type No device, WPS = OFF
>                 Speed = No speed, Memory block size = 512b, 1 units
> Tuple #2, code = 0x1c (Other conditions for common memory), length = 4
>     000:  02 d9 01 ff
>          (3V card)
> Tuple #3, code = 0x18 (JEDEC descr for common memory), length = 2
>     000:  df 01
> Tuple #4, code = 0x20 (Manufacturer ID), length = 4
>     000:  f1 00 00 00
>         PCMCIA ID = 0xf1, OEM ID = 0x0
> Tuple #5, code = 0x15 (Version 1 info), length = 30
>     000:  04 01 53 4f 4e 59 00 4d 45 4d 4f 52 59 53 54 49
>     010:  43 4b 28 20 31 36 4d 29 00 31 2e 30 00 ff
>         Version = 4.1, Manuf = [SONY], card vers = [MEMORYSTICK( 16M)]
>         Addit. info = [1.0]
> Tuple #6, code = 0x21
> Tuple #6, code = 0x21 (Functional ID), length = 2
>     000:  04 01
>         Fixed disk card - POST initialize
> Tuple #7, code = 0x22 (Functional EXT), length = 2
>     000:  01 01
>         Disk interface: IDE
> Tuple #8, code = 0x22 (Functional EXT), length = 3
>     000:  02 0c 0f
>         Disk features: Silicon, Unique, Single
>                 Sleep, Standby, Idle, Low power,
> Tuple #9, code = 0x1a (Configuration map), length = 5
>     000:  01 03 00 02 0f
>         Reg len = 2, config register addr = 0x200, last config = 0x3
>         Registers: XXXX----
> Tuple #10, code = 0x1b (Configuration entry), length = 8
>     000:  c0 c0 a1 01 55 08 00 20
>         Config index = 0x0(default)
>         Interface byte = 0xc0 (memory)  +RDY/-BSY active, wait signal supported
>         Vcc pwr:
>                 Nominal operating supply voltage: 5 x 1V
>         Memory space length = 0x8
>         Max twin cards = 0
>         Misc attr: (Power down supported)
> Tuple #11, code = 0x1b (Configuration entry), length = 6
>     000:  00 01 21 b5 1e 0e
>         Config index = 0x0
>         Vcc pwr:
>                 Nominal operating supply voltage: 3 x 1V, ext = 0x1e
>                 Max current average 0x1e
>                 Max current averagee over 10 ms: 1.2 x 100mA
> Tuple #12, code = 0x1b (Configuration entry), length = 10
>     000:  c1 41 99 01 55 64 f0 ff ff 20
>         Config index = 0x1(default)
>         Interface byte = 0x41 (I/O)  +RDY/-BSY active
>         Vcc pwr:
>                 Nominal operating supply voltage: 5 x 1V
>         Card decodes 4 address lines, full 8/16 Bit I/O
>                 IRQ modes: Level, Pulse, Shared
>                 IRQs:  0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
>         Max twin cards = 0
>         Misc attr: (Power down supported)
> Tuple #13, code = 0x1b (Configuration entry), length = 6
>     000:  01 01 21 b5 1e 4d
>         Config index = 0x1
>         Vcc pwr:
>                 Nominal operating supply voltage: 3 x 1V, ext = 0x1e
>                 Max current average over 10 ms: 4.5 x 10mA
> Tuple #14, code = 0x1b (Configuration entry), length = 15
>     000:  c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee 20
>         Config index = 0x2(default)
>         Interface byte = 0x41 (I/O)  +RDY/-BSY active
>         Vcc pwr:
>                 Nominal operating supply voltage: 5 x 1V
>         Card decodes 10 address lines, full 8/16 Bit I/O
>                 I/O address # 1: block start = 0x1f0 block length = 0 = 0x1f0 bl
> ock length = 0x8
>                 I/O address # 2: block start = 0x3f6 block length = 0x2
>                 IRQ modes: Level, Pulse, Shared
>                 IRQ level = 14
>         Max twin cards = 0
>         Misc attr: (Power down supported)
> Tuple #15, code = 0x1b (Configuration entry), length = 6
>     000:  02 01 21 b5 1e 4d
>         Config index = 0x2
>         Vcc pwr:
>                 Nominal operating supply voltage: 3 x 1V, ext = 0x1e
>                 Max current average over 10 ms: 4.5 x 10mA
> Tuple #16, code = 0x1b (Configuration entry), length = 15
>     000:  c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee 20
>         Config index = 0x3(default)
>         Interface byte = 0x41 (I/O)  +RDY/-BSY active
>         Vcc pwr:
>                 Nominal operating supply voltage: 5 x 1V
>         Card decodes 10 address lines, full 8/16 Bit I/O
>                 I/O address # 1: block start = 0x170 block length = 0x8
>                 I/O address # 2: block start = 0x376 block length = 0x2
>                 IRQ modes: Level, Pulse, Shared
>                 IRQ level = 14
>         Max twin cards = 0
>         Misc attr: (Power down supported)
> Tuple #17, code = 0x1b (Configuration entry), length = 6
>     000:  03 01 21 b5 1e 4d
>         Config index =  b5 1e 4d
>         Config index =  0x3
>         Vcc pwr:
>                 Nominal operating supply voltage: 3 x 1V, ext = 0x1e
>                 Max current average over 10 ms: 4.5 x 10mA
> Tuple #18, code = 0x14 (No link), length = 0
> Tuple #19, code = 0xff (Terminator), length = 0
> 1 slots found

$B$H$$$&46$8!#(B/etc/pccard.conf $B$K(B

> io 0x240-0x2e0 0x300-0x360
> memoryy 0xd4000 96k
>
> card "SONY" "MEMORYSTICK\( 16M\)"
>         config  0x3 "wdc1" 7
>         insert  echo SONY Memory Stick inserted
>         remove  echo SONY Memory Stick removed

$B$H$7$F$_$?$N$G$9$,!"(BResource allocation failure $B$N(B Reason I/O block
allocation failed $B$C$F1>$o$l$F$&$^$/$$$-$^$;$s$G$7$?!#$=$l0JA0$K(B Flash
ATA $B$H$+;H$C$?;vL5$$$N$G8+Ev30$l$N$3$H$r$7$F$$$k$h$&$J5$$,$9$k$1$I!#(B
$B!!(Bwdc1 $B$N(B wd1 $B$,(B Memory Stick $B$N%9%m%C%H$G$9$G$K;H$o$l$A$c$C$F$k$N$,$$$+(B
$B$s$N$+$J!#(B


-- 
$B$/$j$d$^(B // kuriyama@sky.rim.or.jp
        // kuriyama@FreeBSD.ORG


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37303D5B.39BFA86E>