Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless PRISM3 on an Averatec 3150p
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
hjlane3
Guru
Guru


Joined: 22 Feb 2003
Posts: 377
Location: Wilmington, DE USA

PostPosted: Sat Sep 20, 2003 10:20 pm    Post subject: Wireless PRISM3 on an Averatec 3150p Reply with quote

Ok, i just got a friend of mine runnng linux and he's loving in. The only problem is that his wireless card isn't working. Now, from experience, I know mandrake is a great newbie distro so that's what I had him use to start off. I figured since you guys here are super great people, you'll still try to help me :-). Ok herej's the problem...
this wireless network card is drving me nuts. According to usbview it's a IEEE 802.11b PRISM3 USB (even though the casrd is built-in, it connects to the bus through USB) and is a AirVast Taiwan. I tried following the directions/info supplied here but I can't get mandrake to recognize a wlan0 device. At first I built my own version of wlan utils and drivers and installed them, then I notice there are kernel modules for prism2_usb (even thought it's a PRISM 3 card the prism2 drivers are suppose to work) already in the mdk kernel and the wlan utiles it uses in a mdk rpm. But, with both setups, I still can't get it to recognize a wlan0 device. Anyone have any ideas? I have a feeling it has something to do with the way mandrake is handling it, but I haven't been using mandrake myself for a while, and am not sure.
-HJ

Here is some input from my friend.....

Ok, I am the friend that his having the trouble with the wifi... User HJ is helping me with this pain in the neck... Here is an update as to where we are, and a summary of what we did.

We have followed all of the instructions posted over the internet and here in the forum with no go. The RC2 already has the wlan tools integrated with the kernel, so we didn't need to install the wlan package. We edited the prism2sta.c to follow your guidelines, and added the info to the modules.conf to associate wlan0 to the new devce driver, then rebuilt the entire kernel, utilizing the built in wifi package. Wlan comes up ok, but the device never registers in ifconfig. I type in dmesg after power-cycling the wifi card and this is what I get:

hub.c: new USB device 00:10.2-1, assigned address 3
prism2sta_probe_usb: prism2_usb: hfa384x_corereset() failed.
usb.c: USB device 3 (vend/prod 0x50c2/0x4013) is not claimed by any active driver.


I think the problem is here: hfa384x_corereset() failed
the device is not claimed by the driver....

Any ideas??
Thanks!

T.J.
Averatec 3150p


So, anyone have any tips/ideas? If you can help, we'll have another MS convert to linux :-)
_________________
I wish hell would freeze over already. :-(
EDIT: w00t, it has!
Back to top
View user's profile Send private message
hjlane3
Guru
Guru


Joined: 22 Feb 2003
Posts: 377
Location: Wilmington, DE USA

PostPosted: Sun Sep 21, 2003 7:34 am    Post subject: Reply with quote

Ok a little bit of an update. I've been tinkering around all day with this.....

Code:
prism2_init: prism2_usb.o: 0.2.1-pre12 Loaded
prism2_init: dev_info is: prism2_usb
usb.c: registered new driver prism2_usb
ident: nic h/w: id=0x8026 1.0.0
ident: pri f/w: id=0x15 1.1.3
ident: sta f/w: id=0x1f 1.5.6
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/10
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
linkstatus=CONNECTED
** WLAN busy-sleeping in interrupt context!
** WLAN busy-sleeping in interrupt context!
** WLAN busy-sleeping in interrupt context!



:-(
_________________
I wish hell would freeze over already. :-(
EDIT: w00t, it has!
Back to top
View user's profile Send private message
creese
n00b
n00b


Joined: 13 Aug 2003
Posts: 58
Location: Folsom, CA

PostPosted: Sun Sep 21, 2003 9:45 pm    Post subject: Reply with quote

I'm currently using the 0.2.1-pre9 drivers on my Averatec 3150p. It's been a while since I set it up, but I seem to remember that the newest drivers (at the time) didn't work. I had to manually add the device id to the driver.
Back to top
View user's profile Send private message
xadhatter
n00b
n00b


Joined: 20 Sep 2003
Posts: 5

PostPosted: Mon Sep 22, 2003 9:31 am    Post subject: Reply with quote

How do you manually add the device id to the driver?
Back to top
View user's profile Send private message
creese
n00b
n00b


Joined: 13 Aug 2003
Posts: 58
Location: Folsom, CA

PostPosted: Mon Sep 22, 2003 4:22 pm    Post subject: Reply with quote

In the file prism2sta.c there is a table beginning with:

static struct usb_device_id usb_prism_tbl[]

This table contains all the USB vendor and device codes the driver will recognize. You'll need to add the Averatec numbers to this table. These are the numbers you see when you get the device unknown message from the usb sub system.

usb.c: USB device 3 (vend/prod 0x50c2/0x4013) is not claimed by any active driver.

When it works you should get:
usb.c: registered new driver prism2_usb
hub.c: new USB device 00:10.2-1, assigned address 4

ifconfig -a then shows a wlan0 device

I'd offer to send you my modifications, but I seem to have lost them.
Back to top
View user's profile Send private message
creese
n00b
n00b


Joined: 13 Aug 2003
Posts: 58
Location: Folsom, CA

PostPosted: Mon Sep 22, 2003 4:30 pm    Post subject: Reply with quote

Forgot a link:

http://www.averatecforums.com/

Has lots of good info
Back to top
View user's profile Send private message
xadhatter
n00b
n00b


Joined: 20 Sep 2003
Posts: 5

PostPosted: Tue Sep 23, 2003 1:04 am    Post subject: wow Reply with quote

wow! it works! so happy!!!!
Back to top
View user's profile Send private message
rbeagle
n00b
n00b


Joined: 22 Jul 2002
Posts: 12
Location: Texas

PostPosted: Sat Oct 25, 2003 7:10 pm    Post subject: Reply with quote

I have a different laptop, but it also uses the AirVast Taiwan adapter that hjlane3 has. I followed the instructions and added the device id to the driver, and the driver compiled and loads without error. But it still doesn't create the wlan0 interface. The output of dmesg shows:
Code:
prism2_init: prism2_usb.o: 0.2.1-pre11 Loaded
prism2_init: dev_info is: prism2_usb
drivers/usb/core/usb.c: registered new driver prism2_usb

But it goes no further than that. Now, I should point out that the kernel I'm using is 2.6.0-test6-mm2, and that has a good chance of being the source of the problem. So if anyone has any insight on this, it would be greatly appreciated.

Edit: 10 minutes later I find the solution. I just downloaded 0.2.1-pre14 and it worked flawlessly. And it even has the device id added to the source already. :)
Back to top
View user's profile Send private message
Kuhndog86
Apprentice
Apprentice


Joined: 20 Jul 2004
Posts: 271
Location: Minnesota

PostPosted: Tue Oct 05, 2004 2:59 pm    Post subject: Re: wow Reply with quote

xadhatter wrote:
wow! it works! so happy!!!!


What did you have to do exactly to get this to work. I can't even get the system to recognise the card is there
Back to top
View user's profile Send private message
msa
n00b
n00b


Joined: 01 Oct 2004
Posts: 59
Location: Odense, Denmark

PostPosted: Sun Oct 10, 2004 7:59 pm    Post subject: kernel? Reply with quote

Would it be a good idea to use the 2.4 kernel instead of the 2.6 kernel? The problem is, that I have the same WLAN card:

IEEE 802.11b PRISM3 USB

It wont work. Should I compile a 2.4 kernel instead of a 2.6 kernel?
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