LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-28-2002, 01:26 PM   #1
Electrode
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Debian
Posts: 158

Rep: Reputation: 16
Angry Prism2 PCMCIA card in laptop refuses to work no matter what I do


About 3 months ago, I bought an old Compaq Armada 7750MT laptop. So far, I've gotten everything in it to work perfectly under Linux, except for my D-Link DWL-650 PCMCIA card. It works just fine under Windows, but when I try to use it in any other OS (tried Linux, FreeBSD, NetBSD, QNX, and BeOS) it doesn't work at all. To make matters worse, nothing produces a useful error message. Here is an excerpt from my dmesg:

Quote:
cs: IO port probe 0x0c00-0x0cff: excluding 0xc48-0xc4f 0xc68-0xc6f
cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x83f 0x850-0x87f
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x250-0x257 0x270-0x277 0x330-0x337 0x388-0x38f 0x408-0x40f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
hermes.c: 4 Jul 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.13a (David Gibson <hermes@gibson.dropbear.id.au> and others)
orinoco_cs.c 0.13a (David Gibson <hermes@gibson.dropbear.id.au> and others)
eth0: failed to initialize firmware (err = -19)
orinoco_cs: register_netdev() failed
orinoco_lock() called with hw_unavailable (dev=c8f0a800)
So far I've tried different OS's (obviously), different kernel versions, different prism2 drivers (even the hostap driver), different PCMCIA drivers, all to no avail. I have also tried putting the card in the other PCMCIA slot, which did not help. I have a cardbus USB 2.0 card that works fine, so I know that there's nothing wrong with the PCMCIA controller itself.

Right now, this is my config:

Slackware 8.1
2.4.19 kernel
Kernel-provided PCMCIA drivers
Latest orinoco drivers (using these with the same exact card in another rig, which works fine)
 
Old 10-28-2002, 02:18 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
First off, lets make certain this is the vanilla DWL-650, what's the output of:

/sbin/cardctl ident

Cheers,

Finegan
 
Old 10-28-2002, 03:18 PM   #3
Electrode
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Debian
Posts: 158

Original Poster
Rep: Reputation: 16
Quote:
Socket 0:
product info: "D", "Link DWL-650 11Mbps WLAN Card", "Version 01.02", ""
manfid: 0x0156, 0x0002
function: 6 (network)
Socket 1:
no product info available
 
Old 10-28-2002, 03:37 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Okay, sorry about the paranoia there, but this could have been a DWL-650A/650+/650H (all three, are different chipsets). Dlink needs to learn how to number things.

Was this thing capable of initializing the firmware at all under any of the other driver sets? I assume you tried; probably you've been through all 3: prism2, host_ap, and the orinocos. Do you still have those module sets around to get a dmesg off of them?

Dlink, next to Linksys, are the kings of messing around with things and having 2 subtely different cards in the same box.

One thing I got some mileage out of once was going straight to the chipset maker (yeah no kidding, intersil)

http://www.intersil.com/design/prism...inUpdate_Flash

and flashing the firmware using a WinTop. Also, Dlink themselves have a firmware "upgrader" that I used to flash the firmware on a Linksys WPC11. It technically downgraded the firmware, but it got the bloody thing to work right with at least the prism2_cs modules. The reallllllly old prism2 cards don't seem to ever work right under orinoco.

That's all I can think of,

Luck,

Finegan
 
Old 10-28-2002, 03:51 PM   #5
Electrode
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Debian
Posts: 158

Original Poster
Rep: Reputation: 16
I found a saved dmesg from when I tried the hostap driver:

Quote:
hostap_cs: hostap_cs.c 0.0.0 2002-05-19 (SSH Communications Security Corp, Jouni Malinen)
hostap_cs: (c) SSH Communications Security Corp <jkm@ssh.com>
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=33 (from config)
CISTPL_MANFID: 0x0156, 0x0002
Lucent-based card
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 3.3, irq 3, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 1 iterations
wlan0: hfa384x_cmd - timeout - reg=0x8000
wlan0: cannot allocate fid, len=2364
hostap_cs: Initialization failed
wlan0: prism2_open
wlan0: CMD=0x0001 => res=0x7f, resp0=0xff8f
wlan0: MAC port 0 enabling failed
wlan0: could not enable MAC port
wlan0: prism2_close
wlan0: prism2_open
wlan0: CMD=0x0001 => res=0x7f, resp0=0xff58
wlan0: MAC port 0 enabling failed
wlan0: could not enable MAC port
wlan0: prism2_close
I don't think I've tried the prism2 drivers yet. Can you give me a download link?
 
