PCMCI card reader - failure to detect

Vladimir Grebenschikov vova at sw.ru
Tue Jul 10 10:58:41 UTC 2007


Hi
# sysctl -w hw.pccard.debug=1
# sysctl -w hw.pccard.cis_debug=1
# sysctl -w hw.cbb.debug=1
# uname -a
FreeBSD vbook.fbsd.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #29: Tue Jul  3 16:34:06 MSD 2007     root at vbook.fbsd.ru:/usr/obj/usr/src/sys/VBOOK  i386

# fgrep cbb /var/log/messages
Jul 10 11:28:31 vbook kernel: cbb0: <TI1510 PCI-CardBus Bridge> mem 0xe4300000-0xe4300fff irq 16 at device 0.0 on pci21
Jul 10 11:28:31 vbook kernel: pccard0: <16-bit PCCard bus> on cbb0
Jul 10 11:28:31 vbook kernel: cbb0: [ITHREAD]
#
 
<insert card>

# dmesg
Status is 0x30000910
cbb0: card inserted: event=0x00000000, state=30000910
pccard0: chip_socket_enable
cbb_pcic_socket_enable:
cbb0: cbb_power: 3V
pccard0: read_cis
cis mem map 0xe7bb7000 (resource: 0x88000000)
pccard0: CIS tuple chain:
CISTPL_DEVICE type=funcspec speed=ext
 01 04 df 4a 01 ff
unhandled CISTPL 1c
 1c 04 02 d9 01 ff
unhandled CISTPL 18
 18 02 df 01
CISTPL_MANFID
 20 04 0a 00 00 00
CISTPL_VERS_1
 15 0e 04 01 35 49 4e 31 00 78 78 4d 42 00 00 ff
CISTPL_FUNCID
 21 02 04 01
CISTPL_FUNCE
 22 02 01 01
CISTPL_FUNCE
 22 03 02 0c 0f
CISTPL_CONFIG
 1a 05 01 03 00 02 0f
CISTPL_CFTABLE_ENTRY
 1b 08 c0 c0 a1 01 55 08 00 20
CISTPL_CFTABLE_ENTRY
 1b 06 00 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 0a c1 41 99 01 55 64 f0 ff ff 20
CISTPL_CFTABLE_ENTRY
 1b 06 01 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 0f c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee
 20
CISTPL_CFTABLE_ENTRY
 1b 06 02 01 21 b5 1e 4d
CISTPL_CFTABLE_ENTRY
 1b 0f c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee
 20
CISTPL_CFTABLE_ENTRY
 1b 06 03 01 21 b5 1e 4d
unhandled CISTPL 14
CISTPL_NO_LINK
 14 00
CISTPL_END
 ff
pccard0: check_cis_quirks
pccard0: CIS version PCCARD 2.0 or 2.1
pccard0: CIS info: 5IN1, xxMB, 
pccard0: Manufacturer code 0xa, product 0x0
pccard0: function 0: fixed disk, ccr addr 200 mask f
pccard0: function 0, config table entry 0: memory card; irq mask 0;
mwait_required rdybsy_active powerdown
pccard0: function 0, config table entry 1: I/O card; irq mask ffff;
iomask 4, iospace 0-f; rdybsy_active io8 io16 irqshare irqpulse irqlevel
powerdown
pccard0: function 0, config table entry 2: I/O card; irq mask 4000;
iomask a, iospace 1f0-1f7 3f6-3f7; rdybsy_active io8 io16 irqshare
irqpulse irqlevel powerdown
pccard0: function 0, config table entry 3: I/O card; irq mask 4000;
iomask a, iospace 170-177 376-377; rdybsy_active io8 io16 irqshare
irqpulse irqlevel powerdown
pccard0: functions scanning
pccard0: Card has 1 functions. pccard_mfc is 0
pccard0: I/O rid 0 start 0 end ffffffff
cbb_pcic_socket_enable:
pccard0: ccr_res == 88000000-880003ff, base=200
pccard0: function 0 CCR at 0 offset 200: 41 80 2e 0, 0 0 0 0, 0
pccard0: <unknown card> (manufacturer=0x000a, product=0x0000,
function_type=4) at function 0
pccard0:    CIS info: 5IN1, xxMB, 
cis mem map 0xe7bb7000 (resource: 0x88000000)
unknown: CIS tuple chain:
 01 04 df 4a 01 ff
 1c 04 02 d9 01 ff
 18 02 df 01
 20 04 0a 00 00 00
 15 0e 04 01 35 49 4e 31 00 78 78 4d 42 00 00 ff
 21 02 04 01
 22 02 01 01
 22 03 02 0c 0f
 1a 05 01 03 00 02 0f
 1b 08 c0 c0 a1 01 55 08 00 20
 1b 06 00 01 21 b5 1e 4d
 1b 0a c1 41 99 01 55 64 f0 ff ff 20
 1b 06 01 01 21 b5 1e 4d
 1b 0f c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee
 20
 1b 06 02 01 21 b5 1e 4d
 1b 0f c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee
 20
 1b 06 03 01 21 b5 1e 4d
CISTPL_NO_LINK
 14 00
CISTPL_END
 ff


It is card-reader, it should looks like as ATA device (as far as I
understand).
It works under windows on the same hardware.

7-CURRENT is approximately one week old.

Card-reader is labeled as "Transcend 5-in-1 Adapter".

Any hints how to deal with that problem ?

-- 
Vladimir B. Grebenschikov
SWsoft Inc. vova at swsoft.com


More information about the freebsd-mobile mailing list