Author Topic: Request for data about newer CF cards  (Read 5025 times)

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1266
    • View Profile
Request for data about newer CF cards
« on: November 27, 2017, 03:30:20 am »
[Edit: post moved to the News forum to make it more visible]

Greguu, Alarmz's developer, is preparing a patch for the support of newer CF memory cards on Zaurus, which he'll submit to the Linux kernel once it will be ready. Each card, or family of cards, needs to be listed in a database (either inside pata_pcmcia.c or ide-cs.c) in order to be possible to mount it. The last update to it was done in 2008, so all the more recent cards cannot be recognised anymore. Before he submits the patch he'd like to fill the list with as many new entries as possible.

What we'll like to ask you is, in case you have one or more of such cards which cannot be mounted, to post in this thread the makers, names and sizes of these cards and the output of
Code: [Select]
pccardctl info
or, if pccardctl isn't available,
Code: [Select]
cat /sys/bus/pcmcia/devices/1.0/card_id
cat /sys/bus/pcmcia/devices/1.0/manf_id
cat /sys/bus/pcmcia/devices/1.0/modalias

This can be done either on a Zaurus (preferably running the latest Alarmz, which includes pccardctl) or on any PC with a CF card reader. Note that the Zaurus C3x00 models have two CF slots, 0.0 and 1.0, the external one is labeled 1.0. On other models, such as the C1000, the external CF slot is the only one available and it is labeled as 0.0.

As an example, this is the output of an (already supported) SanDisk 1GB CompactFlash SDCFJ card on my C1000:
Code: [Select]
[root@alarm ~]# pccardctl info
PRODID_1="SanDisk"
PRODID_2="SDP"
PRODID_3="5/3 0.6"
PRODID_4=""
MANFID=0045,0401
FUNCID=4

[root@alarm ~]# cat /sys/bus/pcmcia/devices/0.0/card_id
0x0401

[root@alarm ~]# cat /sys/bus/pcmcia/devices/0.0/manf_id
0x0045

[root@alarm ~]# cat /sys/bus/pcmcia/devices/0.0/modalias
pcmcia:m0045c0401f04fn00pfn00pa7A954BD9pb91844B1CpcAAC42958pd00000000

Please note that only *unsupported*, i.e. unmountable CF cards should be reported.

In the meanwhile, in order to use an unknown card there's a way to make the kernel accept it via
Code: [Select]
echo -n 1 > /sys/bus/pcmcia/devices/1.0/allow_func_id_matchNote that this is a temporary solution and it might not work with your card.

Thanks for your help.
Varti
« Last Edit: December 06, 2017, 11:01:25 am by Varti »
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1266
    • View Profile
Request for data about newer CF cards
« Reply #1 on: November 27, 2017, 05:00:50 am »
I was wondering if this could be crossposted to other forums as well, like linuxquestions.org or linuxforums.org. Also, this post seems to be related:
https://www.eevblog.com/forum/microcontroll...5158/#msg925158

Varti
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!