Old 10-28-2002, 04:08 PM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/

Cheers,

Finegan
 
Old 10-28-2002, 04:45 PM   #7
Electrode
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Debian
Posts: 158

Original Poster
Rep: Reputation: 16
That didn't work either. dmesg excerpt:

Quote:
init_module: prism2_cs.o: 0.1.16-pre4 Loaded
init_module: dev_info is: prism2_cs
prism2_cs: index 0x01: Vcc 3.3, irq 3, io 0x0100-0x013f
hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0x8000.
hfa384x_drvr_start: Allocate(tx) command failed.
hfa384x_drvr_start: Failed, result=-110
prism2sta_ifstate: hfa384x_drvr_start() failed,result=-110
 
Old 10-31-2002, 01:44 PM   #8
Electrode
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Debian
Posts: 158

Original Poster
Rep: Reputation: 16
bump
 
Old 10-31-2002, 06:40 PM   #9
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Sorry I was out for a few days, bad case of the brocial lung butter. I gotta stop snuffing air duster.

This one:

Quote:
wlan0: hfa384x_cmd - timeout - reg=0x8000
And this one:

Quote:
hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0x8000
Mean, that for some reason, neither of those drivers can initialize the firmware. I've never seen this before. Yes, its very weird. The only thing I can think of offhand is to flash the firmware and then hope that one of those drivers can then initialize the card.

I wouldn't be afraid about mucking about with the firmware. Yes, you can screw up the card, but usually this is only possible if you yank it out during the middle of the flash.

Cheers,

Finegan
 
Old 10-31-2002, 07:17 PM   #10
Electrode
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Debian
Posts: 158

Original Poster
Rep: Reputation: 16
Frying the card is preferable to being forced to run Windows to use it.

Sorry if you already posted it, but where can I get updated firmware and the flashing tool?
 
Old 10-31-2002, 08:28 PM   #11
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
I used the one directly from Intersil:

http://www.intersil.com/design/prism...inUpdate_Flash

That's the above link. I used that one as well as:

http://support.dlink.com/downloads/

Unfortunately there you will have to navigate with the pull down menus to get to Firmware-->DWL-650-->Firmware (redundant isn't it!!!).

That's the two resources I know of. Maybe I could scratch up some more if they won't hack it. Warning though, these firmware upgraders are .exe's, they only work in windows... that's it.

Cheers,

Finegan
 
Old 10-31-2002, 08:56 PM   #12
Electrode
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Debian
Posts: 158

Original Poster
Rep: Reputation: 16
Thanks. I'll try the dlink one first, and if it doesn't do the trick, I will then try the Intersil one. I will post with the results.
 
Old 11-01-2002, 06:22 PM   #13
Electrode
Member
 
Registered: Oct 2002
Location: Michigan
Distribution: Debian
Posts: 158

Original Poster
Rep: Reputation: 16
Well, the Intersil site had a flash tool, but no firmware updates. I tried the D-Link firmware, and it didn't help.

Any other suggestions?
 
Old 11-01-2002, 06:56 PM   #14
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Not really, the firmware issue was just my take on it, there could be other issues. Primarily I would check through the mailing lists at www.linux-wlan.net, also the mailing list for orinoco and host_ap and see if anyone has had similar problems.

Sorry mate,

Finegan
 
Old 08-06-2003, 09:55 PM   #15
electricspyder
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
It is possible that this is one of the later versions of this card which do not even use an Intersil Prism Chipset at all from memory I think you can tell from the shape of the antenna. If the Card has a rectangulat instead of triangular antenna then it is an ADMTek card and cannot use the Prism drivers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a SMC2532W-B wireless card (prism2 chipset) work with fedora core 2 mixmastermike Linux - Wireless Networking 1 11-12-2004 01:40 AM
Prism2 PCMCIA card on Debian nonose Linux - Wireless Networking 6 08-18-2004 12:31 AM
Prism2 PCMCIA problems nateDiggsCSU Linux - Hardware 4 07-06-2004 03:09 PM
Enabling monitor mode on Prism2 WLAN PCMCIA Card ? tekn0phile Linux - Wireless Networking 0 10-17-2003 05:41 PM
Trying it again: Prism2 PCMCIA 802.11b card refuses to work in laptop Electrode Linux - Hardware 18 08-24-2003 11:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration