ThiefMaster n00b

Joined: 27 Aug 2004 Posts: 5
|
Posted: Mon Jan 30, 2006 6:15 am Post subject: PCMCIA WLAN card only detacted every second time |
|
|
Hi,
I'm having a quite odd problem with pcmcia cards:
When I plug in the card after booting, it works fine.
After removing it and plugging it in again, my system doesn't even notice that a card has been plugged in.
When I remove and plug in the card again, it works again - and so on.
When the card is not recoginzed, it also doesn't show up in lspci.
I'm using kernel 2.6.15-gentoo-r1 with udev. and PCMCIA is controlled through hotplug.
uname -a:
| Code: | | Linux schlepptop 2.6.15-gentoo-r1 #1 SMP PREEMPT Sun Jan 29 23:43:12 CET 2006 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux |
lspci for the pcmcia socket:
| Code: | 02:03.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
Subsystem: Uniwill Computer Corp Unknown device 3000
Flags: bus master, stepping, slow devsel, latency 168, IRQ 16
Memory at fea00000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: 50000000-51fff000 (prefetchable)
Memory window 1: 54000000-55fff000
I/O window 0: 0000c000-0000c0ff
I/O window 1: 0000c400-0000c4ff
16-bit legacy interface ports at 0001 |
Log where I tested the problem:
| Code: | [root@schlepptop:~]# dmesg -c
[root@schlepptop:~]# echo 'Inserting card'
Inserting card
[root@schlepptop:~]# dmesg -c
pccard: CardBus card inserted into slot 0
rtl8180: Configuring chip resources
[...]
rtl8180: Driver probe completed
wlan0 (WE) : Driver using old /proc/net/wireless support, please fix driver !
[...]
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[root@schlepptop:~]# echo 'Working fine :)'
Working fine :)
[root@schlepptop:~]# echo 'Removing card'
Removing card
[root@schlepptop:~]# dmesg -c
wlan0: no IPv6 routers present
pccard: card ejected from slot 0
rtl8180: WW: Card reset timeout!
rtl8180: Freeing irq 16
ACPI: PCI interrupt for device 0000:03:00.0 disabled
rtl8180: wlan driver removed
[root@schlepptop:~]# echo 'Inserting card'
Inserting card
[root@schlepptop:~]# dmesg -c
[root@schlepptop:~]# echo 'Removing card'
Removing card
[root@schlepptop:~]# dmesg -c
[root@schlepptop:~]# echo 'Inserting card'
Inserting card
[root@schlepptop:~]# dmesg -c
pccard: CardBus card inserted into slot 0
rtl8180: Configuring chip resources
[...]
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[root@schlepptop:~]# echo 'Working fine :)'
Working fine :)
[root@schlepptop:~]# echo 'Removing card'
Removing card
[root@schlepptop:~]# dmesg -c
pccard: card ejected from slot 0
rtl8180: WW: Card reset timeout!
rtl8180: Freeing irq 16
ACPI: PCI interrupt for device 0000:03:00.0 disabled
rtl8180: wlan driver removed
[root@schlepptop:~]# echo 'Inserting card'
Inserting card
[root@schlepptop:~]# dmesg -c
[root@schlepptop:~]# |
|
|