From owner-freebsd-mobile Wed May 5 5:46:17 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.kt.rim.or.jp (mail.kt.rim.or.jp [202.247.130.53]) by hub.freebsd.org (Postfix) with ESMTP id A565A14CCD for ; Wed, 5 May 1999 05:46:08 -0700 (PDT) (envelope-from kuriyama@sky.rim.or.jp) Received: from moon.sky.rim.or.jp (ppp516.kt.rim.or.jp [202.247.140.166]) by mail.kt.rim.or.jp (8.8.8/3.6W-RIMNET-98-06-09) with ESMTP id VAA08140 for ; Wed, 5 May 1999 21:46:06 +0900 (JST) Received: from sky.rim.or.jp (earth.sky.rim.or.jp [192.168.1.2]) by moon.sky.rim.or.jp (8.8.8/3.5Wpl4/moon-1.0) with ESMTP id VAA01985 for ; Wed, 5 May 1999 21:46:04 +0900 (JST) Message-ID: <37303D5B.39BFA86E@sky.rim.or.jp> Date: Wed, 05 May 1999 21:45:15 +0900 From: Jun Kuriyama X-Mailer: Mozilla 4.06 [ja] (Win95; I) MIME-Version: 1.0 To: FreeBSD Mobile Subject: Memory Stick Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org  SONY VAIO PCG-Z505D に内蔵の Memory Stick スロットはこんな感じに見えま す。16MB のメディアを指し込んだ状態。 > wdc1 at 0x170-0x177 irq 15 on isa > wdc1: unit 0 (wd1): > wd1: 15MB (31680 sectors), 495 cyls, 4 heads, 16 S/T, 512 B/S  これを # mount -t msdos /dev/wd1s1 /mnt とかするとマウントできます。メディア上にライトプロテクト用のスイッチがあ るんですが、これを書込み禁止にしても意味無いみたい。まんま書き込める。  一回ライトプロテクトにして書き込もうとしたら I/O failure (再現できない のでうろ覚え)だかが出て、それを umount しようとしたら OS ごと固まってし まった事がありました。  もひとつ、Memory Stick の PC Card Adaptor である SONY の MSAC-PC1 とい うやつ。これの dumpcis は > 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 という感じ。/etc/pccard.conf に > 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 としてみたのですが、Resource allocation failure の Reason I/O block allocation failed って云われてうまくいきませんでした。それ以前に Flash ATA とか使った事無いので見当外れのことをしているような気がするけど。  wdc1 の wd1 が Memory Stick のスロットですでに使われちゃってるのがいか んのかな。 -- くりやま // 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