On Mon, 04 Feb 2008 15:01:44 +0100 "Mader, Alexander (N-MSR)" <[EMAIL PROTECTED]> wrote:
> Hello, > > I hope I am contacting the appropriate list for this. Please, let me > know if I should search somewhere else. > > There seems to be a problem accessing PCMCIA cards with O2 Micro > OZ711MP1/MS1 Controller and it would be really great if I could get some > hints from this list to get around it. > > On a Fujitsu Siemens Celsius H240 a 2.6.22-3-amd64 kernel from Debian > testing is in use. PCMCIA utilities for Linux 2.6 version 014-4 are > installed. I concatenated the the output of lspci and lshal below. > > When I insert a CardBus adapter, for instance a CNET CNF401 fast > ethernet, everything works fine and the adapter becomes available to the > system -- in this example the NIC with working LAN access. The lspci and > lshal output then reflects the new hardware. > > When I insert a PCMCIA adapter, for instance a 3com 3CCE589EC or an > compact flash adapter, almost nothing happens: In the case of the 3com I > just get (dmesg): Just out of interest, have you tried any other besides 3com 3CCE589EC? > > pccard: PCMCIA card inserted into slot 0 > > In the case of the compact flash adapter at the first insert dmesg gives: > > pccard: PCMCIA card inserted into slot 0 > cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xfffff > cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff > cs: memory probe 0x88000000-0x8fffffff: excluding 0x88000000-0x8fffffff > cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff > cs: memory probe 0xf0300000-0xf03fffff: excluding 0xf0300000-0xf03fffff > > Later dmesg issues just "pccard: PCMCIA card inserted into slot 0" > > In both PCMCIA examples the lshal output doesn't change, in the lspci > output the original line: > > BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ > PostWrite+ ^^^^^^ > > changes to: > > BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ > PostWrite+ ^^^^^^ > > In the case of the compact flash neither "modprobe ide_cs" nor "modprobe > pata_pcmcia" yield anything -- not even in dmesg. > > As I do not want to access a SmartCard I did not try the o2scr driver > from gna.org/projects/o2scr. > > Now the command output will follow, but before that: > > Best regards, Alexander. > ======================================================================== > > According to lspci -vv the card reader is: > > 8< ------------------------------------------------------------------ >8 > 08:03.0 CardBus bridge: O2 Micro, Inc. OZ711MP1/MS1 MemoryCardBus > Controller (rev 21) > Subsystem: Fujitsu Limited. Unknown device 131e > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping+ SERR- FastB2B- DisINTx- > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- > <MAbort- >SERR- <PERR- INTx- > Latency: 168 > Interrupt: pin A routed to IRQ 16 > Region 0: Memory at f0303000 (32-bit, non-prefetchable) [size=4K] > Bus: primary=08, secondary=09, subordinate=0c, sec-latency=176 > Memory window 0: 88000000-8bfff000 (prefetchable) > Memory window 1: 94000000-97fff000 > I/O window 0: 00004000-000040ff > I/O window 1: 00004400-000044ff > BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+ > 16-bit legacy interface ports at 0001 > Kernel driver in use: yenta_cardbus > Kernel modules: yenta_socket > > 08:03.1 CardBus bridge: O2 Micro, Inc. OZ711MP1/MS1 MemoryCardBus > Controller (rev 21) > Subsystem: Fujitsu Limited. Unknown device 131e > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping+ SERR- FastB2B- DisINTx- > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- > <MAbort- >SERR- <PERR- INTx- > Latency: 168 > Interrupt: pin A routed to IRQ 16 > Region 0: Memory at f0304000 (32-bit, non-prefetchable) [size=4K] > Bus: primary=08, secondary=0d, subordinate=10, sec-latency=176 > Memory window 0: 8c000000-8ffff000 (prefetchable) > Memory window 1: 98000000-9bfff000 > I/O window 0: 00004800-000048ff > I/O window 1: 00004c00-00004cff > BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+ > 16-bit legacy interface ports at 0001 > Kernel driver in use: yenta_cardbus > Kernel modules: yenta_socket > > 8< ------------------------------------------------------------------ >8 > > According to lshal -vv we have: > > 8< ------------------------------------------------------------------ >8 > udi = '/org/freedesktop/Hal/devices/pci_1217_7134_0' > info.bus = 'pci' (string) > info.linux.driver = 'yenta_cardbus' (string) > info.parent = '/org/freedesktop/Hal/devices/pci_8086_2448' (string) > info.product = 'OZ711MP1/MS1 MemoryCardBus Controller' (string) > info.subsystem = 'pci' (string) > info.udi = '/org/freedesktop/Hal/devices/pci_1217_7134_0' (string) > info.vendor = 'O2 Micro, Inc.' (string) > linux.hotplug_type = 2 (0x2) (int) > linux.subsystem = 'pci' (string) > linux.sysfs_path = > '/sys/devices/pci0000:00/0000:00:1e.0/0000:08:03.1' (string) > pci.device_class = 6 (0x6) (int) > pci.device_protocol = 0 (0x0) (int) > pci.device_subclass = 7 (0x7) (int) > pci.linux.sysfs_path = > '/sys/devices/pci0000:00/0000:00:1e.0/0000:08:03.1' (string) > pci.product = 'OZ711MP1/MS1 MemoryCardBus Controller' (string) > pci.product_id = 28980 (0x7134) (int) > pci.subsys_product_id = 4894 (0x131e) (int) > pci.subsys_vendor = 'Fujitsu Limited.' (string) > pci.subsys_vendor_id = 4303 (0x10cf) (int) > pci.vendor = 'O2 Micro, Inc.' (string) > pci.vendor_id = 4631 (0x1217) (int) > > udi = '/org/freedesktop/Hal/devices/pcmcia__1__1' > info.bus = 'pcmcia' (string) > info.parent = '/org/freedesktop/Hal/devices/pci_1217_7134_0' (string) > info.product = 'SmartCardBus Reader' (string) > info.subsystem = 'pcmcia' (string) > info.udi = '/org/freedesktop/Hal/devices/pcmcia__1__1' (string) > info.vendor = 'O2Micro' (string) > linux.hotplug_type = 2 (0x2) (int) > linux.subsystem = 'pcmcia' (string) > linux.sysfs_path = > '/sys/devices/pci0000:00/0000:00:1e.0/0000:08:03.1/1.0' (string) > pcmcia.card_id = 1 (0x1) (int) > pcmcia.manf_id = 65535 (0xffff) (int) > pcmcia.prod_id1 = 'O2Micro' (string) > pcmcia.prod_id2 = 'SmartCardBus Reader' (string) > pcmcia.prod_id3 = 'V1.0' (string) > pcmcia.product = 'O2Micro' (string) > pcmcia.socket_number = 1 (0x1) (int) > pcmcia.vendor = 'O2Micro' (string) > > udi = '/org/freedesktop/Hal/devices/pci_1217_7134' > info.bus = 'pci' (string) > info.linux.driver = 'yenta_cardbus' (string) > info.parent = '/org/freedesktop/Hal/devices/pci_8086_2448' (string) > info.product = 'OZ711MP1/MS1 MemoryCardBus Controller' (string) > info.subsystem = 'pci' (string) > info.udi = '/org/freedesktop/Hal/devices/pci_1217_7134' (string) > info.vendor = 'O2 Micro, Inc.' (string) > linux.hotplug_type = 2 (0x2) (int) > linux.subsystem = 'pci' (string) > linux.sysfs_path = > '/sys/devices/pci0000:00/0000:00:1e.0/0000:08:03.0' (string) > pci.device_class = 6 (0x6) (int) > pci.device_protocol = 0 (0x0) (int) > pci.device_subclass = 7 (0x7) (int) > pci.linux.sysfs_path = > '/sys/devices/pci0000:00/0000:00:1e.0/0000:08:03.0' (string) > pci.product = 'OZ711MP1/MS1 MemoryCardBus Controller' (string) > pci.product_id = 28980 (0x7134) (int) > pci.subsys_product_id = 4894 (0x131e) (int) > pci.subsys_vendor = 'Fujitsu Limited.' (string) > pci.subsys_vendor_id = 4303 (0x10cf) (int) > pci.vendor = 'O2 Micro, Inc.' (string) > pci.vendor_id = 4631 (0x1217) (int) > 8< ------------------------------------------------------------------ >8 > > _______________________________________________ Linux PCMCIA reimplementation list http://lists.infradead.org/mailman/listinfo/linux-pcmcia
