Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCMCIA does not receive power
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kungfoo
n00b
n00b


Joined: 24 Mar 2003
Posts: 18
Location: Mountain View, CA

PostPosted: Mon Jun 05, 2006 5:50 pm    Post subject: PCMCIA does not receive power Reply with quote

I own an IBM t43p, and a KPC650 pcmcia card.

I've included a list of commands below to show the status of my system, as well as a few things I've tried. I've also thrown a couple of printk's into drivers/pci/probe.c and discovered that when the pcmcia card is inserted, pci_bus_read_config_dword returns something other than the vendor/device id for the card, and pci_bus_read_config_word for the vendor/device return 0xffff in all cases.

I have never managed to give power to the card. The light stays off in all cases.

Any help would be greatly appreciated.

thank you,
Harrison

Code:


gleb ~ # uname -a
Linux gleb 2.6.16-gentoo-r7 #4 PREEMPT Thu Jun 1 20:17:16 PDT 2006 i686 Intel(R) Pentium(R) M processor 2.13GHz GNU/Linux

gleb ~ # gzcat /proc/config.gz | grep -A 56 Bus\ options
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI_PCIE=y
# CONFIG_HOTPLUG_PCI_PCIE_POLL_EVENT_MODE is not set
# CONFIG_PCI_MSI is not set
CONFIG_PCI_LEGACY_PROC=y
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

#
# PCCARD (PCMCIA/CardBus) support
#
CONFIG_PCCARD=y
# CONFIG_PCMCIA_DEBUG is not set
CONFIG_PCMCIA=y
CONFIG_PCMCIA_LOAD_CIS=y
CONFIG_PCMCIA_IOCTL=y
CONFIG_CARDBUS=y

#
# PC-card bridges
#
CONFIG_YENTA=y
CONFIG_YENTA_O2=y
CONFIG_YENTA_RICOH=y
CONFIG_YENTA_TI=y
CONFIG_YENTA_ENE_TUNE=y
CONFIG_YENTA_TOSHIBA=y
# CONFIG_PD6729 is not set
# CONFIG_I82092 is not set
# CONFIG_I82365 is not set
# CONFIG_TCIC is not set
CONFIG_PCMCIA_PROBE=y
CONFIG_PCCARD_NONSTATIC=y

#
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_FAKE is not set
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_IBM is not set
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set

gleb ~ # dmesg | grep -A 11 PCI\ Hot
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: HPC vendor_id 8086 device_id 2660 ss_vid 0 ss_did 0
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 20 (level, low) -> IRQ 17
Evaluate _OSC Set fails. Status = 0x0005
Evaluate _OSC Set fails. Status = 0x0005
pciehp: Cannot get control of hotplug hardware for pci 0000:00:1c.0
pciehp: HPC vendor_id 8086 device_id 2664 ss_vid 0 ss_did 0
ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI 22 (level, low) -> IRQ 18
Evaluate _OSC Set fails. Status = 0x0005
Evaluate _OSC Set fails. Status = 0x0005
pciehp: Cannot get control of hotplug hardware for pci 0000:00:1c.2
pciehp: PCI Express Hot Plug Controller Driver version: 0.4

gleb ~ # dmesg | grep -A 5 Yenta
Yenta: CardBus bridge found at 0000:04:00.0 [1014:056c]
Synaptics Touchpad, model: 1, fw: 5.9, id: 0x2c6ab1, caps: 0x884793/0x0
serio: Synaptics pass-through port at isa0060/serio1/input0
input: SynPS/2 Synaptics TouchPad as /class/input/input1
Yenta: ISA IRQ mask 0x04b8, PCI irq 16
Socket status: 30000820
pcmcia: parent PCI bridge I/O window: 0x5000 - 0x8fff
cs: IO port probe 0x5000-0x8fff: clean.
pcmcia: parent PCI bridge Memory window: 0xa8400000 - 0xb7ffffff
pcmcia: parent PCI bridge Memory window: 0xd0000000 - 0xd7ffffff

gleb ~ # cat /proc/interrupts
CPU0
0: 82603 IO-APIC-edge timer
1: 4632 IO-APIC-edge i8042
9: 241 IO-APIC-level acpi
12: 5247 IO-APIC-edge i8042
14: 4974 IO-APIC-edge libata
15: 12 IO-APIC-edge libata
16: 40517 IO-APIC-level yenta, uhci_hcd:usb2, fglrx
17: 0 IO-APIC-level pciehp
18: 0 IO-APIC-level pciehp, Intel ICH4
20: 2 IO-APIC-level ehci_hcd:usb1, uhci_hcd:usb5
21: 24746 IO-APIC-level uhci_hcd:usb3
22: 0 IO-APIC-level uhci_hcd:usb4
23: 10420 IO-APIC-level ipw2200
NMI: 0
LOC: 43211
ERR: 0
MIS: 0

gleb ~ # find /sys/bus/pcmcia
/sys/bus/pcmcia
/sys/bus/pcmcia/drivers
/sys/bus/pcmcia/devices

gleb ~ # cat /proc/bus/pccard/drivers


gleb ~ # pccardctl info
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255

gleb ~ # pcmcia-socket-startup

::nothing changes in dmesg::

::pull the card out::
gleb ~ # dmesg | tail -n 1
pccard: card ejected from slot 0

::put the card back in::
gleb ~ # dmesg | tail -n 1
pccard: CardBus card inserted into slot 0

gleb ~ # pcmcia-socket-startup
::no change in dmesg::

gleb ~ # lspci -vv | grep -A 13 Ricoh
04:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
Subsystem: IBM Unknown device 056c
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168
Interrupt: pin A routed to IRQ 16
Region 0: Memory at a8400000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=04, secondary=05, subordinate=08, sec-latency=176
Memory window 0: d0000000-d1fff000 (prefetchable)
Memory window 1: aa000000-abfff000
I/O window 0: 00005000-000050ff
I/O window 1: 00005400-000054ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
16-bit legacy interface ports at 0001

gleb ~ # ps | grep -v grep | grep -v ps | grep udev
1086 ? root /sbin/udevd --daemon

gleb ~ # cat /proc/iomem | grep -A 10 a8400000
a8400000-b7ffffff : PCI Bus #04
a8400000-a8400fff : 0000:04:00.0
a8400000-a8400fff : yenta_socket
a8401000-a8401fff : 0000:04:02.0
a8401000-a8401fff : ipw2200
aa000000-abffffff : PCI CardBus #05
aa000000-aa000fff : 0000:05:00.0
aa001000-aa001fff : 0000:05:00.1
c0000000-c7ffffff : PCI Bus #01
c0000000-c7ffffff : 0000:01:00.0
c8000000-c80fffff : PCI Bus #03
d0000000-d7ffffff : PCI Bus #04
d0000000-d1ffffff : PCI CardBus #05

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum