Mailinglist Archive: opensuse-amd64 (194 mails)
| < Previous | Next > |
Re: [suse-amd64] PCMCIA Wireless card
- From: David <spotslayer@xxxxxxxxxx>
- Date: Wed, 20 Apr 2005 00:07:27 +0000 (UTC)
- Message-id: <42659D6F.5000009@xxxxxxxxxx>
Greetings Matt and Pascal! Thanks for the info. I won't have much time
to work with my laptop much until thiss weekend, but will read this
stuff and give it a go then. I guess if I can't get it going then,
there's always hammers.
David
patheve2 wrote:
David
patheve2 wrote:
Hello David
Welcome in the team of the people who have some problems with PCMCIA and Linux 64 bits :-)) !!!!
Well, as Matt wrote it, you can find in this mailing list some informations that can help you, in particular
my two messages :
http://lists.suse.com/archive/suse-amd64/2005-Jan/0204.html
http://lists.suse.com/archive/suse-amd64/2005-Jan/0205.html
in which there are a solution. But I can explain how I could get my cards working fine after several tests
with the help of Matt and David Hinds the "father" of the PCMCIA kit for linux.
So my laptop : an Asus of the L5D series, the first one of Asus with Athlon 64. It is built with nVidia
chipsets. On it : Win XP Pro SP2, SuSE AMD64 9.0 (kernel 2.4.21) and SuSE AMD64 9.1 with kernel
(a 2.6.8-24.10 one) and PCMCIA package of the SuSE AMD64 9.2.
My cards are a Com One modem card (Platinium 56k), a Netgear ethernet FA411 card and a Hayes modem
card (Optima 288).
Accordind to "lspci -vv", hereafter the data about the PCMCIA port of my laptop:
0000:02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ab)
Subsystem: Asustek Computer, Inc.: Unknown device 1854
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 9
Region 0: Memory at fd200000 (32-bit, non-prefetchable)
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: fba00000-fc5ff000 (prefetchable)
Memory window 1: fc600000-fd1ff000
I/O window 0: 0000c000-0000c7ff
I/O window 1: 0000c800-0000cfff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
16-bit legacy interface ports at 0001
0000:02:01.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ab)
Subsystem: Asustek Computer, Inc.: Unknown device 1854
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 B routed to IRQ 11
Region 0: Memory at fa200000 (32-bit, non-prefetchable)
Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
Memory window 0: f8a00000-f95ff000 (prefetchable)
Memory window 1: f9600000-fa1ff000
I/O window 0: 0000b000-0000b7ff
I/O window 1: 0000b800-0000bfff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
So with a full SuSE 9.2 (9.3 ?) AMD64, the basis is correct : kernel and PCMCIA package. At first, verify that your card
is defined in the /etc/pcmcia/config file. If not, go to the next step, we will see after.
Now, have a look on I/O windows and memory window above. These datas are required in the config.opts file in
the /etc/pcmcia directory under this form :
# range of port addresses :
#####################
include port 0xb000-0xb7ff
include port 0xb800-0xbfff
include port 0xc000-0xc7ff
include port 0xc800-0xcfff
# range of memory addresses :
########################
include memory 0xf8a00000-0xfd1ff000
I have to take the min and max of the memory for defining one range and take all the ranges of port.
Copy the original config.opts and rename it, modify the config.opts by suppressing all datas concerning port and memory
and add your own datas. Reboot your PC. Insert a card and see the results with "dmesg" and tell us what you get. I think
you can see at this level an improvement . No ?? Then with "/sbin/cardctl info", see the character strings after "PRODID_1"
and "PRODID_2". With this, make an entry in the /etc/pcmcia/config file. If you don't know how to do, tell it us. If an
entry is already defined, forget this step. Go to the following. Now, see what give /sbin/lsmod. Are there some
loaded modules such as "pcmcia_core", "yenta_socket", "ds" and the module depending on the type of PCMCIA card
(for example : serial_cs if modem) ?
If wrong, don't worry, try this : with /sbin/lspci -vv, find the datas about PCI bridge with secondary=02. In my cas, here
what I get :
0000:00:0a.0 PCI bridge: nVidia Corporation nForce3 PCI Bridge (rev a2) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR+ <PERR-
Latency: 0
Bus: primary=00, secondary=02, subordinate=04, sec-latency=128
I/O behind bridge: 0000b000-0000dfff
Memory behind bridge: f8a00000-feafffff
Expansion ROM at 0000b000 [disabled] [size=12K]
BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
Take the min and max of the memory behind brigde and put them in the config.opts file. Reboot your PC and see the
results. Verify all the above steps after boot. Better or not ? If not, I thing that the solution should only come from ....
Windows XP !!! Sorry. But if you have Windows on dual boot. This is the first time that Win XP can help Linux !!!!! In my
case, I took the datas given by Win XP for PCMCIA port and used them as following in the config.opts file :
# range of port addresses :
#####################
include port 0xcc00-0xccff
include port 0xd000-0xd0ff
include port 0xd400-0xd4ff
include port 0xdc00-0xdcff
# range of memory addresses :
########################
include memory 0xfa200000-0xfeafcfff
As you can see, there is a significant difference between my previous and actual config.opts files. With such a file,
under SuSE 9.0 and SuSE 9.1, I can use my Com One modem card (not the Hayes and I can't explain why) and
the FA411 card.
So, if Win XP is not installed on your laptop, well try do it in order to get the right date for PCMCIA port. If
you can try a dual installation, Win XP and SuSE 9.2 (9.3), the boot being managed by Win XP (lilo for linux on the
boot partition). Perhaps with Grub.
Well, it's up to you : try and tell us what you get.
Regards
Pascal
===========================================
I have been trying to get a second wireless card to work in my hp laptop with a 64 AMD. I have not been successful at all. I have found that I believe that SuSE is mis detecting the orinoco gold card that I am trying to use. When that card is plugged in I get the following. When it is not plugged in these lines are not in the system log.
Apr 18 16:50:55 DsHP cardmgr[6463]: executing: 'modprobe memory_cs 2>&1'
Apr 18 16:50:55 DsHP cardmgr[6463]: + FATAL: Module memory_cs not found.
Apr 18 16:50:55 DsHP cardmgr[6463]: modprobe exited with status 1
Apr 18 16:50:55 DsHP cardmgr[6463]: module /lib/modules/2.6.8-24.14-default/pcmcia/memory_cs.o not available
Apr 18 16:50:55 DsHP cardmgr[6463]: bind 'memory_cs' to socket 0 failed: Invalid argument
I have never had a problem with the orinoco gold card and SuSE. I have used it with 9.1 and 9.2 but only the 32 bit version. I am now using the 64b version. Any ideas?
David
| < Previous | Next > |