Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 21:23:19 +0100 (CET)
From:      Attila Nagy <bra@fsn.hu>
To:        mobile@freebsd.org
Subject:   ATA flash card under 4-STABLE
Message-ID:  <Pine.LNX.4.44.0203222119400.24105-100000@scribble.fsn.hu>

next in thread | raw e-mail | index | archive | help
Hello,

I'm very new to this area, so if I ask something something, which is
trivial and the solution is well documented, please direct me to the Fine
Manual.

So. I got a PC104 stuff, it's a PCM-4823, a 486-based single board
computer. It has a PCM-3110 module installed on it, which is a PCMCIA
device which can accept (according to some webpage) ATA flash cards.
I also have a PQI 128 MB Compact Flash flashcard. I don't know any further
information about this one. It has a P/N of FC128 and nothing more. The
manufacturer's webpage is at http://www.pqiusa.com/.

Because I could not do anything with the flashcard, I installed FreeBSD
onto a 2.5" HDD, then I upgraded it to 4-STABLE. The kernel is
GENERIC.

Without /etc/pccard.conf the system produces this:

Mar 22 23:11:02 keksz /kernel: pccard: card inserted, slot 0
Mar 22 23:11:07 keksz pccardd[40]: Card "128MB"("       ") [5.0] [(null)] has function ID 4
Mar 22 23:11:12 keksz pccardd[40]: driver allocation failed for (null)((null)): Device not configured

pccardc dumpcis output is:
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 = 2Kb, 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:  07 00 00 00
	PCMCIA ID = 0x7, OEM ID = 0x0
Tuple #5, code = 0x15 (Version 1 info), length = 21
    000:  04 01 31 32 38 4d 42 00 20 20 20 20 20 20 20 00
    010:  35 2e 30 00 ff
	Version = 4.1, Manuf = [128MB], card vers = [       ]
	Addit. info = [5.0]
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 40 a1 01 55 08 00 20
	Config index = 0x0(default)
	Interface byte = 0x40 (memory)  +RDY/-BSY active
	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 4d
	Config index = 0x0
	Vcc pwr:
		Nominal operating supply voltage: 3 x 1V, ext = 0x1e
		Max current average over 10 ms: 4.5 x 10mA
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 = 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 = 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
2 slots found

What should I do to use this card?

Thanks,
--------[ Free Software ISOs - ftp://ftp.fsn.hu/pub/CDROM-Images/ ]-------
Attila Nagy					e-mail: Attila.Nagy@fsn.hu
Free Software Network (FSN.HU)		  phone @work: +361 210 1415 (194)
						cell.: +3630 306 6758



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?Pine.LNX.4.44.0203222119400.24105-100000>