Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Shuttle PN11 USB wlan module not working with wlan-ng?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
drvolk
n00b
n00b


Joined: 05 Jul 2003
Posts: 72

PostPosted: Sat Jun 18, 2005 11:57 am    Post subject: Shuttle PN11 USB wlan module not working with wlan-ng? Reply with quote

Hi,

i read a few old threats from 2004 , which had the same problem i have with my PN11 usb module, but without any solution for fix that problems.

I have a XEN Shuttle PC with an Wlan-USB PN11 Module (based on PRISM3), connected to the internal USB Port (v2.0 i think).


    xen # lsusb
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 002: ID 0425:0101 Motorola Semiconductors HK, Ltd
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 003: ID 124a:4023
    Bus 001 Device 001: ID 0000:0000


This ID is not listed in the code of "prism2_usb.c". So i patched the Code to this (without that patch, wlanctl-ng were not able to find the device):

Code:

static struct usb_device_id usb_prism_tbl[] = {
...
        {PRISM_USB_DEVICE(0x124a,0x4023, "Airvast PRISM3 WLAN USB Adapter")},
...


After that i switched to the wlan-src directory (0.2.1.pre26) and compiled und installed it und did all the necessary configuration in /etc/wlan, /etc/modules.d/aliases).

After that it was possible to load the "prism2_usb" Kernel Module:


    xen # modprobe prism2_usb prism2_doreset=1
    xen # dmesg | tail -n 6
    prism2usb_init: prism2_usb.o: 0.2.1-pre26 Loaded
    prism2usb_init: dev_info is: prism2_usb
    prism2_usb 1-6:1.0: usb_probe_interface
    prism2_usb 1-6:1.0: usb_probe_interface - got id
    hfa384x_corereset: hfa384x_corereset not supported on USB on 2.5/2.6 kernels.
    usbcore: registered new driver prism2_usb


Then i tried to enable the device:


    xen # wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
    xen # dmesg | tail -n 3
    hfa384x_docmd: ctlx failure=REQ_FAILED
    hfa384x_drvr_start: cmd_initialize() failed, result=-5
    prism2sta_ifstate: hfa384x_drvr_start() failed,result=-5



I also tried to start "wlan" through the gentoo init scripts:


    xen # /etc/init.d/wlan start
    Starting WLAN Devices: message=lnxreq_ifstate
    ifstate=fwload
    resultcode=implementation_failure
    prism2dl: No such device
    load_cardpda failed, exiting.
    Unknown prism2 hardware type (), assuming SSF
    Processing PDR file: /tmp/prism2_ssf.pda
    prism2dl: No such device
    Couldn't fetch PRI-SUP info
    Warning: RAM load only, PDA changes will NOT be written to flash.
    Reading S-record file /etc/wlan//prism2_pm.hex...
    NIC ID: 0 v0.0.0
    MFI ID: 0 v0 0->0
    CFI ID: 0 v0 0->0
    PRI ID: 0 v0 0->0
    Version: ID 0x15 1.1.2
    Compat: Role 0 Id 0x3 v2 4->4
    Compat: Role 0x1 Id 0x2 v2 1->1
    Seq: 0
    Platform: ID 0x800e 1.0.0
    Platform: ID 0x8015 1.0.0
    Platform: ID 0x8019 1.0.0
    Platform: ID 0x801d 1.0.0
    Platform: ID 0x8024 1.0.0
    prism2dl: warning: Failed to find PDR for plugrec 0x0003.
    prism2dl: warning: Failed to find PDR for plugrec 0x0005.
    prism2dl: warning: Failed to find PDR for plugrec 0x0006.
    prism2dl: warning: Failed to find PDR for plugrec 0x0007.
    prism2dl: warning: Failed to find PDR for plugrec 0x0008.
    prism2dl: warning: Failed to find PDR for plugrec 0x0402.
    prism2dl: warning: Failed to find PDR for plugrec 0x0403.
    prism2dl: warning: Failed to find PDR for plugrec 0x0404.
    prism2dl: warning: Failed to find PDR for plugrec 0x0408.
    prism2dl: warning: Failed to find PDR for plugrec 0x0001.
    prism2dl: No such device
    prism2dl: writeimage()->do_ioctl() failed w/ result=19, aborting download
    prism2dl: Failed to ramwrite image data for /etc/wlan//prism2_pm.hex, exiting.
    prism2dl: No such device
    load_cardpda failed, exiting.



Have anybody an idea how to get this PN11 working ?
Back to top
View user's profile Send private message
zonk
Apprentice
Apprentice


Joined: 23 May 2005
Posts: 176

PostPosted: Sat Jun 18, 2005 4:18 pm    Post subject: Reply with quote

maybe try host ap, that also supports prism chipsets and might work better with your card.
Back to top
View user's profile Send private message
drvolk
n00b
n00b


Joined: 05 Jul 2003
Posts: 72

PostPosted: Sun Jun 19, 2005 7:39 am    Post subject: Reply with quote

good idea, but i actually Prism USB Cards were not supported by hostap :?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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