To integrate an Compact Flash Card with hot PnP ability we use a pccard
interface with a CF card adapter. The CF is DOS formatted. We followed
the instruction of the QNX Knowledge Base #000010269. The item 4 is the
last item which runs. Thereafter there are problems …
In the /dev directory I do not see ONE new device (/dev/hd1)… I see TWO
new devices (/dev/hd1 and /dev/hd2) ???
I can not run fdisk because there are an internal conflict … see the
following:
#fdisk /dev/hd1
FDISK: ‘/dev/hd1’ may not be formatted - I/O error reading partition
table.
Physical disk characteristics: (/dev/hd1)
Disk type : Direct Access (0)
Disk flags : NO_MEDIA REMOVABLE (0x0036)
Cylinders : 1001
Heads : 4
Sectors/Track : 32
Bytes/Sector : 512
Total Sectors : 128129
Warning: total sectors field does not agree with
cylinderssectors/trackheads!! (128129 vs 128128)
Logical disk characteristics:
partition offset = 0 blocks
partition size = 0 blocks
pccard information tools says following:
#pin
Sock Func Type Flags PID Base Size IRQ
1 Empty ----MF---------- None
1 Empty ----MF---------- None
2 0 Disk C—I-±-------- None 0x200 16 5
2 Empty ----MF---------- None
#pin cis
Socket : 1 - Function : 0
Device : Function Specific 2k
Other conditions (com) : MWait 3.3V
Device : Function Specific 2k
Common memory JEDEC : 0xdf01
Manufacturer ID : 0x0 0x0
Card tuple version : 4.01
Manufacturer :
Name of Product : CF 64MB CT
Add’nl info (lot #) : 4.0
PC Card function : Fixed Disk
POST : 0x1
Tuple 0x22 link=2 : 01 01
Tuple 0x22 link=3 : 02 0c 0f
Configuration base/st : 0x200 0-subtuples
Configuration Index : 0x0 Default
Interface : MWait Req’d, RdyBsy Active, Memory
Feature : 0xa1
Memory Space : 0x0-0x7ff
Misc :
Configuration Index : 0x0
Feature : 0x1
Configuration Index : 0x1 Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus16 Bus8 0x0-0xF(4 lines)
IRQ Description : Share Pulse Level 0 1 2 3 4 5 6 7 8 9 10 11
12 13 14 15
Misc :
Configuration Index : 0x1
Feature : 0x1
Configuration Index : 0x2 Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus16 Bus8 0x1F0-0x1F7 0x3F6-0x3F7
IRQ Description : Share Pulse Level 14
Misc :
Configuration Index : 0x2
Feature : 0x1
Configuration Index : 0x3 Last Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus16 Bus8 0x170-0x177 0x376-0x377
IRQ Description : Share Pulse Level 14
Misc :
Configuration Index : 0x3 Last
Feature : 0x1
The CF is OK. I can access normally to the card via IDE adapter.
Under Windows the pccard functions are OK.
One of the card controller is a Cirrus Logic PD6722
All this described problems are reproduced on other (different) pccard
hardware under QNX also.
Thanks